@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-y48wr2vdur] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-y48wr2vdur] {
    flex: 1;
}

.sidebar[b-y48wr2vdur] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-y48wr2vdur] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-y48wr2vdur]  a, .top-row[b-y48wr2vdur]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-y48wr2vdur]  a:hover, .top-row[b-y48wr2vdur]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-y48wr2vdur]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) 
    {
    .top-row[b-y48wr2vdur] {
        justify-content: space-between;
    }

    .top-row[b-y48wr2vdur]  a, .top-row[b-y48wr2vdur]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-y48wr2vdur] {
        flex-direction: row;
    }

    .sidebar[b-y48wr2vdur] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-y48wr2vdur] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-y48wr2vdur]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-y48wr2vdur], article[b-y48wr2vdur] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-fsaahbkyj7] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-fsaahbkyj7] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-fsaahbkyj7] {
    font-size: 1.1rem;
}

.bi[b-fsaahbkyj7] {
    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-fsaahbkyj7] {
    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-fsaahbkyj7] {
    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-fsaahbkyj7] {
    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-fsaahbkyj7] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-fsaahbkyj7] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-fsaahbkyj7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-fsaahbkyj7]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-fsaahbkyj7]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-fsaahbkyj7]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-fsaahbkyj7] {
        display: none;
    }

    .collapse[b-fsaahbkyj7] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-fsaahbkyj7] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.login-container[b-n3l1rmh981] {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

    .login-container[b-n3l1rmh981]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #95b53d 0%, #6b8e23 50%, #4a6741 100%);
        opacity: 0.9;
    }

.login-card[b-n3l1rmh981] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.logo-section[b-n3l1rmh981] {
    /*background: linear-gradient(135deg, #95b53d, #7ba428);*/
    background: #F8F8F8;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset -5px 0 8px -5px rgba(0, 0, 0, 0.1);
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

    .logo-section[b-n3l1rmh981]::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: float-b-n3l1rmh981 6s ease-in-out infinite;
    }

@keyframes float-b-n3l1rmh981 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.logo-section img[b-n3l1rmh981] {
    max-width: 250px;
    filter: brightness(1.1) contrast(1.1);
    position: relative;
    z-index: 1;
}

.form-section[b-n3l1rmh981] {
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 20px 20px 0;
}

