@font-face {
    font-family: 'Cinzel';
    src: url('/fonts/Cinzel-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Cinzel';
    src: url('/fonts/Cinzel-Bold.ttf') format('truetype');
    font-weight: 700;
}



a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* image gallery  */
.dialog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
}

.dialog-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
}


/* Daverio */
.title-page-1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #b8927a; /* Cambia colore secondo il design */
    margin-top: 20px;
    margin-bottom: 10px;
}

.header-image {
    width: 100%; /* Larghezza completa */
    height: 300px; /* Altezza fissa */
    object-fit: contain; /* Mostra l'intera immagine */
    object-position: center; /* Centra l'immagine */
    background-color: #f3f4f6; /* Colore di sfondo per le bande vuote */
}

.table-characteristics {
    font-size: 1rem;
    border-top: 2px #b8927a solid;
    border-bottom: 2px #b8927a solid;
    margin-bottom: 2em;
}

.table-characteristics-name {
    font-weight: bold;
    text-align: left;
    padding-right: 10px;
    color: #8a7f73;
    margin-left: 1.5em;
}

.table-characteristics-value {
    text-align: left;
    color: #b8927a;
    margin-right: 1.5em;
}

.table-characteristics-border-end {
    border-right: 1px solid #ccc; /* Linea verticale tra colonne */
    padding-right: 15px; /* Spaziatura interna per la colonna sinistra */
}

.vertical-line {
    width: 1px; /* Spessore della linea */
    background-color: #ccc; /* Colore della linea */
    z-index: 1; /* Si trova sotto il contenuto */
}

.column-left, .column-right {
    position: relative;
    z-index: 2; /* Assicura che il contenuto stia sopra la linea */
}



.bg-gray-50 {
    background-color: #F9FAFB;
}

.bg-gray-100 {
    background-color: #F3F4F6;
}

.text-gray-600 {
    color: #4B5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1F2937;
}

/* Claude */
/* Colors */
:root {
    --color-primary: #c3a455;
    --color-secondary: #333333;
    --color-text: #333333;
    --color-background-dark: #DCD8D7;
    --color-background: #EEEDEB;
    --color-background-evidenced: #CFCAC4;
    --color-background-card-title: #AFAAA4;
    --color-border: #e0e0e0;
    --body-font: 'Cinzel', serif;
    --button-hover: #b2937d;
    --button-save: #b2937d;
    --color-title-1: #27201a;
    --color-daverio-blue: #2d4558;
    --color-daveroo-blue-medium-light: #7c8d9c;
    --color-daveroo-blue-light: #bbc4cb;
}

.rz-layout {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-background);
}

.rz-header {
    background-color: var(--color-daverio-blue) !important;
}

.rz-navigation-item-link-active {
    background-color: var(--color-daverio-blue) !important;
    color: white !important;
}

    .rz-navigation-item-link-active .rz-navigation-item-icon {
        color: white !important;
    }
/* Typography */
body {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-background);
}
/* Sovrascrivi il font dei titoli di Bootstrap */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: 'Cinzel', serif;
}



h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
    color: var(--color-secondary);
}

table tbody {
    font-family: 'Palatino', serif;
}

input, textarea, select {
    font-family: 'Palatino', serif;
}

/* Layout */
.image-page-header {
    width: calc(100% + 3.5rem); /* Compensa il padding di 16px su entrambi i lati */
    margin-left: -2rem; /* Annulla il padding sinistro */
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: block; /* Assicura che l'immagine sia un blocco */
    height: 300px; /* Altezza fissa */
    object-fit: cover; /* Opzionale: mantiene le proporzioni */
}

.dark-background {
    background-color: var(--color-background-dark);
}

.background-evidenced {
    background-color: var(--color-background-evidenced);
}

fluent-text-field {
    --neutral-fill-input-rest: var(--color-background); /* Colore di sfondo quando il campo � a riposo */
    --neutral-fill-input-hover: var(--color-background); /* Colore di sfondo quando il campo � in hover */
    /*  --neutral-fill-input-active: #d0d0d0; */ /* Colore di sfondo quando il campo � attivo */
}

fluent-accordion-item {
    --neutral-fill-layer-alt-rest: var(--color-background-evidenced);
    --neutral-fill-layer-rest: var(--color-background-card-title);
    --body-font: 'Palatino', serif;
}

fluent-text-field {
    --accent-fill-rest: var(--color-daverio-blue);
    --body-font: 'Palatino', serif;
}

.autcomplete-hight-fix {
    margin-top: 0.5rem;
}

.form-control {
    background-color: var(--color-background);
}

/* Select dropdown icon styling */
select.form-control, .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

.accordion-header {
    font-family: 'Cinzel', serif;
    margin-left: 1rem;
    color: var(--color-title-1);
    font-size: 1.3rem;
}

.accordion-item-body {
    font-family: 'Cinzel', serif;
    padding: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}



.col {
    flex: 1;
    padding: 1rem;
}

