/* =========================================
   MOVE2MAX - Admin Panel CSS
   ========================================= */

:root {
  --dark:          #080808;
  --dark-2:        #0F0F0F;
  --dark-3:        #1A1A1A;
  --dark-4:        #141414;
  --red:           #D42B2B;
  --red-light:     #FF3333;
  --red-dim:       rgba(212, 43, 43, 0.15);
  --red-2:         #B71C1C;
  --silver:        #E0E0E0;
  --gradient:      linear-gradient(135deg, #D42B2B, #FF3333);
  --text:          #FFFFFF;
  --text-muted:    #9090A8;
  --success:       #22c55e;
  --error:         #ef4444;
  --warning:       #f59e0b;
  --glass:         rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(255, 255, 255, 0.08);
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     16px;
  --sidebar-width: 220px;
  --header-height: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   LOGIN PAGE
   ========================================= */
.login-page {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.login-orb-1 {
  width: 500px; height: 500px;
  background: rgba(212, 43, 43, 0.25);
  top: -200px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.login-orb-2 {
  width: 400px; height: 400px;
  background: rgba(255, 51, 51, 0.15);
  bottom: -150px; left: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.login-orb-3 {
  width: 300px; height: 300px;
  background: rgba(212, 43, 43, 0.1);
  top: 40%; left: 30%;
  animation: orbFloat 12s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 10px) scale(0.97); }
}

.login-card {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  transition: box-shadow var(--transition);
}

.login-card.shake {
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  border-color: var(--error);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.nav-logo-img {
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.login-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.login-logo .nav-logo-img {
  height: 72px;
  width: auto;
}

.logo-dream { color: var(--red); }
.logo-amp   { color: var(--text-muted); font-size: 30px; margin: 0 2px; }
.logo-play  { color: var(--red-2); }

.login-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-group > i:first-child {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
}

.login-input-group input {
  width: 100%;
  padding: 14px 48px;
  background: var(--dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.login-input-group input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212, 43, 43, 0.2);
}

#toggle-password {
  position: absolute;
  right: 12px;
  color: var(--text-muted);
  padding: 8px;
  font-size: 15px;
  transition: color var(--transition);
}

#toggle-password:hover { color: var(--text); }

.login-error {
  color: var(--error);
  font-size: 13px;
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--gradient);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
}

.login-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 43, 43, 0.4);
}

.login-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.login-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.login-back:hover { color: var(--text); }

/* =========================================
   ADMIN DASHBOARD LAYOUT
   ========================================= */
.admin-dashboard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.admin-header {
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.sidebar-toggle {
  width: 36px;
  height: 36px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.sidebar-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.admin-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.admin-logo .nav-logo-img {
  height: 36px;
  width: auto;
}

.admin-header-center {
  flex: 1;
  text-align: center;
}

.admin-header-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.admin-site-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.admin-site-link:hover {
  color: var(--text);
  border-color: var(--red);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.admin-user-avatar {
  font-size: 22px;
  color: var(--red-light);
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  color: var(--error);
  font-size: 13px;
  transition: all var(--transition);
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--error);
}

/* Body */
.admin-body {
  display: flex;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Sidebar */
.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--dark-2);
  border-right: 1px solid var(--glass-border);
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  transition: transform var(--transition);
  z-index: 50;
}

.admin-sidebar.collapsed {
  transform: translateX(-100%);
}

.sidebar-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  text-align: left;
}

.sidebar-nav-item i {
  width: 18px;
  font-size: 15px;
  flex-shrink: 0;
}

.sidebar-nav-item:hover {
  color: var(--text);
  background: var(--glass);
}

.sidebar-nav-item.active {
  background: var(--gradient);
  color: var(--text);
}

/* Content */
.admin-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 32px;
  min-width: 0;
  transition: margin-left var(--transition);
}

.admin-content.sidebar-hidden {
  margin-left: 0;
}

/* =========================================
   SECTION EDITOR COMMON
   ========================================= */
.section-editor {
  max-width: 900px;
}

.section-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 12px;
}

.section-editor-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-editor-title i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.save-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.save-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 43, 43, 0.4);
}

