/* 
 * CSS adicional para o botão de Login com Google
 * Adicione este CSS ao seu arquivo de estilos principal
 * ou crie um novo arquivo CSS e inclua na página de login
 */

/* Estilo aprimorado para o botão do Google */
.btn-google {
    background-color: #dd4b39;
    border-color: #dd4b39;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-google:hover {
    background-color: #c23321;
    border-color: #c23321;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(221, 75, 57, 0.3);
}

.btn-google:focus {
    background-color: #c23321;
    border-color: #c23321;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(221, 75, 57, 0.25);
}

.btn-google i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Divisor "ou" estilizado */
.login-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.login-divider span {
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.9em;
}

/* Animação de loading para o botão */
.btn-google.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-google.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-google {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-google i {
        margin-right: 6px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .login-divider span {
        background: #343a40;
        color: #adb5bd;
    }
    
    .login-divider::before {
        background: #495057;
    }
}
