/* /Layout/MainLayout.razor.rz.scp.css */
*[b-qledriphff] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html[b-qledriphff],
body[b-qledriphff] {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.page[b-qledriphff] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    background: var(--bg-dark);
}

.sidebar[b-qledriphff] {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--sidebar-panel) 0%, var(--panel-2) 70%);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-header[b-qledriphff] {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}

.navbar-brand[b-qledriphff] {
    color: var(--text);
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    margin: 0;
}

.nav-scrollable[b-qledriphff] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.nav-scrollable[b-qledriphff]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-qledriphff]::-webkit-scrollbar-track {
    background: var(--glass);
}

.nav-scrollable[b-qledriphff]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

.nav-scrollable[b-qledriphff]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

.nav-item[b-qledriphff] {
    margin: 0;
    padding: 0;
    margin-bottom: 0.25rem;
}

.nav-link[b-qledriphff] {
    color: var(--muted);
    padding: 0.65rem 1rem;
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.92rem;
    font-family: inherit;
}

.nav-link:hover[b-qledriphff] {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.nav-link.active[b-qledriphff] {
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.06), rgba(14, 165, 143, 0.02));
    color: var(--text);
    font-weight: 600;
}

.sidebar-footer[b-qledriphff] {
    padding: 0.8rem;
    border-top: 1px solid var(--card-border);
    flex-shrink: 0;
}

.user-pill[b-qledriphff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.user-avatar[b-qledriphff] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #04282a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-info[b-qledriphff] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.user-name[b-qledriphff] {
    font-size: 0.8rem;
    color: var(--color-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout[b-qledriphff] {
    color: var(--color-muted);
    font-size: 0.7rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.logout:hover[b-qledriphff] {
    color: var(--color-text);
    text-decoration: underline;
}

main[b-qledriphff] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-row[b-qledriphff] {
    background-color: var(--color-primary-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.content[b-qledriphff] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-dark);
    padding: 1.5rem;
}

.content[b-qledriphff]::-webkit-scrollbar {
    width: 8px;
}

.content[b-qledriphff]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.content[b-qledriphff]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.content[b-qledriphff]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Utility Classes */
.px-4[b-qledriphff] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.me-3[b-qledriphff] {
    margin-right: 1rem;
}

.btn-link[b-qledriphff] {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    color: inherit;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
}

.btn-link:hover[b-qledriphff] {
    opacity: 0.8;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.page[b-tt2vuboeu3] {
    display: flex;
    flex-direction: row;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #08141a 100%);
    color: var(--text);
    box-sizing: border-box;
}

/* Sidebar specifico per NavMenu: usa palette scura, strip verde a sinistra */
.sidebar[b-tt2vuboeu3] {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--sidebar-panel) 0%, var(--panel-2) 100%);
    color: var(--text);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-right: 1px solid var(--card-border);
    position: relative;
}

    /* sottile strip verde (sopra lo sfondo scuro) */
    .sidebar[b-tt2vuboeu3]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 56px;
        height: 100%;
        background: linear-gradient(180deg, rgba(20,184,166,0.22) 0%, rgba(20,184,166,0.06) 50%, rgba(20,184,166,0.02) 100%);
        pointer-events: none;
        mix-blend-mode: overlay;
        border-right: 1px solid rgba(20,184,166,0.04);
    }

/* Brand / header dentro la sidebar */
.navbar-brand[b-tt2vuboeu3] {
    color: var(--text);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1rem 1rem 0.6rem 1rem;
    display: block;
    margin: 0;
    border-bottom: 1px solid var(--card-border);
    box-sizing: border-box;
}

/* Navigation scrollable */
.nav-scrollable[b-tt2vuboeu3] {
    padding: 0.5rem 0.6rem;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Singolo item */
.nav-item[b-tt2vuboeu3] {
    margin: 0;
    padding: 0;
    margin-bottom: 0.25rem;
}

/* Link: colori coerenti con palette, contrasto maggiore */
.nav-link[b-tt2vuboeu3] {
    color: var(--muted);
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background 0.12s ease, color 0.12s ease, transform 0.08s ease;
    margin: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    box-sizing: border-box;
}

    /* icona dentro link */
    .nav-link .nav-icon[b-tt2vuboeu3] {
        width: 18px;
        height: 18px;
        fill: var(--muted);
        transition: fill 0.12s ease;
    }

    /* hover / focus */
    .nav-link:hover[b-tt2vuboeu3],
    .nav-link:focus[b-tt2vuboeu3] {
        background: rgba(255,255,255,0.02);
        color: var(--text);
        transform: translateY(-1px);
    }

        .nav-link:hover .nav-icon[b-tt2vuboeu3],
        .nav-link:focus .nav-icon[b-tt2vuboeu3] {
            fill: var(--accent-strong);
        }

    /* stato attivo */
    .nav-link.active[b-tt2vuboeu3] {
        background: linear-gradient(90deg, rgba(20,184,166,0.06), rgba(14,165,143,0.02));
        color: var(--text);
        font-weight: 700;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.01);
    }

        .nav-link.active .nav-icon[b-tt2vuboeu3] {
            fill: var(--accent);
        }

/* etichette se presenti (sezioni) */
.nav-section-title[b-tt2vuboeu3] {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem 0.75rem 0.25rem 0.75rem;
    margin: 0 0 0.25rem 0;
    box-sizing: border-box;
}

/* footer utente */
.nav-footer[b-tt2vuboeu3] {
    padding: 0.6rem;
    margin-top: auto;
    box-sizing: border-box;
}

.user-pill[b-tt2vuboeu3] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.01);
    padding: 0.45rem;
    border-radius: 8px;
}

