/* Premium Centered Auth Layout (Stripe-inspired) */
body {
    background-color: #f8fafc;
}

.auth-wrapper {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: left;
}

.auth-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    margin: 0 auto;
}

.auth-card.auth-card-lg {
    max-width: 520px;
}

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

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

.auth-header h3 {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.auth-form {
    text-align: left;
}

.auth-form .form-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.auth-form .form-control,
.auth-form .form-select {
    border-radius: 0.5rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 1px #0f172a;
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #94a3b8;
}

.auth-form .btn-primary {
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    margin-top: 1rem;
    width: 100%;
}

.auth-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(13, 110, 253, 0.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider:not(:empty)::before {
    margin-right: 1rem;
}

.auth-divider:not(:empty)::after {
    margin-left: 1rem;
}

.social-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-auth-btn {
    border-radius: 0.5rem;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.social-auth-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.social-auth-btn i {
    font-size: 1.1rem;
}

.social-auth-btn.google { color: #db4437; }
.social-auth-btn.facebook { color: #1877f2; }

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.auth-footer a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0f172a;
    border-color: #0f172a;
}

.form-check-label {
    font-size: 0.85rem;
    color: #475569;
    padding-left: 0.4rem;
    cursor: pointer;
    line-height: 1.4;
}

.form-check-label a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: underline;
}

.captcha-section {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 0.85rem;
    margin-top: 1rem;
}

/* Specific overrides for container center */
.container.text-center .auth-wrapper {
    text-align: left;
}
