/* Estilos para autenticación social */

/* Contenedor de botones sociales */
.social-auth-container {
    margin: 20px 0;
}

/* Estilos base para botones sociales */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    width: 100%;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.btn-social i {
    margin-right: 10px;
    font-size: 18px;
}

/* Botón de Google */
.btn-social.btn-google {
    background: #fff;
    color: #000 !important;
    border: 1px solid #ddd;
}

.btn-social.btn-google:hover {
    background: #f8f9fa;
    color: #000 !important;
}

.btn-social.btn-google i {
    color: #000 !important;
}

.btn-google img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Botón de Facebook */
.btn-facebook {
    background: linear-gradient(45deg, #3b5998, #4267B2);
}

.btn-facebook:hover {
    background: linear-gradient(45deg, #4267B2, #5b7bd5);
}

/* Separador de opciones */
.social-or-separator {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #777;
}

.social-or-separator::before,
.social-or-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.social-or-separator span {
    padding: 0 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Animaciones compartidas */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Estilos para la página de conexiones */
.social-accounts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.social-accounts-list li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.social-accounts-list li:hover {
    background-color: #f1f3f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-account-info {
    display: flex;
    align-items: center;
}

.social-account-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.social-account-icon.facebook {
    background: linear-gradient(45deg, #3b5998, #4267B2);
}

.social-account-icon.google {
    background: linear-gradient(45deg, #4285F4, #EA4335);
}

.social-account-name {
    font-weight: 600;
}

.social-account-email {
    font-size: 14px;
    color: #6c757d;
}

/* Estilos para los switches de desconexión */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: #dc3545;
}

input:focus + .switch-slider {
    box-shadow: 0 0 1px #dc3545;
}

input:checked + .switch-slider:before {
    transform: translateX(26px);
}

/* Estilos para mensajes de error */
.social-auth-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Estilos para mensajes de éxito */
.social-auth-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Estilos responsivos */
@media (max-width: 576px) {
    .btn-social {
        padding: 10px 15px;
        font-size: 13px;
    }

    .btn-social i {
        font-size: 16px;
    }
}