/* /Layout/AuthLayout.razor.rz.scp.css */
/* Solo lo que Bootstrap no provee: fondo, overlay y glassmorphism */

body[b-eto48cb80w] {
    font-family: 'Inter', system-ui, sans-serif !important;
}

/* ── Pantalla completa con imagen de fondo ── */
.auth-bg[b-eto48cb80w] {
    min-height: 100vh;
    background-image: url('/images/login-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay oscuro */
.auth-bg[b-eto48cb80w]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 28, 0.78);
}

/* Card glassmorphism */
.auth-glass[b-eto48cb80w] {
    position: relative;
    z-index: 10;
    background: rgba(15, 20, 45, 0.82) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55) !important;
}


/* Textos blancos dentro de la card */
.auth-glass[b-eto48cb80w],
.auth-glass label[b-eto48cb80w],
.auth-glass p[b-eto48cb80w],
.auth-glass small[b-eto48cb80w],
.auth-glass h1[b-eto48cb80w],
.auth-glass h2[b-eto48cb80w],
.auth-glass h3[b-eto48cb80w] {
    color: #ffffff !important;
}

/* Inputs transparentes */
.auth-glass .form-control[b-eto48cb80w],
.auth-glass .form-control:focus[b-eto48cb80w] {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.auth-glass .form-control[b-eto48cb80w]::placeholder {
    color: rgba(255, 255, 255, 0.38) !important;
}

.auth-glass .form-control:focus[b-eto48cb80w] {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
}

/* Labels */
.auth-glass .form-label[b-eto48cb80w] {
    font-weight: 600 !important;
    font-size: 0.83rem !important;
    color: #e2e8f0 !important;
    margin-bottom: 0.35rem !important;
}

/* Links */
.auth-glass a[b-eto48cb80w] {
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-glass a:hover[b-eto48cb80w] {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Botón principal — blanco sólido */
.btn-auth-main[b-eto48cb80w] {
    background: #ffffff !important;
    color: #0f172a !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 0.78rem 1rem !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease !important;
    width: 100%;
}

.btn-auth-main:hover:not(:disabled)[b-eto48cb80w] {
    background: #f1f5f9 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4) !important;
}

.btn-auth-main:disabled[b-eto48cb80w] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Toggle password */
.btn-toggle-pwd[b-eto48cb80w] {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-left: none !important;
    border-radius: 0 8px 8px 0 !important;
}

.btn-toggle-pwd:hover[b-eto48cb80w] {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Input group dentro del glass */
.auth-glass .input-group .form-control[b-eto48cb80w] {
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
}

/* Spinner */
.spinner-border-sm-dark[b-eto48cb80w] {
    color: #0f172a !important;
}

/* Footer copyright */
.auth-copyright[b-eto48cb80w] {
    position: relative;
    z-index: 10;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1.25rem;
}

/* Animación de entrada */
.auth-glass[b-eto48cb80w] {
    animation: cardUp-b-eto48cb80w 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardUp-b-eto48cb80w {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* ── Raíz con imagen de fondo ── */
.main-root[b-f4n09trcaa] {
    min-height: 100vh;
    background-image: url('/images/login-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Overlay para contraste */
.main-overlay[b-f4n09trcaa] {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 28, 0.85);
    z-index: 1;
}

/* ── Navbar CORPORATIVA ── */
.main-nav[b-f4n09trcaa] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 35, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(220, 38, 38, 0.35);
    /* accent line rojo Buemes */
    height: 80px;
    display: flex;
    align-items: center;
}

.brand[b-f4n09trcaa] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo[b-f4n09trcaa] {
    width: auto;
    height: auto;
    max-width: 200px;
    /* ancho máximo en desktop */
    max-height: 76px;
    /* nunca sale del navbar de 80px */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.08));
    transition: filter 0.25s ease;
}

.brand:hover .brand-logo[b-f4n09trcaa] {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
}


/* ── Navbar ── */
.main-nav[b-f4n09trcaa]  .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    /* Cambio para mobile */
}

/* ── Estilos Mobile ── */
.navbar-toggler-corp[b-f4n09trcaa] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 1.25rem;
    margin-left: 0.75rem;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .nav-links[b-f4n09trcaa] {
        position: absolute;
        top: 72px;
        /* igual a la altura del navbar mobile */
        left: 0;
        right: 0;
        background: rgba(10, 15, 35, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 101;
    }

    .nav-links.show[b-f4n09trcaa] {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .brand[b-f4n09trcaa] {
        gap: 0.35rem;
    }

    .brand-logo[b-f4n09trcaa] {
        max-width: 150px;
        /* ancho máximo en mobile */
        max-height: 78px;
        /* nunca sale del navbar de 72px */
        width: auto;
        height: auto;
    }

    .main-nav[b-f4n09trcaa] {
        height: 72px;
    }

    .user-pill[b-f4n09trcaa] {
        padding: 0.2rem 0.3rem !important;
        font-size: 0.7rem !important;
        background: transparent !important;
        /* Ahorrar espacio visual */
        border: none !important;
    }

    .user-stats[b-f4n09trcaa] {
        height: 24px;
        padding: 0 0.3rem;
        font-size: 0.7rem;
        background: rgba(255, 255, 255, 0.05);
        /* Más sutil */
    }

    .stat-divider[b-f4n09trcaa] {
        margin: 0 3px;
    }

    .ms-auto[b-f4n09trcaa] {
        margin-left: auto !important;
    }

    .navbar-toggler-corp[b-f4n09trcaa] {
        z-index: 102;
        padding: 0.1rem 0.3rem;
        font-size: 1rem;
        margin-left: 0.25rem !important;
    }
}

@media (min-width: 768px) {
    .nav-links[b-f4n09trcaa] {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        background: transparent !important;
        transform: none !important;
    }
}

/* ── Fin Estilos Mobile ── */

.main-nav[b-f4n09trcaa]  .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.main-nav[b-f4n09trcaa]  .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

/* ── User Pill ── */
.user-pill[b-f4n09trcaa] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.6rem 0.4rem 1rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.btn-logout-pill[b-f4n09trcaa] {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout-pill:hover[b-f4n09trcaa] {
    background: rgba(239, 68, 68, 0.35);
    color: #fff;
}

.btn-link-logout[b-f4n09trcaa] {
    background: transparent;
    border: none;
    color: #fca5a5 !important;
    padding: 0.5rem 1.25rem;
    font-weight: 700 !important;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-link-logout:hover[b-f4n09trcaa] {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #fff !important;
    border-radius: 8px;
}

/* Auth Buttons */
.nav-link-btn[b-f4n09trcaa] {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-register-corp[b-f4n09trcaa] {
    background: #fff;
    color: #0f172a !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.btn-register-corp:hover[b-f4n09trcaa] {
    background: #f1f5f9;
}

/* ── Content ── */
.main-content[b-f4n09trcaa] {
    position: relative;
    z-index: 10;
    flex: 1;
}

/* ── Footer ── */
.main-footer[b-f4n09trcaa] {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
}

/* ── Estilos globales de tarjeta glass (reutilizables) ── */
[b-f4n09trcaa] .glass-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    color: #fff !important;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

[b-f4n09trcaa] .text-white-opaque {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ── User Stats Navbar ── */
.user-stats[b-f4n09trcaa] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 1rem;
    height: 38px;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.stat-item[b-f4n09trcaa] {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.stat-icon[b-f4n09trcaa] {
    font-size: 1rem;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.stat-label[b-f4n09trcaa] {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.stat-value[b-f4n09trcaa] {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.stat-divider[b-f4n09trcaa] {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 12px;
}

.text-warning[b-f4n09trcaa] {
    color: #facc15 !important;
}

.text-pts[b-f4n09trcaa] {
    color: #4ade80 !important;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

@media (max-width: 991.98px) {
    .user-stats[b-f4n09trcaa] {
        padding: 0 0.75rem;
    }

    .stat-divider[b-f4n09trcaa] {
        margin: 0 8px;
    }
}

.hover-white:hover[b-f4n09trcaa] {
    color: #ffffff !important;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4loqy02zbb] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-4loqy02zbb] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-4loqy02zbb] {
    font-size: 1.1rem;
}

.bi[b-4loqy02zbb] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-4loqy02zbb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-4loqy02zbb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-4loqy02zbb] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-4loqy02zbb] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4loqy02zbb] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4loqy02zbb] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4loqy02zbb]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-4loqy02zbb]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-4loqy02zbb]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4loqy02zbb] {
        display: none;
    }

    .collapse[b-4loqy02zbb] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-4loqy02zbb] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Auth/ForgotPassword.razor.rz.scp.css */
.form-description[b-5ciqonyiqy] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.email-sent-state[b-5ciqonyiqy] {
    text-align: center;
    padding: 0.5rem 0;
}

.email-icon-wrapper[b-5ciqonyiqy] {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulseRing-b-5ciqonyiqy 2s ease-in-out infinite;
}

@keyframes pulseRing-b-5ciqonyiqy {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(99, 102, 241, 0);
    }
}

.email-icon[b-5ciqonyiqy] {
    font-size: 2.2rem;
}

.sent-title[b-5ciqonyiqy] {
    color: #e0e7ff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.sent-text[b-5ciqonyiqy] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.sent-hint[b-5ciqonyiqy] {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: rgba(251, 191, 36, 0.85);
    font-size: 0.85rem;
    margin: 0 0 2rem;
    line-height: 1.5;
}

.btn-auth-outline[b-5ciqonyiqy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #a5b4fc;
    border: 1px solid rgba(165, 180, 252, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-auth-outline:hover[b-5ciqonyiqy] {
    background: rgba(165, 180, 252, 0.08);
    border-color: rgba(165, 180, 252, 0.5);
    color: #c7d2fe;
}
/* /Pages/Auth/Login.razor.rz.scp.css */
/* El modal usa Bootstrap nativo — no se necesita CSS extra aquí */
/* /Pages/Auth/ResetPassword.razor.rz.scp.css */
.success-state[b-vt0h1o5xkg] {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.success-icon-wrapper[b-vt0h1o5xkg] {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.success-title[b-vt0h1o5xkg] {
    color: #86efac;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.success-text[b-vt0h1o5xkg] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}

/* Password strength meter */
.password-strength[b-vt0h1o5xkg] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.strength-bar[b-vt0h1o5xkg] {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.strength-fill[b-vt0h1o5xkg] {
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-fill.weak[b-vt0h1o5xkg] {
    background: #ef4444;
}

.strength-fill.fair[b-vt0h1o5xkg] {
    background: #f59e0b;
}

.strength-fill.good[b-vt0h1o5xkg] {
    background: #3b82f6;
}

.strength-fill.strong[b-vt0h1o5xkg] {
    background: #22c55e;
}

.strength-label[b-vt0h1o5xkg] {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.strength-label.weak[b-vt0h1o5xkg] {
    color: #ef4444;
}

.strength-label.fair[b-vt0h1o5xkg] {
    color: #f59e0b;
}

.strength-label.good[b-vt0h1o5xkg] {
    color: #60a5fa;
}

.strength-label.strong[b-vt0h1o5xkg] {
    color: #4ade80;
}

.input-error[b-vt0h1o5xkg] {
    border-color: rgba(239, 68, 68, 0.6) !important;
}

.field-error[b-vt0h1o5xkg] {
    font-size: 0.78rem;
    color: #fca5a5;
    margin-top: 0.2rem;
    display: block;
}
