﻿/* ===== GESTIONE CSS PER LAYOUT STATICO ===== */

.mobile-drawer {
    position: fixed;
    top: 100px; /* altezza appbar fissa */
    left: 0;
    width: 100%;
    padding: 20px;
    transform: translateX(-120%);
    transition: transform 0.3s ease;
    z-index: 1100;
}

#nav-toggle:checked ~ .mobile-drawer {
    transform: translateX(0);
}

/* Default: mobile */
.nav-desktop, .icons-desktop {
    display: none;
}

.nav-mobile, .icons-mobile {
    display: flex;
    align-items: center;
}

/* Desktop (>= 960px) */
@media (min-width: 960px) {
    .nav-desktop, .icons-desktop {
        display: flex;
    }

    .nav-mobile, .icons-mobile {
        display: none;
    }
}
/* ===== FINE GESTIONE CSS PER LAYOUT STATICO ===== */

label{
    font-size: 16px;
}

.accent-link, label.required::after {
    color: #C5AF6C !important;
}

label.required::after {
    content: "*";
    margin-left: 5px;
}

.text-field {
    padding: 12px 16px 12px 16px;
    border-radius: 6px;
    border: 1px solid rgba(187, 187, 187, 0.70);
    background: #FAFAF9;
}

.termini-checkbox .mud-icon-button{
    padding-left: 0;
}

.validation-message {
    color: var(--mud-palette-error);
}

/* ===== AREA UTENTE ===== */

/*.area-utente-sidebar {
    border-radius: 12px;
    background: var(--mud-palette-surface);
    overflow: hidden;
}
*/

.arrow-back svg{
    width: 49px;
}

.area-utente-sidebar .mud-nav-link {
    border-radius: 8px;
    margin: 2px 0;
}

.area-utente-nav-active {
    border-radius: 8px;
    border-top: 1px solid rgba(250, 250, 249, 0.20);
    border-left: 1px solid rgba(250, 250, 249, 0.20);
    background: rgba(250, 250, 249, 0.15);
    backdrop-filter: blur(15px);
}

.area-utente-evento-card {
    border-radius: 12px;
    overflow: hidden;
}

.area-utente-notifica-nonletta {
    border-left: 3px solid var(--mud-palette-error);
}

.ltd-paper {
    border-radius: 8px;
    border-top: 1px solid rgba(250, 250, 249, 0.20);
    border-left: 1px solid rgba(250, 250, 249, 0.20);
    background: rgba(250, 250, 249, 0.15);
    backdrop-filter: blur(15px);
}

/* ===== NOTIFICHE SECTION ===== */

.notifiche-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.notifiche-gruppo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.notifiche-data {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #FAFAF9;
    padding-left: 8px;
    text-transform: capitalize;
}

.notifiche-card {
    background: rgba(250, 250, 249, 0.15);
    border-left: 1px solid rgba(250, 250, 249, 0.15);
    border-top: 1px solid rgba(250, 250, 249, 0.15);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.notifica-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.notifica-titolo {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #FAFAF9;
}

.notifica-messaggio {
    font-size: 16px;
    line-height: 1.4;
    color: #FAFAF9;
}

.notifica-messaggio b,
.notifica-messaggio strong {
    font-weight: 700;
}

.notifica-messaggio a {
    color: #C5AF6C;
    text-decoration: none;
}

.notifica-messaggio a:hover {
    text-decoration: underline;
}

.notifica-ora {
    font-size: 16px;
    font-style: italic;
    line-height: 1.4;
    color: rgba(187, 187, 187, 0.7);
    text-align: right;
}

.notifica-separatore {
    height: 1px;
    width: 100%;
    background: linear-gradient(
        90deg,
        rgba(250, 250, 249, 0) 0%,
        rgba(250, 250, 249, 0.25) 50%,
        rgba(250, 250, 249, 0) 100%
    );
}

.notifica-nonletta {
    position: relative;
}

.notifica-nonletta::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mud-palette-error);
}

/* ===== NOTIFICATION DOT ===== */

.notifica-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mud-palette-error);
    flex-shrink: 0;
}

/* ===== DOCUMENTO UPLOAD ===== */

.documento-upload-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.documento-upload-label {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: #FAFAF9;
}

.documento-upload-row {
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(187, 187, 187, 0.35);
    cursor: pointer;
}

.documento-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(187, 187, 187, 0.35);
    color: #FAFAF9;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid rgba(187, 187, 187, 0.35);
    transition: background 0.15s ease;
}

.documento-upload-row:hover .documento-upload-btn {
    background: rgba(187, 187, 187, 0.5);
}

.documento-upload-filename {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: rgba(187, 187, 187, 0.7);
    font-size: 14px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.documento-upload-caricato {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--mud-palette-success);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.documento-upload-elimina {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--mud-palette-error);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-left: 1px solid rgba(187, 187, 187, 0.35);
    cursor: pointer;
    transition: background 0.15s ease;
}

.documento-upload-elimina:hover {
    background: rgba(var(--mud-palette-error-rgb), 0.1);
}

.area-utente-cd-block {
    min-width: 50px;
    text-align: center;
}