.admin-layout {
  min-height: 100vh;
  background: #27272a;
  display: flex;
  position: relative;
}

.admin-content {
  flex: 1;
  margin-left: 280px;
  padding: 2.5rem;
  transition: margin-left 0.3s ease;
  position: relative;
  z-index: 1;
}

.content-wrapper {
  max-width: 1600px;
  margin: 0 auto;
}

.admin-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidebar-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.sidebar-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.sidebar-nav {
  flex: 1;
  padding: 1.5rem 0;
  overflow-y: auto;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin: 0.3rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  width: calc(100% - 2rem);
  text-align: left;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-item i:first-child {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
  background: rgba(21, 98, 49, 0.25);
  color: #208236;
  border-color: rgba(21, 98, 49, 0.4);
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 991.98px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }
}

.admin-page {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #208236;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-add:hover {
  background: #1a6b3e;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-add i {
  font-size: 1.1rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 600;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  overflow-y: auto;
}

.modal-content {
  background: #27272a;
  border: 2px solid rgba(32, 130, 54, 0.4);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalSlide 0.3s ease-out;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(32, 130, 54, 0.1);
}

.modal-large {
  max-width: 600px;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
}

.modal-close {
  width: 40px;
  height: 40px;
  background: rgba(32, 130, 54, 0.2);
  border: 1px solid rgba(32, 130, 54, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #208236;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(32, 130, 54, 0.35);
  border-color: rgba(32, 130, 54, 0.6);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23208236' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 3rem;
}

.form-select option {
  background: #27272a;
  color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  font-weight: 600;
}

.form-textarea {
  resize: vertical;
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(32, 130, 54, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.form-select:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #208236;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #1a6b3e;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.filters-bar {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box i {
  position: absolute;
  left: 1.2rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: rgba(32, 130, 54, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.filter-group {
  display: flex;
  gap: 0.8rem;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn i {
  font-size: 1.1rem;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
}

.filter-btn.active {
  background: rgba(21, 98, 49, 0.25);
  border-color: rgba(21, 98, 49, 0.4);
  color: #208236;
}

.members-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
}

.members-table thead {
  background: rgba(255, 255, 255, 0.08);
}

.members-table th {
  padding: 1.2rem 1.8rem;
  text-align: left;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.th-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.85);
}

.th-content i {
  font-size: 1rem;
  color: rgba(32, 130, 54, 0.8);
}

.members-table td {
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.member-row {
  transition: background 0.2s ease;
}

.member-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.member-avatar {
  width: 42px;
  height: 42px;
  background: rgba(21, 98, 49, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #208236;
  flex-shrink: 0;
}

.member-name {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
}

.member-email {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-badge i {
  font-size: 1rem;
}

.role-badge.admin {
  background: rgba(21, 98, 49, 0.25);
  border: 1px solid rgba(21, 98, 49, 0.4);
  color: #208236;
}

.role-badge.user {
  background: rgba(32, 130, 54, 0.25);
  border: 1px solid rgba(32, 130, 54, 0.4);
  color: #208236;
}

.date-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.date-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .admin-content {
    margin-left: 0;
    padding: 1.5rem;
  }

  .filters-bar {
    flex-direction: column;
  }

  .search-box {
    min-width: 100%;
  }

  .filter-group {
    justify-content: space-between;
  }

  .filter-btn {
    flex: 1;
    justify-content: center;
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .admin-content {
    padding: 1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    padding: 1.5rem;
  }

  .category-header {
    padding: 1rem 1.5rem;
  }

  .category-name {
    font-size: 1.1rem;
  }

  .project-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .project-thumbnail {
    width: 60px;
    height: 60px;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .members-table th,
  .members-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .member-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.8rem 0.8rem;
  }

  .th-content {
    font-size: 0.8rem;
  }
}

.categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.category-section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.category-section:hover {
  border-color: rgba(32, 130, 54, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: visible;
  transition: all 0.2s ease;
  position: relative;
}

.project-card:hover {
  border-color: rgba(21, 98, 49, 0.4);
}

@media (max-width: 767.98px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(32, 130, 54, 0.5), rgba(32, 130, 54, 0));
}

.stat-card.primary::before {
  background: linear-gradient(90deg, rgba(32, 130, 54, 0.8), rgba(32, 130, 54, 0));
}

.stat-card.secondary::before {
  background: linear-gradient(90deg, rgba(32, 130, 54, 0.8), rgba(32, 130, 54, 0));
}

.stat-card.tertiary::before {
  background: linear-gradient(90deg, rgba(0, 184, 148, 0.8), rgba(0, 184, 148, 0));
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(32, 130, 54, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #208236;
  flex-shrink: 0;
}

.stat-card.secondary .stat-icon {
  background: rgba(32, 130, 54, 0.25);
  color: #208236;
}

.stat-card.tertiary .stat-icon {
  background: rgba(0, 184, 148, 0.25);
  color: #00B894;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.8rem 0;
  line-height: 1;
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.stat-trend.positive {
  color: rgba(0, 184, 148, 0.9);
}

.stat-trend i {
  font-size: 1rem;
}

.quick-actions {
  margin-top: 3rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem 0;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.action-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(32, 130, 54, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.action-card:hover::before {
  opacity: 1;
}

.action-icon {
  width: 60px;
  height: 60px;
  background: rgba(32, 130, 54, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #208236;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.action-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.action-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.action-arrow {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.action-card:hover .action-arrow {
  color: rgba(32, 130, 54, 0.9);
}

/* Page Subtitle (membres.vue, categories.vue, portfolio.vue) */
.page-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.5rem 0 0 0;
  font-weight: 500;
}

/* Filter Select (portfolio.vue) */
.filter-select {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.7)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 3rem;
}

.filter-select option {
  background: #251F3B;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.filter-select:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Projects Container (portfolio.vue) */
.projects-container {
  min-height: 300px;
}

/* Category Title (portfolio.vue) */
.category-title {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1rem 0;
}

/* Project Image Wrapper (portfolio.vue) */
.project-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

/* Project Actions (portfolio.vue) */
.project-actions {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.project-card:hover .project-actions {
  opacity: 1;
}

/* Action Button (categories.vue, portfolio.vue) */
.action-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #208236;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.action-btn.delete {
  background: rgba(255, 100, 100, 0.9);
  color: white;
}

.action-btn.delete:hover {
  background: rgba(255, 100, 100, 1);
}

/* File Upload (portfolio.vue) */
.file-upload {
  position: relative;
  width: 100%;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(32, 130, 54, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-placeholder:hover {
  background: rgba(32, 130, 54, 0.1);
  border-color: rgba(32, 130, 54, 0.5);
}

.upload-placeholder i {
  font-size: 2rem;
  color: #208236;
}

.upload-placeholder span {
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.upload-placeholder small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Previews Grid (portfolio.vue) */
.previews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.preview-item .preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove Button (portfolio.vue) */
.remove-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  background: rgba(255, 100, 100, 0.9);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  background: rgba(255, 100, 100, 1);
  transform: scale(1.1);
}

/* File Count (portfolio.vue) */
.file-count {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* File Input (portfolio.vue) */
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Modal Header H2 (categories.vue, portfolio.vue) */
.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modal Close Hover (portfolio.vue) */
.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Form Group Label (categories.vue, portfolio.vue) */
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form Select Option (portfolio.vue) */
.form-select option {
  background: #251F3B;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* Form Input Focus (categories.vue, portfolio.vue) */
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(32, 130, 54, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

/* Button Cancel (categories.vue, portfolio.vue) */
.btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Button Confirm (categories.vue, portfolio.vue) */
.btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #208236;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-confirm:hover:not(:disabled) {
  background: #1a6b3e;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Spinner (categories.vue, portfolio.vue) */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Toast (categories.vue, portfolio.vue) */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 3000;
  animation: toastSlide 0.3s ease-out;
}

@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast.success {
  background: rgba(0, 184, 148, 0.2);
  border: 1px solid rgba(0, 184, 148, 0.4);
  color: rgba(0, 184, 148, 1);
}

.toast.success i {
  font-size: 1.2rem;
}

.toast.error {
  background: rgba(255, 100, 100, 0.2);
  border: 1px solid rgba(255, 100, 100, 0.4);
  color: rgba(255, 100, 100, 1);
}

.toast.error i {
  font-size: 1.2rem;
}

/* Modal Transitions (categories.vue, portfolio.vue) */
.modal-enter-active,
.modal-leave-active {
  transition: all 0.3s ease;
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
}

.modal-enter-from .modal-content,
.modal-leave-to .modal-content {
  transform: scale(0.95) translateY(-20px);
}

/* Toast Transitions (categories.vue, portfolio.vue) */
.toast-enter-active,
.toast-leave-active {
  transition: all 0.3s ease;
}

.toast-enter-from,
.toast-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

/* Categories Grid (categories.vue) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Category Card (categories.vue) */
.category-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Category Name (categories.vue) */
.category-card .category-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Actions (categories.vue) */
.category-actions {
  display: flex;
  gap: 0.6rem;
}

/* Settings Page (apropos.vue, liens.vue, footer.vue) */
.settings-page {
  animation: fadeIn 0.4s ease-out;
}

.settings-page .title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 2rem 0;
}

/* Settings Grid (apropos.vue, liens.vue, footer.vue) */
.settings-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Setting Group (apropos.vue, liens.vue, footer.vue) */
.setting-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setting-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Input (apropos.vue, liens.vue, footer.vue) */
.settings-page .input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.settings-page .input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.settings-page .input:focus {
  outline: none;
  border-color: rgba(32, 130, 54, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

/* Textarea (apropos.vue) */
.settings-page .textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.settings-page .textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.settings-page .input:focus,
.settings-page .textarea:focus {
  outline: none;
  border-color: rgba(32, 130, 54, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

/* Actions (apropos.vue, liens.vue, footer.vue) */
.actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Button Save (apropos.vue, liens.vue, footer.vue) */
.btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #208236;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-save:hover:not(:disabled) {
  background: #1a6b3e;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-save:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Settings Page Toast (apropos.vue, liens.vue, footer.vue) */
.settings-page .toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 3000;
  animation: toastSlide 0.3s ease-out;
}

.settings-page .toast.success {
  background: rgba(0, 184, 148, 0.2);
  border: 1px solid rgba(0, 184, 148, 0.4);
  color: rgba(0, 184, 148, 1);
}

.settings-page .toast.error {
  background: rgba(255, 100, 100, 0.2);
  border: 1px solid rgba(255, 100, 100, 0.4);
  color: rgba(255, 100, 100, 1);
}

/* Settings Page Toast Transitions (apropos.vue, liens.vue, footer.vue) */
.settings-page .toast-enter-active,
.settings-page .toast-leave-active {
  transition: all 0.3s ease;
}

.settings-page .toast-enter-from,
.settings-page .toast-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

/* Section (footer.vue) */
.section {
  margin-bottom: 2rem;
}

/* Icons Manager (footer.vue) */
.icons-manager {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* Subsection Title (footer.vue) */
.subsection-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
}

/* Icons List (footer.vue) */
.icons-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Icon Item (footer.vue) */
.icon-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.icon-item i {
  font-size: 1.2rem;
  color: #208236;
}

.icon-link {
  flex: 1;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Button Remove (footer.vue) */
.btn-remove {
  width: 32px;
  height: 32px;
  background: rgba(255, 100, 100, 0.2);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 100, 100, 1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove:hover {
  background: rgba(255, 100, 100, 0.35);
}

/* Empty State (footer.vue) */
.icons-list .empty-state {
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

/* Add Icon Form (footer.vue) */
.add-icon-form {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 0.75rem;
}

.add-icon-form .input {
  padding: 0.85rem 1rem;
}

.add-icon-form .input:first-child {
  font-family: monospace;
}

/* Button Add (footer.vue) */
.btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #208236;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-add:hover {
  background: #1a6b3e;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Members Table (membres.vue) */
.members-table tbody {
  display: table-row-group;
}

.members-table tr {
  transition: background 0.2s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
  .admin-sidebar {
    width: 70px;
  }

  .sidebar-title {
    display: none;
  }

  .nav-item span {
    display: none;
  }

  .nav-item {
    justify-content: center;
    padding: 0.75rem;
  }
}
