﻿/*pino tuzzolino*/

/* non modificare colori qui, css base del template, poi customizzare tuo css nel color-profile "site.css"*/

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* o 100dvh se vuoi */
    margin: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


#content {
    width: 100%;
    padding: 20px;
    padding-left: 0px;
    padding-right: 0px;
    min-height: 90vh;
    transition: all 0.3s;
    overflow: hidden;
}

footer.container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #245397;
    color: white;
    border-top: 1px solid #fba341;
    box-sizing: border-box;
    font-size: 14px;
}


.wrapper {
    display: flex;
    align-items: stretch;
    display: flex;
    width: 100%;
    flex-grow: 1; /* prende tutta l’altezza residua per il contenuto */
}

main, #content, .wrapper {
    flex-grow: 1; /* prende tutto lo spazio disponibile */
    /* togli eventuali min-height: 100vh da #content o altri contenitori */
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

.loadingInput {
    background-image: url('loading_images/loading.gif');
    background-color: #ffffff;
    background-size: 25px 25px;
    background-position: right center;
    background-repeat: no-repeat;
}

/* CONTENT STYLE ----------------------------------------------------- */


@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.blurFilter_2px {
    backdrop-filter: blur(2px);
    filter: blur(2px);
}

.pdfobject-container {
    width: 800px;
    height: 300px;
    margin: auto;
}

.pdfobject {
    border: solid 1px #666;
}

.fixed-table-header thead,
.fixed-table-footer tfoot {
    position: sticky;
}

.fixed-table-header thead {
    inset-block-start: 0; /* "top" */
}

.fixed-table-footer tfoot {
    inset-block-end: 0; /* "bottom" */
}

.doubleunderline {
    text-decoration-line: underline;
    text-decoration-style: double;
}

.form-control {
    width: 100%;
    min-width: 100%;
}

.form-control {
    width: 100% !important;
}

.form-group {
    margin-bottom: 15px
}

.content {
    width: 100%;
    padding-bottom: 40px;
    display: table
}

.dl-horizontal dt {
    white-space: normal;
}

.disabled {
    pointer-events: none;
    color: #AAA;
    background: #F5F5F5;
    cursor: not-allowed;
}

.fa-1_5x {
    font-size: 1.5em;
}

.faicon {
    padding-right: 5px;
    text-decoration: none;
}

.blockquote {
    font-size: 1em;
}

[type=reset], [type=submit], button, html [type=button] {
    cursor: pointer;
}

.marginMenuIcon {
    margin-right: 10px;
}

.wrapText {
    word-wrap: break-word;
}


/* badge */

.badge {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.375rem;
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
}

    .badge:empty {
        display: none;
    }

.btn .badge {
    position: relative;
    top: -1px;
}


a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #sidebarCollapse span {
        display: none;
    }
}



#sidebar ul li.active > a,
a[aria-expanded="true"] {
}

a[data-toggle="collapse"] {
    position: relative;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
}



.row.equal-cols {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .row.equal-cols:before,
    .row.equal-cols:after {
        display: block;
    }

    .row.equal-cols > [class*='col-'] {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

        .row.equal-cols > [class*='col-'] > * {
            -webkit-flex: 1 1 auto;
            -ms-flex: 1 1 auto;
            flex: 1 1 auto;
        }


.tab-content {
    line-height: 25px;
    border-top: 5px solid;
    padding: 30px 25px;
}

.tab-content {
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-top-color: #082c45;
}



/* custom file upload */
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 2.5rem;
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 2.5rem;
    margin: 0;
    opacity: 0; /* Nasconde l’input */
    cursor: pointer;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    user-select: none;
}

    /* Pulsante "Sfoglia" più evidente */
    .custom-file-label::after {
        content: "Sfoglia";
        position: absolute;
        top: 0;
        right: 0;
        height: 2.5rem;
        padding: 0 1.2rem;
        background-color: #007bff; /* blu Bootstrap */
        color: white;
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
        border-left: 1px solid #0069d9;
        font-weight: 600;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        user-select: none;
    }

    /* Hover sul pulsante */
    .custom-file-input:hover ~ .custom-file-label::after,
    .custom-file-label:hover::after {
        background-color: #0056b3;
        border-left-color: #004085;
    }

/* Focus input file: evidenzia bordo */
.custom-file-input:focus ~ .custom-file-label {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

a.link-black {
    color: black;
    text-decoration: underline;
}

    a.link-black:hover {
        color: #565857;
        text-decoration: none;
    }


.bg-light-gray {
    --bs-bg-opacity: 1;
    background-color: #fbfbfb !important;
}

.control-label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* login registrazione e change password*/

.email-confirmation-container {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f9fc;
    padding: 2rem; /* per un po’ di spazio */
}

.email-confirmation-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
}

    .email-confirmation-box h2 {
        font-weight: 600;
    }

    .email-confirmation-box .alert {
        border-radius: 12px;
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }


.login-container {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f9fc;
    padding: 2rem; /* per un po’ di spazio */
}

.login-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 500px;
}

    .login-box h4 {
        font-weight: 600;
        color: #333;
    }

    .login-box .form-control {
        border-radius: 8px;
        padding: 0.75rem 1rem;
    }

    .login-box .btn {
        border-radius: 8px;
        padding: 0.75rem;
    }