.input-editable {
    font-family: 'Palatino', serif;
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--color-background-card-title);
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn:hover {
        background-color: var(--button-hover);
        opacity: 0.7;
    }

.btn-save {
    background-color: var(--button-save);
}

.btn-backpage {
    background-color: transparent;
}

    .btn-backpage:hover {
        background-color: var(--button-save);
    }

/* ICONE */
.icon-hover {
    transition: color 0.3s ease, transform 0.3s ease;
}

    .icon-hover:hover {
        cursor: pointer;
        color: var(--button-hover); /* Cambia il colore dell'icona quando si passa sopra */
        transform: scale(1.2); /* Ingrandisce l'icona quando si passa sopra */
    }
/* RADIO BUTTON PERSONALIZZATO*/
.button-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

    .button-group .rg-btn {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
        border: 1px solid var(--button-save);
        background-color: var(--button-save);
        color: white;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
    }

        .button-group .rg-btn.selected {
            background-color: white;
            color: var(--button-save);
        }

        .button-group .rg-btn:hover {
            background-color: white;
            color: var(--button-save);
        }

/* Product List */
.truncate-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em; /* Altezza massima per due righe di testo */
    line-height: 1.5em; /* Altezza della linea */
    width: 100%; /* Larghezza completa della cella */
}

/* Chat List */
.chat-list-message {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em; /* Altezza massima per due righe di testo */
    line-height: 1.5em; /* Altezza della linea */
    width: 100%; /* Larghezza completa della cella */
}
/* Product Details */
.product-code-link {
    color: inherit; /* Mantiene il colore del testo circostante */
    text-decoration: none; /* Rimuove la sottolineatura */
}

    .product-code-link:hover {
        color: var(--button-save);
    }

.product-details {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    font-size: 1rem !important;
}

.product-label-size {
    font-size: 1rem;
}

.product-details h2 {
    margin-top: 0;
}

.product-details table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.product-details th,
.product-details td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.product-details th {
    text-align: left;
    font-weight: 600;
}

.product-details td {
    color: var(--color-secondary);
}

.evidenced-characteristic {
    background-color: var(--color-daverio-blue) !important;
}

.characteristic-value {
    color: var(--color-daverio-blue);
}

.pencil-color {
    color: var(--color-daverio-blue);
}


