/* ===== MOBILE BUTTONS POSITIONING FIX ===== */
/* Fix per centramento verticale e uniformità dimensioni bottoni mobile */

@media (max-width: 768px) {
    /* CONTAINER BOTTONI CTA MOBILE - CENTRATO VERTICALMENTE */
    .enterprise-mobile-cta {
        padding: 1.5rem 20px !important;
        display: flex !important;
        gap: 12px !important;
        flex-direction: column !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        margin-top: 1rem !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* UNIFORMITÀ STILI PER TUTTI E TRE I BOTTONI */
    .enterprise-mobile-button,
    .enterprise-mobile-assistance,
    .enterprise-mobile-candidate {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 14px 20px !important; /* Padding uniforme per tutti */
        border-radius: 12px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        font-size: 14px !important; /* Font size uniforme */
        width: 100% !important; /* Larghezza uniforme */
        max-width: 280px !important; /* Limite massimo larghezza */
        min-height: 48px !important; /* Altezza minima uniforme */
        cursor: pointer !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        letter-spacing: 0.025em !important;
    }
    
    /* BOTTONE SOS - ROSSO */
    .enterprise-mobile-button {
        background: linear-gradient(135deg, #dc2626, #991b1b) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
    }
    
    .enterprise-mobile-button:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        color: white !important;
        text-decoration: none !important;
    }
    
    /* BOTTONE ASSISTENZA - VIOLA */
    .enterprise-mobile-assistance {
        background: linear-gradient(135deg, #667eea, #764ba2) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    }
    
    .enterprise-mobile-assistance:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        color: white !important;
        text-decoration: none !important;
    }
    
    /* BOTTONE CANDIDATI - VERDE (DIMENSIONI UGUALI AGLI ALTRI) */
    .enterprise-mobile-candidate {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
        margin-top: 0 !important; /* Rimuovi margine extra */
    }
    
    .enterprise-mobile-candidate:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4) !important;
        background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        color: white !important;
        text-decoration: none !important;
    }
    
    /* ICONE UNIFORMI PER TUTTI I BOTTONI */
    .enterprise-mobile-button i,
    .enterprise-mobile-assistance i,
    .enterprise-mobile-candidate i {
        font-size: 16px !important; /* Dimensione icona uniforme */
        margin-right: 0 !important;
    }
    
    /* ANIMAZIONI DI ENTRATA SCALATE */
    .enterprise-mobile-menu.active .enterprise-mobile-button {
        animation: slideInButton 0.4s ease forwards;
        animation-delay: 0.1s;
    }
    
    .enterprise-mobile-menu.active .enterprise-mobile-assistance {
        animation: slideInButton 0.4s ease forwards;
        animation-delay: 0.15s;
    }
    
    .enterprise-mobile-menu.active .enterprise-mobile-candidate {
        animation: slideInButton 0.4s ease forwards;
        animation-delay: 0.2s;
    }
    
    @keyframes slideInButton {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* CORREZIONE MENU MOBILE GENERALE */
    .enterprise-mobile-menu {
        padding-bottom: 1.5rem !important; /* Padding bottom per spazio dai bordi */
    }
    
    /* SPAZIO EXTRA PER EVITARE SOVRAPPOSIZIONE CON BORDI */
    .enterprise-mobile-nav {
        margin-bottom: 1rem !important;
    }
}

/* MEDIA QUERY PER SCHERMI EXTRA PICCOLI */
@media (max-width: 480px) {
    .enterprise-mobile-cta {
        padding: 1rem 15px !important;
    }
    
    .enterprise-mobile-button,
    .enterprise-mobile-assistance,
    .enterprise-mobile-candidate {
        padding: 12px 16px !important;
        font-size: 13px !important;
        min-height: 44px !important;
    }
    
    .enterprise-mobile-button i,
    .enterprise-mobile-assistance i,
    .enterprise-mobile-candidate i {
        font-size: 14px !important;
    }
}