/**
 * GameDB - Auth Pages CSS (Login, Register)
 */

/* Auth Container */
.auth-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Auth Card */
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 50px 40px;
    border-radius: 24px;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1e293b;
}

.auth-header p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    padding: 14px 18px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.6);
}

.auth-form input:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.auth-form input::placeholder {
    color: #94a3b8;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #475569;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

.form-options a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.form-options a:hover {
    color: #ec4899;
}

/* Submit Button */
.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: white;
    border: none;
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.auth-footer p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.auth-footer a {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #ec4899;
}

/* Social Login */
.social-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(99, 102, 241, 0.1);
}

.social-divider span {
    font-size: 13px;
    color: #94a3b8;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.6);
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    border-color: #6366f1;
    background: white;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 40px 24px;
    }

    .auth-header h1 {
        font-size: 26px;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}