/* /Layout/AppLayoutSf.razor.rz.scp.css */
/* Layout: estructura general */
:host[b-ic1o9tox54] {
    display: block;
}

.app-container[b-ic1o9tox54] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%; /* mejor que 100vw */
    overflow: hidden;
}

/* Sidebar + contenido */
.main-wrapper[b-ic1o9tox54] {
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0; /* clave para que los hijos puedan hacer overflow */
}

/* Sidebar */
.sidebar-container[b-ic1o9tox54] {
    background-color: #34444c;
    height: 100%;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 1000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-open .sidebar-container[b-ic1o9tox54] {
    width: 150px;
}

.sidebar-collapsed .sidebar-container[b-ic1o9tox54] {
    width: 50px;
}

/* Contenido */
.content-body[b-ic1o9tox54] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    background-color: #ffffff;
}

/* Móvil: menú desplegable a la DERECHA, bajo el TopBar, y sin llegar tan abajo */
@media (max-width: 991.98px) {
    .main-wrapper[b-ic1o9tox54] {
        position: relative;
    }

    .sidebar-container[b-ic1o9tox54] {
        position: absolute;
        top: 0; /* ✅ empieza donde termina el TopBar (inicio del main-wrapper) */
        right: 0; /* ✅ pegado a la derecha */
        left: auto;
        height: auto; /* ✅ no fuerces 100% */
        width: max-content !important; /* ✅ se ajusta al contenido */
        min-width: 240px; /* ajusta */
        max-width: 92vw; /* evita que se haga enorme */

        max-height: 0; /* cerrado */
        overflow: hidden;
        overflow-x: hidden;
        z-index: 1100;
        border-bottom-left-radius: 16px;
        box-shadow: 0 18px 60px rgba(0,0,0,.25);
        transition: max-height .25s ease;
    }

        .sidebar-container.mobile-show[b-ic1o9tox54] {
            /* ✅ no llega tan abajo */
            max-height: min(80vh, 650px);
            overflow-y: auto;
            border-left: 1px solid rgba(255,255,255,.10);
            border-bottom: 1px solid rgba(255,255,255,.10);
        }

        .sidebar-container.mobile-hidden[b-ic1o9tox54] {
            max-height: 0;
            border: none;
            box-shadow: none;
        }

        /* asegura que el navmenu no haga cosas raras de ancho */
        .sidebar-container .navmenu[b-ic1o9tox54] {
            width: 100%;
        }
}


/* /Layout/LoginLayout.razor.rz.scp.css */
.page[b-da7s4zv52x] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-da7s4zv52x] {
    flex: 1;
}

.sidebar[b-da7s4zv52x] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-da7s4zv52x] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-da7s4zv52x]  a, .top-row .btn-link[b-da7s4zv52x] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-da7s4zv52x] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-da7s4zv52x] {
        display: none;
    }

    .top-row.auth[b-da7s4zv52x] {
        justify-content: space-between;
    }

    .top-row a[b-da7s4zv52x], .top-row .btn-link[b-da7s4zv52x] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-da7s4zv52x] {
        flex-direction: row;
    }

    .sidebar[b-da7s4zv52x] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-da7s4zv52x] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-da7s4zv52x], article[b-da7s4zv52x] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
:host[b-yfh6jmeenx] {
    display: block;
}

