.activelnk {
    background-color: rgba(6, 111, 209, 0.04);
    text-decoration: none;
    color: #066fd1 !important;
}

/* Sfondo sfocato */
.modal-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.8) !important;
    /*transition: backdrop-filter 0.3s ease;*/
}

/* Stile vetro satinato */
.glassmorph {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    color: #fff;
}

/* Testo leggibile su sfondo trasparente */
.glassmorph .modal-body,
.glassmorph .modal-footer {
    background-color: transparent !important; /* Rimuove sfondo bianco */
    color: white;
}

.glassmorph .btn {
    font-weight: bold;
}

.glassmorph .modal-footer {
    border-top: none; /* rimuove l'eventuale linea divisoria */
}

.no-border {
    border: none !important;
    background-color: white;
}

.modal-content {
    position: relative; /* per ancorare la .modal-status */
    overflow: hidden;   /* ritaglia tutto ciò che esce, inclusa la linea */
    border-radius: 1rem;
}

.modal-content {
    position: relative; /* per ancorare la .modal-status */
    overflow: hidden;   /* ritaglia tutto ciò che esce, inclusa la linea */
    border-radius: 1rem;
}

.modal-status {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.big-icon {
    width: 110px !important;
    height: 110px !important;
}

.alertmsg {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 58%;  /* 50% */
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 90%;
    text-align: center;
}

.alertmsgmodal {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;  /* 50% */
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 90%;
    text-align: center;
}

.alertmsgpage {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 10%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 200px;
    max-width: 50%;
    text-align: center;
}

.alertmsgpage2 {
    position: fixed;
    bottom: -100px;
    left: 10%;
    transform: translateX(-50%);
    transition: bottom 0.5s ease;
    z-index: 9999;
    min-width: 200px;
    height: 50px;
    padding: 0 !important;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 20px !important;
}

.alertmsgpage2.show {
    bottom: 20px;
}

.custom-alert { /*non utilizzato */
    position: fixed;
    bottom: -100px;
    left: 10%;
    transform: translateX(-50%);
    transition: bottom 0.5s ease;
    z-index: 1050;

    min-width: 200px;
    height: 50px;

    display: flex;
    align-items: center;    /* centra verticalmente */
    justify-content: center; /* centra orizzontalmente */

    background-color: #28a745; /* verde tipo success */
    color: #fff;
    border-radius: 8px;
    padding: 0 20px;

    white-space: nowrap;
    overflow: hidden;

    margin-top: 20px;
}

.custom-alert.show {
    bottom: 20px;
}

/* VIDEO */

.video-wrapper {
    position: relative;
    display: flex;
}

.video-wrapper-gd {
    margin-top: 0;
    position: relative;
    display: flex;
    border-radius: 15px;
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
}

.video-wrapper-novideo {
    position: relative;
    display: flex;
}


.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    transition: opacity 0.2s ease;
    pointer-events: none; /* Non blocca il click sul video */
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

video[data-url] {
    cursor: pointer;
}

.play-icon {
    width: 64px;
    height: 64px;
}

.yt-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-elenco {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-corr {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
    aspect-ratio: 16/9;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-def {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
    aspect-ratio: 16/9;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-miei {
    width: 150px;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-cerca {
    width: 150px;
    border-radius: 4px;
}

.yt-video-gd {
    margin-top: 20px;
    width: 320px;
    border-radius: 10px;
}

.yt-video-preview {
    width: 320px;

    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-scr {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.yt-video-novideo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-top-left-radius: var(--tblr-card-inner-border-radius);
    border-top-right-radius: var(--tblr-card-inner-border-radius);
    border-bottom-left-radius: var(--tblr-card-inner-border-radius);
    border-bottom-right-radius: var(--tblr-card-inner-border-radius);
}

.video-bordered {
    border: 4px solid #ff0000; /* colore blu e spessore di 4px */
    border-radius: 8px;        /* opzionale: angoli arrotondati */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* opzionale: ombra */
}

.yt-progress-container {
    position: relative;
    width: 100%;
    height: 4px;
    cursor: pointer;
}

.yt-progress-bg {
    width: 100%;
    height: 100%;
    background-color: #555;
    border-radius: 3px;
    position: relative;
}

.yt-progress-fill {
    height: 100%;
    background-color: red;
    width: 0%; /* inizia vuota */
    border-radius: 3px;
    transition: width 0.1s linear;
}

.yt-progress-tooltip {
    position: absolute;
    bottom: 100%; /* sopra la barra */
    left: 0;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

/**/

.progressBarContainer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #969494;
    cursor: pointer;
    z-index: 2;
    display: inline;
}

.progressBar {
    height: 100%;
    width: 0%;
    background-color: red;
    position: relative;
}

.progressThumb {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 10px;
    height: 10px;
    background-color: red;
    border: 1px solid red;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.muteBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    background: rgba(110, 110, 110, 0.7);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.3);
    display: flex;
}

.muteBtnCorr {
    position: absolute;
    top: 1px;
    right: 1px;
    z-index: 3;
    width: 26px;
    height: 26px;
    background: rgba(110, 110, 110, 0.7);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.3);
    display: flex;
}

.muteBtnGd {
    position: absolute;
    top: 1px;
    right: 1px;
    z-index: 3;
    width: 24px;
    height: 24px;
    background: rgba(110, 110, 110, 0.7);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.3);
    display: flex;
}

.progressTooltip {
    position: absolute;
    bottom: 100%; /* sopra la barra */
    left: 0;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.timeRemaining {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
    /*background: rgba(110, 110, 110, 0.7);*/
    background: rgba(26, 26, 26, 0.7);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
    cursor: pointer;
    display: inline;
}

.timeRemaining-corr {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 3;
    background: rgba(26, 26, 26, 0.7);
    color: white;
    font-size: 11px;
    padding: 2px 4px;
    border-radius: 6px;
    font-family: monospace;
    cursor: pointer;
    display: inline;
}

.timeRemaining-gd {
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 3;
    background: rgba(26, 26, 26, 0.7);
    color: white;
    font-size: 9px;
    padding: 2px 4px;
    border-radius: 6px;
    font-family: monospace;
    cursor: pointer;
    display: inline;
}

.yt-fade-toggle {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.yt-fade-toggle.show {
    opacity: 1;
    visibility: visible;
}

.mioSpan {
    display: inline-block;
    margin-top: 2px;
    margin-left: 4px;
    margin-right: 4px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}

.mioSpan a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    line-height: 1.3em;
    height: 2.6em; /* 1.3em * 2 */
}

.mioSpanCorr {
    display: block;
    margin: 1px !important;
    padding: 1px !important;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.mioSpanCorr a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.3em;
    max-height: 2.6em; /* 1.3em * 2 */
}

.mioSpanCorrUser {
    display: block;
    margin: 1px !important;
    padding: 1px !important;
    font-size: 10px;
    line-height: 1;
}

.mioSpanAfter {
    display: block;
    margin: 1px !important;
    padding: 1px !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.mioSpan > a {
    color: black;
    text-decoration: none;
}

.mioSpanCorr > a {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    color: black;
    text-decoration: none;
}

.mioSpanCorrUser > a {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    color: black;
    text-decoration: none;
}

.mioSpanAfterUser {
    display: block;
    margin-top: 15px;
    padding: 1px !important;
    font-size: 12px;
    line-height: 1;
}

.mioSpanAfter > a {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    color: black;
    text-decoration: none;
}

.mioSpanAfterUser > a {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    color: black;
    text-decoration: none;
}

.mioSpanDef {
    display: inline-block;
    margin-top: 2px;
    margin-bottom: 16px;
    font-weight: bold;
    line-height: 1.2;
}

.mioSpanDef > a {
    color: black;
    text-decoration: none;
}

/* Cerca Video */

.cercaSpanTitolo {
    display: block;
    margin-left: 10px !important;
    padding: 1px !important;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

.cercaSpanUtente {
    display: block;
    margin-top: 5px;
    margin-left: 10px !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    color: #606060;
}

.cercaSpanDescrizione {
    display: block;
    margin-top: 20px;
    margin-left: 10px !important;
    padding: 1px !important;
    font-size: 14px;
    line-height: 1;
}

.rigavideo.ridotta {
    transform: scale(0.90);
    transition: transform 0.2s ease;
}

.rigavideo {
    transition: transform 0.2s ease;
}

.iconaselezione {
    width: 24px;
    height: 24px;
    display: none;
}

.rigavideo.ridotta .iconaselezione {
    display: block;
}

.separator-line {
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
    width: 100%;
}

.centered-message {
    display: flex;
    flex-direction: column;      /* Disporre i <span> su righe diverse */
    align-items: center;         /* Centrare orizzontalmente */
    justify-content: center;     /* Centrare verticalmente */
    text-align: center;          /* Centrare il testo */
    height: 400px;               /* Altezza del contenitore, es. tutta la pagina */
}

/* fine */

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, #ccc 25%, #ddd 50%, #ccc 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

#videoplay, #videoplaymod {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#overlayvideoplay, #overlayvideoplaymod {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
}

#overlayvideoplay:hover {
    background: rgba(0, 0, 0, 0.8);
}

#overlayvideoplaymod:hover {
    background: rgba(0, 0, 0, 0.8);
}

.iconvideoplay {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bg-hover-gray:hover {
    background-color: #e0e0e0; /* Grigio chiaro */
}

.viewafter {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    background: rgba(110, 110, 110, 0.5);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.3);
    display: flex;
    opacity: 1;
    visibility: visible;
    color: white;
}

.viewaftercorr {
    position: absolute;
    bottom: 2px;
    left: 2px;
    color: white;
}

.viewafter:hover {
    color: white;
}

.playlisticon {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 3;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    display: flex;
    opacity: 1;
    visibility: visible;
    color: white;
}

.playlisticoncorr {
    position: absolute;
    top: 1px;
    left: 2px;
}

.playlisticongd {
    position: absolute;
    top: 1px;
    left: 2px;
}

.playlisticon:hover {
    color: white;
}

/* File Input Upload */

/* Ridimensiona il contenitore del widget */
.file-input {
    width: 100%;
    max-width: 100%;
}

/* Ridimensiona l'area di anteprima dei file */
.file-preview {
    max-height: 200px;
    overflow-y: auto;
}

/* Rende coerente lo stile con Tabler */
.file-caption {
    height: auto;
    min-height: 38px;
}

/* Riduce dimensione bottoni se desideri */
.fileinput-remove-button,
.fileinput-upload-button {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Tags */

.tag-container {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    min-height: 40px;
    cursor: text;
}

.tag {
    margin: 0.25rem; /* margin attuale */
}

.overlayvideodeleted {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
    border-radius: 6px;
}

.overlayvideoprv {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
    border-radius: 6px;
}

.overlayvideodeleted-gd {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
    border-radius: 6px;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Pagina utente */

.page-image {
    margin-right: 5px;
    margin-left: 10px;
    max-width: 100%;
    height: 200px;
    padding: 10px;
    border-radius: 20px;
}

.avatarpage-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.avatarpage-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.titolopagina {
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 20pt;
    font-weight: bold;
    letter-spacing: -0.5px;
    transform: scaleY(1.1);
}

.input-underline {
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    padding: 4px 0;
    width: 100%;
    background: transparent;
    font-size: 1rem;
}

.textarea-commenti {
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    padding: 4px 0;
    width: 100%;
    min-height: 1.2em;
    overflow: hidden;
    resize: none;
    line-height: 1.2em;
    background: transparent;
    font-size: 1rem;
}

.icon-row {
    display: flex;
    gap: 16px; /* distanza tra le icone, puoi aumentare o diminuire */
    align-items: center;
}

.icon-label {
    margin-left: 6px; /* o 8px, 10px, a piacere */
}

.chat-bubble,
.chat-bubble-title,
.chat-bubble-body,
.chat-bubble .row {
    /*line-height: 0.2;
    margin: 0;
    padding: 0.2rem 0;*/
    background-color: #f9fafb !important;
}

.chat-bubble {
    padding: 2px !important;
}

.chat-bubble-title {
    padding: 0 !important;
    margin: 0 !important;
}

.chat-item {
    margin-bottom: 5px !important;
}

.chat-bubble-body {
    margin-top: -2px !important;
}

.hover-pill {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s, padding 0.3s;
    cursor: pointer;
    color: #2a2ae8;
    font-weight: bold;
}

.hover-pill:hover {
    background-color: #e0e0e0; /* Grigio chiaro */
}

.infoVd {
    background-color: #ececec;
    border-radius: 8px;
    padding: 10px 10px;
    color: #000;
    display: inline-block;
    margin-top: 12px;
    line-height: 1.4;
}

.sidemenu {
    width: 250px;
    transition: transform 0.3s ease;
    transform: translateX(0);
    position: relative; /* o absolute, a seconda del layout */
    z-index: 10;
}

.sidemenu-hidden {
    transform: translateX(-100%);
}

.page-wrapper {
    transition: margin-left 0.3s ease;
    margin-left: 250px;
}

.page-wrapper-full {
    margin-left: 0 !important;
}

.divListBan {
    padding: 4px !important;
}

.divListBanVt {
    padding: 16px !important;
}

.guardadopodiv {
    background-color: #3a6e90;
    height: 100vh;
    border-radius: 15px;
    padding-top: 20px;
    width: 350px;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 8px; /* spazio tra icona e testo */
}

/* gd */

.cardhover {
    padding: 8px;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.cardhover:hover {
    background-color: #f0f0f0;
}

.menugd {
    display: none;
}

.cardhover:hover .menugd {
    display: flex;
}

.listgd .col-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-menu-gd {
    position: fixed !important;
    top: 100px; /* o calcolato via JS */
    left: 200px;
    z-index: 1050;
}

/* pagina iscrizioni */
.action-button {
    padding: 6px 12px;
    border-radius: 999px; /* ovale */
    transition: background-color 0.2s;
    cursor: pointer;
}

.action-button:hover {
    background-color: #d8eafc; /* colore di sfondo al passaggio */
}

.action-icon {
    padding: 4px 6px;
    border-radius: 100%; /* ovale */
    transition: background-color 0.2s;
    cursor: pointer;
}

.action-icon:hover {
    background-color: #d8eafc; /* colore di sfondo al passaggio */
}

/* pagina cron */
.actioncron-button {
    padding: 6px 12px;
    border-radius: 999px; /* ovale */
    transition: background-color 0.2s;
    cursor: pointer;
}

.actioncron-button:hover {
    background-color: #d3d3d3; /* colore di sfondo al passaggio */
}

.input-ricerca {
    border: none;
    outline: none;
    width: 80%;
    background: transparent;
    font-size: 14px;
}

/* tooltip */

.tooltip-custom {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-custom .tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 200px;
    background-color: rgba(122, 122, 122, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 8px;
    position: absolute;
    z-index: 1;
    top: 150%; /* sopra il testo */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    white-space: pre-line;
}

.tooltip-custom:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.bg-light {
    background-color: #e3e3e3 !important;
}

.bg-light:hover {
    background-color: #cccccc !important;
    transition: all 0.3s ease;
}

/* notifiche */

#listanotifiche {
    max-height: 400px; /* Altezza massima che preferisci */
    overflow-y: auto;  /* Abilita lo scroll verticale */
}

/* messaggi */
#listmessage {
    max-height: 800px; /* Altezza massima che preferisci */
    overflow-y: auto;  /* Abilita lo scroll verticale */
}
