/**
 * Dinkidoodles — Staff Portal & Admin Dashboard Stylesheet
 * Minimalistic SaaS Theme with Sidebar Navigation & 8px Border Radius
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --admin-bg: #f8fafc;
  --admin-card-bg: #ffffff;
  --admin-card-surface: #ffffff;
  --admin-border: #e2e8f0;
  --admin-border-subtle: #f1f5f9;
  
  --admin-primary: #0f766e;
  --admin-primary-hover: #115e59;
  --admin-primary-light: #f0fdfa;
  --admin-primary-border: #ccfbf1;
  
  --admin-text-main: #0f172a;
  --admin-text-body: #334155;
  --admin-text-muted: #64748b;
  --admin-text-dim: #94a3b8;
  
  --admin-danger: #dc2626;
  --admin-danger-bg: #fef2f2;
  --admin-danger-border: #fecaca;
  
  --admin-warning: #d97706;
  --admin-warning-bg: #fffbeb;
  --admin-warning-border: #fef3c7;
  
  --admin-blue: #2563eb;
  --admin-blue-bg: #eff6ff;
  --admin-blue-border: #bfdbfe;
  
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-full: 8px;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

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

body.admin-body {
  background-color: var(--admin-bg);
  color: var(--admin-text-body);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Mobile Header Bar & Toggle (Hidden on Desktop)
   ========================================================================== */
.admin-mobile-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--admin-border);
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
}

.admin-mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-mobile-toggle {
  background: none;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--admin-text-main);
  transition: all 0.15s;
}

.admin-mobile-toggle:hover {
  background: var(--admin-border-subtle);
}

.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 990;
}

/* ==========================================================================
   Modern SaaS Left Sidebar
   ========================================================================== */
.admin-sidebar {
  width: 260px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
  border-right: 1px solid var(--admin-border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-sizing: border-box;
}

.sidebar-brand-wrap {
  padding: 18px 20px;
  border-bottom: 1px solid var(--admin-border);
}

.sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--admin-text-main);
}

.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--admin-primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.sidebar-brand-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sidebar-brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-brand-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--admin-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-badge-admin {
  font-size: 11px;
  font-weight: 600;
  color: var(--admin-primary);
  background: var(--admin-primary-light);
  border: 1px solid var(--admin-primary-border);
  padding: 1px 6px;
  border-radius: 8px;
  display: inline-block;
  width: fit-content;
  margin-top: 2px;
}

.sidebar-nav-wrap {
  flex: 1;
  padding: 20px 14px;
  overflow-y: auto;
}

.sidebar-nav-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-dim);
  padding: 0 10px 8px;
}

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

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.sidebar-nav-item:hover {
  background: #f1f5f9;
  color: var(--admin-text-main);
}

.sidebar-nav-item.active {
  background: var(--admin-primary-light);
  color: var(--admin-primary);
  border-color: var(--admin-primary-border);
}

.sidebar-nav-item svg {
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid var(--admin-border);
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-site-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-decoration: none;
  border: 1px solid var(--admin-border);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: all 0.15s;
}

.sidebar-site-link:hover {
  background: #f8fafc;
  color: var(--admin-text-main);
  border-color: #cbd5e1;
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--admin-border);
}

.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--admin-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-user-details {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.sidebar-user-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--admin-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  display: block;
  font-size: 11.5px;
  color: var(--admin-text-muted);
}

.sidebar-logout-btn {
  color: var(--admin-text-dim);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s;
}

.sidebar-logout-btn:hover {
  color: var(--admin-danger);
  background: var(--admin-danger-bg);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.admin-container {
  margin-left: 260px;
  width: calc(100% - 260px);
  flex: 1;
  padding: 32px 36px 60px;
  max-width: 1400px;
  box-sizing: border-box;
  min-width: 0;
}

/* ==========================================================================
   KPI Summary Grid
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-xs);
  transition: all 0.15s ease;
}

.kpi-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.kpi-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--admin-text-muted);
  letter-spacing: 0.05em;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--admin-text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kpi-subtext {
  font-size: 12px;
  color: var(--admin-text-dim);
}

.text-emerald { color: #0f766e !important; }
.text-warning { color: #d97706 !important; }
.text-blue    { color: #2563eb !important; }
.text-danger  { color: #dc2626 !important; }
.text-slate   { color: #64748b !important; }

/* ==========================================================================
   Module Header
   ========================================================================== */
.module-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}

.module-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--admin-text-main);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.module-subtitle {
  font-size: 13.5px;
  color: var(--admin-text-muted);
}

/* ==========================================================================
   Filter Bar & Search
   ========================================================================== */
.admin-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--admin-text-muted);
  text-decoration: none;
  background: transparent;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  color: var(--admin-text-main);
  background: #f1f5f9;
}

.filter-pill.active {
  background: var(--admin-primary);
  color: #ffffff;
  font-weight: 600;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-input-sm {
  padding: 7px 12px !important;
  font-size: 13px !important;
  width: 220px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--admin-text-main);
}