/* Reset contenedor */
.navmenu[b-yfh6jmeenx] {
    min-height: 0;
}

    /* Quita paddings/márgenes de bootstrap del contenedor */
    .navmenu[b-yfh6jmeenx]  .nav {
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .navmenu[b-yfh6jmeenx]  .nav-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Enlace/botón base */
    .navmenu[b-yfh6jmeenx]  .nav-link {
        height: 40px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box;
        line-height: 1;
        color: white;
        /* 👇 CLAVE: fuerza tamaño de texto desde el link (herencia) */
        font-size: 12px !important;
        font-weight: 400;
        text-decoration: none;
    }

    /* Icono */
    .navmenu[b-yfh6jmeenx]  .material-icons {
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px; /* icono */
        color: white;
        transition: transform .15s ease;
    }

    /* Texto (con ::deep para isolation) */
    .navmenu[b-yfh6jmeenx]  .nav-text {
        font-size: 12px !important;
        font-weight: 400;
        white-space: nowrap;
    }

        /* Ocultar/mostrar texto (IMPORTANTE con ::deep) */
        .navmenu[b-yfh6jmeenx]  .nav-text.text-hidden {
            display: none !important;
        }

        .navmenu[b-yfh6jmeenx]  .nav-text.text-visible {
            display: inline !important;
        }

    /* Estado expandido */
    .navmenu.expanded[b-yfh6jmeenx]  .nav-link {
        justify-content: flex-start !important;
        padding-left: 14px !important;
        gap: 12px;
    }

    /* Hover */
    .navmenu[b-yfh6jmeenx]  .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* ===== ACTIVO (seleccionado) ===== */
    .navmenu[b-yfh6jmeenx]  .nav-link.active {
        background-color: rgba(255, 255, 255, 0.14);
        position: relative;
    }

        /* Barrita lateral */
        .navmenu[b-yfh6jmeenx]  .nav-link.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 8px;
            bottom: 8px;
            width: 4px;
            background: cadetblue;
            border-radius: 4px;
        }

        /* Realce icono activo */
        .navmenu[b-yfh6jmeenx]  .nav-link.active .material-icons {
            transform: scale(1.08);
        }

        /* Hover del activo */
        .navmenu[b-yfh6jmeenx]  .nav-link.active:hover {
            background-color: rgba(255, 255, 255, 0.18);
        }

    /* Transiciones */
    .navmenu[b-yfh6jmeenx]  .nav-link {
        transition: background-color .15s ease;
    }



/* --- Móvil: aunque esté colapsado, se ve el texto cuando el menú está abierto --- */
@media (max-width: 991.98px) {
    .navmenu.collapsed[b-yfh6jmeenx]  .nav-text.text-hidden {
        display: inline !important;
    }

    .navmenu.collapsed[b-yfh6jmeenx]  .nav-link {
        justify-content: flex-start !important;
        padding-left: 14px !important;
        gap: 12px;
    }
}


/* /Layout/TopBar.razor.rz.scp.css */
.top-bar[b-yygks228tt] {
    height: 35px;
    flex-shrink: 0;
    position: sticky; /* opcional pero ayuda a que el z-index sea consistente */
    top: 0;
    z-index: 1030; /* nivel típico de navbar */
}

.bg-custom-cadet[b-yygks228tt] {
    background-color: #5f9ea0 !important;
}

.logo-img[b-yygks228tt] {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: white;
}

.topbar-title[b-yygks228tt] {
    font-size: 0.95rem;
    line-height: 1;
}

/* Ajuste fino para mover marca un pelín a la izquierda */
.brand-left[b-yygks228tt] {
    margin-left: -2px;
}

/* Quitar borde azul al pulsar en móvil */
.navbar-toggler:focus[b-yygks228tt],
.navbar-toggler:active[b-yygks228tt] {
    text-decoration: none;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.topbar-menu-icon[b-yygks228tt] {
    font-size: 32px;
    line-height: 1;
}

.navbar-toggler:active .topbar-menu-icon[b-yygks228tt] {
    opacity: 0.7;
}



.top-bar .top-iconbtn[b-yygks228tt] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent; /* sin fondo */
    border: 0;
    padding: 4px 6px; /* más pequeño */
    border-radius: 8px;
    color: rgba(255,255,255,.92); /* suave sobre cadet */
    cursor: pointer;
}

    .top-bar .top-iconbtn:hover[b-yygks228tt] {
        background: rgba(255,255,255,.10); /* hover suave */
    }

.top-bar .top-iconbtn__icon[b-yygks228tt] {
    font-size: 18px; /* más pequeño */
    line-height: 1;
    opacity: .85; /* icono más suave */
}

.top-bar .top-iconbtn__text[b-yygks228tt] {
    font-size: 13px;
    line-height: 1;
    opacity: .9;
}

.top-bar .top-iconbtn--bell[b-yygks228tt] {
    width: 34px; /* “cuadradito” mini */
    justify-content: center;
    padding: 4px 0;
}

