/* /Layout/MainLayout.razor.rz.scp.css */
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qr1cyb93u9] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-qr1cyb93u9] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qr1cyb93u9] {
    font-size: 1.1rem;
}

.bi[b-qr1cyb93u9] {
    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-qr1cyb93u9] {
    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-qr1cyb93u9] {
    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-qr1cyb93u9] {
    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-qr1cyb93u9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qr1cyb93u9] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qr1cyb93u9] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qr1cyb93u9]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-qr1cyb93u9]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qr1cyb93u9]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qr1cyb93u9] {
        display: none;
    }

    .collapse[b-qr1cyb93u9] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-qr1cyb93u9] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.login-container[b-5lrhgbicmu] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Uses the global dark background, with a subtle glow of your Primary Green in the corner */
    background: radial-gradient(circle at top left, var(--primary-glow), var(--bg-main) 40%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.glass-panel[b-5lrhgbicmu] {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.brand-header[b-5lrhgbicmu] {
    margin-bottom: 40px;
    position: relative;
}

.logo-accent[b-5lrhgbicmu] {
    width: 60px;
    height: 60px;
    /* Uses your Secondary Blue variable! */
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    border-radius: 16px;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 25px var(--secondary-glow);
    transform: rotate(45deg);
}

.brand-title[b-5lrhgbicmu] {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
}

.subtitle[b-5lrhgbicmu] {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

.input-group[b-5lrhgbicmu] {
    margin-bottom: 30px; /* This creates the perfect gap! */
    position: relative;
}

.modern-input[b-5lrhgbicmu] {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: inherit; /* Forces it to use the sleek system font */
    text-align: center;
    letter-spacing: 8px; /* Slightly wider spacing for the PIN dots */
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Dynamically glows with your Primary Green when focused */
.modern-input:focus[b-5lrhgbicmu] {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.w-100[b-5lrhgbicmu] {
    width: 100%;
}

.error-toast[b-5lrhgbicmu] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin: 20px 0;
}

.loading-spinner[b-5lrhgbicmu] {
    width: 35px;
    height: 35px;
    margin: 0 auto;
    border: 3px solid var(--surface-border);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin-b-5lrhgbicmu 1s ease-in-out infinite;
}

@keyframes spin-b-5lrhgbicmu {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake-b-5lrhgbicmu {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.shake-animation[b-5lrhgbicmu] {
    animation: shake-b-5lrhgbicmu 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
