@import '_content/Havit.Blazor.Components.Web.Bootstrap/Havit.Blazor.Components.Web.Bootstrap.t732su9vui.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-iznp1p8xgy],
.components-reconnect-repeated-attempt-visible[b-iznp1p8xgy],
.components-reconnect-failed-visible[b-iznp1p8xgy],
.components-pause-visible[b-iznp1p8xgy],
.components-resume-failed-visible[b-iznp1p8xgy],
.components-rejoining-animation[b-iznp1p8xgy] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-retrying[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-failed[b-iznp1p8xgy],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-iznp1p8xgy] {
    display: block;
}


#components-reconnect-modal[b-iznp1p8xgy] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-iznp1p8xgy 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-iznp1p8xgy 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-iznp1p8xgy 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-iznp1p8xgy]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-iznp1p8xgy 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-iznp1p8xgy {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-iznp1p8xgy {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-iznp1p8xgy {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-iznp1p8xgy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-iznp1p8xgy] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-iznp1p8xgy] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-iznp1p8xgy] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-iznp1p8xgy] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-iznp1p8xgy] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-iznp1p8xgy] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-iznp1p8xgy 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-iznp1p8xgy] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-iznp1p8xgy {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.Razor.rz.scp.css */
:root[b-69h4krdx2a] {
    --accent:    #1a6b55;
    --accent-lt: #e6f4f0;
    --accent-md: #2d9d79;
    --card-bg:   #ffffff;
    --body-bg:   #f0f4f2;
    --text:      #1c2b27;
    --muted:     #6b8278;
    --border:    #c8dbd5;
    --radius:    14px;
}

body[b-69h4krdx2a] {
    font-family: 'DM Sans', sans-serif;
    background: var(--body-bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-image:
            radial-gradient(circle at 15% 20%, rgba(45,157,121,.12) 0%, transparent 50%),
            radial-gradient(circle at 85% 80%, rgba(26,107,85,.10) 0%, transparent 50%);
}

/* ── Card ── */
.form-card[b-69h4krdx2a] {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(26,107,85,.12), 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
    max-width: 620px;
    width: 100%;
}

/* ── Header ── */
.card-header-custom[b-69h4krdx2a] {
    background: var(--accent);
    padding: 2rem 2.5rem 1.6rem;
    position: relative;
}
.card-header-custom[b-69h4krdx2a]::after {
    content: '';
    position: absolute;
    bottom: -18px; left: 0; right: 0;
    height: 18px;
    background: var(--card-bg);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.card-header-custom h1[b-69h4krdx2a] {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #fff;
    margin: 0;
    letter-spacing: -.5px;
}
.card-header-custom p[b-69h4krdx2a] {
    color: rgba(255,255,255,.72);
    margin: .3rem 0 0;
    font-size: .9rem;
    font-weight: 300;
}

/* ── Body ── */
.card-body-custom[b-69h4krdx2a] { padding: 2.5rem 2.5rem 2rem; }

/* ── Labels ── */
.form-label[b-69h4krdx2a] {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .4rem;
}

/* ── Inputs ── */
.form-control[b-69h4krdx2a], .form-select[b-69h4krdx2a] {
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: .65rem 1rem;
    font-size: .95rem;
    color: var(--text);
    background: #fafcfb;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus[b-69h4krdx2a], .form-select:focus[b-69h4krdx2a] {
    border-color: var(--accent-md);
    box-shadow: 0 0 0 3px rgba(45,157,121,.18);
    background: #fff;
}
.form-control[b-69h4krdx2a]::placeholder { color: #aec4bc; }

/* Codice fiscale uppercase */
#cf[b-69h4krdx2a] { text-transform: uppercase; letter-spacing: .1em; }

/* ── Date pills container ── */
.date-pills[b-69h4krdx2a] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
}
.date-pill[b-69h4krdx2a] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: .88rem;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: all .18s;
    background: #fafcfb;
}
.date-pill:hover[b-69h4krdx2a] { border-color: var(--accent-md); color: var(--accent); background: var(--accent-lt); }
.date-pill.selected[b-69h4krdx2a] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 500;
}
.date-pill .bi[b-69h4krdx2a] { font-size: .8rem; }

/* Selected dates summary */
#selected-summary[b-69h4krdx2a] {
    font-size: .83rem;
    color: var(--muted);
    min-height: 1.2rem;
    margin-top: .6rem;
}
#selected-summary span[b-69h4krdx2a] {
    display: inline-block;
    background: var(--accent-lt);
    color: var(--accent);
    border-radius: 6px;
    padding: .1rem .5rem;
    margin: .15rem .2rem .15rem 0;
    font-weight: 500;
}

/* ── Divider ── */
.section-divider[b-69h4krdx2a] {
    border: none;
    border-top: 1.5px solid var(--border);
    margin: 1.6rem 0;
}

/* ── Button ── */
.btn-confirm[b-69h4krdx2a] {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .75rem 2.4rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(26,107,85,.25);
}
.btn-confirm:hover[b-69h4krdx2a] {
    background: var(--accent-md);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,107,85,.3);
    color: #fff;
}
.btn-confirm:active[b-69h4krdx2a] { transform: translateY(0); }

.btn-reset[b-69h4krdx2a] {
    background: transparent;
    color: var(--muted);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: .75rem 1.6rem;
    font-size: .95rem;
    transition: all .2s;
}
.btn-reset:hover[b-69h4krdx2a] { border-color: var(--accent-md); color: var(--accent); background: var(--accent-lt); }

/* ── Toast ── */
.toast-custom[b-69h4krdx2a] {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: .9rem;
    display: flex; align-items: center; gap: .6rem;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    z-index: 9999;
}
.toast-custom.show[b-69h4krdx2a] { opacity: 1; transform: translateY(0); }

/* ── Validation ── */
.invalid-feedback[b-69h4krdx2a] { font-size: .8rem; }
.was-validated .form-control:invalid[b-69h4krdx2a],
.was-validated .form-select:invalid[b-69h4krdx2a] { border-color: #dc3545; }
.was-validated .form-control:valid[b-69h4krdx2a],
.was-validated .form-select:valid[b-69h4krdx2a]   { border-color: var(--accent-md); }

@media (max-width: 576px) {
    .card-header-custom[b-69h4krdx2a], .card-body-custom[b-69h4krdx2a] { padding-left: 1.4rem; padding-right: 1.4rem; }
}