.btn-sm {
  padding: 7px 14px !important;
  font-size: 13px !important;
  border-radius: 8px;
}

/* ==========================================================================
   Data Table
   ========================================================================== */
.table-responsive {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.data-table th {
  background: #f8fafc;
  color: var(--admin-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--admin-border);
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
  color: var(--admin-text-main);
}

.data-table tr:hover td {
  background: #f8fafc;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.table-thumb {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
}

.badge-court {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--admin-border);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-confirmed {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-completed {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-cancelled {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Action Links */
.action-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-primary);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}

.action-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.action-sep {
  color: var(--admin-border);
  margin: 0 6px;
  font-size: 12px;
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  box-shadow: var(--shadow-xs);
}

.btn-primary {
  background: var(--admin-primary);
  color: #ffffff;
  border-color: var(--admin-primary);
}

.btn-primary:hover {
  background: var(--admin-primary-hover);
  border-color: var(--admin-primary-hover);
}

.btn-secondary {
  background: #ffffff;
  color: var(--admin-text-main);
  border-color: var(--admin-border);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-danger {
  background: var(--admin-danger);
  color: #ffffff;
  border-color: var(--admin-danger);
}

.btn-block {
  width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text-body);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--admin-text-main);
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

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

.form-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Settings Page Grid & Cards
   ========================================================================== */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

.settings-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.settings-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.settings-card-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--admin-text-main);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--admin-border);
}

.settings-card-desc {
  font-size: 13px;
  color: var(--admin-text-muted);
  margin-bottom: 16px;
}

.settings-divider {
  border: 0;
  height: 1px;
  background: var(--admin-border);
  margin: 20px 0;
}

.amenities-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.amenity-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--admin-text-main);
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  cursor: pointer;
  transition: all 0.15s;
}

.amenity-checkbox-label:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.amenity-checkbox-label input[type="checkbox"] {
  accent-color: var(--admin-primary);
  width: 16px;
  height: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--admin-text-main);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--admin-primary);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Pop-Up Modal Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active,
.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  animation: modalPop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--admin-border);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--admin-text-main);
}

.modal-close {
  background: none;
  border: none;
  color: var(--admin-text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.modal-close:hover {
  color: var(--admin-text-main);
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--admin-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

/* ==========================================================================
   Admin Login Screen
   ========================================================================== */
body.admin-login-body {
  background-color: var(--admin-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: var(--font-body);
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
}

.login-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 4px 10px -5px rgba(0,0,0,0.02);
}

.login-header {
  text-align: center;
  margin-bottom: 26px;
}

.login-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.login-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--admin-text-main);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 13.5px;
  color: var(--admin-text-muted);
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--admin-border);
  font-size: 13px;
  color: var(--admin-text-muted);
}

.btn-text {
  color: var(--admin-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s;
}

.btn-text:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  body.admin-body {
    flex-direction: column;
  }

  .admin-mobile-topbar {
    display: flex;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop.is-open {
    display: block;
  }

  .admin-container {
    margin-left: 0;
    width: 100%;
    padding: 20px 16px 40px;
  }

  .module-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form {
    width: 100%;
  }

  .form-input-sm {
    width: 100%;
  }
}

/* ==========================================================================
   Stepper Navigation Component (Cebu Pickleball App Pattern)
   ========================================================================== */
.stepper-container {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.stepper-header {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--admin-border);
  background: #ffffff;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.stepper-header::-webkit-scrollbar {
  display: none;
}

.stepper-step {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
}

.stepper-step:hover {
  background: #f8fafc;
}

.stepper-step.active {
  border-bottom-color: var(--admin-primary);
  background: #ffffff;
}

.stepper-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid var(--admin-border);
  color: var(--admin-text-muted);
  background: #f8fafc;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.stepper-circle.active {
  background: var(--admin-primary);
  border-color: var(--admin-primary);
  color: #ffffff;
}

.stepper-circle.completed {
  background: var(--admin-primary-light);
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

.stepper-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stepper-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--admin-text-muted);
  white-space: nowrap;
}

.stepper-step.active .stepper-title {
  color: var(--admin-text-main);
}

.stepper-desc {
  font-size: 11px;
  color: var(--admin-text-dim);
  white-space: nowrap;
}

.stepper-panel {
  display: none;
  padding: 30px 32px;
}

.stepper-panel.active {
  display: block;
  animation: fadeIn 0.18s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.stepper-panel-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--admin-text-main);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.stepper-panel-desc {
  font-size: 13.5px;
  color: var(--admin-text-muted);
  margin-bottom: 24px;
}

.stepper-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--admin-border);
  padding: 18px 32px;
  background: #fafbfc;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

/* Upload Image Preview Box (Cebu Pickleball App Pattern) */
.img-preview-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  transition: all 0.15s;
}

.img-preview-thumb {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.img-preview-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.img-preview-meta {
  font-size: 12.5px;
  color: var(--admin-text-body);
  word-break: break-all;
}

