/* RPMClasses.com Admin Panel — Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-deep: #050505;
  --bg-primary: #0A0A0A;
  --bg-elevated: #121212;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --border: #2A2A2A;
  --border-subtle: #1E1E1E;
  --text-primary: #E8E8E8;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --crimson: #C30B0B;
  --crimson-glow: #E01515;
  --gold: #D4AF37;
  --gold-glow: #E8C84A;
  --glass-bg: rgba(26, 26, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: 20px;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --sidebar-width: 260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.admin-layout { display: flex; min-height: 100vh; }

/* === SIDEBAR === */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-primary);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 1000;
}
.sidebar-brand { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.sidebar-brand h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-brand span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: 0.25rem;
}
.sidebar-nav { flex: 1; padding: 0.5rem 0.75rem; list-style: none; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.sidebar-nav a:hover { background: var(--bg-card); color: var(--text-primary); }
.sidebar-nav a.active {
  background: rgba(195, 11, 11, 0.15);
  color: var(--crimson-glow);
  font-weight: 600;
}
.sidebar-nav .nav-icon { font-size: 1.2rem; width: 1.5rem; text-align: center; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.sidebar-footer a {
  display: block; padding: 0.5rem 0;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; transition: color var(--transition-fast);
}
.sidebar-footer a:hover { color: var(--text-primary); }
.sidebar-footer .logout-btn {
  color: var(--crimson); cursor: pointer; background: none; border: none;
  font-size: 0.85rem; font-family: var(--font-body);
  padding: 0.5rem 0; text-align: left; width: 100%;
}
.sidebar-footer .logout-btn:hover { color: var(--crimson-glow); }

/* === MAIN CONTENT === */
.main-content {
  flex: 1; margin-left: var(--sidebar-width);
  padding: 2rem 2.5rem; min-height: 100vh;
}
.page-header { margin-bottom: 2rem; }
.page-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700;
}
.page-header p { color: var(--text-secondary); margin-top: 0.25rem; font-size: 0.93rem; }

/* === STATS CARDS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-base);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  opacity: 0; transition: opacity var(--transition-base);
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--border); }
.stat-card:hover::before { opacity: 1; }
.stat-card .stat-icon { font-size: 1rem; margin-bottom: 0.75rem; opacity: 0.7; }
.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 800;
  color: var(--text-primary); line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 0.25rem;
}

/* === GLASS CARD === */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 1rem;
}

/* === TABLE === */
.data-table-wrap { overflow-x: auto; border-radius: var(--radius-md); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted);
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg-primary);
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem; color: var(--text-secondary);
}
.data-table tr:hover td { background: var(--bg-card); }

/* === BUTTONS === */
.btn {
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.btn-primary { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.btn-primary:hover { background: var(--crimson-glow); box-shadow: 0 0 15px rgba(195,11,11,0.3); }
.btn-gold { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-glow); box-shadow: 0 0 15px rgba(212,175,55,0.3); }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-card); color: var(--text-primary); }
.btn-danger { background: transparent; color: var(--crimson); border-color: var(--crimson); }
.btn-danger:hover { background: var(--crimson); color: #fff; }
.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.8rem; }

/* === FORMS === */
.form-input, .form-select {
  width: 100%; padding: 0.6rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--crimson); }
.form-input::placeholder { color: var(--text-muted); }
.form-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.form-group { margin-bottom: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* === BADGES === */
.badge {
  display: inline-block; padding: 0.15rem 0.5rem;
  border-radius: 9999px; font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-green { background: rgba(34,197,94,0.15); color: #22c55e; }
.badge-yellow { background: rgba(234,179,8,0.15); color: #eab308; }
.badge-red { background: rgba(195,11,11,0.15); color: var(--crimson-glow); }
.badge-gold { background: rgba(212,175,55,0.15); color: var(--gold); }

/* === MODALS === */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none; align-items: center; justify-content: center;
  z-index: 5000;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 90%; max-width: 480px;
  animation: modalIn 0.25s ease;
}
.modal-box h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 1.25rem;
}
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === QUICK ACTIONS === */
.quick-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* === SEARCH BAR === */
.search-bar {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1.5rem;
}
.search-bar .form-input { max-width: 400px; }

/* === TOAST === */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  z-index: 9999;
  animation: slideUp 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.toast.success { border-left: 3px solid #22c55e; }
.toast.error { border-left: 3px solid var(--crimson); }

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

/* === LOADING === */
.loading-spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--crimson);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; flex-direction: column; gap: 1rem;
}
.loading-overlay .loading-spinner { width: 40px; height: 40px; border-width: 3px; }

/* === CONFIG PAGE === */
.config-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.config-item:last-child { border-bottom: none; }
.config-item label {
  font-weight: 500; font-size: 0.93rem;
  color: var(--text-secondary);
}
.config-item .config-value {
  display: flex; align-items: center; gap: 0.5rem;
}
.config-item .form-input { width: 150px; text-align: right; }

/* === ACCESS DENIED === */
.access-denied {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh; text-align: center;
}
.access-denied h1 {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 900;
  color: var(--crimson); margin-bottom: 1rem;
}
.access-denied p { color: var(--text-muted); font-size: 1.1rem; }

/* === RESPONSIVE === */
/* Mobile hamburger button */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 200;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-primary);
  line-height: 1;
  backdrop-filter: blur(8px);
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
}
.sidebar-overlay.visible { display: block; }

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 160;
    transform: translateX(-110%);
    transition: transform .25s ease;
  }
  .sidebar.open { transform: translateX(0); }
  .main-content {
    margin-left: 0;
    padding: 1rem;
    padding-top: 4.5rem;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header { margin-bottom: 1.25rem; }
  .page-header h1 { font-size: 1.4rem; }
  .glass-card { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .data-table { font-size: 0.8rem; }
  .data-table th, .data-table td { padding: 0.5rem 0.4rem; }
  /* Testout scoring — bigger touch targets on mobile */
  .score-pip { width: 2.8rem; height: 2.8rem; font-size: 1rem; }
  .score-row { flex-wrap: wrap; gap: 0.5rem; }
  .score-label { width: 100%; margin-bottom: 0.25rem; }
  .score-val { margin-left: auto; }
  .btn { min-height: 2.8rem; }
}

/* ── MODAL SYSTEM (for classes, services, hero pages) ── */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal.active { display: flex; }

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1;
}
.modal-close:hover {
    background: rgba(195, 11, 11, 0.15);
    color: var(--crimson);
}