.app-title[b-n3l1rmh981] {
    color: #4a6741;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-subtitle[b-n3l1rmh981] {
    color: #6b8e23;
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.form-floating[b-n3l1rmh981] {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control[b-n3l1rmh981] {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

    .form-control:focus[b-n3l1rmh981] {
        box-shadow: 0 0 0 0.2rem rgba(149, 181, 61, 0.25);
        border-color: #95b53d;
        background: rgba(255, 255, 255, 1);
    }

.form-label[b-n3l1rmh981] {
    color: #4a6741;
    font-weight: 500;
    font-size: 0.9rem;
}

.password-toggle[b-n3l1rmh981] {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b8e23;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .password-toggle:hover[b-n3l1rmh981] {
        background: rgba(149, 181, 61, 0.1);
        color: #4a6741;
    }

.remember-me[b-n3l1rmh981] {
    margin: 1.5rem 0;
}

.form-check-label[b-n3l1rmh981] {
    color: #4a6741;
    font-weight: 400;
    cursor: pointer;
}

.form-check-input:checked[b-n3l1rmh981] {
    background-color: #95b53d;
    border-color: #95b53d;
}

.form-check-input:focus[b-n3l1rmh981] {
    box-shadow: 0 0 0 0.2rem rgba(149, 181, 61, 0.25);
}

.login-btn[b-n3l1rmh981] {
    background: linear-gradient(135deg, #95b53d, #7ba428);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .login-btn[b-n3l1rmh981]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .login-btn:hover[b-n3l1rmh981]::before {
        left: 100%;
    }

    .login-btn:hover[b-n3l1rmh981] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(149, 181, 61, 0.3);
        background: linear-gradient(135deg, #7ba428, #6b8e23);
    }

    .login-btn:disabled[b-n3l1rmh981] {
        opacity: 0.7;
        transform: none;
        cursor: not-allowed;
    }

.version-badge[b-n3l1rmh981] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #4a6741;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(149, 181, 61, 0.2);
    z-index: 10;
}

.alert-custom[b-n3l1rmh981] {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    animation: shake-b-n3l1rmh981 0.5s ease-out;
}

@keyframes shake-b-n3l1rmh981 {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Mobile First - Schermi piccoli */
@media (max-width: 991.98px) {
    .login-card[b-n3l1rmh981] {
        margin: 1rem;
        border-radius: 20px;
    }

    .logo-section[b-n3l1rmh981] {
        border-radius: 20px 20px 0 0;
        padding: 2rem 1rem;
        text-align: center;
    }

        .logo-section img[b-n3l1rmh981] {
            max-width: 200px;
        }

    .form-section[b-n3l1rmh981] {
        border-radius: 0 0 20px 20px;
        padding: 2rem 1.5rem;
    }

    .app-title[b-n3l1rmh981] {
        font-size: 2rem;
        text-align: center;
    }

    .app-subtitle[b-n3l1rmh981] {
        text-align: center;
    }

    .version-badge[b-n3l1rmh981] {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        top: auto;
    }
}

/* Schermi medi e grandi */
@media (min-width: 992px) {
    .login-card[b-n3l1rmh981] {
        max-width: 900px;
        margin: 2rem auto;
    }

    .logo-section[b-n3l1rmh981] {
        min-height: 600px;
    }

    .form-section[b-n3l1rmh981] {
        min-height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.spinner-border-sm[b-n3l1rmh981] {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}
/* /Pages/Main.razor.rz.scp.css */

/* --- Stili per le Card di Selezione in Main.razor --- */
.main-selection-container[b-w46unbacu6] {
    min-height: calc(100vh - 56px); /* Altezza meno l'altezza della navbar standard di Bootstrap, se presente. Altrimenti 100vh. */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Sfondo simile al login-container */
    position: relative;
    overflow: hidden;
    padding: 1rem; /* Aggiungi padding per evitare che il contenuto si attacchi ai bordi */
}

    .main-selection-container[b-w46unbacu6]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #95b53d 0%, #6b8e23 50%, #4a6741 100%); /* Sfondo simile al login-container */
        opacity: 0.9;
    }

.selection-card[b-w46unbacu6] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px; /* Altezza minima per le card */
}

    .selection-card:hover[b-w46unbacu6] {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(149, 181, 61, 0.3);
        background: rgba(255, 255, 255, 1);
    }

.card-icon[b-w46unbacu6] {
    font-size: 4rem; /* Icona grande */
    color: #7ba428; /* Colore verde simile al tuo tema */
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.selection-card:hover .card-icon[b-w46unbacu6] {
    color: #4a6741; /* Colore più scuro all'hover */
}

.card-title[b-w46unbacu6] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a6741; /* Colore verde scuro */
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.card-description[b-w46unbacu6] {
    font-size: 1rem;
    color: #6b8e23; /* Colore verde più chiaro */
    opacity: 0.8;
}

/* Media queries per la responsività */
@media (max-width: 767.98px) { /* Extra small e Small devices (telefoni) */
    .selection-card[b-w46unbacu6] {
        padding: 1.5rem;
        min-height: 200px;
    }

    .card-icon[b-w46unbacu6] {
        font-size: 3.5rem;
    }

    .card-title[b-w46unbacu6] {
        font-size: 1.5rem;
    }

    .card-description[b-w46unbacu6] {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) { /* Medium devices (tablet) */
    .selection-card[b-w46unbacu6] {
        min-height: 220px;
    }
}
/* --- Fine stili per le Card di Selezione in Main.razor --- */
