:root {
            --unime-blue: #68949f;
            --unime-light-blue: #0066cc;
            --unime-gold: #c5a572;
            --unime-dark: #1a1a1a;
            --unime-gray: #5c6f82;
            --unime-footer-blue: #004871;
            --unime-header-blue: #006ec0;
        }
        
        body {
            font-family: 'Titillium Web', 'Helvetica Neue', Helvetica, Arial, sans-serif;
            display: flex;
            flex-direction: column;
            min-height: 100vh; /* Altezza pari alla viewport */
            margin: 0;
        }
        
        .bg-unime-blue {
            background-color: var(--unime-blue) !important;
        }
        
        .bg-unime-light {
            background-color: var(--unime-light-blue) !important;
        }
        
        .text-unime-gold {
            color: var(--unime-gold) !important;
        }
        
        .hero-section {
            background: linear-gradient(135deg, var(--unime-header-blue) 0%, var(--unime-light-blue) 100%);
            color: white;
            padding: 80px 0;
            margin-bottom: 60px;
        }
        
        .hero-section h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .hero-section p {
            font-size: 1.3rem;
            opacity: 0.95;
        }

        .container.mb-5 {
            margin-bottom: 5rem !important;
            margin-top: 5rem !important;
        }
        
        .access-card {
            border: none;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 61, 122, 0.1);
            transition: all 0.3s ease;
            height: 100%;
            overflow: hidden;
        }
        
        .access-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0, 61, 122, 0.2);
        }
        
        .card-header-custom {
            background: var(--unime-blue);
            color: white;
            padding: 30px;
            text-align: center;
        }
        
        .card-header-custom.admin {
            background: var(--unime-light-blue);
        }
        
        .card-header-custom h3 {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .card-icon {
            font-size: 4rem;
            margin-bottom: 15px;
            opacity: 0.9;
        }
        
        .card-body-custom {
            padding: 40px 30px;
        }
        
        .btn-unime {
            background-color: var(--unime-blue);
            border: none;
            color: white;
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 4px;
            transition: all 0.3s;
            width: 100%;
            margin-top: 20px;
        }
        
        .btn-unime:hover {
            background-color: var(--unime-light-blue);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
        }

        .btn-unime-dashboard {
            background-color: var(--unime-light-blue);
           
        }

        .btn-unime-ricerca {
            background-color: var(--unime-blue);
           
        }

        .btn-unime-ricerca:hover {
            background-color: var(--unime-blue);
           
        }
        
        .features-list {
            list-style: none;
            padding: 0;
            margin: 25px 0;
        }
        
        .features-list li {
            padding: 12px 0;
            font-size: 1.05rem;
            color: var(--unime-gray);
            border-bottom: 1px solid #e9ecef;
        }
        
        .features-list li:last-child {
            border-bottom: none;
        }
        
        .features-list li i {
            color: var(--unime-light-blue);
            margin-right: 12px;
            font-weight: bold;
        }
        
               
        .navbar-unime {
            background-color: var(--unime-header-blue) !important;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .navbar-unime .nav-link {
            border-bottom: 2px solid transparent;
            transition: border-color 0.3s ease;
        }

        .navbar-unime .nav-link:hover {
            border-bottom-color: white;
            color: white !important;
        }

        .nav-item .btn {
            background: var(--unime-header-blue);
            transition: background 0.3s ease;
        }
        
        .nav-item .btn:hover {
            background: var(--unime-light-blue);
        }
        
        .nav-item .btn:focus {
            box-shadow: 0 0 0 0.2rem rgba(0, 110, 192, 0.25);
        }
        
        .nav-item .btn:active {
            background: var(--unime-light-blue);
        }
        
        .navbar-brand-unime {
            color: white !important;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .nav-link {
            color: white !important;
            font-weight: 600;
            font-family: 'Titillium Web', sans-serif;
            margin-right: 20px;
            transition: color 0.3s;
        }

        .nav-link-evento{
            color: rgb(0, 0, 0) !important;
            
        }

        .unime-logo {
            height: 50%;
            width: 50%;
        }
        .login-container {
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
        }

        .login-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 61, 122, 0.15);
            overflow: hidden;
            max-width: 900px;
            width: 100%;
        }

        .login-header {
            background: linear-gradient(135deg, var(--unime-blue) 0%, var(--unime-light-blue) 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
        }

        .login-header h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .login-header .icon-lock {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.9;
        }

        .login-body {
            padding: 50px 40px;
        }

        /*.form-group {
            margin-bottom: 25px;
        }*/

        .form-label {
            font-weight: 600;
            color: var(--unime-blue);
            margin-bottom: 8px;
        }

        /*.form-control {
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 12px 15px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--unime-light-blue);
            box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
        }*/

        .input-group-icon {
            position: relative;
        }

        .input-group-icon .icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--unime-gray);
            z-index: 10;
        }

        .input-group-icon .form-control {
            padding-left: 45px;
        }

        @media (max-width: 768px) {
            .input-with-buttons {
                flex-direction: column;
            }
            .input-group-append {
                width: 100%;
            }
            .input-group-append .btn {
                border-radius: 0 !important;
            }

            .btn{
                padding: inherit !important;
            }
        }

        .btn-login {
            background: linear-gradient(135deg, var(--unime-blue) 0%, var(--unime-light-blue) 100%);
            border: none;
            color: white;
            padding: 15px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
            width: 100%;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 61, 122, 0.3);
            color: white;
        }

        .alert-login {
            border-radius: 8px;
            border-left: 4px solid;
            padding: 15px 20px;
            margin-bottom: 25px;
        }

        .alert-login.alert-danger {
            background-color: #fff5f5;
            border-left-color: #dc3545;
            color: #721c24;
        }

        .login-footer {
            text-align: center;
            margin-top: 30px;
            padding-top: 25px;
            border-top: 2px solid #f0f0f0;
        }

        .login-footer a {
            color: var(--unime-light-blue);
            text-decoration: none;
            font-weight: 600;
        }

        .login-footer a:hover {
            text-decoration: underline;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-check-input:checked {
            background-color: var(--unime-light-blue);
            border-color: var(--unime-light-blue);
        }

        .info-box {
            background: #f8f9fa;
            border-left: 4px solid var(--unime-light-blue);
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
        }

        .info-box h5 {
            color: var(--unime-blue);
            margin-bottom: 10px;
        }

        .info-box ul {
            margin-bottom: 0;
            padding-left: 20px;
        }

        .info-box li {
            color: var(--unime-gray);
            margin-bottom: 5px;
        }

        .search-hero {
            background: white;
            color: black;
            padding: 20px;
        }
        
        .search-box {
            max-width: 800px;
            margin: 30px auto 0;
        }
        
        .search-input-group {
            position: relative;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }
        
        .search-input {
            border: none;
            padding: 20px 60px 20px 25px;
            font-size: 1.1rem;
            border-radius: 50px;
        }
        
        .search-input:focus {
            box-shadow: 0 0 0 0.3rem rgba(255, 255, 255, 0.3);
        }
        
        .search-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--unime-blue);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            color: white;
            transition: all 0.3s;
            pointer-events: none;
        }
        
        .search-loading {
            position: absolute;
            right: 70px;
            top: 50%;
            transform: translateY(-50%);
            display: none;
        }
        
        .search-loading.active {
            display: block;
        }
        
        .spinner {
            border: 3px solid rgba(0, 102, 204, 0.2);
            border-top: 3px solid var(--unime-light-blue);
            border-radius: 50%;
            width: 25px;
            height: 25px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .results-header {
            background: white;
            border-bottom: 2px solid #f0f0f0;
            margin-bottom: 30px;
        }
        
                
        .login-card {
            max-width: 500px;
            width: 100%;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .login-header {
            background: linear-gradient(135deg, var(--unime-blue) 0%, var(--unime-light-blue) 100%);
            color: white;
            padding: 40px;
            text-align: center;
        }
        
        .login-body {
            padding: 40px;
        }
        
        .btn-microsoft {
            background: #0078d4;
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: all 0.3s;
        }
        
        .btn-microsoft:hover {
            background: #005a9e;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 120, 212, 0.3);
        }
        
        .microsoft-icon {
            width: 24px;
            height: 24px;
        }
        
        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }
        
        .divider::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #ddd;
        }
        
        .divider span {
            background: white;
            padding: 0 15px;
            position: relative;
            color: #999;
            font-size: 0.9rem;
        }

        /* Pulsante con icona Microsoft */
        .btn-unime svg {
            display: inline-block;
            vertical-align: middle;
        }

        .btn-unime:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
        }

        

            /* ==========================================
            PULSANTE MICROSOFT TEAMS
            ========================================== */

            .btn-teams {
                background: linear-gradient(135deg, #5558AF 0%, #464EB8 100%) !important;
                border: none !important;
                color: white !important;
                font-weight: 600;
                font-size: 1.1rem;
                padding: 0.875rem 1.5rem;
                border-radius: 8px;
                transition: all 0.3s ease;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                box-shadow: 0 4px 15px rgba(85, 88, 175, 0.35);
                text-decoration: none !important;
            }

            .btn-teams:hover {
                background: linear-gradient(135deg, #464EB8 0%, #3d45a0 100%) !important;
                color: white !important;
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(85, 88, 175, 0.45);
            }

            .btn-teams:active,
            .btn-teams:focus {
                background: linear-gradient(135deg, #3d45a0 0%, #5558AF 100%) !important;
                color: white !important;
                transform: translateY(0);
                box-shadow: 0 2px 10px rgba(85, 88, 175, 0.35);
            }

            .teams-logo {
                flex-shrink: 0;
            }

            
            /* ============================================
            FOOTER UNIME
            ============================================ */

            .footer-unime {
                background-color: #1a3a5c;
                color: #ffffff;
                margin-top: auto;
            }

            /* ─── Sezione principale ─────────────────────── */
            .footer-main {
                padding: 2.5rem 0 2rem;
            }

            .footer-col {
                padding: 0.75rem 1rem;
            }

            .footer-col-center {
                border-left: 1px solid rgba(255, 255, 255, 0.15);
                border-right: 1px solid rgba(255, 255, 255, 0.15);
            }

            .footer-col-right {
                display: flex;
                align-items: flex-start;
                justify-content: left;
            }

            /* ─── Brand (logo + testo) ───────────────────── */
            .footer-brand {
                display: flex;
                flex-direction: column;   /* ← verticale invece di row */
                align-items: flex-start;
                gap: 0.75rem;
                
            }

            .footer-logo-unime {
                width: 200px;
                height: auto;
                flex-shrink: 0;
                filter: brightness(0) invert(1); /* Forza bianco se logo è scuro */
            }

            .footer-logo-ciam {
                width: 120px;
                height: auto;
                flex-shrink: 0;
            }

            .footer-brand-text {
                display: flex;
                flex-direction: column;
                gap: 0.35rem;
                font-size: 0.875rem;
                line-height: 1.4;
                color: #ffffff;
            }

            .footer-brand-text strong {
                font-weight: 600;
                font-size: 0.9rem;
            }

            /* ─── Link footer ────────────────────────────── */
            .footer-link {
                color: rgba(255, 255, 255, 0.75);
                text-decoration: underline;
                font-size: 0.82rem;
                transition: color 0.2s ease;
            }

            .footer-link:hover,
            .footer-link:focus {
                color: #ffffff;
                text-decoration: underline;
                outline: 2px solid rgba(255, 255, 255, 0.6);
                outline-offset: 2px;
                border-radius: 2px;
            }

            /* ─── Link supporto ──────────────────────────── */
            .footer-support-link {
                display: inline-flex;
                align-items: center;
                gap: 0.35rem;
                color: rgba(255, 255, 255, 0.85);
                text-decoration: underline;
                font-size: 0.9rem;
                transition: color 0.2s ease;
                padding: 0.25rem 0;
            }

            .footer-support-link:hover,
            .footer-support-link:focus {
                color: #ffffff;
                outline: 2px solid rgba(255, 255, 255, 0.6);
                outline-offset: 2px;
                border-radius: 2px;
            }

            .footer-support-link .icon {
                fill: currentColor;
                width: 1rem;
                height: 1rem;
            }

            /* ─── Divider ────────────────────────────────── */
            .footer-divider {
                border-top: 1px solid rgba(255, 255, 255, 0.2);
                margin: 0 1.5rem;
            }

            /* ─── Footer bottom: social ──────────────────── */
            .footer-bottom {
                padding: 1.25rem 0;
            }

            .footer-social {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 1.75rem;
                flex-wrap: wrap;
            }

            .footer-social-link {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
                color: #ffffff;
                transition: opacity 0.2s ease, outline 0.2s ease;
                border-radius: 4px;
            }

            .footer-social-link svg {
                width: 22px;
                height: 22px;
                fill: #ffffff;
                stroke: none;
            }

            /* Instagram: icona con bordo e interno vuoto */
            .footer-social-link:nth-child(2) svg rect {
                fill: none;
                stroke: #ffffff;
                stroke-width: 1.5;
            }
            .footer-social-link:nth-child(2) svg circle:first-of-type {
                fill: none;
                stroke: #ffffff;
                stroke-width: 1.5;
            }

            .footer-social-link:hover,
            .footer-social-link:focus {
                opacity: 0.75;
                outline: 2px solid rgba(255, 255, 255, 0.6);
                outline-offset: 3px;
            }

            /* ─── Responsive ─────────────────────────────── */
            @media (max-width: 768px) {
                .footer-col-center {
                    border-left: none;
                    border-right: none;
                    border-top: 1px solid rgba(255, 255, 255, 0.15);
                    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
                    padding: 1.25rem 1rem;
                    margin: 0.5rem 0;
                }

                .footer-col-right {
                    justify-content: flex-start;
                    padding-top: 0.75rem;
                }

                .footer-social {
                    gap: 1.25rem;
                }
            }


            /* ============================================
            HERO BANNER HOMEPAGE
            ============================================ */

            .hero-banner {
                width: 100%;
            }

            .hero-banner-img-wrapper {
                position: relative;
                width: 100%;
            }

            /* ─── Immagine responsive ────────────────────── */
            .hero-banner-img {
                width: 100%;
                height: 300px;
                max-height: 480px;
                object-fit: cover;
                object-position: center;
                display: block;
            }

            /* ─── Overlay scuro semi-trasparente ─────────── */
            .hero-banner-overlay {
                position: absolute;
                inset: 0;
                background: linear-gradient(
                    to bottom,
                    rgba(13, 35, 64, 0.35) 0%,
                    rgba(13, 35, 64, 0.55) 100%
                );
            }

            /* ─── Testo sovrapposto ──────────────────────── */
            .hero-banner-text {
                position: absolute;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .hero-banner-text h1 {
                color: #ffffff;
                font-size: clamp(1.8rem, 5vw, 3.5rem);
                font-weight: 800;
                text-align: center;
                line-height: 1.2;
                letter-spacing: -0.01em;
                text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
                margin: 0;
            }

            /* ─── Responsive ─────────────────────────────── */
            @media (max-width: 768px) {
                .hero-banner-img {
                    max-height: 280px;
                }
            }

            @media (max-width: 480px) {
                .hero-banner-img {
                    max-height: 200px;
                }
            }

            /* Icona + testo sulla stessa linea */
            .info-label {
                display: flex;
                align-items: center;      /* allinea verticalmente icona e testo */
                gap: 0.4rem;              /* spazio tra icona e testo */
            }

            /* Spazio tra le due righe */
            .alert-mic-off {
                padding: 0.5rem 1rem;
            }

            .alert-video-off {
                padding: 0.5rem 1rem;
                margin-top: 0.25rem;      /* spazio tra prima e seconda riga */
            }

            /* Se avevi icone troppo schiacciate, puoi regolare la dimensione */
            .info-label .icon {
                width: 1rem;
                height: 1rem;
            }

            .card-info-teams{

                display: inherit;
            }

            .card::after{

                content: none;
            }

            /* Card partecipante mobile */
            .d-md-none .card {
            border-radius: 10px;
            }

            .d-md-none dl div:last-child {
            border-bottom: none !important;
            }

            /* Tronca email lunghe nelle card */
            .d-md-none .text-truncate {
            max-width: 200px;
            }


            

            

            
