* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #D4A853;
    --gold-light: #E8C97A;
    --gold-dark: #B8912E;
    --dark: #0D0D0D;
    --dark-2: #1A1A1A;
    --dark-3: #2A2A2A;
    --dark-4: #3A3A3A;
    --text: #F5F5F5;
    --text-muted: #999;
    --success: #4CAF50;
    --danger: #E53935;
    --warning: #FF9800;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,168,83,0.15);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 0.7rem 2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    font-family: inherit;
}

.nav-link:hover { color: var(--gold); }

.nav-btn {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.nav-btn:hover { background: var(--gold); color: var(--dark); }
.nav-btn.filled { background: var(--gold); color: var(--dark); }
.nav-btn.filled:hover { background: var(--gold-light); }

.user-menu { display: flex; align-items: center; gap: 0.8rem; }
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.user-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.page { display: none; min-height: 100vh; }
.page.active { display: block; }

.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,13,13,0.92), rgba(13,13,13,0.7)); z-index: 1; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.6); }

.hero-content {
    position: relative; z-index: 2; text-align: center;
    max-width: 800px; padding: 2rem;
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block; padding: 0.4rem 1.2rem;
    border: 1px solid var(--gold); border-radius: 50px;
    color: var(--gold); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 550px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    padding: 1rem 2.5rem; background: var(--gold); color: var(--dark);
    border: none; border-radius: 8px; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s; font-family: inherit;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,168,83,0.3); }

.btn-secondary {
    padding: 1rem 2.5rem; background: transparent; color: var(--text);
    border: 1px solid var(--dark-4); border-radius: 8px; font-size: 1rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; text-align: center; margin-bottom: 0.5rem; }
.section-title span { color: var(--gold); }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 2rem; transition: all 0.3s; }
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.service-icon { width: 50px; height: 50px; background: rgba(212,168,83,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; }
.service-price { color: var(--gold); font-size: 1.3rem; font-weight: 700; }
.service-duration { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.3rem; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.info-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 2rem; text-align: center; }
.info-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--gold); }
.info-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.barbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.barber-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 2rem; text-align: center; transition: all 0.3s; }
.barber-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.barber-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--dark); font-weight: 700; font-family: 'Playfair Display', serif; }
.barber-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.barber-card .barber-role { color: var(--gold); font-size: 0.85rem; font-weight: 600; }

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; padding-top: 5rem; }
.auth-container { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 16px; padding: 3rem; width: 100%; max-width: 420px; animation: fadeUp 0.5s ease; }
.auth-container h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 0.5rem; text-align: center; }
.auth-container .auth-sub { color: var(--text-muted); text-align: center; margin-bottom: 2rem; font-size: 0.9rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-muted); }
.form-group input { width: 100%; padding: 0.8rem 1rem; background: var(--dark-3); border: 1px solid var(--dark-4); border-radius: 8px; color: var(--text); font-size: 0.95rem; font-family: inherit; transition: border-color 0.3s; outline: none; }
.form-group input:focus { border-color: var(--gold); }
.auth-btn { width: 100%; padding: 0.9rem; background: var(--gold); color: var(--dark); border: none; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; font-family: inherit; margin-top: 0.5rem; }
.auth-btn:hover { background: var(--gold-light); }
.auth-switch { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch button { background: none; border: none; color: var(--gold); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.9rem; }
.auth-switch button:hover { text-decoration: underline; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.form-error.show { display: block; }

.booking-page { padding: 6rem 2rem 3rem; max-width: 700px; margin: 0 auto; }
.booking-page h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 0.5rem; }
.booking-page .booking-sub { color: var(--text-muted); margin-bottom: 2rem; }
.booking-steps { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; }
.step { flex: 1; height: 4px; background: var(--dark-3); border-radius: 4px; transition: background 0.3s; }
.step.active { background: var(--gold); }
.step.done { background: var(--gold-dark); }
.booking-section { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 2rem; margin-bottom: 1.5rem; animation: fadeUp 0.4s ease; }
.booking-section h3 { font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.booking-section h3 .step-num { width: 28px; height: 28px; background: var(--gold); color: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }

.calendar { background: var(--dark-3); border-radius: 10px; padding: 1.2rem; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.calendar-header h4 { font-size: 1rem; font-weight: 600; }
.calendar-nav { background: var(--dark-4); border: none; color: var(--text); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; font-size: 1rem; }
.calendar-nav:hover { background: var(--gold); color: var(--dark); }
.calendar-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekdays span { text-align: center; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; padding: 0.3rem; }
.calendar-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; background: transparent; color: var(--text); font-family: inherit; }
.calendar-day:hover:not(.disabled):not(.empty) { background: rgba(212,168,83,0.2); }
.calendar-day.selected { background: var(--gold) !important; color: var(--dark) !important; }
.calendar-day.today { border: 1px solid var(--gold); }
.calendar-day.disabled { color: var(--dark-4); cursor: not-allowed; }
.calendar-day.empty { cursor: default; }

/* Estilo para días cerrados en el calendario */
.calendar-day.closed-day {
  background: rgba(229, 57, 53, 0.15) !important;
  color: var(--danger) !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.5rem; }
.time-slot { padding: 0.6rem; background: var(--dark-3); border: 1px solid var(--dark-4); border-radius: 8px; color: var(--text); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; font-family: inherit; }
.time-slot:hover { border-color: var(--gold); }
.time-slot.selected { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.time-slot.unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

.service-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.service-option { padding: 1rem; background: var(--dark-3); border: 1px solid var(--dark-4); border-radius: 10px; cursor: pointer; transition: all 0.2s; text-align: left; font-family: inherit; color: var(--text); }
.service-option:hover { border-color: var(--gold); }
.service-option.selected { border-color: var(--gold); background: rgba(212,168,83,0.1); }
.service-option .so-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.service-option .so-price { color: var(--gold); font-weight: 700; font-size: 1rem; }
.service-option .so-duration { color: var(--text-muted); font-size: 0.75rem; }

.barber-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.8rem; }
.barber-option { padding: 1.2rem; background: var(--dark-3); border: 1px solid var(--dark-4); border-radius: 10px; cursor: pointer; transition: all 0.2s; text-align: center; font-family: inherit; color: var(--text); }
.barber-option:hover { border-color: var(--gold); }
.barber-option.selected { border-color: var(--gold); background: rgba(212,168,83,0.1); }
.barber-option .bo-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); margin: 0 auto 0.6rem; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--dark); font-weight: 700; font-family: 'Playfair Display', serif; }
.barber-option .bo-name { font-weight: 700; font-size: 0.9rem; }
.barber-option .bo-role { color: var(--text-muted); font-size: 0.75rem; }