/* Image Gallery */
.image-gallery {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

    .image-gallery img {
        width: 100px;
        max-height: 80px;
        margin: 0 0.5rem;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

        .image-gallery img:hover {
            opacity: 0.8;
        }

.table-image {
    width: 100px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.table-image-column {
    width: 110px; /* Imposta la larghezza desiderata */
}

.table-actions-column {
    max-width: 100px;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 80px;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #999999;
    font-size: 14px;
}

    .photo-placeholder i {
        font-size: 32px;
        margin-bottom: 8px;
    }

/* Dettaglio ordine */
fluent-accordion-item .accordion-blue {
    --neutral-fill-layer-alt-rest: var(--color-daveroo-blue-light) !important;
    --neutral-fill-layer-rest: var(--color-daveroo-blue-medium-light) !important;
    --body-font: 'Palatino', serif;
}


/* Elenco ordini griglia */
.card order-list {
    background-color: #f5f5f5;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-title order-list {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.card-text order-list {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

    .card-text order-list::before {
        content: "#";
        margin-right: 0.25rem;
    }

.card-body-characteristic {
    padding: 0rem;
}

.card-body order-list {
    padding: 1.5rem;
}

.table-hover-row:hover {
    background-color: var(--color-background-evidenced);
    cursor: pointer;
}

.fluent-autocomplete-menu {
    position: absolute;
    z-index: 1000; /* Assicurati che il menu a tendina sia sopra gli altri elementi */
    background-color: white; /* Colore di sfondo del menu a tendina */
    border: 1px solid #ccc; /* Bordo del menu a tendina */
    max-height: 200px; /* Altezza massima del menu a tendina */
    overflow-y: auto; /* Aggiungi una barra di scorrimento verticale se necessario */
}
/*Calendario*/
.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    width: 24px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
}
/*CHAT*/
.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.chat-header {
    flex-shrink: 0;
    padding: 1rem;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f8f9fa;
}

.input-container {
    flex-shrink: 0;
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #dee2e6;
}

.attachments-list {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.attachment-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
/*CHAT FINE*/
/* Chat 
.chat-window {
    display: flex;
    flex-direction: column;
    height: 90vh;
    width: 100%;
    margin-bottom: 10em; 
}
*/
.chat-window {
    position: relative;
    width: 100%;
    height: 75vh; /* Occupa tutta la viewport */
}
/* Media query per schermi grandi */
@media (min-width: 992px) {
    .chat-window {
        height: 85vh; /* Altezza per schermi grandi */
    }
}
/*    .messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #f8f9fa;
} */
.messages {
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8f9fa;
    margin-bottom: 5em;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.message-content {
    margin-bottom: 10px;
    width: 100%;
}

.message-by-user {
    background-color: #e9c077;
}

.message-attachments {
    margin-top: 10px;
}

/*.new-message {
    padding: 10px;
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    z-index: 1000;
}*/

.new-message {
    position: fixed; /* Fisso rispetto alla finestra del browser */
    bottom: 0; /* Allinea il div in basso */
    left: 0;
    width: 100%; /* Occupa tutta la larghezza della pagina */
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    height: 6em;
}

.input-group {
    display: flex;
    align-items: center;
}

    .input-group textarea {
        flex-grow: 1;
        margin-right: 10px;
    }


.custom-counter-badge {
    font-size: 1em !important; /* Aumenta la dimensione del testo */
    background-color: orange !important;
    border: 2px solid gray !important;
    border-radius: 1em !important;
}

@media (max-width: 768px) {
    .nav-menu-hidden {
        display: none;
    }
}

/* Notifiche */
.card-notification {
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}


    .card-notification.bg-light {
        background-color: #f8f9fa;
    }

    .card-notification.bg-white {
        background-color: #ffffff;
    }

    .card-notification.unread {
        background-color: #CDBE9B;
    }

    .card-notification.read {
        background-color: #f8f9fa; /* Colore per le notifiche lette */
    }


/*menu nav*/
/* ---------------------- */
/* NAV BAR TOGGLER ------ */
/* ---------------------- */
/* Aumentare la specificit� */

/* Stili per il menu responsive */
::deep .full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: var(--neutral-layer-1);
    display: none;
    overflow-y: auto;
}

@media (max-width: 768px) {
    ::deep .fluent-main-layout .layout-navigation.expanded {
        display: none !important; /* Nascondi il menu laterale standard su mobile */
    }

    ::deep .full-screen-menu.active {
        display: block; /* Mostra il menu a schermo intero quando attivo */
    }

    ::deep .menu-toggle-button {
        display: block;
    }
}

@media (min-width: 769px) {
    ::deep .menu-toggle-button {
        display: none;
    }

    ::deep .full-screen-menu {
        display: none !important;
    }
}

/* GRIGLIA ORDINI */
.row-tight-order-card {
    margin-bottom: 0.25rem !important; /* oppure 0 se vuoi nessuno spazio */
    margin-top: 0 !important;
}

    .row-tight-order-card > .col {
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
    }

/* CONNECTION STATUS STYLES */
.connection-status {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.connection-status.disconnected {
    background-color: #f39c12;
    color: white;
}

.connection-status.reconnecting {
    background-color: #3498db;
    color: white;
}

.connection-status.connected {
    background-color: #27ae60;
    color: white;
}

.connection-status.failed {
    background-color: #e74c3c;
    color: white;
}

.connection-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.connection-message button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
}

.connection-message button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* HOME PAGE*/
.title-section-1 
{
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--button-save);
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    text-align: center;
}
}
.shortcut-card {
    background: transparent;
    box-shadow: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 0;
}
.shortcut-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.shortcut-card i {
    color: var(--button-save);
}
.shortcut-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--button-save);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    text-align: center;
}

.calendar-icon-with-count {
    position: relative;
    display: inline-block;
    width: 4.2rem; /* aumentato */
    height: 4.2rem; /* aumentato */
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.calendar-icon-with-count i {
    color: var(--color-background-dark);
    font-size: 3.2rem;
    line-height: 4.2rem;
    vertical-align: middle;
}

.calendar-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-family: 'Cinzel', serif;
    font-size: 3.1rem;
    font-weight: bold;
    color: var(--color-secondary);
    pointer-events: none;
}
.home-appointment {
    background-color: var(--color-background-evidenced);
}
.home-appointment-group {
    max-height: 13rem; 
    overflow-y: auto;
}
.home-appointment-element {
    background-color: transparent;
    border:none;
}
.home-appointment-element:hover {
    background-color: var(--color-background-card-title);
    border: none;
}
.home-appointment-description {
    background-color: transparent;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em; /* Altezza massima per due righe di testo */
    line-height: 1.5em; /* Altezza della linea */
    width: 100%; /* Larghezza completa della cella */
}
.order-status-card {
    border: none;
    background-color: transparent;
}

.state-shape {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.state-label {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--button-save);
    text-align: center;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.state-triangle {
    width: 90px;
    height: 70px;
    position: relative;
    background: transparent;
}

    .state-triangle::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 90px;
        height: 70px;
        background: transparent;
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        background-color: #b8927a;
        z-index: 1;
    }

.state-triangle-count {
    position: absolute;
    left: 50%;
    top: 38px;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #ffd36c;
    z-index: 2;
    font-weight: 400;
}

.state-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #7a1a1a;
    position: relative;
}

.state-circle-count {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #ffd36c;
    font-weight: 400;
}

.state-square {
    width: 80px;
    height: 80px;
    background: #2d3a23;
    position: relative;
    border-radius: 6px;
}

.state-square-count {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #3ed1b6;
    font-weight: 400;
}