.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
    font-family: var(--font-body);
}

.auth-glow-1 {
    position: absolute;
    top: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--tint-bg) 0%, transparent 70%);
    pointer-events: none;
}

.auth-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--tint-bg) 0%, transparent 70%);
    pointer-events: none;
}

.auth-wrapper {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 5;
    animation: fadeInUp 0.45s ease forwards;
}

/* Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.auth-logo-inner img {
    width: 36px;
    height: 36px;
}

.auth-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.auth-logo-subtitle {
    font-size: 13px;
    color: var(--text-faint);
    margin: 0;
}

/* Card */
.auth-card {
    background: var(--bg-surface);
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    padding: 36px 32px 32px;
    box-shadow: var(--shadow-form-card), 0 1px 4px rgba(0,0,0,0.02);
}

.auth-card h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.auth-card .auth-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Fields */
.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 6px;
}

.auth-card .auth-field input,
.auth-card .auth-field .form-control,
.auth-card .auth-field select {
    width: 100%;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-btn);
    padding: 12px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-surface);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
    height: auto;
    line-height: 1.4;
}

.auth-card .auth-field input:focus,
.auth-card .auth-field .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--tint-light);
}

.auth-card .auth-field input::placeholder,
.auth-card .auth-field .form-control::placeholder {
    color: var(--text-placeholder);
}

/* Forgot password link */
.auth-forgot-link {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
    margin-bottom: 24px;
}

.auth-text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: color 0.15s;
    cursor: pointer;
}

.auth-text-link:hover {
    color: var(--primary-hover);
}

/* Submit button */
.auth-btn-submit {
    width: 100%;
    border: none;
    padding: 13px 24px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    background: var(--primary);
    color: #fff;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(46,170,94,0.2);
}

.auth-btn-submit:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 16px rgba(46,170,94,0.3);
    transform: translateY(-1px);
}

.auth-btn-submit:active {
    transform: translateY(0);
}

/* Bottom link */
.auth-bottom-link {
    margin-top: 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.auth-bottom-link > span {
    font-size: 13px;
    color: var(--text-muted);
}

.auth-link-btn {
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
    text-decoration: none;
}

.auth-link-btn:hover {
    background: var(--tint-bg);
    border-color: rgba(46,170,94,0.3);
    color: var(--primary);
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-faintest);
}

/* Errors */
.auth-card .alert-danger {
    border-radius: var(--radius-btn);
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(208,48,48,0.2);
    background: rgba(208,48,48,0.04);
    color: #d03030;
    padding: 12px 16px;
}

.auth-card .alert-danger ul {
    margin: 0;
    padding-left: 16px;
}

.auth-card .errorlist {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.auth-card .errorlist li {
    font-size: 12px;
    color: #d03030;
    margin: 0;
}

/* Info text (confirmation pages) */
.auth-info-text {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.65;
}

.auth-info-text + .auth-info-text {
    margin-top: 8px;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px 24px;
    }
    .auth-bottom-link {
        flex-direction: column;
        gap: 8px;
    }
}