.summary-card { background: var(--dark-3); border-radius: 10px; padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--dark-4); font-size: 0.9rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-weight: 600; }
.summary-row.total .value { color: var(--gold); font-size: 1.2rem; }

.booking-nav { display: flex; gap: 1rem; margin-top: 1.5rem; }
.booking-nav button { flex: 1; padding: 0.9rem; border-radius: 8px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.btn-back { background: var(--dark-3); border: 1px solid var(--dark-4); color: var(--text); }
.btn-back:hover { border-color: var(--gold); }
.btn-next { background: var(--gold); border: none; color: var(--dark); }
.btn-next:hover { background: var(--gold-light); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* ========== ESTILOS PANEL ADMIN MEJORADO ========== */
.admin-page { padding: 6rem 2rem 3rem; max-width: 1100px; margin: 0 auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.admin-header h2 { font-family: 'Playfair Display', serif; font-size: 2rem; }

.admin-nav-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--dark-3); padding-bottom: 0.5rem; }
.admin-tab-btn { padding: 0.7rem 1.2rem; background: var(--dark-2); border: 1px solid var(--dark-3); color: var(--text-muted); border-radius: 8px 8px 0 0; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.admin-tab-btn:hover { color: var(--gold); border-color: var(--gold-dark); }
.admin-tab-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 700; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 1.2rem; }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 700; }
.stat-card .stat-value.gold { color: var(--gold); }
.stat-card .stat-value.green { color: var(--success); }
.stat-card .stat-value.red { color: var(--danger); }

.admin-controls-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 1.2rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.admin-search-box input { width: 100%; padding: 0.75rem 1rem; background: var(--dark-3); border: 1px solid var(--dark-4); border-radius: 8px; color: var(--text); font-size: 0.9rem; outline: none; font-family: inherit; }
.admin-search-box input:focus { border-color: var(--gold); }

.admin-filters-group { display: flex; flex-direction: column; gap: 0.8rem; }
.filter-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.filter-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; min-width: 65px; }

.filter-btn { padding: 0.4rem 0.9rem; background: var(--dark-3); border: 1px solid var(--dark-4); border-radius: 6px; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.admin-date-picker { background: var(--dark-3); color: var(--text); border: 1px solid var(--dark-4); border-radius: 6px; padding: 0.35rem 0.6rem; font-family: inherit; font-size: 0.8rem; outline: none; }

.appointments-list { display: flex; flex-direction: column; gap: 1rem; }
.appointment-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-left: 4px solid var(--gold); border-radius: 12px; padding: 1.2rem 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; transition: all 0.3s; }
.appointment-card.pending { border-left-color: var(--warning); }
.appointment-card.completed { border-left-color: var(--success); }
.appointment-card.cancelled { border-left-color: var(--danger); }

