/**
 * Auth pages styles (login, register, forgot_password)
 */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page, .register-page {
    align-items: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

.login-box, .register-box {
    width: 360px;
}

@media (max-width: 576px) {
    .login-box, .register-box {
        margin-top: .5rem;
        width: 90%;
    }
}

.login-logo, .register-logo {
    font-size: 2.1rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

.login-logo a, .register-logo a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.login-logo a:hover, .register-logo a:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.card {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.login-card-body, .register-card-body {
    padding: 30px;
}

.login-box-msg, .register-box-msg {
    margin: 0;
    padding: 0 20px 20px;
    text-align: center;
    color: #666;
    font-weight: 400;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group .form-control {
    border-right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
}

.input-group-text {
    background-color: transparent;
    border-left: 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alert {
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

a {
    color: #667eea;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
    text-decoration: none;
}

.social-auth-links {
    margin: 20px 0;
}

.social-auth-links .btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

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

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    color: #6c757d;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