.reset-container {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f9fc;
    padding: 2rem; /* per un po’ di spazio */
}

.reset-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
}

    .reset-box h4 {
        font-weight: 600;
        color: #333;
    }

    .reset-box .form-control {
        border-radius: 8px;
        padding: 0.75rem 1rem;
    }

    .reset-box .btn {
        border-radius: 8px;
        padding: 0.6rem 1.2rem;
    }

/*end */



.dropdown-menu-gray {
    --bs-dropdown-color: #8a8c8e;
    --bs-dropdown-bg: #b6b8b9;
    --bs-dropdown-border-color: var( --bs-border-color-translucent);
    --bs-dropdown-link-color: black !important;
    --bs-dropdown-link-hover-color: black !important;
    --bs-dropdown-divider-bg: var( --bs-border-color-translucent);
    --bs-dropdown-link-hover-bg: #808588 !important;
    --bs-dropdown-link-active-color: #fff !important;
    --bs-dropdown-link-active-bg: #808588 !important;
    --bs-dropdown-link-disabled-color: #adb5bd;
    --bs-dropdown-header-color: #adb5bd;
}

.dropdown-menu-blue {
    --bs-dropdown-color: #dee2e6;
    --bs-dropdown-bg: #082c45;
    --bs-dropdown-border-color: var( --bs-border-color-translucent);
    --bs-dropdown-link-color: #dee2e6;
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-divider-bg: var( --bs-border-color-translucent);
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #0d6efd;
    --bs-dropdown-link-disabled-color: #adb5bd;
    --bs-dropdown-header-color: #adb5bd;
}

.dropdown-menu-verde {
    --bs-dropdown-color: #dee2e6;
    --bs-dropdown-bg: #084b26;
    --bs-dropdown-border-color: var( --bs-border-color-translucent);
    --bs-dropdown-link-color: #dee2e6;
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-divider-bg: var( --bs-border-color-translucent);
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #0d6efd;
    --bs-dropdown-link-disabled-color: #adb5bd;
    --bs-dropdown-header-color: #adb5bd;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none !important;
    transition: all 0.3s;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 300px;
    max-width: 300px;
    transition: all 0.3s;
    border-right: 1px solid #097132;
    background-color: #f8f7f7;
}

    #sidebar .sidebar-header {
        padding: 20px;
        padding-bottom: 10px;
        padding-top: 5px;
        border-bottom: 1px solid #808080;
    }

    #sidebar.active {
        margin-left: -300px;
    }

    #sidebar ul.components {
        border-bottom: 1px solid #666;
    }

    #sidebar ul p {
        /*        color: #fff;
*/ padding: 10px;
    }

    #sidebar ul li a {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        /*padding: 10px;*/
        /*font-size: 1.1em;*/
        display: block;
        font-size: 16px;
    }

        #sidebar ul li a:hover {
            color: white;
            background: #212529;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        /*         color: #fff;
       background: #6d7fcc;
*/
    }

a[data-toggle="collapse"] {
    position: relative;
}

#sidebar {
    border-right: 1px solid #212529;
}

    #sidebar .sidebar-header {
        border-bottom: 1px solid #212529;
    }

/*--------------------------------------------------------*/


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: white;
    background-color: #245397;
}

.nav-pills .nav-link {
    color: #082c45;
    border-top: 1px solid #adb5bd;
    border-left: 1px solid #adb5bd;
    border-right: 1px solid #adb5bd;
}

/*--------------------------------------------------------*/



.nav-link {
    color: white;
}

    .nav-link:hover {
        color: #245397;
    }

    .nav-link:active {
        color: white !important;
    }

    .nav-link:focus {
        color: white;
    }

.navmenu > .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: white;
}

#sidebar {
    width: 300px;
    transition: margin-left 0.3s ease;
    background-color: #f8f7f7;
    border-right: 1px solid #212529;
}

    #sidebar.active {
        margin-left: -300px; /* nasconde sidebar */
    }

#content {
    flex-grow: 1;
    transition: margin-left 0.3s ease;
}

    /* Il menù orizzontale dentro content */
    #content > nav {
        width: 100%;
    }

    #content.fullwidth {
        margin-left: 0;
        width: 100%;
    }