.appt-header-row { display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.appt-date { background: var(--dark-3); border-radius: 8px; padding: 0.5rem 0.8rem; text-align: center; min-width: 60px; }
.appt-date .day { font-size: 1.3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.appt-date .month { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; margin-top: 0.1rem; }

.appt-main-info { flex: 1; }
.appt-main-info .client-name { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.appt-price { font-size: 1.1rem; font-weight: 700; color: var(--gold); white-space: nowrap; }

.appt-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.5rem; color: var(--text-muted); font-size: 0.85rem; background: rgba(0,0,0,0.15); padding: 0.6rem 0.8rem; border-radius: 8px; }
.detail-item { display: flex; align-items: center; gap: 0.4rem; }

.reagendado-tag { font-size: 0.75rem; color: var(--warning); font-weight: 600; }

.appt-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; justify-content: flex-end; margin-top: 0.3rem; }
.appt-btn { padding: 0.45rem 0.9rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; font-family: inherit; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }

.appt-btn.whatsapp { background: rgba(37, 211, 102, 0.15); color: #25D366; border: 1px solid rgba(37, 211, 102, 0.3); }
.appt-btn.whatsapp:hover { background: #25D366; color: white; }

.appt-btn.complete { background: rgba(76,175,80,0.15); color: var(--success); border: 1px solid rgba(76,175,80,0.3); }
.appt-btn.complete:hover { background: var(--success); color: white; }

.appt-btn.cancel { background: rgba(229,57,53,0.15); color: var(--danger); border: 1px solid rgba(229,57,53,0.3); }
.appt-btn.cancel:hover { background: var(--danger); color: white; }

.appt-btn.delete { background: rgba(100, 100, 100, 0.15); color: var(--text-muted); border: 1px solid rgba(100, 100, 100, 0.3); }
.appt-btn.delete:hover { background: var(--danger); color: white; border-color: var(--danger); }

.status-badge { padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.status-badge.pending { background: rgba(255,152,0,0.15); color: var(--warning); }
.status-badge.completed { background: rgba(76,175,80,0.15); color: var(--success); }
.status-badge.cancelled { background: rgba(229,57,53,0.15); color: var(--danger); }

.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 1rem; }

/* TOAST & MODAL */
.toast-container { position: fixed; top: 5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 10px; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.8rem; animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards; box-shadow: 0 8px 30px rgba(0,0,0,0.4); min-width: 280px; }
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--gold); }

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(100%); } }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 2rem; }
.modal-overlay.show { display: flex; }
.modal { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 16px; padding: 2.5rem; max-width: 450px; width: 100%; text-align: center; animation: fadeUp 0.3s ease; }
.modal .modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.modal-btn { padding: 0.8rem 2rem; background: var(--gold); color: var(--dark); border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.modal-btn:hover { background: var(--gold-light); }

.footer { background: var(--dark-2); border-top: 1px solid var(--dark-3); padding: 2rem; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--dark-4), transparent); margin: 0; }
.my-appointments { padding: 6rem 2rem 3rem; max-width: 800px; margin: 0 auto; }
.my-appointments h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 2rem; }

.parallax-images { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; overflow: hidden; opacity: 0.3; }
.parallax-img { position: absolute; width: 40%; height: 60%; background-size: cover; background-position: center; border-radius: 12px; transition: transform 0.1s ease-out; }
.parallax-img-1 { top: 15%; left: 5%; background-image: url('foto 1.jpg'); }
.parallax-img-2 { top: 20%; right: 5%; background-image: url('foto 2.jpg'); }

.horarios-card { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.hz-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.hz-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.hz-day { width: 110px; font-weight: 600; font-size: 0.9rem; }
.hz-row select { background: var(--dark-3); color: var(--text); border: 1px solid var(--dark-4); border-radius: 8px; padding: 0.4rem 0.6rem; font-family: inherit; }
.hz-actions { display: flex; gap: 0.8rem; margin-top: 1rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 768px) {
    .navbar { padding: 0.6rem 0.8rem; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
    .nav-logo { font-size: 1.15rem; width: 100%; justify-content: center; }
    .nav-links { width: 100%; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
    .nav-link { font-size: 0.8rem; }
    .nav-btn { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
    .user-name { display: none; }
    .user-avatar { width: 30px; height: 30px; font-size: 0.75rem; }
    .auth-page { padding-top: 7.5rem; }
    .service-options { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; text-align: center; }
    .appt-header-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .appt-actions { justify-content: flex-start; width: 100%; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }