/* ===== GLOBAL BUTTON RADIUS – todos los btn tienen bordes iOS ===== */

.btn {
    border-radius: 12px !important;
    font-weight: 500;
}

/* Botones pill (CTA principales) */
.hero-btn,
.btn-pill {
    border-radius: 999px !important;
}

/* Botones del navbar */
.btn-nav-ghost {
    color: rgba(255,255,255,0.92) !important;
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 12px !important;
    background: transparent !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.42rem 1rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-nav-ghost:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.55);
    color: #fff !important;
}

.btn-nav-primary {
    background: #3b82f6 !important;
    color: #fff !important;
    border: none;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.42rem 1.1rem;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 10px rgba(59,130,246,0.35);
}

.btn-nav-primary:hover {
    background: #2563eb !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59,130,246,0.45);
}

/* ===== BANNER VACACIONES ===== */

.vac-banner {
    background: linear-gradient(135deg, #0d1117 0%, #161b2c 100%);
    border-bottom: 1px solid rgba(59,130,246,0.25);
    border-radius: 0;
    padding: 0.9rem 1rem;
}

.vac-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(59,130,246,0.14);
    border: 1px solid rgba(59,130,246,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    font-size: 1rem;
    flex-shrink: 0;
}

.vac-banner-title {
    color: #93c5fd;
    font-weight: 600;
    font-size: 0.95rem;
}

.vac-banner-sub {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-left: 0.4rem;
}

.vac-banner-reopen {
    color: #6b7280;
    font-size: 0.84rem;
    display: block;
    margin-top: 0.18rem;
}

.vac-banner-reopen strong {
    color: #e2e8f0;
}

/* ===== TOTAL RESERVA ===== */

.reserva-summary-total {
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: 0.5rem;
}

.reserva-summary-total .reserva-summary-label,
.reserva-summary-total .reserva-summary-value {
    color: #1a1a1a;
    font-size: 1rem;
}

/* ===== iOS BLUE – COLOR PRIMARIO ELEGANTE ===== */

:root {
    --ios-blue: #3b82f6;
    --ios-blue-dark: #2563eb;
    --ios-blue-alpha: rgba(59, 130, 246, 0.14);
}

.btn-ios-blue {
    background: var(--ios-blue);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-ios-blue:hover,
.btn-ios-blue:active {
    background: var(--ios-blue-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}

.btn-outline-ios-blue {
    background: transparent;
    color: var(--ios-blue);
    border: 1.5px solid var(--ios-blue);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-ios-blue:hover {
    background: var(--ios-blue);
    color: #fff;
    transform: translateY(-1px);
}

.alert-ios-blue {
    background: var(--ios-blue-alpha);
    border: 1px solid rgba(59,130,246,0.30);
    color: #bfdbfe;
    border-radius: 14px;
}

.alert-ios-blue strong {
    color: #93c5fd;
}

.modal-header-dark {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
}

.modal-header-dark .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-content {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.modal-body {
    background: #1c2333;
    color: #e2e8f0;
}

.modal-footer {
    background: #1c2333;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.modal-footer .btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #94a3b8;
    border-radius: 10px;
}

.modal-footer .btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: #e2e8f0;
}

.modal-body .form-control {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.12);
    color: #e2e8f0;
    border-radius: 10px;
}

.modal-body .form-control:focus {
    border-color: var(--ios-blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.modal-body .form-label {
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
}

/* ===== BASE BOOTSTRAP ===== */

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
}



/* Focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ===== NAVBAR ESTILO iOS (GLASS / BLUR) ===== */
/* Usar en _Layout: <nav class="navbar navbar-expand-lg navbar-dark glass-nav"> */

.glass-nav {
    background: rgba(20, 20, 20, 0.55) !important; /* negro suave translúcido */
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease-in-out;
}

/* Hover más claro en desktop */
@media (min-width: 768px) {
    .glass-nav:hover {
        background: rgba(20, 20, 20, 0.70) !important;
    }
}

/* Estilo de los links */
.glass-nav .nav-link,
.glass-nav .navbar-brand {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
    font-weight: 500;
}

/* Logo del header */
.logo-header {
    height: 50px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
    transition: height 0.25s ease;
}

@media (max-width: 767.98px) {
    .logo-header {
        height: 40px;
    }
}

@media (min-width: 1200px) {
    .logo-header {
        height: 60px;
    }
}

/* Dropdown estético */
.dropdown-menu {
    border-radius: 14px !important;
    padding: 10px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.dropdown-item {
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: rgba(0,0,0,0.1) !important;
}

/* Botones transparentes */
.btn-outline-light {
    backdrop-filter: blur(4px);
}

/* ===== PAGE CARDS GENERALES (Servicios, Barberos, etc.) ===== */

.page-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 10px;
}

@media (min-width: 768px) {
    .page-wrapper {
        padding: 40px 0;
    }
}
/* ===== AJUSTE DE TEXTO PARA CARDS BLANCAS ===== */
.page-card,
.reserva-card {
    color: #1a1a1a !important;  /* texto principal oscuro */
}

.page-card-title,
.reserva-title {
    color: #1a1a1a !important;
}

.page-card-subtitle,
.reserva-subtitle {
    color: #555 !important; /* gris elegante */
}
.reserva-panel {
    background: #f0f0f3 !important; /* iOS light gray */
    color: #1a1a1a;
}
.reserva-panel .form-control,
.reserva-panel .form-select {
    background: #ffffff !important;
    border: 1px solid #d1d1d1 !important;
    color: #1a1a1a !important;
}

.reserva-panel-title {
    color: #1a1a1a !important;
}

.btn-dark {
    background: #111 !important;
    border-color: #111 !important;
}
.reserva-header h2,
.reserva-title {
    opacity: 1 !important;
}

.btn-dark:hover {
    background: #000 !important;
}

.page-card {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 24px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.4s ease;
}

.page-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.page-card-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.page-card-subtitle {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.page-card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Inputs nice en cards */
.page-card input,
.page-card select {
    border-radius: 10px;
    padding: 10px 12px;
}

/* ===== RESERVAS – ESTILO iOS ELEGANTE ===== */

.reserva-wrapper {
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
    .reserva-wrapper {
        padding: 2.5rem 0;
    }
}

/* ===== FONDO GENERAL OSCURO PARA TODA LA APP ===== */

.app-body-dark {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #3d3d3d 100%);
    background-attachment: fixed;
    color: #f5f5f5;
}

.app-body-dark main {
    padding-top: 20px;
}

.reserva-card {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.4s ease;
}

.reserva-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.reserva-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
}

.reserva-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

/* ===== PASOS DESKTOP ===== */
@media (min-width: 768px) {
    .reserva-steps {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

/* ===== PASOS MOBILE (SHOW/HIDE – sin altura fantasma) ===== */

@media (max-width: 767.98px) {
    .reserva-steps {
        display: block;
    }

    /* Paso 2 oculto en paso 1 */
    .step-2 {
        display: none;
    }

    /* Paso 2 activo */
    .reserva-card-steps.step-2-active .step-2 {
        display: block;
        animation: fadeIn 0.25s ease;
    }

    /* Paso 1 oculto cuando está en paso 2 */
    .reserva-card-steps.step-2-active .step-1 {
        display: none;
    }

    .reserva-step {
        width: 100%;
    }
}

/* Paneles */
.reserva-panel {
    background: #f7f7f9;
    border-radius: 18px;
    padding: 18px 16px 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.reserva-panel-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.reserva-panel-title i {
    color: #6b7280;
}

/* Inputs dentro de panel */
.reserva-panel .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
}

.reserva-panel .form-control,
.reserva-panel .form-select {
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 0.95rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.reserva-panel .form-control:focus,
.reserva-panel .form-select:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
    outline: none;
}

/* Chips de horario */
.reserva-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* en mobile, limitar altura y scrollear si hay muchos horarios */
@media (max-width: 767.98px) {
    .reserva-times {
        max-height: 220px;
        overflow-y: auto;
        padding-right: 4px;
    }
}

.reserva-times::-webkit-scrollbar {
    width: 6px;
}

.reserva-times::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 999px;
}

.reserva-times::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.reserva-times::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.time-chip {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-chip:hover {
    border-color: #1a1a1a;
    background: #f9fafb;
    transform: translateY(-1px);
}

.time-chip-selected {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ── Day chips (selector de fecha) ── */
.day-chips-wrap {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.day-chips-wrap::-webkit-scrollbar { display: none; }

.day-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 10px 8px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;          /* evita el azul de iOS */
    -webkit-appearance: none; /* quita estilo nativo iOS */
    appearance: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
    flex-shrink: 0;
    text-decoration: none;
}
.day-chip:hover {
    border-color: #1a1a1a;
    background: #f9fafb;
    color: #111;
}
.day-chip-active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.day-chip-dow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
    line-height: 1;
    color: inherit;
}
.day-chip-active .day-chip-dow { opacity: 0.85; }
.day-chip-num {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

/* Resumen */
.reserva-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding: 4px 0;
}

.reserva-summary-label {
    color: #6b7280;
    font-weight: 500;
}

.reserva-summary-value {
    font-weight: 600;
    color: #1a1a1a;
}

/* Botones desktop */
.reserva-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    gap: 0.75rem;
}

.reserva-actions .btn {
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.reserva-actions .btn:hover {
    transform: translateY(-1px);
}

/* Botones mobile */
.reserva-actions-mobile {
    margin-top: 16px;
    gap: 0.75rem;
}

.reserva-actions-mobile .btn {
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 500;
}

/* ===== ANIMACIONES ===== */

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

/* ==== NAVBAR DARK GLASS ==== */

.glass-dark-nav {
    background: rgba(10, 10, 10, 0.55) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
}

.glass-dark-nav .nav-link,
.glass-dark-nav .navbar-brand {
    color: #fff !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.glass-dark-nav .nav-link:hover {
    color: #c9c9c9 !important;
}

.nav-logo {
    height: 100px;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

/* Toggle dark */
.toggler-dark {
    border: none;
}

.toggler-dark .navbar-toggler-icon {
    filter: invert(100%);
}

.dropdown-menu-dark {
    background: rgba(20, 20, 20, 0.85) !important;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
}

/* Para que no tape el contenido */
.nav-spacer {
    height: 70px;
}

/* =======================
   AGENDA BARBERO – iOS LOOK
   ======================= */

.agenda-card {
    max-width: 900px;
}

/* header */
.agenda-header {
    align-items: flex-start;
}

.agenda-header .page-card-title {
    font-size: 22px;
    font-weight: 600;
}

.agenda-header .page-card-subtitle {
    text-transform: capitalize;
}

/* selector fecha */
.agenda-date-input {
    border-radius: 12px;
    padding: 8px 10px;
}

/* lista */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* item */
.agenda-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: #f7f7f9;
    border: 1px solid rgba(0,0,0,0.04);
}

@media (max-width: 575.98px) {
    .agenda-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .agenda-status {
        grid-column: 1 / 3;
        justify-self: flex-end;
    }
}

/* hora */
.agenda-time {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 55px;
}

.agenda-time-main {
    font-size: 16px;
    font-weight: 600;
}

.agenda-time-sub {
    font-size: 12px;
    color: #888;
}

/* info cliente/servicio */
.agenda-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agenda-client {
    font-weight: 600;
    font-size: 15px;
}

.agenda-service {
    font-size: 14px;
    color: #555;
}

.agenda-meta {
    font-size: 12px;
    color: #888;
}

.agenda-meta-text + .agenda-meta-text {
    margin-left: 4px;
}

/* estado */
.agenda-status {
    display: flex;
    align-items: center;
}

.agenda-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* colores por estado */
.agenda-badge-success {
    background: rgba(22,163,74,0.12);
    color: #15803d;
}

.agenda-badge-danger {
    background: rgba(220,38,38,0.12);
    color: #b91c1c;
}

.agenda-badge-warning {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

/* vacío */
.agenda-empty {
    padding: 26px 10px 10px;
    color: #555;
}

.home-wrapper {
    min-height: 100vh;
    padding: 32px 0 48px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #3d3d3d 100%);
    background-attachment: fixed;
}



.hero-section {
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.40);
    padding: 3rem 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}


.hero-badge {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.hero-title {
    font-weight: 700;
    font-size: clamp(2.1rem, 2.6vw + 1.5rem, 3rem);
    color: #f9fafb;              /* casi blanco */
}

.hero-subtitle {
    color: #cbd5f5;              /* gris clarito azulado */
    font-size: 0.98rem;
    max-width: 32rem;
}

.hero-btn {
    border-radius: 999px;
    padding-inline: 1.6rem;
    padding-block: 0.6rem;
    font-weight: 600;
}

.hero-btn-secondary {
    border-radius: 999px;
    padding-inline: 1.4rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.hero-tag {
    font-size: 0.75rem;
    padding: 0.23rem 0.7rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
}

/* HERO IMAGES CARD */
.hero-card {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 32px;
    background: linear-gradient(145deg, #020617, #0f172a);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.65);
}

.hero-main-photo {
    position: absolute;
    inset: 16px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-image: url("/img/FotoHero.jpeg"); /* Cambiá esta ruta por la tuya */
    filter: saturate(1.1);
}

.hero-secondary-photo {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    border: 2px solid rgba(248, 250, 252, 0.85);
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.6);
}

.hero-secondary-photo-1 {
    bottom: 12px;
    right: -8px;
    background-image: url("/img/FotoHero.jpeg");
}

.hero-secondary-photo-2 {
    top: -8px;
    left: 12px;
    background-image: url("/img/FotoHero.jpeg");
}

/* INFO + SERVICIOS */
.info-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}


/* Títulos de secciones */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f9fafb;              /* blanco suave */
}

.section-text {
    color: #e5e7eb;              /* gris muy claro */
    font-size: 0.95rem;
}

.service-pill {
    border-radius: 16px;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-pill h5 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: #1a1a1a;
    font-weight: 600;
}

.service-pill p {
    font-size: 0.82rem;
    margin: 0;
    color: #6b7280;
    line-height: 1.4;
}

.service-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}
.gallery-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
}


/* GALERÍA */
.gallery-row {
    row-gap: 1rem;
}

.gallery-card {
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    min-height: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

/* Reemplazá estas imágenes por las tuyas */
.gallery-card-1 { background-image: url("/img/Galeria/1.jpg"); }
.gallery-card-2 { background-image: url("/img/Galeria/2.jpg"); }
.gallery-card-3 { background-image: url("/img/Galeria/3.jpg"); }
.gallery-card-4 { background-image: url("/img/Galeria/4.jpg"); }
.gallery-card-5 { background-image: url("/img/Galeria/5.jpg"); }
.gallery-card-6 { background-image: url("/img/Galeria/6.jpg"); }

/* BARBEROS */
.barber-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    color: #f9fafb;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.barber-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

.barber-photo {
    width: 100%;
    height: 260px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    background-size: cover;
    background-position: center top;
    background-color: #020617;
    position: relative;
    overflow: hidden;
}

.barber-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 50%,
            rgba(0,0,0,0.7) 100%
    );
}

/* Reemplazar por fotos reales */
.barber-photo-1 { background-image: url("/img/barbero-1.jpg"); }
.barber-photo-2 { background-image: url("/img/barbero-2.jpg"); }


/* Barberos */
.barber-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
}

.barber-role {
    font-size: 0.85rem;
    color: #a5b4fc;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.barber-bio {
    font-size: 0.85rem;
    color: #d1d5db;
    line-height: 1.5;
}

/* MAPA */
.map-wrapper {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
}

.map-iframe {
    width: 100%;
    min-height: 260px;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    .hero-section {
        border-radius: 24px;
        padding-inline: 1.2rem;
    }

    .hero-card {
        width: 220px;
        height: 220px;
    }

    .gallery-card {
        min-height: 120px;
    }
}

.resumen-ganancias {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.resumen-ganancias-item {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.resumen-ganancias-item .label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

.resumen-ganancias-item .value {
    font-weight: 600;
    font-size: 1rem;
    color: #f9fafb;
}

.extra-card {
    padding: 14px 14px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
/* ===== AGENDA – BLOQUE INFERIOR (INGRESOS + DESHORAS) ===== */

.agenda-bottom {
    margin-top: 4px;
}

/* Card resumen ingresos dentro de la agenda */
.resumen-ganancias-card {
    padding: 10px 12px 4px;
    border-radius: 18px;
    background: #f7f7f9;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Mantengo tu estilo glass pero adaptado al fondo blanco */
.resumen-ganancias {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resumen-ganancias-item {
    padding: 8px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.resumen-ganancias-item .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
}

.resumen-ganancias-item .value {
    font-weight: 600;
    font-size: 0.98rem;
    color: #111827;
}

/* Extra-card ahora clara, integrada con la agenda */
.extra-card {
    padding: 12px 14px 10px;
    border-radius: 18px;
    background: #f7f7f9;
    border: 1px solid rgba(0,0,0,0.03);
}

.extra-card .form-label-sm {
    font-size: 0.78rem;
    font-weight: 500;
    color: #6b7280;
}

/* Inputs dentro del bloque deshora */
.extra-card .form-control {
    border-radius: 10px;
}

/* En mobile todo en columna */
@media (max-width: 767.98px) {
    .agenda-bottom {
        margin-top: 8px;
    }

    .resumen-ganancias {
        flex-direction: row;
    }
}


/* ===== PERFIL – MI CUENTA ===== */

.perfil-card {
    max-width: 640px;
    border-radius: 24px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.perfil-header {
    gap: 10px;
}

.perfil-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    color: #f9fafb;
    font-size: 28px;
}

.perfil-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
}

.perfil-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.perfil-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

.perfil-section-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

.perfil-form .form-control {
    border-radius: 12px;
    padding: 10px 12px;
}

.perfil-save-btn {
    border-radius: 999px;
    padding-inline: 1.6rem;
}

.qr-section .card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.qr-img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
}


.qr-card {
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(14px);
}

/* ===== CUSTOM MOBILE-FIRST & INTERACTIVE ENHANCEMENTS ===== */

/* Interactive Buttons */
.btn, .hero-btn, .hero-btn-secondary {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover, .hero-btn:hover, .hero-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:active, .hero-btn:active, .hero-btn-secondary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Enhancing Mobile Navbar */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: 16px;
        margin-top: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .btn, .nav-link {
        min-height: 44px; /* Minimum mobile touch target */
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .dropdown-menu {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1rem;
    }
}

/* Glassmorphism card enhancements */
.page-card, .reserva-card, .info-card, .barber-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-card:hover, .reserva-card:hover, .info-card:hover, .barber-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Input Touch targets */
input.form-control, select.form-select {
    min-height: 44px;
    font-size: 16px; /* Prevents iOS auto-zoom */
}

/* Mobile Typography & Spacing adjustments */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ── Panel de reservas pendientes (Agenda) ─────────────────────────────── */
.notif-panel {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    overflow: hidden;
}

.notif-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(239, 68, 68, 0.1);
    font-size: 0.82rem;
    color: #ef4444;
    border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.notif-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse-badge 1.5s infinite;
    flex-shrink: 0;
}

.notif-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(239, 68, 68, 0.08);
    gap: 12px;
}

.notif-item:last-child { border-bottom: none; }

.notif-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.84rem;
}

.notif-item-hora {
    font-weight: 700;
    color: #1a1a1a;
    min-width: 44px;
}

.notif-item-cliente {
    font-weight: 600;
    color: #1a1a1a;
}

.notif-item-servicio {
    color: #666;
    font-size: 0.78rem;
}

.notif-item-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-notif {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.btn-notif:hover { opacity: 0.8; }
.btn-notif-ok     { background: #16a34a; color: #fff; }
.btn-notif-cancel { background: #dc2626; color: #fff; }