.nav-tabs .nav-link {
    color: #495057; /* testo tab normale */
    background-color: #fff; /* sfondo */
    border: 1px solid #dee2e6;
    border-bottom-color: transparent;
}

    .nav-tabs .nav-link.active {
        color: #212529;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff; /* bordo inferiore bianco per evidenziare active */
    }

    .nav-tabs .nav-link.disabled {
        color: #6c757d;
        pointer-events: none;
        cursor: not-allowed;
        background-color: #e9ecef;
    }

label {
    font-weight: bold;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
}

    .bd-callout h4 {
        margin-top: 0;
        margin-bottom: .25rem;
    }

    .bd-callout p:last-child {
        margin-bottom: 0;
    }

    .bd-callout code {
        border-radius: .25rem;
    }

    .bd-callout + .bd-callout {
        margin-top: -.25rem;
    }


.bd-callout-primary {
    --bd-callout-color: var(--bs-primary-text-emphasis);
    --bd-callout-bg: var(--bs-primary-bg-subtle);
    --bd-callout-border-color: var(--bs-primary-border-subtle);
}

.bd-callout-secondary {
    --bd-callout-color: var(--bs-secondary-text-emphasis);
    --bd-callout-bg: var(--bs-secondary-bg-subtle);
    --bd-callout-border-color: var(--bs-secondary-border-subtle);
}

.bd-callout-success {
    --bd-callout-color: var(--bs-success-text-emphasis);
    --bd-callout-bg: var(--bs-success-bg-subtle);
    --bd-callout-border-color: var(--bs-success-border-subtle);
}

.bd-callout-info {
    --bd-callout-color: var(--bs-info-text-emphasis);
    --bd-callout-bg: var(--bs-info-bg-subtle);
    --bd-callout-border-color: var(--bs-info-border-subtle);
}

.bd-callout-warning {
    --bd-callout-color: var(--bs-warning-text-emphasis);
    --bd-callout-bg: var(--bs-warning-bg-subtle);
    --bd-callout-border-color: var(--bs-warning-border-subtle);
}

.bd-callout-danger {
    --bd-callout-color: var(--bs-danger-text-emphasis);
    --bd-callout-bg: var(--bs-danger-bg-subtle);
    --bd-callout-border-color: var(--bs-danger-border-subtle);
}

.bd-callout-light {
    --bd-callout-color: var(--bs-light-text-emphasis);
    --bd-callout-bg: var(--bs-light-bg-subtle);
    --bd-callout-border-color: var(--bs-light-border-subtle);
}

.bd-callout-dark {
    --bd-callout-color: var(--bs-dark-text-emphasis);
    --bd-callout-bg: var(--bs-dark-bg-subtle);
    --bd-callout-border-color: var(--bs-dark-border-subtle);
}

/* Applica le variabili */
.bd-callout {
    color: var(--bd-callout-color);
    background-color: var(--bd-callout-bg);
    border-left: 0.25rem solid var(--bd-callout-border-color);
    padding: 1rem;
    border-radius: 0.25rem;
}

/* Base animazione per tutte le icone */
.animated-icon {
    display: inline-block;
    transform: scale(0);
    opacity: 0;
    animation: icon-pop 0.8s forwards;
    vertical-align: middle;
    font-size: 1.5em; /* default dimensione */
}