.modal form {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ── FORM ELEMENTS (bare inputs inside modals) ── */
.modal input[type="text"],
.modal input[type="number"],
.modal input[type="url"],
.modal textarea,
.modal select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.modal input:focus,
.modal textarea:focus,
.modal select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(195, 11, 11, 0.1);
}
.modal input::placeholder,
.modal textarea::placeholder {
    color: var(--text-muted);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── TABS (for classes-services page) ── */
.tab-bar {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tab-btn:hover {
    color: var(--text-primary);
}
.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ── TOGGLE SWITCH ── */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border);
    border-radius: 24px;
    transition: all 0.3s ease;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.toggle-switch input:checked + .toggle-slider {
    background: rgba(0, 200, 80, 0.3);
    border: 1px solid rgba(0, 200, 80, 0.4);
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: #0c8;
}
.toggle-sm {
    width: 36px;
    height: 20px;
}
.toggle-sm .toggle-slider::before {
    width: 14px;
    height: 14px;
}
.toggle-sm input:checked + .toggle-slider::before {
    transform: translateX(16px);
}

/* ── DAY CHIP SELECTORS ── */
.day-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    user-select: none;
}
.day-chip:hover {
    border-color: var(--gold);
    color: var(--text-primary);
}
.day-chip input {
    display: none;
}
.day-chip:has(input:checked) {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
}

/* ── SCHEDULE BUILDER ── */
.schedule-builder {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
}

/* ── DRAG HANDLE ── */
.drag-handle {
    color: var(--text-muted);
    font-size: 1.1rem;
    user-select: none;
}
tr[draggable="true"]:hover .drag-handle {
    color: var(--gold);
}
tr[draggable="true"] {
    transition: opacity 0.2s ease;
}

/* Time inputs */
.modal input[type="time"],
.form-group input[type="time"] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.modal input[type="time"]:focus,
.form-group input[type="time"]:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(195, 11, 11, 0.1);
}

/* ── FIX: Dark theme dropdowns ── */
select,
.modal select,
.form-group select,
.form-select {
    background-color: var(--bg-body) !important;
    color: var(--text-primary) !important;
    color-scheme: dark;
}
select option,
.modal select option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

/* ── MEDIA PICKER ── */
.mp-trigger {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.mp-trigger-btn {
    white-space: nowrap;
}
.mp-preview-img {
    position: relative;
    display: inline-block;
    margin-top: 0.5rem;
}
.mp-preview-img img {
    max-width: 200px;
    max-height: 100px;
    border-radius: 8px;
    border: 1px solid var(--border);
    object-fit: cover;
}
.mp-clear {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--crimson);
    color: #fff;
    border: 2px solid var(--bg-card);
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}
.mp-tab {
    padding: 0.6rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mp-tab:hover { color: var(--text-primary); }
.mp-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.mp-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}
.mp-thumb {
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}
.mp-thumb:hover {
    border-color: var(--gold);
    transform: scale(1.03);
}
.mp-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    background: var(--bg-body);
}
.mp-thumb-name {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background: var(--bg-card);
}

.mp-upload-area {
    padding: 1.5rem;
    text-align: center;
}
.mp-upload-area input[type="file"] {
    margin-bottom: 1rem;
}
.mp-url-area {
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}
.mp-url-area .form-group {
    flex: 1;
    margin: 0;
}

/* ── FIX: File input dark theme ── */
input[type="file"] {
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
}
input[type="file"]::file-selector-button {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    margin-right: 0.75rem;
    transition: all 0.2s ease;
}
input[type="file"]::file-selector-button:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
