/* Estilos para la página de login */

body {
    background-color: #f2f1f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

.logo-img {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-box h1 {
    color: var(--primary-color, #1F2A42);
    font-weight: 600;
    font-size: 2rem;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}

/* Estilos para botones OAuth */
.oauth-buttons {
    margin-bottom: 1rem;
}

.oauth-buttons .btn {
    font-weight: 500;
    padding: 0.75rem;
    border-width: 2px;
    transition: all 0.3s ease;
}

.oauth-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.oauth-buttons .btn-outline-danger {
    color: #db4437;
    border-color: #db4437;
}

.oauth-buttons .btn-outline-danger:hover {
    background-color: #db4437;
    color: white;
}

.oauth-buttons .btn-outline-primary {
    color: #0078d4;
    border-color: #0078d4;
}

.oauth-buttons .btn-outline-primary:hover {
    background-color: #0078d4;
    color: white;
}

/* Divider entre OAuth y login tradicional */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
}

.divider span {
    position: relative;
    background-color: white;
    padding: 0 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Estilos para sección de código de verificación */
#codigoVerificacionSection {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

#codigoVerificacionSection .alert-info {
    margin-bottom: 1rem;
}

#codigoVerificacionSection input {
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.5rem;
}

#codigoVerificacionSection .btn-link {
    font-size: 0.875rem;
    text-decoration: none;
}

#codigoVerificacionSection .btn-link:hover {
    text-decoration: underline;
}

/* Estilos para mensajes */
.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.alert-info {
    background-color: #cff4fc;
    border-color: #b6effb;
    color: #055160;
}

.form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.input-group:focus-within .input-group-text {
    border-color: #80bdff;
}

.btn-primary {
    background-color: var(--primary-color, #1F2A42);
    border-color: var(--primary-color, #1F2A42);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #162030;
    border-color: #162030;
}

.login-footer {
    background-color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.social-links a {
    color: var(--primary-color, #1F2A42);
    font-size: 1.5rem;
    text-decoration: none;
}

.social-links a:hover {
    color: #162030;
}

/* Responsive */
@media (max-width: 768px) {
    .login-box {
        padding: 1.5rem;
    }
    
    .login-box h1 {
        font-size: 1.5rem;
    }
}