/* Pop + rimbalzo + bagliore */
@keyframes icon-pop {
    0% {
        transform: scale(0);
        opacity: 0;
        text-shadow: 0 0 0 rgba(0,0,0,0);
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Colori e bagliore più leggeri per tipo */
.animated-success {
    color: #28a745;
    text-shadow: 0 0 5px rgba(40,167,69,0.6);
    font-size: 2em; /* leggermente più grande */
}

.animated-error {
    color: #dc3545;
    text-shadow: 0 0 5px rgba(220,53,69,0.6);
    font-size: 2em; /* leggermente più grande */
}

.animated-warning {
    color: #e06719;
    text-shadow: 0 0 5px rgba(255,193,7,0.6);
}

.animated-info {
    color: #17a2b8;
    text-shadow: 0 0 5px rgba(23,162,184,0.6);
}

.animated-question {
    color: #17a2b8;
    text-shadow: 0 0 5px rgba(23,162,184,0.6);
}

/* Piccola regolazione delle dimensioni per icone generiche */
.animated-icon-small {
    font-size: 1.5em;
}

.animated-icon-medium {
    font-size: 1.75em;
}

.animated-icon-large {
    font-size: 2em;
}

/* Mantieni l’icona visibile sempre dopo l’animazione */
.animated-icon:after {
    content: '';
    display: block;
    transform: scale(1);
    opacity: 1;
}

code {
    color: mediumvioletred;
}

pre code {
    color: mediumvioletred;
}

.list-group-item:hover {
    background-color: #efefef;
    /*cursor: pointer;*/ /* opzionale */
}

.swal2-container {
    z-index: 9999 !important;
}

/* Spinner dentro l'input con immagine */
.input-loading {
    background: no-repeat right 2.5rem center;
    background-size: 1rem 1rem;
    padding-right: 3rem !important;
    background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'> <circle cx='50' cy='50' r='40' stroke='%236c757d' stroke-width='10' fill='none' stroke-linecap='round' stroke-dasharray='62.8 188.4'> <animateTransform attributeName='transform' type='rotate' dur='1s' repeatCount='indefinite' from='0 50 50' to='360 50 50'/> </circle> </svg>");
}

/* Chrome, Edge, Safari */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* Firefox */
input[type="search"]::-moz-search-clear {
    display: none;
}

input:not([type]) {
    display: none !important;
}


.chart-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

    .chart-fade-in.show {
        opacity: 1;
    }

.chart-taghelper-wrapper {
    position: relative;
}

.chart-loading {
    display: flex;
    flex-direction: column;
    justify-content: center; /* verticalmente */
    align-items: center; /* orizzontalmente */
    color: #6c757d;
    width: 100%;
    text-align: center;
}

/*Animazione di un gradiente (che “pensa” da sinistra a destra)*/
.mind {
    width: inherit;
    height: inherit;
    background: linear-gradient(90deg, #f44336, #4caf50, #2196f3, #9c27b0, #f44336); /* rosso, verde, blu, viola, rosso */
    background-size: 400%;
    animation: thinkingFlow 6s linear infinite;
}

@keyframes thinkingFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}


/* Badge grigetto animato leggero */
.mind-text {
    font-weight: bold;
    color: #333; /* colore base del testo */
    position: relative;
    overflow: hidden;
}

    .mind-text::after {
        content: '';
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0));
        transform: skewX(-20deg);
        animation: shine 2s infinite;
    }

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}


.mind-text-2 {
    font-weight: bold;
    color: #333; /* colore base del testo */
    position: relative;
    display: inline-block;
    overflow: hidden;
}

    .mind-text::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
        animation: shine-2 2s linear infinite;
    }

@keyframes shine-2 {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

.mind-text-3 {
    font-weight: bold;
    color: #333; /* colore base del testo */
    position: relative;
    display: inline-block;
    overflow: hidden;
    background: linear-gradient(90deg, #333 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease; /* per effetto hover */
}

    .mind-text-3::before {
        content: '';
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
        transform: skewX(-20deg);
        animation: shine-3 2s linear infinite;
    }

    .mind-text-3:hover {
        -webkit-text-fill-color: #333; /* mostra testo pieno al passaggio del mouse */
        color: #333; /* fallback */
        background: none; /* rimuove gradient shine se necessario */
    }

@keyframes shine-3 {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}


/*Testo che appare da sinistra verso destra (typing / reveal)*/
.typing {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid currentColor;
    max-width: inherit; /* larghezza massima stimata */
    width: 0;
    animation: typing 4s steps(40, end) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
    /* si anima fino a max-width */
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/*Animazione di movimento (un elemento che si sposta da sinistra a destra)*/
.thinking {
    width: 50px;
    height: 50px;
    background: dodgerblue;
    border-radius: 50%;
    position: relative;
    animation: moveLeftRight 3s ease-in-out infinite alternate;
}

@keyframes moveLeftRight {
    from {
        left: 0;
    }

    to {
        left: 200px;
    }
}

.mind-text-4 {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    padding-top: 5px; /* spazio per la linea sopra */
}

    /* Linea sopra che scorre da sinistra a destra */
    .mind-text-4::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%; /* parte fuori a sinistra */
        width: 100%;
        height: 3px; /* altezza della linea */
        background: linear-gradient(90deg, transparent, #ffc107, transparent);
        animation: slideLine 2s linear infinite;
    }

@keyframes slideLine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/*.mind-text-4 {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    padding-top: 5px;*/ /* spazio per la linea sopra */
    /* Effetto “pensiero” sul testo */
    /*background: linear-gradient(90deg, #333, #ffc107, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite;
}*/

    /* Linea sopra che scorre da sinistra a destra */
    /*.mind-text-4::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #ffc107, transparent);
        animation: slideLine 2s linear infinite;
    }

@keyframes slideLine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes textGlow {
    0% {
        background-position: 0% 50%;
        filter: blur(0px);
    }

    50% {
        background-position: 100% 50%;
        filter: blur(1px);
    }

    100% {
        background-position: 0% 50%;
        filter: blur(0px);
    }
}*/