.top-bar .top-iconbtn__badge[b-yygks228tt] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}
/* /Pages/Agenda/CitaAgenda.razor.rz.scp.css */
.cb-row[b-30iuhelds9] {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    margin: 0;
}

.cb-ic[b-30iuhelds9] {
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cb-txt[b-30iuhelds9] {
    color: black;
    font-size: 0.8rem;
    line-height: 1.1;
}

.cb-bold[b-30iuhelds9] {
    font-weight: 700;
}

.cb-event-txt[b-30iuhelds9] {
    color: white;
    font-size: 0.75rem;
    line-height: 1.1;
}

.cb-estado[b-30iuhelds9] {
    border-radius: 6px;
    font-size: 0.8rem;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/* /Pages/Cuentas/LoginPage.razor.rz.scp.css */
/* wrapper para iconos dentro */
.sf-wrap[b-3mvqjt1erp] {
    position: relative;
    width: 100%;
}

/* icono prefijo (email/lock) */
.sf-prefix[b-3mvqjt1erp] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: .75;
    pointer-events: none;
    font-size: 18px;
}

/* botón ojo (SfButton) -> con ::deep porque lo renderiza Syncfusion */
[b-3mvqjt1erp] .sf-suffix-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* INPUTS: alto fijo + padding vertical */
[b-3mvqjt1erp] .sf-big input {
    height: 48px !important;
    font-size: 16px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    box-sizing: border-box;
}

/* deja sitio para icono izq y ojo */
[b-3mvqjt1erp] .sf-has-prefix input {
    padding-left: 44px !important;
}

[b-3mvqjt1erp] .sf-has-suffix input {
    padding-right: 54px !important;
}

/* Botón Entrar (SfButton) -> con ::deep */
[b-3mvqjt1erp] .cb-btn-login.e-btn {
    background: cadetblue;
    border-color: cadetblue;
    color: white;
    height: 46px;
    min-width: 120px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

/* Ocultar la tarjeta en móvil */
@media (max-width: 767.98px) {
    .welcome-card-wrap[b-3mvqjt1erp] {
        display: none !important;
    }
}
/* /Pages/Facturas/GestionCobro.razor.rz.scp.css */
.cobro-modal[b-d0w9ja4hxw] {
    padding: 10px 2px;
}

.cobro-top[b-d0w9ja4hxw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.t1[b-d0w9ja4hxw] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.1;
}

.t2[b-d0w9ja4hxw] {
    font-size: .88rem;
    color: #6b7280;
    margin-top: 2px;
}

.chip[b-d0w9ja4hxw] {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #374151;
    white-space: nowrap;
    margin-top: 2px;
}

.chip-pendiente[b-d0w9ja4hxw] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.chip-parcial[b-d0w9ja4hxw] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.chip-pagada[b-d0w9ja4hxw] {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.resumen[b-d0w9ja4hxw] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.r-item[b-d0w9ja4hxw] {
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 10px 12px;
}


.r-label[b-d0w9ja4hxw] {
    font-size: .82rem;
    color: #6b7280;
    margin-bottom: 3px;
}

.r-val[b-d0w9ja4hxw] {
    font-size: 1.08rem;
    font-weight: 900;
    color: #111827;
}


.hint[b-d0w9ja4hxw] {
    font-size: .83rem;
    color: #6b7280;
    margin: 4px 0 12px 0;
}

.grid[b-d0w9ja4hxw] {
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
}

.nice-grid[b-d0w9ja4hxw] {
    border-radius: 10px;
    overflow: hidden;
}

.actions[b-d0w9ja4hxw] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .resumen[b-d0w9ja4hxw] {
        grid-template-columns: 1fr;
    }

    .addpay[b-d0w9ja4hxw] {
        grid-template-columns: 1fr;
    }

    .actions[b-d0w9ja4hxw] {
        justify-content: stretch;
    }

        .actions :deep(button)[b-d0w9ja4hxw] {
            width: 100%;
        }
}
/* /Pages/Usuarios/FichaUsuario.razor.rz.scp.css */
