/* ==================== CONFIRM MODAL ==================== */
.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.confirm-modal-overlay.active {
  opacity: 1;
}

.confirm-modal {
  background: linear-gradient(135deg, rgba(30, 32, 40, 0.98), rgba(20, 22, 28, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.confirm-modal-overlay.active .confirm-modal {
  transform: scale(1);
}

.confirm-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(205, 71, 71, 0.2), rgba(180, 71, 205, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-modal-icon svg {
  color: #cd4747;
}

.confirm-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}

.confirm-modal-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 28px 0;
  line-height: 1.6;
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-modal-actions .action-btn {
  min-width: 120px;
  padding: 12px 24px;
  font-weight: 600;
}

.action-btn.danger {
  background: linear-gradient(135deg, #cd4747, #a03030);
  border: none;
  color: #fff;
}

.action-btn.danger:hover {
  background: linear-gradient(135deg, #e05555, #b83838);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(205, 71, 71, 0.4);
}

/* ==================== ADMIN LOGIN STYLES ==================== */

/* Admin Icon in Footer */
.admin-icon {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 8px;
  margin-left: 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-icon:hover {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.admin-icon svg {
  width: 16px;
  height: 16px;
}

/* Login Overlay */
.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.admin-login-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0b0e00;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Login Wrapper - Contains branding + card */
.admin-login-wrapper {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 90%;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.admin-close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  border-radius: 8px;
}

.admin-close:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

/* Branding above card */
.admin-login-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.admin-login-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.034);
  border-radius: 10px;
}

.admin-login-logo svg {
  color: #fff;
  opacity: 0.9;
}

.admin-login-branding span {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
}

/* Login Card */
.admin-login-card {
  background: rgba(22, 24, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08), 0 0 80px rgba(255, 255, 255, 0.04);
}

.admin-login-card h2 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

/* Security Status Badge */
.admin-security-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.admin-security-status.secured {
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
}

.admin-security-status.unsecured {
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.3);
  color: #ffab00;
}

.admin-security-status svg {
  flex-shrink: 0;
}

.admin-login-subtitle {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

/* Form */
#admin-login-form {
  margin: 0;
}

/* Admin Form Groups */
.admin-form-group {
  margin-bottom: 24px;
}

.admin-form-group label {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.admin-form-group input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(10, 11, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.admin-form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 11, 14, 1);
}

.admin-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Login Error */
#login-error {
  color: #cd4747;
  font-size: 0.85rem;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(205, 71, 71, 0.1);
  border: 1px solid rgba(205, 71, 71, 0.2);
  border-radius: 8px;
  text-align: center;
}

#login-error:empty {
  display: none;
}

/* Login Footer */
.admin-login-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
}

.admin-login-btn {
  padding: 12px 28px;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #0a0b0e;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-login-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.admin-login-btn:active {
  transform: scale(0.98);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #b447cd;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 60, 120, 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Select Dropdown Styling */
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select:focus {
  outline: none;
  border-color: #b447cd;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(180, 71, 205, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b447cd' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-group select:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.07);
}

.form-group select option {
  background: #1a1d24;
  color: #ffffff;
  padding: 12px;
}

.form-group select option:hover,
.form-group select option:focus {
  background: rgba(180, 71, 205, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #fff;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: linear-gradient(135deg, #b447cd, #cd4747);
  border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-group small {
  margin-left: 34px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* Error Message */
.login-error {
  color: #b447cd;
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255, 60, 120, 0.1);
  border: 1px solid rgba(255, 60, 120, 0.3);
  border-radius: 8px;
  text-align: center;
  min-height: 20px;
}

.login-error:empty {
  display: none;
}

/* Submit Button */
.admin-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #b447cd 0%, #ff6b9d 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(255, 60, 120, 0.3);
}

.admin-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 60, 120, 0.4);
}

.admin-submit:active:not(:disabled) {
  transform: translateY(0);
}

.admin-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.admin-submit svg {
  transition: transform 0.3s ease;
}

.admin-submit:hover:not(:disabled) svg {
  transform: translateX(3px);
}

/* Footer */
.admin-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.security-badge svg {
  color: #00ff88;
}

/* Responsive */
@media (max-width: 480px) {
  .admin-login-wrapper {
    width: 95%;
    padding: 0 10px;
  }

  .admin-login-card {
    padding: 28px 24px;
  }

  .admin-login-card h2 {
    font-size: 1.25rem;
  }

  .admin-login-subtitle {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  .admin-form-group {
    margin-bottom: 20px;
  }

  .admin-form-group input {
    padding: 14px 16px;
  }

  .admin-login-footer {
    margin-top: 20px;
    padding-top: 20px;
  }

  .admin-login-btn {
    width: 100%;
    padding: 14px 24px;
  }
}

/* ==================== ADMIN POPUP OVERLAY STYLES ==================== */

/* Admin Overlay Container */
#admin-overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

/* Overlay & Blur Backdrop */
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.admin-blur-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Main Popup Container */
.admin-popup {
  position: relative;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  background: rgba(11, 14, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 255, 255, 0.06), 0 0 120px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.admin-popup-close {
  position: absolute;
  top: 18px;
  right: 30px;
  width: 38px;
  height: 38px;
  background: rgba(255, 60, 120, 0.2);
  border: 2px solid rgba(255, 60, 120, 0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-popup-close:hover {
  background: #b447cd;
  border-color: #b447cd;
  transform: rotate(90deg);
}

/* Popup Header */
.admin-popup-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.admin-popup-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}

.admin-popup-logo svg {
  color: #b447cd;
}

/* Tab Navigation */
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-tabs a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-tabs a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.admin-tabs a.active {
  background: linear-gradient(135deg, rgba(255, 60, 120, 0.2), rgba(255, 107, 157, 0.15));
  border-color: rgba(255, 60, 120, 0.4);
  color: #fff;
}

.admin-tabs a svg {
  flex-shrink: 0;
}

/* Logout Button */
.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(205, 71, 71, 0.15);
  border: 1px solid rgba(205, 71, 71, 0.3);
  border-radius: 10px;
  color: #cd4747;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.admin-logout-btn:hover {
  background: rgba(205, 71, 71, 0.25);
  border-color: rgba(205, 71, 71, 0.5);
  color: #ff6b6b;
}

/* Popup Body */
.admin-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

/* Scrollbar Styling */
.admin-popup-body::-webkit-scrollbar {
  width: 10px;
}

.admin-popup-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.admin-popup-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}

.admin-popup-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Admin Sections */
.admin-section h1 {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 24px 0;
  font-weight: 700;
}

.admin-section h2 {
  color: #fff;
  font-size: 1.3rem;
  margin: 24px 0 16px 0;
  font-weight: 600;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h1 {
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.stat-card svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  flex-shrink: 0;
}

.stat-card.blog svg {
  background: linear-gradient(135deg, #b447cd, #ff6b9d);
}

.stat-card.events svg {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
}

.stat-card.gallery svg {
  background: linear-gradient(135deg, #00ff88, #00cc66);
}

.stat-card.pages svg {
  background: linear-gradient(135deg, #ff9d00, #ffb84d);
}

.stat-card h3 {
  color: #fff;
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions-section {
  margin-bottom: 40px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.action-btn.primary {
  background: linear-gradient(135deg, #b447cd, #ff6b9d);
  border-color: transparent;
}

.action-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(255, 60, 120, 0.3);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.action-btn.small {
  padding: 8px 14px;
  font-size: 0.8rem;
}

/* Recent Section */
.recent-section h2 {
  margin-bottom: 16px;
}

.recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.recent-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.recent-item h4 {
  color: #fff;
  margin: 0 0 4px 0;
  font-size: 1rem;
}

.recent-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Content List */
.content-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.content-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.content-item.featured-item {
  border-color: rgba(180, 71, 205, 0.3);
  background: rgba(180, 71, 205, 0.08);
}

.content-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content-item-main h3 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.item-badge {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.item-badge.featured-badge {
  background: linear-gradient(135deg, #b447cd, #cd4747);
}

.item-badge.badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.item-badge.badge-success {
  background: rgba(0, 200, 83, 0.2);
  color: #00c853;
}

/* Admin Subsections */
.admin-subsection {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-subsection:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.admin-subsection .section-header {
  margin-bottom: 16px;
}

.admin-subsection .section-header h3 {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.content-item.active-item {
  border-left: 3px solid #00c853;
}

.form-hint {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-top: 4px;
}

.content-item.past-event {
  opacity: 0.6;
}

.content-item.past-event:hover {
  opacity: 0.8;
}

.content-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 8px 0 0 0;
}

.content-actions {
  display: flex;
  gap: 8px;
}

/* Gallery Admin Grid */
.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-admin-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.gallery-admin-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gallery-admin-item.gallery-item-hidden {
  opacity: 0.5;
}

.gallery-admin-item.gallery-item-hidden:hover {
  opacity: 0.75;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-admin-item:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-hidden-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-hidden-overlay span {
  background: rgba(255, 60, 60, 0.8);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-position-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(180, 71, 205, 0.9);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.gallery-item-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-item-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-item-type {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.gallery-item-actions {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px 12px;
}

.gallery-item-actions .icon-btn {
  flex: 1;
}

.gallery-item-actions .icon-btn.active {
  background: rgba(0, 200, 83, 0.2);
  border-color: rgba(0, 200, 83, 0.4);
  color: #00c853;
}

/* Gallery Stats */
.gallery-stats {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-right: 12px;
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Gallery Preview */
.gallery-preview {
  margin-top: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-preview label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.gallery-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
}

/* Toggle Switch */
.toggle-group {
  margin-top: 8px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch {
  background: rgba(205, 71, 71, 0.5);
}

.toggle-label input[type="checkbox"]:checked + .toggle-switch::after {
  left: 23px;
  background: #cd4747;
}

.toggle-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Form small text */
.form-group small {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-top: 6px;
}

/* Forms */
.editor-form {
  max-width: 800px;
}

.editor-form .form-group {
  margin-bottom: 20px;
}

.editor-form .form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.editor-form .form-group input,
.editor-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.editor-form .form-group input:focus,
.editor-form .form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #b447cd;
  box-shadow: 0 0 0 3px rgba(255, 60, 120, 0.1);
}

.editor-form .form-group textarea {
  resize: vertical;
  line-height: 1.6;
}

.editor-form .form-group small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-group label:hover {
  background: rgba(255, 255, 255, 0.06);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Image Preview */
.image-preview {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-preview img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.3);
}

/* Settings Sections */
.settings-section {
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.settings-section h2 {
  margin-top: 0;
}

.highlight-editor {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
}

.highlight-editor h4 {
  color: #fff;
  margin: 0 0 12px 0;
  font-size: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-icon {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #b447cd, #ff6b9d);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 60, 120, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-icon {
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-icon.danger:hover {
  background: rgba(255, 60, 120, 0.2);
  border-color: rgba(255, 60, 120, 0.4);
  color: #b447cd;
}

/* Empty States */
.empty-state,
.empty-message {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.empty-state svg {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  color: #fff;
  margin: 0 0 20px 0;
}

.empty-message {
  padding: 40px 20px;
  font-style: italic;
}

/* Notifications */
.admin-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: rgba(11, 14, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 10001;
}

.admin-notification.show {
  transform: translateX(0);
}

.admin-notification.success {
  border-color: #00ff88;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 102, 0.1));
}

/* Responsive */
@media (max-width: 1024px) {
  .admin-popup {
    width: 98%;
    height: 95vh;
  }
  
  .admin-popup-body {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .admin-popup {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  
  .admin-popup-header {
    padding: 20px;
  }
  
  .admin-popup-body {
    padding: 20px;
  }
  
  .admin-tabs {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .gallery-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .admin-popup-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: 12px;
    right: 12px;
  }

  .gallery-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== DATE PICKER ==================== */
.date-picker-wrapper {
  position: relative;
  display: flex;
  gap: 0;
}

.date-picker-wrapper input {
  flex: 1;
  border-radius: 10px 0 0 10px !important;
  cursor: pointer;
}

.date-picker-btn {
  padding: 12px 16px;
  background: linear-gradient(135deg, #b447cd, #cd4747);
  border: none;
  border-radius: 0 10px 10px 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.date-picker-btn:hover {
  filter: brightness(1.1);
}

.date-picker-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;
  background: rgba(20, 24, 30, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  min-width: 280px;
}

.date-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.picker-month-year {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.picker-nav {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.picker-nav:hover {
  background: rgba(180, 71, 205, 0.3);
  border-color: rgba(180, 71, 205, 0.5);
}

.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 0;
  text-transform: uppercase;
}

.day {
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day:hover:not(.disabled):not(.empty) {
  background: rgba(180, 71, 205, 0.3);
}

.day.today {
  background: linear-gradient(135deg, #b447cd, #cd4747);
  font-weight: 600;
}

.day.disabled {
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.day.empty {
  cursor: default;
}

.picker-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.picker-nav.disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.date-picker-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.picker-today-btn {
  padding: 8px 24px;
  background: rgba(180, 71, 205, 0.2);
  border: 1px solid rgba(180, 71, 205, 0.4);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.picker-today-btn:hover {
  background: rgba(180, 71, 205, 0.4);
  border-color: rgba(180, 71, 205, 0.6);
}

/* ==================== ADMIN MODALS ==================== */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-content {
  background: rgba(20, 24, 30, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0 24px;
  margin-bottom: 20px;
}

.admin-modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
}

.modal-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(205, 71, 71, 0.3);
  border-color: rgba(205, 71, 71, 0.5);
}

.admin-modal-content form {
  padding: 0 24px 24px 24px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== ADMIN STATS ==================== */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.admin-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.admin-stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(180, 71, 205, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #b447cd, #cd4747);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Icon buttons */
.icon-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(180, 71, 205, 0.3);
  border-color: rgba(180, 71, 205, 0.5);
}

.icon-btn.danger:hover {
  background: rgba(205, 71, 71, 0.3);
  border-color: rgba(205, 71, 71, 0.5);
}

/* Gallery Admin Grid */
.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-admin-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.gallery-admin-item:hover {
  border-color: rgba(180, 71, 205, 0.3);
}

.gallery-thumb {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-admin-item:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-item-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-item-title {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.gallery-item-type {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.gallery-item-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px 12px;
}

/* Settings group */
.settings-group {
  margin-bottom: 30px;
}

.settings-group h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: -8px 0 16px 0;
}

.highlight-edit-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.highlight-edit-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.highlight-edit-row .icon-btn {
  flex-shrink: 0;
  margin-bottom: 4px;
}

#highlightsContainer {
  margin-bottom: 16px;
}

.highlight-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== THEME EFFECTS GRID ==================== */
.theme-effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.theme-effect-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-effect-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.theme-effect-card.active {
  background: rgba(180, 71, 205, 0.15);
  border-color: rgba(180, 71, 205, 0.4);
}

.theme-effect-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.theme-effect-card.active .theme-effect-icon {
  background: rgba(180, 71, 205, 0.3);
  color: #b447cd;
}

.theme-effect-info {
  flex: 1;
  min-width: 0;
}

.theme-effect-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.theme-effect-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.theme-effect-season {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.theme-effect-toggle {
  flex-shrink: 0;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.toggle-switch.on {
  background: rgba(180, 71, 205, 0.6);
}

.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.on .toggle-knob {
  left: 22px;
}

.theme-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== ENHANCED GALLERY ADMIN ==================== */
.gallery-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-admin-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: rgba(180, 71, 205, 0.2);
  border-color: rgba(180, 71, 205, 0.4);
  color: #fff;
}

/* Gallery form enhancements */
.gallery-form-preview-container {
  margin-top: 20px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.gallery-form-preview-container label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.gallery-form-preview-container img {
  max-width: 100%;
  max-height: 250px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Gallery item hover effect for actions */
.gallery-admin-item .gallery-item-actions {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.gallery-admin-item:hover .gallery-item-actions {
  opacity: 1;
}

/* Gallery section header improvements */
.section-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-stats {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 500;
}