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

html {
    font-size: 14px;
}

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

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

body {
    margin-bottom: 60px;
}

/* 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 (DESKTOP) ===== */

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

@media (min-width: 768px) {
    .reserva-wrapper {
        padding: 32px 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;
}

/* El contenido principal se separa un poco de la navbar fija si más adelante la pones fixed-top */
.app-body-dark main {
    padding-top: 20px;
}

.reserva-card {
    width: 100%;
    max-width: 960px;
    background: #ffffff;
    border-radius: 22px;
    padding: 22px 22px 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    animation: fadeIn 0.4s ease;
}

/* Header */
.reserva-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

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

/* ===== PASOS DESKTOP ===== */
@media (min-width: 768px) {
    .reserva-steps {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 22px;
    }
}

/* ===== PASOS MOBILE (SLIDE HORIZONTAL) ===== */

.reserva-card-steps {
    /* se combina con .reserva-card en el HTML */
}

@media (max-width: 767.98px) {
    .reserva-card-steps {
        overflow: hidden;
    }

    .reserva-steps {
        display: flex;
        width: 200%;
        transform: translateX(0);
        transition: transform 0.35s ease-in-out;
    }

    .reserva-card-steps.step-2-active .reserva-steps {
        transform: translateX(-50%);
    }

    .reserva-step {
        width: 50%;
        flex-shrink: 0;
    }
}

/* Paneles */
.reserva-panel {
    background: #f7f7f9;
    border-radius: 18px;
    padding: 16px 16px 12px;
}

.reserva-panel-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Inputs dentro de panel */
.reserva-panel .form-label {
    font-size: 13px;
    font-weight: 500;
}

.reserva-panel .form-control,
.reserva-panel .form-select {
    border-radius: 12px;
    padding: 10px 12px;
}

/* Chips de horario */
.reserva-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.time-chip {
    border-radius: 999px;
    border: 1px solid #d0d0d5;
    padding: 6px 12px;
    font-size: 13px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.time-chip:hover {
    border-color: #111827;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

.time-chip-selected {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

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

.reserva-summary-label {
    color: #777;
}

.reserva-summary-value {
    font-weight: 500;
}

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

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

/* ===== 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(234,179,8,0.12);
    color: #92400e;
}

/* 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: 18px;
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-pill h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #0f172a;
}

.service-pill p {
    font-size: 0.86rem;
    margin: 0;
    color: #64748b;
}

.service-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.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: 140px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

/* 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.08);
    background: rgba(255, 255, 255, 0.04);   /* glass oscuro */
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    color: #f9fafb; /* texto claro dentro */
}


.barber-photo {
    width: 100%;
    height: 180px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    background-size: cover;
    background-position: center;
    background-color: #020617; /* fallback oscuro */
}


/* 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: 600;
    color: #f9fafb;
}

.barber-role {
    font-size: 0.9rem;
    color: #a5b4fc;              /* lilita tipo iOS */
}

.barber-bio {
    font-size: 0.86rem;
    color: #e5e7eb;
}

/* 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);
}