.user-avatar[b-tt2vuboeu3] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: #04282a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-name[b-tt2vuboeu3] {
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Main content area: rimuovi margini grandi */
main[b-tt2vuboeu3] {
    flex: 1;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content[b-tt2vuboeu3] {
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

/* reset globale locale: NON nascondere overflow globale */
html[b-tt2vuboeu3], body[b-tt2vuboeu3] {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* responsive: riduci sidebar su schermi piccoli */
@media (max-width: 900px) {
    :root[b-tt2vuboeu3] {
        --sidebar-width: 200px;
    }

    .navbar-brand[b-tt2vuboeu3] {
        font-size: 1rem;
        padding: 0.8rem 0.8rem;
    }
}
/* /Pages/Auth/Login.razor.rz.scp.css */
.login-page[b-y7zato0vff] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.login-background[b-y7zato0vff] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
}

.gradient-overlay[b-y7zato0vff] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.login-container[b-y7zato0vff] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    z-index: 1;
}

.login-card[b-y7zato0vff] {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header[b-y7zato0vff] {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo[b-y7zato0vff] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.logo-icon[b-y7zato0vff] {
    width: 48px;
    height: 48px;
    fill: #14b8a6;
}

.logo h1[b-y7zato0vff] {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle[b-y7zato0vff] {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.login-form[b-y7zato0vff] {
    margin-bottom: 2rem;
}

.form-group[b-y7zato0vff] {
    margin-bottom: 1.5rem;
}

.form-group label[b-y7zato0vff] {
    display: block;
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input[b-y7zato0vff] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus[b-y7zato0vff] {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

.form-input[b-y7zato0vff]::placeholder {
    color: #64748b;
}

.error-message[b-y7zato0vff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.error-icon[b-y7zato0vff] {
    font-size: 1.2rem;
}

.btn-login[b-y7zato0vff] {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover:not(:disabled)[b-y7zato0vff] {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
}

.btn-login:disabled[b-y7zato0vff] {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner[b-y7zato0vff] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin-b-y7zato0vff 0.8s linear infinite;
}

@keyframes spin-b-y7zato0vff {
    to {
        transform: rotate(360deg);
    }
}

.login-footer[b-y7zato0vff] {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 1.5rem;
}

.hint[b-y7zato0vff] {
    color: #94a3b8;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.test-users[b-y7zato0vff] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.test-user-btn[b-y7zato0vff] {
    flex: 1;
    min-width: 120px;
    padding: 0.625rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.test-user-btn:hover[b-y7zato0vff] {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
}

.test-user-icon[b-y7zato0vff] {
    width: 16px;
    height: 16px;
    fill: #cbd5e1;
    margin-right: 0.5rem;
}
/* /Pages/Fincantieri/Anagrafica.razor.rz.scp.css */
.page-container[b-h6edepw6w0] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
}

.page-header[b-h6edepw6w0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-left h1[b-h6edepw6w0] {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
}

.page-subtitle[b-h6edepw6w0] {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* TABS */
.tabs-container[b-h6edepw6w0] {
    display: flex;
    gap: 1rem;
    background: rgba(30, 41, 59, 0.4);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    width: fit-content;
}

.tab-item[b-h6edepw6w0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.tab-item:hover[b-h6edepw6w0] {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
}

.tab-item.active[b-h6edepw6w0] {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.tab-icon[b-h6edepw6w0] {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* DATA GRID & CARDS */
.data-grid[b-h6edepw6w0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.data-card[b-h6edepw6w0] {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.data-card:hover[b-h6edepw6w0] {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 25px rgba(20, 184, 166, 0.25);
}

.card-header[b-h6edepw6w0] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar[b-h6edepw6w0] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.user-info[b-h6edepw6w0],
.entity-info[b-h6edepw6w0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name[b-h6edepw6w0],
.entity-name[b-h6edepw6w0] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.badge[b-h6edepw6w0] {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

.badge.blue[b-h6edepw6w0] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge.purple[b-h6edepw6w0] {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.badge.orange[b-h6edepw6w0] {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.entity-icon[b-h6edepw6w0] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entity-icon.blue[b-h6edepw6w0] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.entity-icon.purple[b-h6edepw6w0] {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.entity-icon svg[b-h6edepw6w0] {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.entity-relation-count[b-h6edepw6w0] {
    font-size: 0.8rem;
    color: #94a3b8;
}

.card-body[b-h6edepw6w0] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.info-row[b-h6edepw6w0] {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.info-row label[b-h6edepw6w0] {
    color: #64748b;
}

.info-row span[b-h6edepw6w0] {
    color: #cbd5e1;
    font-weight: 500;
}

.card-footer[b-h6edepw6w0] {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-edit[b-h6edepw6w0],
.btn-delete[b-h6edepw6w0] {
    flex: 1;
    padding: 0.6rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-edit[b-h6edepw6w0] {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.btn-edit:hover[b-h6edepw6w0] {
    background: rgba(255, 255, 255, 0.1);
}

.btn-delete[b-h6edepw6w0] {
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444;
}

.btn-delete:hover[b-h6edepw6w0] {
    background: rgba(239, 68, 68, 0.15);
    transform: translateY(-2px);
}

/* FORM STYLES inside Modals */
.form-group[b-h6edepw6w0] {
    margin-bottom: 1.25rem;
}

.form-group label[b-h6edepw6w0] {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control[b-h6edepw6w0] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus[b-h6edepw6w0] {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-row[b-h6edepw6w0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.multi-select-box[b-h6edepw6w0] {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.check-item[b-h6edepw6w0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.check-item:hover[b-h6edepw6w0] {
    background: rgba(255, 255, 255, 0.05);
}

.check-item input[type="checkbox"][b-h6edepw6w0] {
    accent-color: #14b8a6;
    width: 16px;
    height: 16px;
}

/* BUTTONS */
.btn-primary[b-h6edepw6w0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-icon[b-h6edepw6w0] {
    width: 20px;
    height: 20px;
}

.btn-primary:hover[b-h6edepw6w0] {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-success[b-h6edepw6w0] {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary[b-h6edepw6w0] {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* MODAL REFINEMENTS */
.modal-backdrop[b-h6edepw6w0] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-h6edepw6w0] {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.modal-header[b-h6edepw6w0] {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2[b-h6edepw6w0] {
    margin: 0;
    font-size: 1.25rem;
    color: #f8fafc;
}

.btn-close[b-h6edepw6w0] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body[b-h6edepw6w0] {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 70vh;
}

.modal-footer[b-h6edepw6w0] {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* CONFIRM DIALOG SPECIFIC */
.modal-content.confirm-dialog[b-h6edepw6w0] {
    max-width: 400px;
    border-color: rgba(239, 68, 68, 0.2);
}

.confirm-header[b-h6edepw6w0] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.confirm-icon-box[b-h6edepw6w0] {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.confirm-icon-box svg[b-h6edepw6w0] {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.confirm-title[b-h6edepw6w0] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.confirm-message[b-h6edepw6w0] {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem;
}

.btn-danger[b-h6edepw6w0] {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover[b-h6edepw6w0] {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Error Dialog */
.error-dialog[b-h6edepw6w0] {
    max-width: 440px;
}

.error-header[b-h6edepw6w0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.error-icon-box[b-h6edepw6w0] {
    width: 64px;
    height: 64px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
}

.error-icon-box svg[b-h6edepw6w0] {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.error-title[b-h6edepw6w0] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.error-message[b-h6edepw6w0] {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem;
    text-align: center;
}
/* /Pages/Fincantieri/CalendarioMensile.razor.rz.scp.css */
.calendario-page[b-nk3wxtt74a] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calendario-layout[b-nk3wxtt74a] {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 1.5rem;
    height: 100vh;
    min-height: 0;
}

/* ===== LEFT COLUMN ===== */
.left-column[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ===== CALENDAR SECTION (COMPACT) ===== */
.calendar-section[b-nk3wxtt74a] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-controls[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-header-top[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.deposito-selector[b-nk3wxtt74a] {
    width: 100%;
}



@keyframes fadeIn-b-nk3wxtt74a {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-month[b-nk3wxtt74a] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-month:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
}

.btn-month svg[b-nk3wxtt74a] {
    width: 16px;
    height: 16px;
    fill: #14b8a6;
}

.month-title[b-nk3wxtt74a] {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: 0.05em;
}

.calendar-grid[b-nk3wxtt74a] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}

.day-header[b-nk3wxtt74a] {
    text-align: center;
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.65rem;
    padding: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day[b-nk3wxtt74a] {
    aspect-ratio: 1;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    padding: 0.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    position: relative;
}

.calendar-day:hover:not(.empty)[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-2px);
}

.calendar-day.selected[b-nk3wxtt74a] {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.05));
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.calendar-day.today[b-nk3wxtt74a] {
    border-color: rgba(20, 184, 166, 0.3);
}

.calendar-day.empty[b-nk3wxtt74a] {
    cursor: default;
    background: transparent;
    border: none;
}

.day-number[b-nk3wxtt74a] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
}

.day-indicators[b-nk3wxtt74a] {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.indicator[b-nk3wxtt74a] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.indicator.pending[b-nk3wxtt74a] {
    background: #fbbf24;
}

.indicator.confirmed[b-nk3wxtt74a] {
    background: #3b82f6;
}

.indicator.delivery[b-nk3wxtt74a] {
    background: #ef4444;
}

.indicator.completed[b-nk3wxtt74a] {
    background: #10b981;
}

.indicator.failed[b-nk3wxtt74a] {
    background: #ff9800;
}

.indicator.waiting[b-nk3wxtt74a] {
    background: #a855f7;
}

.indicator-more[b-nk3wxtt74a] {
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 700;
}

.calendar-legend[b-nk3wxtt74a] {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.legend-row[b-nk3wxtt74a] {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.legend-item[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: #94a3b8;
}

.legend-dot[b-nk3wxtt74a] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-dot.pending[b-nk3wxtt74a] {
    background: #fbbf24;
}

.legend-dot.confirmed[b-nk3wxtt74a] {
    background: #3b82f6;
}

.legend-dot.delivery[b-nk3wxtt74a] {
    background: #ef4444;
}

.legend-dot.completed[b-nk3wxtt74a] {
    background: #10b981;
}

.legend-dot.failed[b-nk3wxtt74a] {
    background: #ff9800;
}

.legend-dot.waiting[b-nk3wxtt74a] {
    background: #a855f7;
}

/* ===== REQUEST LIST SECTION ===== */
.request-list-section[b-nk3wxtt74a] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
}

.request-list-header[b-nk3wxtt74a] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.request-list-header h3[b-nk3wxtt74a] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
}

.request-count[b-nk3wxtt74a] {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.request-list[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
    padding-right: 0.25rem;
}

.request-list[b-nk3wxtt74a]::-webkit-scrollbar {
    width: 4px;
}

.request-list[b-nk3wxtt74a]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
}

.request-list-item[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.3);
    border-left: 3px solid #64748b;
    transition: all 0.2s ease;
    cursor: pointer;
}

.request-list-item.pending[b-nk3wxtt74a] {
    border-left-color: #fbbf24;
}

.request-list-item.confirmed[b-nk3wxtt74a] {
    border-left-color: #3b82f6;
}

.request-list-item.delivery[b-nk3wxtt74a] {
    border-left-color: #ef4444;
}

.request-list-item.completed[b-nk3wxtt74a] {
    border-left-color: #10b981;
}

.request-list-item.failed[b-nk3wxtt74a] {
    border-left-color: #ff9800;
}

.request-list-item.waiting[b-nk3wxtt74a] {
    border-left-color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
}

.request-list-item:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.1);
    transform: translateX(4px);
}

.request-list-left[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 60px;
}

.request-num[b-nk3wxtt74a] {
    font-weight: 700;
    color: #e2e8f0;
    font-size: 0.85rem;
}

.request-duration[b-nk3wxtt74a] {
    color: #94a3b8;
    font-size: 0.7rem;
}

.request-list-middle[b-nk3wxtt74a] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.request-time-summary[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.time-range[b-nk3wxtt74a] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #14b8a6;
    background: rgba(20, 184, 166, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.time-range.waiting[b-nk3wxtt74a] {
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
}

.request-terzista[b-nk3wxtt74a] {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-ordine[b-nk3wxtt74a] {
    color: #64748b;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-list-right[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
}

.request-status-badge[b-nk3wxtt74a] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.request-status-badge.pending[b-nk3wxtt74a] {
    background: #fbbf24;
}

.request-status-badge.confirmed[b-nk3wxtt74a] {
    background: #3b82f6;
}

.request-status-badge.delivery[b-nk3wxtt74a] {
    background: #ef4444;
}

.request-status-badge.completed[b-nk3wxtt74a] {
    background: #10b981;
}

.request-status-badge.failed[b-nk3wxtt74a] {
    background: #ff9800;
}

.request-status-badge.waiting[b-nk3wxtt74a] {
    background: #a855f7;
}

.request-list-empty[b-nk3wxtt74a] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 0.75rem;
    padding: 2rem 1rem;
}

.request-list-empty svg[b-nk3wxtt74a] {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.request-list-empty p[b-nk3wxtt74a] {
    margin: 0;
    font-size: 0.85rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section[b-nk3wxtt74a] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
}

.timeline-header[b-nk3wxtt74a] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.timeline-header h3[b-nk3wxtt74a] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.timeline-hours[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
    padding-right: 0.5rem;
}

.timeline-hours[b-nk3wxtt74a]::-webkit-scrollbar {
    width: 6px;
}

.timeline-hours[b-nk3wxtt74a]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

.timeline-hours[b-nk3wxtt74a]::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.3);
}

.hour-block[b-nk3wxtt74a] {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.2s ease;
    min-height: 60px;
}

.hour-block.occupied[b-nk3wxtt74a] {
    cursor: pointer;
}

.hour-block.occupied:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateX(4px);
}

.hour-block.free-range[b-nk3wxtt74a] {
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.05);
    cursor: default;
}

.hour-block.closed[b-nk3wxtt74a] {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    color: #ef4444;
    cursor: not-allowed;
}

.hour-block.closed .hour-time[b-nk3wxtt74a] {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

.hour-block.closed .hour-empty[b-nk3wxtt74a] {
    color: #f87171;
    font-weight: 700;
}

.hour-time[b-nk3wxtt74a] {
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.9rem;
    background: rgba(148, 163, 184, 0.05);
    border-radius: 8px;
}

.hour-content[b-nk3wxtt74a] {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.hour-requests-scroll[b-nk3wxtt74a] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0;
    flex: 1;
    scroll-behavior: smooth;
}

.hour-requests-scroll[b-nk3wxtt74a]::-webkit-scrollbar {
    height: 4px;
}

.hour-requests-scroll[b-nk3wxtt74a]::-webkit-scrollbar-track {
    background: transparent;
}

.hour-requests-scroll[b-nk3wxtt74a]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 2px;
}

.hour-requests-scroll[b-nk3wxtt74a]::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

.hour-request-chip[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0.85rem;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    border-left: 3px solid #64748b;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    min-height: 32px;
}

.hour-request-chip.pending[b-nk3wxtt74a] {
    border-left-color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
}

.hour-request-chip.confirmed[b-nk3wxtt74a] {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.hour-request-chip.delivery[b-nk3wxtt74a] {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.hour-request-chip.completed[b-nk3wxtt74a] {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.hour-request-chip.failed[b-nk3wxtt74a] {
    border-left-color: #ff9800;
    background: rgba(255, 152, 0, 0.08);
}

.hour-request-chip.waiting[b-nk3wxtt74a] {
    border-left-color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
}

.hour-request-chip:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.15);
    border-left-color: #14b8a6;
}

.chip-badge[b-nk3wxtt74a] {
    font-weight: 700;
    color: #e2e8f0;
    min-width: 50px;
}

.chip-ordine[b-nk3wxtt74a] {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(148, 163, 184, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.chip-terzista[b-nk3wxtt74a] {
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.hour-empty[b-nk3wxtt74a] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.timeline-empty[b-nk3wxtt74a] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 1rem;
}

.timeline-empty svg[b-nk3wxtt74a] {
    width: 64px;
    height: 64px;
    fill: #475569;
}

.timeline-empty p[b-nk3wxtt74a] {
    margin: 0;
    font-size: 0.95rem;
}

/* ===== DETAIL PANEL ===== */
.detail-panel[b-nk3wxtt74a] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    grid-column: 1 / -1;
}

.detail-header[b-nk3wxtt74a] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.detail-header h4[b-nk3wxtt74a] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
}

.btn-close[b-nk3wxtt74a] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover[b-nk3wxtt74a] {
    background: rgba(148, 163, 184, 0.1);
    color: #e2e8f0;
}

.detail-list[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.2);
    border-left: 4px solid #64748b;
    transition: all 0.2s ease;
}

.detail-item.pending[b-nk3wxtt74a] {
    border-left-color: #fbbf24;
}

.detail-item.confirmed[b-nk3wxtt74a] {
    border-left-color: #3b82f6;
}

.detail-item.delivery[b-nk3wxtt74a] {
    border-left-color: #ef4444;
}

.detail-item.completed[b-nk3wxtt74a] {
    border-left-color: #10b981;
}

.detail-item.failed[b-nk3wxtt74a] {
    border-left-color: #ff9800;
}

.detail-item:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.08);
}

.detail-left[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 100px;
}

.detail-num[b-nk3wxtt74a] {
    font-weight: 700;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.detail-time[b-nk3wxtt74a] {
    color: #94a3b8;
    font-size: 0.8rem;
}

.detail-middle[b-nk3wxtt74a] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-terzista[b-nk3wxtt74a] {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.9rem;
}

.detail-ordine[b-nk3wxtt74a] {
    color: #64748b;
    font-size: 0.8rem;
}

.detail-right[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-status[b-nk3wxtt74a] {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
}

.btn-action[b-nk3wxtt74a] {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-action:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.25);
    border-color: rgba(20, 184, 166, 0.5);
}

/* MODAL STYLES */
.modal-backdrop[b-nk3wxtt74a] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
}

/* DELETE BUTTON */
.btn-delete-row[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background-color: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.btn-delete-row svg[b-nk3wxtt74a] {
    width: 16px;
    height: 16px;
}

.btn-delete-row:hover[b-nk3wxtt74a] {
    background-color: rgba(220, 38, 38, 0.2);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

/* MODAL STYLES */
.modal-backdrop[b-nk3wxtt74a] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
}

.modal-content[b-nk3wxtt74a] {
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: auto;
    animation: modalSlideIn-b-nk3wxtt74a 0.3s ease-out;
}

@keyframes modalSlideIn-b-nk3wxtt74a {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content.modal-large[b-nk3wxtt74a] {
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header[b-nk3wxtt74a] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.modal-title-group[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-header h2[b-nk3wxtt74a] {
    margin: 0;
    color: #f1f5f9;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.modal-ordine[b-nk3wxtt74a] {
    font-size: 0.9rem;
    color: #94a3b8;
    font-family: monospace;
}

.btn-close[b-nk3wxtt74a] {
    background: rgba(148, 163, 184, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #94a3b8;
}

.btn-close:hover[b-nk3wxtt74a] {
    background: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
    transform: rotate(90deg);
}

.modal-body[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    overflow-y: auto;
    overflow-x: visible;
    /* Allow horizontal overflow for dropdowns */
    padding-right: 0.5rem;
    flex: 1;
}

.modal-body[b-nk3wxtt74a]::-webkit-scrollbar {
    width: 6px;
}

.modal-body[b-nk3wxtt74a]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

/* DETAIL SECTION */
.detail-section[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-section-title[b-nk3wxtt74a] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-grid[b-nk3wxtt74a] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item.full-width[b-nk3wxtt74a] {
    grid-column: 1 / -1;
}

.detail-item[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 8px;
    border: none;
    /* Reset potential conflict from generic .detail-item */
}

.detail-item label[b-nk3wxtt74a] {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value[b-nk3wxtt74a] {
    color: #e2e8f0;
    font-weight: 500;
}

.detail-note[b-nk3wxtt74a] {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.slot-detail[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 10px;
}

.slot-detail.pending[b-nk3wxtt74a] {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
}

.slot-detail.confirmed[b-nk3wxtt74a] {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

.slot-detail.delivery[b-nk3wxtt74a] {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
}

.slot-detail.completed[b-nk3wxtt74a] {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

.slot-detail.failed[b-nk3wxtt74a] {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.15);
}

.slot-detail.waiting[b-nk3wxtt74a] {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
}

.slot-date[b-nk3wxtt74a],
.slot-time[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.slot-detail.pending .slot-date[b-nk3wxtt74a],
.slot-detail.pending .slot-time[b-nk3wxtt74a] {
    color: #fbbf24;
}

.slot-detail.confirmed .slot-date[b-nk3wxtt74a],
.slot-detail.confirmed .slot-time[b-nk3wxtt74a] {
    color: #3b82f6;
}

.slot-detail.delivery .slot-date[b-nk3wxtt74a],
.slot-detail.delivery .slot-time[b-nk3wxtt74a] {
    color: #ef4444;
}

.slot-detail.completed .slot-date[b-nk3wxtt74a],
.slot-detail.completed .slot-time[b-nk3wxtt74a] {
    color: #10b981;
}

.slot-detail.failed .slot-date[b-nk3wxtt74a],
.slot-detail.failed .slot-time[b-nk3wxtt74a] {
    color: #ff9800;
}

.slot-detail.waiting .slot-date[b-nk3wxtt74a],
.slot-detail.waiting .slot-time[b-nk3wxtt74a] {
    color: #c084fc;
}

.slot-date svg[b-nk3wxtt74a],
.slot-time svg[b-nk3wxtt74a] {
    width: 18px;
    height: 18px;
}

/* STATUS BADGE */
.status-badge[b-nk3wxtt74a] {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.status-badge.pending[b-nk3wxtt74a] {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.confirmed[b-nk3wxtt74a] {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.delivery[b-nk3wxtt74a] {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.completed[b-nk3wxtt74a] {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.failed[b-nk3wxtt74a] {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-badge.waiting[b-nk3wxtt74a] {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.modal-footer[b-nk3wxtt74a] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.btn-secondary[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover[b-nk3wxtt74a] {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.3);
}

.btn-secondary svg[b-nk3wxtt74a] {
    width: 16px;
    height: 16px;
}

/* ===== NEW STYLES FOR BUTTONS & FORMS ===== */
.btn-success[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.2s;
}

.btn-success:hover[b-nk3wxtt74a] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-success svg[b-nk3wxtt74a] {
    width: 18px;
    height: 18px;
}

.btn-warning[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transition: all 0.2s;
}

.btn-warning:hover[b-nk3wxtt74a] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.btn-warning svg[b-nk3wxtt74a] {
    width: 18px;
    height: 18px;
}

.btn-add-timeline[b-nk3wxtt74a] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    margin-left: 0.5rem;
    transition: all 0.2s;
    padding: 0;
}

.btn-add-timeline:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.3);
    border-color: #14b8a6;
}

/* FORM STYLES (Copied from GestioneRichieste for consistency) */
.form-section[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row[b-nk3wxtt74a] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row.three-cols[b-nk3wxtt74a] {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label[b-nk3wxtt74a] {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-control[b-nk3wxtt74a] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
    color-scheme: dark;
    transition: all 0.2s ease;
    height: auto;
    min-height: 48px;
}

.form-control:hover[b-nk3wxtt74a] {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(20, 184, 166, 0.5);
}

.form-control:focus[b-nk3wxtt74a] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

/* Date input specific styling */
.form-control[type="date"][b-nk3wxtt74a] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-control[type="date"][b-nk3wxtt74a]::-webkit-calendar-picker-indicator {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.form-control[type="date"][b-nk3wxtt74a]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Time input styling */
.form-control[type="time"][b-nk3wxtt74a]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
}

.form-control[type="time"][b-nk3wxtt74a]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

textarea.form-control[b-nk3wxtt74a] {
    resize: vertical;
    min-height: 80px;
}

/* SLOTS EDITOR STYLES */
.slots-editor[b-nk3wxtt74a] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slot-row[b-nk3wxtt74a] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.slot-date-wrapper[b-nk3wxtt74a] {
    flex: 2;
}

.slot-time-wrapper[b-nk3wxtt74a] {
    flex: 1;
}

.slot-remove-btn[b-nk3wxtt74a] {
    flex: 0 0 40px;
    height: 40px;
    /* Match form-control roughly or explicitly set height */
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.slot-remove-btn:hover[b-nk3wxtt74a] {
    background: rgba(239, 68, 68, 0.1);
}

.slot-add-btn[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    color: #14b8a6;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.25rem;
}

.slot-add-btn:hover[b-nk3wxtt74a] {
    background: rgba(20, 184, 166, 0.2);
}

.validation-message[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    margin-right: auto;
}

.validation-message svg[b-nk3wxtt74a] {
    width: 16px;
    height: 16px;
}

/* CONFIRM DIALOG SPECIFIC */
.modal-content.confirm-dialog[b-nk3wxtt74a] {
    max-width: 400px;
    border-color: rgba(239, 68, 68, 0.2);
}

.confirm-header[b-nk3wxtt74a] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.confirm-icon-box[b-nk3wxtt74a] {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.confirm-icon-box svg[b-nk3wxtt74a] {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.warning-icon-box[b-nk3wxtt74a] {
    width: 64px;
    height: 64px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9800;
}

.warning-icon-box svg[b-nk3wxtt74a] {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.confirm-title[b-nk3wxtt74a] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.confirm-message[b-nk3wxtt74a] {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem;
}

.btn-danger[b-nk3wxtt74a] {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover[b-nk3wxtt74a] {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-warning-action[b-nk3wxtt74a] {
    background: #ff9800;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-warning-action:hover[b-nk3wxtt74a] {
    background: #f57c00;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* CLOSURES WARNING IN MODAL */
.closures-warning[b-nk3wxtt74a] {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.warning-title[b-nk3wxtt74a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem 0;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.warning-title svg[b-nk3wxtt74a] {
    width: 20px;
    height: 20px;
}

.warning-list[b-nk3wxtt74a] {
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: #fca5a5;
    font-size: 0.9rem;
}

.warning-list li[b-nk3wxtt74a] {
    margin-bottom: 0.25rem;
}
/* /Pages/Fincantieri/Dashboard.razor.rz.scp.css */
.dashboard-container[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

/* HEADER */
.page-header[b-kzu6tz2nbm] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.page-title[b-kzu6tz2nbm] {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
    letter-spacing: -0.015em;
}

.page-subtitle[b-kzu6tz2nbm] {
    color: #64748b;
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
}

.status-brief[b-kzu6tz2nbm] {
    display: flex;
    gap: 1.5rem;
}

.brief-item[b-kzu6tz2nbm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dot[b-kzu6tz2nbm] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.active[b-kzu6tz2nbm] {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.dot.time[b-kzu6tz2nbm] {
    background: #3b82f6;
}

/* KPI CARDS */
.kpi-grid[b-kzu6tz2nbm] {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 1rem;
    justify-content: space-between;
    align-items: stretch;
}

.kpi-card[b-kzu6tz2nbm] {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.kpi-card.clickable[b-kzu6tz2nbm] {
    cursor: pointer;
}

.kpi-card:hover[b-kzu6tz2nbm] {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.15);
}

.kpi-icon[b-kzu6tz2nbm] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon svg[b-kzu6tz2nbm] {
    width: 24px;
    height: 24px;
}

.kpi-info[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: column;
}

.kpi-label[b-kzu6tz2nbm] {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.kpi-value[b-kzu6tz2nbm] {
    font-size: 1.5rem;
    font-weight: 700;
}

.kpi-card.total .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

.kpi-card.assigned .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.kpi-card.confirmed .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.kpi-card.delivery .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.kpi-card.completed .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.kpi-card.failed .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(224, 115, 12, 0.1);
    color: #e0730c;
}

.kpi-card.waiting .kpi-icon[b-kzu6tz2nbm] {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.kpi-card[b-kzu6tz2nbm]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    opacity: 0.3;
}

.kpi-card.total[b-kzu6tz2nbm]::after {
    background: #94a3b8;
}

.kpi-card.assigned[b-kzu6tz2nbm]::after {
    background: #ffbf24;
}

.kpi-card.confirmed[b-kzu6tz2nbm]::after {
    background: #3b82f6;
}

.kpi-card.delivery[b-kzu6tz2nbm]::after {
    background: #ef4444;
}

.kpi-card.completed[b-kzu6tz2nbm]::after {
    background: #10b981;
}

.kpi-card.waiting[b-kzu6tz2nbm]::after {
    background: #a855f7;
}

.kpi-card.failed[b-kzu6tz2nbm]::after {
    background: #e0730c;
}

/* ANALYTICS GRID */
.analytics-main-grid[b-kzu6tz2nbm] {
    display: grid;
    grid-template-columns: minmax(350px, 1fr) 2fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
}

.analytics-card[b-kzu6tz2nbm] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-card:hover[b-kzu6tz2nbm] {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.15);
}

.full-span[b-kzu6tz2nbm] {
    grid-column: 1 / -1;
}

.card-head[b-kzu6tz2nbm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-title[b-kzu6tz2nbm] {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: #e2e8f0;
}

.card-badge[b-kzu6tz2nbm] {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-badge.info[b-kzu6tz2nbm] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-badge.danger[b-kzu6tz2nbm] {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
}

/* DOUGHNUT CHART */
.chart-container-doughnut[b-kzu6tz2nbm] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.doughnut-chart[b-kzu6tz2nbm] {
    width: 160px;
    height: 160px;
    position: relative;
}

.doughnut-chart.gauge[b-kzu6tz2nbm] {
    height: 100px;
    width: 200px;
}

.doughnut-chart.gauge svg[b-kzu6tz2nbm] {
    transform: none;
    /* No rotation needed for gauge math */
    width: 100%;
    height: 100%;
}

.chart-center[b-kzu6tz2nbm] {
    position: absolute;
    left: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.chart-center.gauge-text[b-kzu6tz2nbm] {
    top: 65%;
    transform: translate(-50%, -50%);
}

.total-num[b-kzu6tz2nbm] {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.total-label[b-kzu6tz2nbm] {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.chart-legend[b-kzu6tz2nbm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legend-item[b-kzu6tz2nbm] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-item .label[b-kzu6tz2nbm] {
    font-size: 0.875rem;
    color: #94a3b8;
    flex: 1;
}

.legend-item .value[b-kzu6tz2nbm] {
    font-weight: 600;
    color: #f1f5f9;
}

/* BARS CHART (Weekly) */
.chart-container-bars[b-kzu6tz2nbm] {
    height: 200px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 1rem;
}

.bars-chart[b-kzu6tz2nbm] {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    gap: 1rem;
}

.bar-col[b-kzu6tz2nbm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 40px;
}

.bar-value[b-kzu6tz2nbm] {
    font-size: 0.75rem;
    color: #94a3b8;
    opacity: 0;
    transition: opacity 0.3s;
}

.bar-col:hover .bar-value[b-kzu6tz2nbm] {
    opacity: 1;
}

.bar-track[b-kzu6tz2nbm] {
    width: 20px;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.v-bar-fill[b-kzu6tz2nbm] {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
    border-radius: 4px;
    transition: height 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bar-label[b-kzu6tz2nbm] {
    font-size: 0.75rem;
    color: #64748b;
}

/* LIST BARS (Deposits) */
.list-bars[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.list-bar-item[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-bar-item .info[b-kzu6tz2nbm] {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.list-bar-item .label[b-kzu6tz2nbm] {
    color: #94a3b8;
}

.list-bar-item .count[b-kzu6tz2nbm] {
    font-weight: 600;
    color: #f1f5f9;
}

.bar-wrap[b-kzu6tz2nbm] {
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.h-bar-fill[b-kzu6tz2nbm] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    border-radius: 99px;
    transition: width 1s ease-out;
}

/* TOP ENTITIES (Manteined style but polished) */
.entities-list[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.entity-item[b-kzu6tz2nbm] {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.entity-rank[b-kzu6tz2nbm] {
    font-weight: 800;
    color: #3b82f6;
    font-size: 1.1rem;
}

.entity-data[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: column;
}

.entity-data .name[b-kzu6tz2nbm] {
    font-weight: 600;
    font-size: 0.95rem;
}

.entity-data .count[b-kzu6tz2nbm] {
    font-size: 0.75rem;
    color: #64748b;
}

.entity-progress[b-kzu6tz2nbm] {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 99px;
}

.progress-fill[b-kzu6tz2nbm] {
    height: 100%;
    background: #10b981;
    border-radius: 99px;
}

/* TODAY LIST */
.today-grid[b-kzu6tz2nbm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.today-item[b-kzu6tz2nbm] {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.today-item:hover[b-kzu6tz2nbm] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(20, 184, 166, 0.1);
}

.today-item .time[b-kzu6tz2nbm] {
    font-weight: 700;
    font-size: 1rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    line-height: 1;
}

.today-item .details[b-kzu6tz2nbm] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.today-item .num[b-kzu6tz2nbm] {
    font-size: 0.9rem;
    font-weight: 600;
}

.today-item .terzista[b-kzu6tz2nbm] {
    font-size: 0.75rem;
    color: #64748b;
}

.status-tag[b-kzu6tz2nbm] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.status-tag.pending[b-kzu6tz2nbm] {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.status-tag.confirmed[b-kzu6tz2nbm] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-tag.delivery[b-kzu6tz2nbm] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-tag.completed[b-kzu6tz2nbm] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-tag.waiting[b-kzu6tz2nbm] {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
}

.empty-placeholder[b-kzu6tz2nbm] {
    padding: 3rem;
    text-align: center;
    color: #475569;
}

.empty-placeholder svg[b-kzu6tz2nbm] {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.2;
}



/* RESPONSIVE */
@media (max-width: 1200px) {
    .analytics-main-grid[b-kzu6tz2nbm] {
        grid-template-columns: 1fr;
    }

    .kpi-grid[b-kzu6tz2nbm] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kpi-grid[b-kzu6tz2nbm] {
        grid-template-columns: 1fr 1fr;
    }

    .page-header[b-kzu6tz2nbm] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* --- Filtro periodo: spostamento a destra e orizzontale --- */
.page-header[b-kzu6tz2nbm] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}
.header-right[b-kzu6tz2nbm] {
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: nowrap;
}
.dashboard-filter-bar[b-kzu6tz2nbm] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap !important;
    margin: 0;
    padding: 0;
}
.dashboard-filter-bar > *[b-kzu6tz2nbm] {
    display: inline-flex;
    align-items: center;
}

/* /Pages/Fincantieri/GestioneChiusure.razor.rz.scp.css */
/* Card grande stile anagrafica */
.page-container[b-ncnn5w20hg] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
}

.card-main[b-ncnn5w20hg] {
    background: #101828;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.18);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-header[b-ncnn5w20hg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-left h1[b-ncnn5w20hg] {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
}

.page-subtitle[b-ncnn5w20hg] {
    margin: 0;
    color: #94a3b8;
    font-size: 0.98rem;
}

.header-actions[b-ncnn5w20hg] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Replaces .baia-select-header since we will use CustomSelect */
[b-ncnn5w20hg] .custom-select-container {
    min-width: 220px;
}

.save-btn-header[b-ncnn5w20hg] {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.save-btn-header:hover:not(:disabled)[b-ncnn5w20hg] {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -1px rgba(20, 184, 166, 0.2);
}

.save-btn-header:disabled[b-ncnn5w20hg] {
    background: #334155;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Updated spinner for button */
.spinner-small[b-ncnn5w20hg] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin-b-ncnn5w20hg 1s linear infinite;
}

@keyframes spin-b-ncnn5w20hg {
    to {
        transform: rotate(360deg);
    }
}

.tabs-container[b-ncnn5w20hg] {
    display: flex;
    gap: 1rem;
    background: rgba(30, 41, 59, 0.4);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    width: fit-content;
}

.tab-item[b-ncnn5w20hg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.tab-item:hover[b-ncnn5w20hg] {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
}

.tab-item.active[b-ncnn5w20hg] {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
}

.tab-icon[b-ncnn5w20hg] {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


/* Content loading overlay */
.loading-overlay[b-ncnn5w20hg] {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.content-section[b-ncnn5w20hg] {
    transition: opacity 0.3s ease;
}


.calendar-table-wrapper[b-ncnn5w20hg] {
    width: 100%;
    overflow-x: auto;
    margin-top: 0.5rem;
    /* Reduced from 1.5rem */
    /* Match style of .request-card from GestioneRichieste */
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.calendar-table[b-ncnn5w20hg] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    table-layout: fixed;
    /* Equal column widths */
}

.calendar-table th[b-ncnn5w20hg],
.calendar-table td[b-ncnn5w20hg] {
    text-align: center;
    padding: 0.5rem;
    border: none;
    vertical-align: middle;
}

.calendar-table th[b-ncnn5w20hg] {
    background: rgba(30, 41, 59, 0.4);
    /* clearer background */
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.clickable-header[b-ncnn5w20hg] {
    cursor: pointer;
    transition: all 0.2s;
}

.clickable-header:hover[b-ncnn5w20hg] {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

/* Column width adjustments */
.calendar-table th:first-child[b-ncnn5w20hg] {
    width: 100px;
    /* Fascia Oraria column width */
}

.calendar-table .ora-label[b-ncnn5w20hg] {
    background: rgba(30, 41, 59, 0.6);
    /* Slightly darker/more visible */
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    margin: 2px;
}

.calendar-table td[b-ncnn5w20hg] {
    height: 38px;
    /* Reduced from 50px */
    padding: 2px;
    /* tighter padding */
}

.calendar-table tr:hover .ora-label[b-ncnn5w20hg] {
    background: rgba(30, 41, 59, 0.8);
    color: #14b8a6;
}

/* Increase button size and visibility */
.slot-btn[b-ncnn5w20hg] {
    width: 100%;
    height: 34px;
    /* Reduced from 42px to match new cell height */
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-btn.aperto[b-ncnn5w20hg] {
    background: rgba(16, 185, 129, 0.15);
    /* Green tint */
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.slot-btn.aperto:hover[b-ncnn5w20hg] {
    background: rgba(16, 185, 129, 0.25);
    transform: scale(1.05);
}

.slot-btn.chiuso[b-ncnn5w20hg] {
    background: rgba(239, 68, 68, 0.2);
    /* Red tint */
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.1);
}

.slot-btn.chiuso:hover[b-ncnn5w20hg] {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px -1px rgba(239, 68, 68, 0.2);
}

.slot-btn:active[b-ncnn5w20hg] {
    transform: scale(0.95);
}

.slot-icon[b-ncnn5w20hg] {
    width: 20px;
    height: 20px;
}

/* Data Grid for Straordinarie */
.data-grid[b-ncnn5w20hg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.data-card[b-ncnn5w20hg] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.data-card:hover[b-ncnn5w20hg] {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-header[b-ncnn5w20hg] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.entity-icon[b-ncnn5w20hg] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entity-icon.purple[b-ncnn5w20hg] {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.entity-icon svg[b-ncnn5w20hg] {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.entity-info[b-ncnn5w20hg] {
    display: flex;
    flex-direction: column;
}

.entity-name[b-ncnn5w20hg] {
    color: #e2e8f0;
    font-weight: 600;
}

.entity-relation-count[b-ncnn5w20hg] {
    color: #94a3b8;
    font-size: 0.85rem;
}

.info-row[b-ncnn5w20hg] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-row label[b-ncnn5w20hg] {
    color: #64748b;
}

.info-row span[b-ncnn5w20hg] {
    color: #cbd5e1;
    font-weight: 500;
}


@media (max-width: 900px) {
    .calendar-table th:first-child[b-ncnn5w20hg] {
        width: 60px;
    }

    .calendar-table .ora-label[b-ncnn5w20hg] {
        font-size: 0.8rem;
    }

    .slot-btn[b-ncnn5w20hg] {
        height: 32px;
        font-size: 0.8rem;
    }
}

/* =========================================
   STRAORDINARIE CALENDAR STYLES
   ========================================= */
.calendar-controls[b-ncnn5w20hg] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.month-title[b-ncnn5w20hg] {
    margin: 0;
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 200px;
    text-align: center;
}



/* ---------- Themed checkbox / checkmark ---------- */
input[type="checkbox"][b-ncnn5w20hg] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.6);
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

input[type="checkbox"]:focus[b-ncnn5w20hg] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

input[type="checkbox"]:checked[b-ncnn5w20hg] {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(20, 184, 166, 0.35);
}

input[type="checkbox"]:checked[b-ncnn5w20hg]::after {
    content: '\2713';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* small adjustments for inline labels */
label.checkbox-label[b-ncnn5w20hg] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


.btn-month[b-ncnn5w20hg] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-month:hover[b-ncnn5w20hg] {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.5);
}

.btn-month svg[b-ncnn5w20hg] {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.month-grid[b-ncnn5w20hg] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 0.5rem;
}

.day-header[b-ncnn5w20hg] {
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.day-cell[b-ncnn5w20hg] {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    min-height: 100px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.day-cell:hover:not(.empty)[b-ncnn5w20hg] {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(20, 184, 166, 0.3);
}

.day-cell.today[b-ncnn5w20hg] {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
}

.day-cell.empty[b-ncnn5w20hg] {
    background: transparent;
    border: none;
    cursor: default;
}

.day-number[b-ncnn5w20hg] {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.day-closures[b-ncnn5w20hg] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.closure-chip[b-ncnn5w20hg] {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

.closure-chip:hover[b-ncnn5w20hg] {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

/* Modal Styles specific to Straordinarie if needed */
.multiselection-group[b-ncnn5w20hg] {
    border: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.3);
}

.hours-grid[b-ncnn5w20hg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hour-chip[b-ncnn5w20hg] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
    border-radius: 6px;
    padding: 0.25rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.hour-chip:hover[b-ncnn5w20hg] {
    border-color: #cbd5e1;
    color: #e2e8f0;
}

.hour-chip.selected[b-ncnn5w20hg] {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: #ef4444;
}

.modal-backdrop[b-ncnn5w20hg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content[b-ncnn5w20hg] {
    background: #1e293b;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header[b-ncnn5w20hg] {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2[b-ncnn5w20hg] {
    margin: 0;
    font-size: 1.25rem;
    color: #e2e8f0;
}

.btn-close[b-ncnn5w20hg] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-body[b-ncnn5w20hg] {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-footer[b-ncnn5w20hg] {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-secondary[b-ncnn5w20hg] {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover[b-ncnn5w20hg] {
    background: rgba(255, 255, 255, 0.05);
    border-color: #cbd5e1;
}

.input-group[b-ncnn5w20hg] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label[b-ncnn5w20hg] {
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-control[b-ncnn5w20hg] {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #e2e8f0;
    font-size: 1rem;
}

.form-control:focus[b-ncnn5w20hg] {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

/* Delete Confirmation Button */
.btn-delete-confirm[b-ncnn5w20hg] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
}

.btn-delete-confirm:hover[b-ncnn5w20hg] {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -1px rgba(239, 68, 68, 0.3);
}

/* Modal Content Adjustments */
.modal-content.confirm-dialog[b-ncnn5w20hg] {
    max-width: 400px;
}
/* /Pages/Fincantieri/GestioneRichieste.razor.rz.scp.css */
:root[b-ikyman0ywe] {
    --color-pending: #fbbf24;
    --color-confirmed: #3b82f6;
    --color-delivery: #ef4444;
    --color-completed: #10b981;
}

.page-container[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}


.page-header[b-ikyman0ywe] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}


.header-left h1[b-ikyman0ywe] {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
}


.header-left[b-ikyman0ywe] {
    flex: 1;
}


.page-subtitle[b-ikyman0ywe] {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}


.btn-primary[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}


.btn-primary:hover[b-ikyman0ywe] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}


.btn-icon[b-ikyman0ywe] {
    width: 20px;
    height: 20px;
}


.filters-bar[b-ikyman0ywe] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    /* Align items vertically */
}


.search-box[b-ikyman0ywe] {
    flex: 1;
    min-width: 300px;
    position: relative;
}


.search-icon[b-ikyman0ywe] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
}


.search-box input[b-ikyman0ywe] {
    width: 100%;
    height: 48px;
    /* Fixed height for consistency */
    padding: 0 1rem 0 3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.9375rem;
}


.search-box input[b-ikyman0ywe]::placeholder {
    color: #64748b;
}


.search-box input:focus[b-ikyman0ywe] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
}


.filter-buttons[b-ikyman0ywe] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    height: 48px;
    /* Match search box */
    align-items: center;
}


.filter-btn[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    /* Fill parent */
    padding: 0 1.25rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}


.filter-btn:hover[b-ikyman0ywe] {
    background: rgba(20, 184, 166, 0.1);
    border-color: #14b8a6;
    color: #14b8a6;
}


.filter-btn.active[b-ikyman0ywe] {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(59, 130, 246, 0.2));
    border-color: #14b8a6;
    color: #14b8a6;
}

.filter-dot[b-ikyman0ywe] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.filter-dot.pending[b-ikyman0ywe] {
    background: #fbbf24;
}

.filter-dot.waiting[b-ikyman0ywe] {
    background: #a855f7;
}

.filter-dot.confirmed[b-ikyman0ywe] {
    background: #3b82f6;
}

.filter-dot.delivery[b-ikyman0ywe] {
    background: #ef4444;
}

.filter-dot.completed[b-ikyman0ywe] {
    background: #10b981;
}

.filter-dot.failed[b-ikyman0ywe] {
    background: #ff9800;
}

.filter-dot.unread[b-ikyman0ywe] {
    background: #ef4444;
}

/* CARDS GRID */
.requests-grid[b-ikyman0ywe] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    flex: 1;
    overflow-y: auto;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    align-content: start;
}


.requests-grid[b-ikyman0ywe]::-webkit-scrollbar {
    width: 6px;
}


.requests-grid[b-ikyman0ywe]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}


.request-card[b-ikyman0ywe] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    transition: all 0.2s;
    cursor: pointer;
}


.request-card:hover[b-ikyman0ywe] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.5));
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.1);
}


.card-header[b-ikyman0ywe] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}


.card-header-actions[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.edit-btn[b-ikyman0ywe] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.chat-btn[b-ikyman0ywe] {
    position: relative;
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.25);
    color: #14b8a6;
}

.chat-btn:hover[b-ikyman0ywe] {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
}

.unread-dot[b-ikyman0ywe] {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 1px solid #0f172a;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}


.edit-btn:hover[b-ikyman0ywe] {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}


.card-title-section[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


.card-number[b-ikyman0ywe] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #14b8a6;
}


.card-ordine[b-ikyman0ywe] {
    font-size: 0.8rem;
    color: #94a3b8;
}


.card-body[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.card-info-grid[b-ikyman0ywe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}


.info-item[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


.info-label[b-ikyman0ywe] {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.info-value[b-ikyman0ywe] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e2e8f0;
}


.slots-section[b-ikyman0ywe] {
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 10px;
    padding: 0.75rem;
}


.slots-header[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #14b8a6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slot-summary-text[b-ikyman0ywe] {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 700;
    margin-left: auto;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: none;
    letter-spacing: normal;
}


.slots-header svg[b-ikyman0ywe] {
    width: 14px;
    height: 14px;
}


.slots-list[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.slot-tag[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #14b8a6;
    font-weight: 500;
}

.slot-tag.pending[b-ikyman0ywe] {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.slot-tag.waiting[b-ikyman0ywe] {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.slot-tag.confirmed[b-ikyman0ywe] {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.slot-tag.delivery[b-ikyman0ywe] {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.slot-tag.completed[b-ikyman0ywe] {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.slot-tag.failed[b-ikyman0ywe] {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.3);
    color: #ff9800;
}


.slot-tag svg[b-ikyman0ywe] {
    width: 14px;
    height: 14px;
}


.slot-empty[b-ikyman0ywe] {
    font-size: 0.8rem;
    color: #64748b;
}


.card-footer[b-ikyman0ywe] {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}


.card-action-btn[b-ikyman0ywe] {
    width: 36px;
    height: 36px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 8px;
    color: #14b8a6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}


.card-action-btn:hover[b-ikyman0ywe] {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
}


.card-action-btn svg[b-ikyman0ywe] {
    width: 18px;
    height: 18px;
}


.empty-state[b-ikyman0ywe] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #64748b;
    gap: 1rem;
}


.empty-state svg[b-ikyman0ywe] {
    width: 64px;
    height: 64px;
    opacity: 0.3;
}


.empty-state p[b-ikyman0ywe] {
    margin: 0;
    font-size: 0.95rem;
}


/* MODAL STYLES */
.modal-backdrop[b-ikyman0ywe] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
}


.modal-content[b-ikyman0ywe] {
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: auto;
    animation: modalSlideIn-b-ikyman0ywe 0.3s ease-out;
}


@keyframes modalSlideIn-b-ikyman0ywe {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.modal-content.modal-large[b-ikyman0ywe] {
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}


.modal-header[b-ikyman0ywe] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}


.modal-title-group[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.modal-header h2[b-ikyman0ywe] {
    margin: 0;
    color: #f1f5f9;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}


.modal-ordine[b-ikyman0ywe] {
    font-size: 0.9rem;
    color: #94a3b8;
    font-family: monospace;
}


.btn-close[b-ikyman0ywe] {
    background: rgba(148, 163, 184, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #94a3b8;
}


.btn-close:hover[b-ikyman0ywe] {
    background: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
    transform: rotate(90deg);
}


.modal-body[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    overflow-y: auto;
    overflow-x: visible;
    /* Allow horizontal overflow for dropdowns */
    padding-right: 0.5rem;
    flex: 1;
}


.modal-body[b-ikyman0ywe]::-webkit-scrollbar {
    width: 6px;
}


.modal-body[b-ikyman0ywe]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}


/* DETAIL SECTION */
.detail-section[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.detail-section-title[b-ikyman0ywe] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.detail-grid[b-ikyman0ywe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item.full-width[b-ikyman0ywe] {
    grid-column: 1 / -1;
}


.detail-item[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 8px;
}


.detail-item label[b-ikyman0ywe] {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.detail-value[b-ikyman0ywe] {
    color: #e2e8f0;
    font-weight: 500;
}


.detail-note[b-ikyman0ywe] {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}


.slot-detail[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 10px;
}

.slot-detail.pending[b-ikyman0ywe] {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
}

.slot-detail.waiting[b-ikyman0ywe] {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15);
}

.slot-detail.confirmed[b-ikyman0ywe] {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

.slot-detail.delivery[b-ikyman0ywe] {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
}

.slot-detail.completed[b-ikyman0ywe] {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

.slot-detail.failed[b-ikyman0ywe] {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.15);
}


.slot-date[b-ikyman0ywe],
.slot-time[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.slot-detail.pending .slot-date[b-ikyman0ywe],
.slot-detail.pending .slot-time[b-ikyman0ywe] {
    color: #fbbf24;
}

.slot-detail.waiting .slot-date[b-ikyman0ywe],
.slot-detail.waiting .slot-time[b-ikyman0ywe] {
    color: #c084fc;
}

.slot-detail.confirmed .slot-date[b-ikyman0ywe],
.slot-detail.confirmed .slot-time[b-ikyman0ywe] {
    color: #3b82f6;
}

.slot-detail.delivery .slot-date[b-ikyman0ywe],
.slot-detail.delivery .slot-time[b-ikyman0ywe] {
    color: #ef4444;
}

.slot-detail.completed .slot-date[b-ikyman0ywe],
.slot-detail.completed .slot-time[b-ikyman0ywe] {
    color: #10b981;
}

.slot-detail.failed .slot-date[b-ikyman0ywe],
.slot-detail.failed .slot-time[b-ikyman0ywe] {
    color: #ff9800;
}


.slot-date svg[b-ikyman0ywe],
.slot-time svg[b-ikyman0ywe] {
    width: 18px;
    height: 18px;
}


/* STATUS BADGE */
.status-badge[b-ikyman0ywe] {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.status-badge.pending[b-ikyman0ywe] {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.waiting[b-ikyman0ywe] {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-badge.confirmed[b-ikyman0ywe] {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.delivery[b-ikyman0ywe] {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.completed[b-ikyman0ywe] {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.failed[b-ikyman0ywe] {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}


/* FORM STYLES */
.form-section[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.form-section h3[b-ikyman0ywe] {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
}


.form-group[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.form-row[b-ikyman0ywe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row.three-cols[b-ikyman0ywe] {
    grid-template-columns: 1fr 1fr 1fr;
}

.filter-deposito[b-ikyman0ywe] {
    min-width: 200px;
    height: 48px;
    /* Match others */
}

.filter-deposito select[b-ikyman0ywe] {
    height: 100%;
}


.form-group label[b-ikyman0ywe] {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}


.form-control[b-ikyman0ywe] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
    color-scheme: dark;
    transition: all 0.2s ease;
    height: auto;
    min-height: 48px;
}

.form-control:hover[b-ikyman0ywe] {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(20, 184, 166, 0.5);
}

.form-control:focus[b-ikyman0ywe] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

/* Date input specific styling */
.form-control[type="date"][b-ikyman0ywe] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-control[type="date"][b-ikyman0ywe]::-webkit-calendar-picker-indicator {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.form-control[type="date"][b-ikyman0ywe]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Time input styling */
.form-control[type="time"][b-ikyman0ywe]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
}

.form-control[type="time"][b-ikyman0ywe]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

textarea.form-control[b-ikyman0ywe] {
    resize: vertical;
    min-height: 80px;
}

.form-control[b-ikyman0ywe]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
}

.form-control[b-ikyman0ywe]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-control[b-ikyman0ywe]::placeholder {
    color: #64748b;
}


.form-control:focus[b-ikyman0ywe] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
}


.slots-editor[b-ikyman0ywe] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* SLOT ROWS - Flexbox for perfect alignment */
.slot-row[b-ikyman0ywe] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

.slot-date-wrapper[b-ikyman0ywe] {
    flex: 2;
    /* Date takes bit more space if needed, or just 1 */
}

.slot-time-wrapper[b-ikyman0ywe] {
    flex: 1;
}

.slot-remove-btn[b-ikyman0ywe] {
    flex: 0 0 40px;
    /* Fixed width */
    height: 48px;
    /* Match input height */
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.25rem;
    /* Larger X */
    padding: 0;
    margin: 0;
}

.slot-remove-btn:hover[b-ikyman0ywe] {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.slots-editor .form-control[b-ikyman0ywe] {
    height: 48px;
}

/* VALIDATION MESSAGE - Subtle & Nice */
.validation-message[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(239, 68, 68, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    margin-right: auto;
    animation: fadeIn-b-ikyman0ywe 0.3s ease;
}

@keyframes fadeIn-b-ikyman0ywe {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.validation-message svg[b-ikyman0ywe] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.slot-add-btn[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    color: #14b8a6;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.slot-add-btn:hover[b-ikyman0ywe] {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
}



.modal-footer[b-ikyman0ywe] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.btn-secondary[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}


.btn-secondary:hover[b-ikyman0ywe] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.3);
}


.btn-secondary svg[b-ikyman0ywe] {
    width: 18px;
    height: 18px;
}



.btn-success[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.2s;
}

.btn-success:hover[b-ikyman0ywe] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-success:disabled[b-ikyman0ywe] {
    background: #334155;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-success svg[b-ikyman0ywe] {
    width: 18px;
    height: 18px;
}

.btn-warning[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transition: all 0.2s;
}

.btn-warning:hover[b-ikyman0ywe] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.btn-warning svg[b-ikyman0ywe] {
    width: 18px;
    height: 18px;
}



/* DELETE BUTTON IN ROW */
.btn-delete-row[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background-color: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.btn-delete-row svg[b-ikyman0ywe] {
    width: 16px;
    height: 16px;
}

.btn-delete-row:hover[b-ikyman0ywe] {
    background-color: rgba(220, 38, 38, 0.2);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

/* CONFIRM DIALOG SPECIFIC */
.modal-content.confirm-dialog[b-ikyman0ywe] {
    max-width: 400px;
    border-color: rgba(239, 68, 68, 0.2);
}

.confirm-header[b-ikyman0ywe] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.confirm-icon-box[b-ikyman0ywe] {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.confirm-icon-box svg[b-ikyman0ywe] {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.warning-icon-box[b-ikyman0ywe] {
    width: 64px;
    height: 64px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9800;
}

.warning-icon-box svg[b-ikyman0ywe] {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.confirm-title[b-ikyman0ywe] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.confirm-message[b-ikyman0ywe] {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem;
}

.btn-danger[b-ikyman0ywe] {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover[b-ikyman0ywe] {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-warning-action[b-ikyman0ywe] {
    background: #ff9800;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-warning-action:hover[b-ikyman0ywe] {
    background: #f57c00;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* CLOSURES WARNING IN MODAL */
.closures-warning[b-ikyman0ywe] {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.warning-title[b-ikyman0ywe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem 0;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.warning-title svg[b-ikyman0ywe] {
    width: 20px;
    height: 20px;
}

.warning-list[b-ikyman0ywe] {
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: #fca5a5;
    font-size: 0.9rem;
}

.warning-list li[b-ikyman0ywe] {
    margin-bottom: 0.25rem;
}
/* /Pages/Fincantieri/ValidateQrToken.razor.rz.scp.css */
:root[b-bqoghpelnb] {
    --accent: #14b8a6;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --surface: rgba(15, 23, 42, 0.6);
    --border: rgba(148, 163, 184, 0.2);
}

.qr-validation-page[b-bqoghpelnb] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 24px;
    color: var(--text-primary);
}

.page-header[b-bqoghpelnb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-text h1[b-bqoghpelnb] {
    margin: 4px 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.eyebrow[b-bqoghpelnb] {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
}

.subtitle[b-bqoghpelnb] {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.btn-primary[b-bqoghpelnb],
.btn-secondary[b-bqoghpelnb] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary[b-bqoghpelnb] {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #fff;
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25);
}

.btn-primary:hover[b-bqoghpelnb] {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(20, 184, 166, 0.32);
}

.btn-secondary[b-bqoghpelnb] {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover[b-bqoghpelnb] {
    border-color: var(--accent);
    color: #fff;
}

.btn-secondary svg[b-bqoghpelnb],
.btn-primary svg[b-bqoghpelnb] {
    width: 18px;
    height: 18px;
}

.validation-wrapper[b-bqoghpelnb] {
    max-width: 720px;
    margin: 0 auto;
}

.validation-card[b-bqoghpelnb] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.65));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.validation-card h2[b-bqoghpelnb] {
    margin: 0;
    font-size: 1.5rem;
}

.validation-card p[b-bqoghpelnb] {
    margin: 0;
    color: var(--text-secondary);
}

.validation-card.state-success[b-bqoghpelnb] {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.18);
}

.validation-card.state-error[b-bqoghpelnb] {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 16px 36px rgba(239, 68, 68, 0.18);
}

.card-icon[b-bqoghpelnb] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.state-success .card-icon svg[b-bqoghpelnb] {
    color: #10b981;
}

.state-error .card-icon[b-bqoghpelnb] {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}

.state-error .card-icon svg[b-bqoghpelnb] {
    color: #ef4444;
}

.validation-card.state-loading[b-bqoghpelnb] {
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.spinner[b-bqoghpelnb] {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(148, 163, 184, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin-b-bqoghpelnb 0.9s linear infinite;
}

@keyframes spin-b-bqoghpelnb {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.request-details[b-bqoghpelnb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 16px;
    padding: 1rem;
    background: rgba(20, 184, 166, 0.05);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 12px;
}

.detail-row[b-bqoghpelnb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label[b-bqoghpelnb] {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.detail-value[b-bqoghpelnb] {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.button-group[b-bqoghpelnb] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .qr-validation-page[b-bqoghpelnb] {
        padding: 16px;
    }

    .page-header[b-bqoghpelnb] {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-group[b-bqoghpelnb] {
        width: 100%;
    }

    .button-group .btn-primary[b-bqoghpelnb] {
        width: 100%;
        justify-content: center;
    }
}
/* /Pages/Trasportatore/Calendario.razor.rz.scp.css */
.calendario-page[b-lfspum5gga] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calendario-layout[b-lfspum5gga] {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 1.5rem;
    height: 100vh;
    min-height: 0;
}

.left-column[b-lfspum5gga] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.calendar-section[b-lfspum5gga] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calendar-header-top[b-lfspum5gga] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.btn-month[b-lfspum5gga] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-month:hover[b-lfspum5gga] {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
}

.btn-month svg[b-lfspum5gga] {
    width: 16px;
    height: 16px;
    fill: #14b8a6;
}

.month-title[b-lfspum5gga] {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: 0.05em;
}

.baia-chip[b-lfspum5gga] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.18);
    color: #cbd5e1;
    font-size: 0.72rem;
}

.baia-chip svg[b-lfspum5gga] {
    width: 14px;
    height: 14px;
    fill: #14b8a6;
}

.calendar-grid[b-lfspum5gga] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.day-header[b-lfspum5gga] {
    text-align: center;
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.65rem;
    padding: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day[b-lfspum5gga] {
    aspect-ratio: 1;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    padding: 0.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    position: relative;
    color: inherit;
}

.calendar-day:hover:not(:disabled):not(.empty)[b-lfspum5gga] {
    background: rgba(20, 184, 166, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-2px);
}

.calendar-day.selected[b-lfspum5gga] {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.05));
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.calendar-day.today[b-lfspum5gga] {
    border-color: rgba(20, 184, 166, 0.3);
}

.calendar-day.empty[b-lfspum5gga] {
    cursor: default;
    background: transparent;
    border: none;
    pointer-events: none;
}

.calendar-day.past[b-lfspum5gga] {
    opacity: 0.45;
}

.day-number[b-lfspum5gga] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
}

.day-meta[b-lfspum5gga] {
    font-size: 0.55rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.12rem 0.4rem;
}

.day-meta.ok[b-lfspum5gga] {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.day-meta.full[b-lfspum5gga] {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.calendar-day.selected .day-meta[b-lfspum5gga] {
    background: rgba(20, 184, 166, 0.18);
    color: #5eead4;
}

.calendar-legend[b-lfspum5gga] {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.legend-item[b-lfspum5gga] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: #94a3b8;
}

.legend-dot[b-lfspum5gga] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-dot.ok[b-lfspum5gga],
.legend-dot.free[b-lfspum5gga] {
    background: #10b981;
}

.legend-dot.full[b-lfspum5gga],
.legend-dot.occupied[b-lfspum5gga] {
    background: #ef4444;
}

.legend-dot.limited[b-lfspum5gga] {
    background: #fbbf24;
}

.legend-dot.closed[b-lfspum5gga] {
    background: #64748b;
}

.timeline-section[b-lfspum5gga] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-height: 0;
}

.timeline-header[b-lfspum5gga] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.timeline-header h3[b-lfspum5gga] {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.slot-pill[b-lfspum5gga] {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.22);
    color: #5eead4;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.timeline-grid[b-lfspum5gga] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
}

.timeline-grid[b-lfspum5gga]::-webkit-scrollbar {
    width: 6px;
}

.timeline-grid[b-lfspum5gga]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

.hour-row[b-lfspum5gga] {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.2s ease;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.hour-row .hour-time[b-lfspum5gga] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
}

.hour-row .hour-bar[b-lfspum5gga] {
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
}

.hour-row .hour-status[b-lfspum5gga] {
    font-size: 0.68rem;
    font-weight: 700;
}

.hour-row.free[b-lfspum5gga] {
    border-left: 3px solid #10b981;
}

.hour-row.free:hover[b-lfspum5gga] {
    background: rgba(20, 184, 166, 0.1);
}

.hour-row.free .hour-bar[b-lfspum5gga] {
    background: rgba(16, 185, 129, 0.45);
}

.hour-row.free .hour-status[b-lfspum5gga] {
    color: #34d399;
}

.hour-row.limited[b-lfspum5gga] {
    border-left: 3px solid #fbbf24;
}

.hour-row.limited .hour-bar[b-lfspum5gga] {
    background: rgba(251, 191, 36, 0.4);
}

.hour-row.limited .hour-status[b-lfspum5gga] {
    color: #fbbf24;
}

.hour-row.occupied[b-lfspum5gga] {
    border-left: 3px solid #ef4444;
}

.hour-row.occupied .hour-bar[b-lfspum5gga] {
    background: rgba(239, 68, 68, 0.45);
}

.hour-row.occupied .hour-status[b-lfspum5gga] {
    color: #f87171;
}

.hour-row.closed[b-lfspum5gga] {
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid #ef4444;
}

.hour-row.closed .hour-time[b-lfspum5gga],
.hour-row.closed .hour-status[b-lfspum5gga] {
    color: #f87171;
}

.hour-row.closed .hour-bar[b-lfspum5gga] {
    background: repeating-linear-gradient(45deg, rgba(239, 68, 68, 0.32), rgba(239, 68, 68, 0.32) 4px, rgba(239, 68, 68, 0.08) 4px, rgba(239, 68, 68, 0.08) 8px);
}

.hour-row.preview[b-lfspum5gga] {
    box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.5);
}

.hour-row.start-selected[b-lfspum5gga] {
    box-shadow: inset 0 0 0 2px #14b8a6;
}

.hour-row:disabled[b-lfspum5gga] {
    cursor: not-allowed;
}

.timeline-legend[b-lfspum5gga] {
    margin-top: auto;
}

.right-column[b-lfspum5gga] {
    min-height: 0;
}

.form-panel[b-lfspum5gga] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.panel-header[b-lfspum5gga] {
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.panel-header h3[b-lfspum5gga] {
    margin: 0;
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 700;
}

.panel-header p[b-lfspum5gga] {
    margin: 0.3rem 0 0;
    font-size: 0.72rem;
    color: #94a3b8;
}

.panel-body[b-lfspum5gga] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
    flex: 1;
}

.panel-body[b-lfspum5gga]::-webkit-scrollbar {
    width: 6px;
}

.panel-body[b-lfspum5gga]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

.form-group[b-lfspum5gga] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label[b-lfspum5gga] {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-control[b-lfspum5gga] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
    color-scheme: dark;
    transition: all 0.2s ease;
    height: auto;
    min-height: 48px;
}

.form-control:hover[b-lfspum5gga] {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(20, 184, 166, 0.5);
}

.form-control:focus[b-lfspum5gga] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

textarea.form-control[b-lfspum5gga] {
    resize: vertical;
    min-height: 80px;
}

.duration-row[b-lfspum5gga] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.duration-card[b-lfspum5gga] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.duration-card:hover[b-lfspum5gga] {
    background: rgba(20, 184, 166, 0.08);
    border-color: rgba(20, 184, 166, 0.22);
}

.duration-card .name[b-lfspum5gga] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
}

.duration-card .hours[b-lfspum5gga] {
    font-size: 0.7rem;
    color: #94a3b8;
}

.duration-card.selected[b-lfspum5gga] {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.08);
}

.duration-card.selected .name[b-lfspum5gga],
.duration-card.selected .hours[b-lfspum5gga] {
    color: #5eead4;
}

.slot-summary[b-lfspum5gga] {
    border-radius: 12px;
    padding: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.35);
}

.slot-summary.valid[b-lfspum5gga] {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.slot-summary.missing[b-lfspum5gga] {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
}

.summary-row[b-lfspum5gga] {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin: 0.12rem 0;
}

.alert[b-lfspum5gga] {
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
}

.alert-success[b-lfspum5gga] {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error[b-lfspum5gga] {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.panel-footer[b-lfspum5gga] {
    padding: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.btn-submit[b-lfspum5gga] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.2s;
}

.btn-submit:hover:not(:disabled)[b-lfspum5gga] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-submit:disabled[b-lfspum5gga] {
    opacity: 0.6;
    cursor: not-allowed;
}

.footer-note[b-lfspum5gga] {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
}

.spinner-small[b-lfspum5gga] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin-b-lfspum5gga 0.6s linear infinite;
}

@keyframes spin-b-lfspum5gga {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .calendario-layout[b-lfspum5gga] {
        grid-template-columns: 1fr;
        height: auto;
    }

    .timeline-grid[b-lfspum5gga] {
        grid-template-columns: 1fr;
    }

    .form-panel[b-lfspum5gga] {
        min-height: 420px;
    }
}
/* /Pages/Trasportatore/Dashboard.razor.rz.scp.css */
:root[b-ji3hgp8412] {
    --color-error: #ef4444;
    --color-success: #10b981;
}

.page-container[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    padding: 0rem;
}

.page-header[b-ji3hgp8412] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.header-left[b-ji3hgp8412] {
    flex: 1;
}

.page-title[b-ji3hgp8412] {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
}

.page-subtitle[b-ji3hgp8412] {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.user-info[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name[b-ji3hgp8412] {
    color: #14b8a6;
    font-weight: 600;
    font-size: 0.95rem;
}

/* FILTERS BAR */
.filters-bar[b-ji3hgp8412] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box[b-ji3hgp8412] {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-icon[b-ji3hgp8412] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.search-box input[b-ji3hgp8412] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.9375rem;
}

.search-box input[b-ji3hgp8412]::placeholder {
    color: #64748b;
}

.search-box input:focus[b-ji3hgp8412] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
}

.filter-buttons[b-ji3hgp8412] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover[b-ji3hgp8412] {
    background: rgba(20, 184, 166, 0.1);
    border-color: #14b8a6;
    color: #14b8a6;
}

.filter-btn.active[b-ji3hgp8412] {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(59, 130, 246, 0.2));
    border-color: #14b8a6;
    color: #14b8a6;
}

.filter-dot[b-ji3hgp8412] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.filter-dot.pending[b-ji3hgp8412] {
    background: #fbbf24;
}

.filter-dot.waiting[b-ji3hgp8412] {
    background: #a855f7;
}

.filter-dot.confirmed[b-ji3hgp8412] {
    background: #3b82f6;
}

.filter-dot.delivery[b-ji3hgp8412] {
    background: #ef4444;
}

.filter-dot.completed[b-ji3hgp8412] {
    background: #10b981;
}

.filter-dot.failed[b-ji3hgp8412] {
    background: #ff9800;
}

.filter-dot.unread[b-ji3hgp8412] {
    background: #ef4444;
}

.requests-grid[b-ji3hgp8412] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    flex: 1;
    overflow-y: auto;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    align-content: start;
}

.requests-grid[b-ji3hgp8412]::-webkit-scrollbar {
    width: 6px;
}

.requests-grid[b-ji3hgp8412]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

/* REQUEST CARD STYLES */
.request-card[b-ji3hgp8412] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    transition: all 0.2s;
    cursor: pointer;
}

.request-card:hover[b-ji3hgp8412] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.5));
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.1);
}

.card-header[b-ji3hgp8412] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header-actions[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title-section[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-number[b-ji3hgp8412] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #14b8a6;
}

.card-ordine[b-ji3hgp8412] {
    font-size: 0.8rem;
    color: #94a3b8;
}

.card-action-btn[b-ji3hgp8412] {
    width: 36px;
    height: 36px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 8px;
    color: #14b8a6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.card-action-btn svg[b-ji3hgp8412] {
    width: 18px;
    height: 18px;
}

.chat-btn[b-ji3hgp8412] {
    position: relative;
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.25);
    color: #14b8a6;
}

.chat-btn:hover[b-ji3hgp8412] {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
}

.unread-dot[b-ji3hgp8412] {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 1px solid #0f172a;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.card-body[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.card-info-grid[b-ji3hgp8412] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label[b-ji3hgp8412] {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value[b-ji3hgp8412] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e2e8f0;
}

.slots-section[b-ji3hgp8412] {
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 10px;
    padding: 0.75rem;
}

.slots-header[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #14b8a6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slots-header svg[b-ji3hgp8412] {
    width: 14px;
    height: 14px;
}

.slots-list[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slot-tag[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #14b8a6;
    font-weight: 500;
}

.slot-tag.pending[b-ji3hgp8412] {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.slot-tag.waiting[b-ji3hgp8412] {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.slot-tag.confirmed[b-ji3hgp8412] {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.slot-tag.delivery[b-ji3hgp8412] {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.slot-tag.completed[b-ji3hgp8412] {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.slot-tag.failed[b-ji3hgp8412] {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.3);
    color: #ff9800;
}

.slot-empty[b-ji3hgp8412] {
    font-size: 0.8rem;
    color: #64748b;
}

.card-footer[b-ji3hgp8412] {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    text-align: right;
}

.btn-action[b-ji3hgp8412] {
    background: transparent;
    color: #14b8a6;
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-action:hover[b-ji3hgp8412] {
    background: rgba(20, 184, 166, 0.1);
    border-color: #14b8a6;
}

/* STATUS BADGE */
.status-badge[b-ji3hgp8412] {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.status-badge.pending[b-ji3hgp8412] {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.waiting[b-ji3hgp8412] {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-badge.confirmed[b-ji3hgp8412] {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.delivery[b-ji3hgp8412] {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.completed[b-ji3hgp8412] {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.failed[b-ji3hgp8412] {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.empty-state[b-ji3hgp8412] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #64748b;
    gap: 1rem;
}

.empty-state svg[b-ji3hgp8412] {
    width: 64px;
    height: 64px;
    opacity: 0.3;
}

.empty-state p[b-ji3hgp8412] {
    margin: 0;
    font-size: 0.95rem;
}

/* MODAL STYLES */
.modal-backdrop[b-ji3hgp8412] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 1rem;
}

.modal-content[b-ji3hgp8412] {
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: auto;
    animation: modalSlideIn-b-ji3hgp8412 0.3s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-content.modal-large[b-ji3hgp8412] {
    max-width: 800px;
}

@keyframes modalSlideIn-b-ji3hgp8412 {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header[b-ji3hgp8412] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    flex-shrink: 0;
}

.modal-title-group[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-header h2[b-ji3hgp8412] {
    margin: 0;
    color: #f1f5f9;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.modal-ordine[b-ji3hgp8412] {
    font-size: 0.9rem;
    color: #94a3b8;
    font-family: monospace;
}

.btn-close[b-ji3hgp8412] {
    background: rgba(148, 163, 184, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #94a3b8;
}

.btn-close:hover[b-ji3hgp8412] {
    background: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
    transform: rotate(90deg);
}

.btn-close svg[b-ji3hgp8412] {
    width: 18px;
    height: 18px;
}

.modal-body[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    flex: 1;
    margin-bottom: 2rem;
}

.modal-body[b-ji3hgp8412]::-webkit-scrollbar {
    width: 6px;
}

.modal-body[b-ji3hgp8412]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

/* DETAIL & FORM SECTIONS */
.detail-section[b-ji3hgp8412],
.form-section[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-section-title[b-ji3hgp8412],
.form-section-title[b-ji3hgp8412] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-grid[b-ji3hgp8412],
.form-grid[b-ji3hgp8412] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 8px;
}

.detail-item.full-width[b-ji3hgp8412] {
    grid-column: 1 / -1;
}

.detail-item label[b-ji3hgp8412] {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value[b-ji3hgp8412] {
    color: #e2e8f0;
    font-weight: 500;
}

.detail-note[b-ji3hgp8412] {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

/* SLOT DETAILS */
.slot-detail[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 10px;
}

.slot-detail.pending[b-ji3hgp8412] {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
}

.slot-detail.waiting[b-ji3hgp8412] {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15);
}

.slot-date[b-ji3hgp8412],
.slot-time[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.slot-detail.pending .slot-date[b-ji3hgp8412],
.slot-detail.pending .slot-time[b-ji3hgp8412] {
    color: #fbbf24;
}

.slot-detail.waiting .slot-date[b-ji3hgp8412],
.slot-detail.waiting .slot-time[b-ji3hgp8412] {
    color: #c084fc;
}

/* FORM ELEMENTS */
.form-group[b-ji3hgp8412] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label[b-ji3hgp8412] {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.datetime-inputs[b-ji3hgp8412] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-control[b-ji3hgp8412] {
    width: 100%;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
}

.form-control[b-ji3hgp8412]::placeholder {
    color: #64748b;
}

.form-control:focus[b-ji3hgp8412] {
    outline: none;
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
}

.alert[b-ji3hgp8412] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-error[b-ji3hgp8412] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success[b-ji3hgp8412] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.segments-list[b-ji3hgp8412] {
    margin: 0;
    padding: 0 0 0 1.25rem;
    font-size: 0.85rem;
}

.segments-list li[b-ji3hgp8412] {
    font-weight: 600;
}

.modal-footer[b-ji3hgp8412] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    flex-shrink: 0;
}

.btn-secondary[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-secondary:hover[b-ji3hgp8412] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.3);
}

.btn-secondary svg[b-ji3hgp8412] {
    width: 18px;
    height: 18px;
}

.btn-primary[b-ji3hgp8412] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover:not(:disabled)[b-ji3hgp8412] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:disabled[b-ji3hgp8412] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary svg[b-ji3hgp8412] {
    width: 18px;
    height: 18px;
}
/* /Shared/Components/CustomDatePicker.razor.rz.scp.css */
.custom-datepicker-container[b-xzwsmm4wg0] {
    position: relative;
    width: 100%;
}

.custom-datepicker-trigger[b-xzwsmm4wg0] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    min-height: 48px;
}

.custom-datepicker-trigger:hover[b-xzwsmm4wg0] {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(20, 184, 166, 0.5);
}

.calendar-icon[b-xzwsmm4wg0] {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    flex-shrink: 0;
}

.calendar-backdrop[b-xzwsmm4wg0] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    /* Above modal (1000) */
    cursor: default;
}

.calendar-popup[b-xzwsmm4wg0] {
    position: fixed;
    width: 320px;
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    padding: 1rem;
    animation: fadeIn-b-xzwsmm4wg0 0.15s ease-out;
}

.calendar-header[b-xzwsmm4wg0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.calendar-month-year[b-xzwsmm4wg0] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    text-transform: capitalize;
}

.calendar-nav-btn[b-xzwsmm4wg0] {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.calendar-nav-btn:hover[b-xzwsmm4wg0] {
    background: rgba(148, 163, 184, 0.1);
    color: #14b8a6;
}

.calendar-nav-btn svg[b-xzwsmm4wg0] {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.calendar-weekdays[b-xzwsmm4wg0] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday[b-xzwsmm4wg0] {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 0.5rem 0;
}

.calendar-days[b-xzwsmm4wg0] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day[b-xzwsmm4wg0] {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #cbd5e1;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.calendar-day.empty[b-xzwsmm4wg0] {
    cursor: default;
}

.calendar-day:not(.empty):hover[b-xzwsmm4wg0] {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
}

.calendar-day.today[b-xzwsmm4wg0] {
    border-color: #14b8a6;
    color: #14b8a6;
}

.calendar-day.selected[b-xzwsmm4wg0] {
    background: #14b8a6;
    color: #0f172a;
    font-weight: 600;
}

.calendar-day.selected:hover[b-xzwsmm4wg0] {
    background: #0d9488;
}

.calendar-footer[b-xzwsmm4wg0] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.calendar-today-btn[b-xzwsmm4wg0],
.calendar-clear-btn[b-xzwsmm4wg0] {
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.calendar-today-btn[b-xzwsmm4wg0] {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.calendar-today-btn:hover[b-xzwsmm4wg0] {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
}

.calendar-clear-btn[b-xzwsmm4wg0] {
    background: transparent;
    color: #94a3b8;
}

.calendar-clear-btn:hover[b-xzwsmm4wg0] {
    background: rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
}

@keyframes fadeIn-b-xzwsmm4wg0 {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Shared/Components/CustomSelect.razor.rz.scp.css */
.custom-select-container[b-ggxbpwp8or] {
    position: relative;
    width: 100%;
}

.custom-select-trigger[b-ggxbpwp8or] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.custom-select-trigger:hover[b-ggxbpwp8or] {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(20, 184, 166, 0.5);
}

.arrow-icon[b-ggxbpwp8or] {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.arrow-icon.open[b-ggxbpwp8or] {
    transform: rotate(180deg);
    fill: #14b8a6;
}

.custom-options-backdrop[b-ggxbpwp8or] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    /* Above modal (1000) */
    cursor: default;
}

/* 
   NOTE: To make sure the list appears above other elements in modals (which have z-index 1000+),
   we might need high z-index here. 
*/
.custom-options-list[b-ggxbpwp8or] {
    position: fixed;
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
    animation: fadeIn-b-ggxbpwp8or 0.15s ease-out;
}

.custom-option[b-ggxbpwp8or] {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

.custom-option:hover[b-ggxbpwp8or] {
    background: rgba(20, 184, 166, 0.1);
    color: #f1f5f9;
}

.custom-option.selected[b-ggxbpwp8or] {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
    font-weight: 500;
}

.custom-options-list[b-ggxbpwp8or]::-webkit-scrollbar {
    width: 4px;
}

.custom-options-list[b-ggxbpwp8or]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
}

@keyframes fadeIn-b-ggxbpwp8or {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Shared/Components/RichiestaChatDrawer.razor.rz.scp.css */
.chat-drawer-overlay[b-rl1m1mqa6x] {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1300;
}

.chat-drawer-panel[b-rl1m1mqa6x] {
    position: fixed;
    top: 0;
    right: 0;
    width: min(460px, 96vw);
    height: 100vh;
    z-index: 1301;
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    animation: chatSlideIn-b-rl1m1mqa6x 0.2s ease-out;
}

@keyframes chatSlideIn-b-rl1m1mqa6x {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.chat-drawer-header[b-rl1m1mqa6x] {
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.chat-title-wrap h3[b-rl1m1mqa6x] {
    margin: 0;
    color: #e2e8f0;
    font-size: 1.05rem;
    font-weight: 700;
}

.chat-subtitle[b-rl1m1mqa6x] {
    display: inline-block;
    margin-top: 0.35rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-family: monospace;
}

.chat-close-btn[b-rl1m1mqa6x] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.5);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-close-btn:hover[b-rl1m1mqa6x] {
    border-color: rgba(20, 184, 166, 0.45);
    color: #14b8a6;
}

.chat-close-btn svg[b-rl1m1mqa6x] {
    width: 18px;
    height: 18px;
}

.chat-drawer-body[b-rl1m1mqa6x] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.chat-empty[b-rl1m1mqa6x] {
    margin: auto;
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
}

.chat-message[b-rl1m1mqa6x] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 88%;
}

.chat-message.mine[b-rl1m1mqa6x] {
    align-self: flex-end;
}

.chat-message.theirs[b-rl1m1mqa6x] {
    align-self: flex-start;
}

.chat-meta[b-rl1m1mqa6x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: #94a3b8;
}

.chat-message.mine .chat-meta[b-rl1m1mqa6x] {
    justify-content: flex-end;
}

.chat-sender[b-rl1m1mqa6x] {
    font-weight: 600;
}

.chat-bubble[b-rl1m1mqa6x] {
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    line-height: 1.35;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-message.theirs .chat-bubble[b-rl1m1mqa6x] {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #e9d5ff;
}

.chat-message.mine .chat-bubble[b-rl1m1mqa6x] {
    background: rgba(20, 184, 166, 0.16);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #ccfbf1;
}

.chat-drawer-footer[b-rl1m1mqa6x] {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.chat-input[b-rl1m1mqa6x] {
    width: 100%;
    resize: none;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 0.75rem;
}

.chat-input:focus[b-rl1m1mqa6x] {
    outline: none;
    border-color: rgba(20, 184, 166, 0.55);
}

.chat-send-btn[b-rl1m1mqa6x] {
    align-self: flex-end;
    min-width: 92px;
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-send-btn:hover:not(:disabled)[b-rl1m1mqa6x] {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.35);
}

.chat-send-btn:disabled[b-rl1m1mqa6x] {
    opacity: 0.55;
    cursor: not-allowed;
}