.save-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Admin Card */
.admin-card {
  background: var(--dark-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.admin-card-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-title i {
  color: var(--red-light);
}

/* Form Fields */
.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  background: var(--dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212, 43, 43, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--red);
  background: rgba(212, 43, 43, 0.05);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-area-icon {
  font-size: 40px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.upload-area-text {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.upload-area-subtext {
  font-size: 13px;
  color: var(--text-muted);
}

.upload-preview {
  margin-top: 16px;
  position: relative;
  display: inline-block;
}

.upload-preview img {
  max-height: 200px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.upload-preview-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  background: rgba(239, 68, 68, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  transition: background var(--transition);
}

.upload-preview-remove:hover {
  background: var(--error);
}

/* Upload spinner */
.upload-spinner {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
  justify-content: center;
}

.upload-spinner.active {
  display: flex;
}

/* =========================================
   LIST ITEMS (Services, Team, Pricing, etc.)
   ========================================= */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item-card {
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.item-card.expanded {
  border-color: rgba(212, 43, 43, 0.4);
}

.item-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.item-card-header:hover {
  background: rgba(255,255,255,0.02);
}

.item-card-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.item-card-info {
  flex: 1;
  min-width: 0;
}

.item-card-title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-card-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition);
}

.btn-icon-edit {
  background: rgba(212, 43, 43, 0.15);
  border: 1px solid rgba(212, 43, 43, 0.2);
  color: var(--red-light);
}

.btn-icon-edit:hover {
  background: rgba(212, 43, 43, 0.3);
}

.btn-icon-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.btn-icon-delete:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-icon-up,
.btn-icon-down {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.btn-icon-up:hover,
.btn-icon-down:hover {
  color: var(--text);
  background: rgba(255,255,255,0.1);
}

.item-card-chevron {
  color: var(--text-muted);
  font-size: 13px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.item-card.expanded .item-card-chevron {
  transform: rotate(180deg);
}

.item-card-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.item-card.expanded .item-card-body {
  display: block;
}

/* Add Button */
.add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--glass);
  border: 1px dashed rgba(212, 43, 43, 0.4);
  border-radius: var(--radius);
  color: var(--red-light);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.add-btn:hover {
  background: rgba(212, 43, 43, 0.1);
  border-color: var(--red);
}

/* Secondary button */
.btn-secondary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.btn-secondary-sm:hover {
  color: var(--text);
  border-color: var(--red);
  background: rgba(212, 43, 43, 0.08);
}

.btn-danger-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--error);
  transition: all var(--transition);
}

.btn-danger-sm:hover {
  background: rgba(239, 68, 68, 0.18);
}

/* Toggle Switch */
.toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--dark);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}

.toggle-switch input:checked ~ .toggle-slider {
  background: rgba(212, 43, 43, 0.3);
  border-color: var(--red);
}

.toggle-switch input:checked ~ .toggle-slider::after {
  transform: translateX(22px);
  background: var(--red);
}

/* =========================================
   GALLERY MANAGER
   ========================================= */
.gallery-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-thumb:hover .gallery-thumb-overlay {
  opacity: 1;
}

.gallery-thumb-delete {
  width: 36px;
  height: 36px;
  background: var(--error);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  transition: transform var(--transition);
}

.gallery-thumb-delete:hover {
  transform: scale(1.1);
}

.gallery-empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 14px;
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.gallery-empty-state i {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}

/* Upload multiple */
.gallery-upload-area {
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.gallery-upload-area:hover,
.gallery-upload-area.drag-over {
  border-color: var(--red);
  background: rgba(212, 43, 43, 0.05);
}

.gallery-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* =========================================
   STATS / HOURS LIST ITEMS
   ========================================= */
.mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.mini-list-item input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.mini-list-item input::placeholder {
  color: var(--text-muted);
}

.mini-list-item-delete {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--error);
  font-size: 12px;
  transition: background var(--transition);
}

.mini-list-item-delete:hover {
  background: rgba(239, 68, 68, 0.25);
}

.mini-add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1px dashed rgba(212, 43, 43, 0.3);
  border-radius: var(--radius-sm);
  color: var(--red-light);
  font-size: 13px;
  transition: all var(--transition);
}

.mini-add-btn:hover {
  background: rgba(212, 43, 43, 0.1);
  border-color: var(--red);
}

/* Team avatar preview */
.team-avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
}

.team-avatar-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  flex-shrink: 0;
}

/* =========================================
   TOAST
   ========================================= */
.admin-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 14px 20px;
  background: var(--dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  pointer-events: none;
}

.admin-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.admin-toast.success {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.08);
}

.admin-toast.error {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.08);
}

.admin-toast.success i { color: var(--success); }
.admin-toast.error i   { color: var(--error); }

/* =========================================
   LOADING OVERLAY
   ========================================= */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(4px);
  z-index: 9990;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 8px 0 32px rgba(0,0,0,0.5);
  }

  .admin-content {
    margin-left: 0;
  }

  .admin-content.sidebar-hidden {
    margin-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .admin-content {
    padding: 20px 16px;
  }

  .admin-header {
    padding: 0 12px;
    gap: 8px;
  }

  .admin-header-center { display: none; }
  .admin-user-label    { display: none; }
  .admin-site-link span { display: none; }
  .admin-logout-btn span { display: none; }

  .section-editor-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-manager-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .admin-toast {
    right: 12px;
    left: 12px;
    max-width: 100%;
  }
}
