/* Styles pour les boutons SSO */

.sso-buttons .btn {
    transition: all 0.3s ease;
    border-width: 2px !important;
    border-style: solid !important;
    font-weight: 500;
}

.sso-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Bouton Google */
.sso-buttons .btn-outline-danger {
    border: 2px solid #db4437 !important;
    color: #db4437 !important;
    background-color: transparent !important;
}

.sso-buttons .btn-outline-danger:hover {
    background-color: #db4437 !important;
    border-color: #db4437 !important;
    color: white !important;
}



/* Bouton GitHub */
.sso-buttons .btn-outline-secondary {
    border: 2px solid #333333 !important;
    color: #333333 !important;
    background-color: transparent !important;
}

.sso-buttons .btn-outline-secondary:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: white !important;
}

/* Icônes des boutons SSO */
.sso-buttons .fab {
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 576px) {
    .sso-buttons .col-6 {
        margin-bottom: 0.5rem;
    }
    
    .sso-buttons .btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Animation pour les alertes SSO */
.alert.position-fixed {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Séparateur */
.sso-separator {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.sso-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
}

.sso-separator small {
    background-color: white;
    padding: 0 1rem;
    color: #6c757d;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Amélioration pour les boutons SSO en 3 colonnes */
.sso-buttons .col-4 {
    margin-bottom: 0.5rem;
}

.sso-buttons .btn {
    font-size: 0.9rem;
    padding: 0.6rem 0.5rem;
}

.sso-buttons .fab {
    font-size: 1.1em;
}

/* Responsive pour les boutons SSO */
@media (max-width: 576px) {
    .sso-buttons .col-4 {
        margin-bottom: 0.5rem;
    }
    
    .sso-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.25rem;
    }
    
    .sso-buttons .fab {
        font-size: 1em;
    }
}
