/* ========================================
   Affiliate Portal — Auth Styles
   ======================================== */

.auth-body {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1rem;
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.auth-card-wide {
    max-width: 600px;
}

.auth-container:has(.auth-card-wide) {
    max-width: 640px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.auth-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: #3730a3;
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-attribution {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Focus styles */
.auth-card .form-control:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.auth-card .btn-primary {
    background: #4f46e5;
    border-color: #4f46e5;
}

.auth-card .btn-primary:hover {
    background: #4338ca;
    border-color: #4338ca;
}

.auth-card .input-group-text {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}
