/**
 * TunePulse — Auth Page Styles
 *
 * Split-screen layout for login, register, and pending pages.
 */

.tp-auth-wrap {
    display: flex;
    min-height: 100vh;
}

.tp-auth-brand {
    flex: 1;
    background: linear-gradient(135deg, var(--tp-bg), var(--tp-surface));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border-right: 1px solid var(--tp-border);
}

.tp-auth-logo {
    max-width: 240px;
    margin-bottom: 16px;
}

.tp-auth-brand p {
    color: var(--tp-text-dim);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 24px;
}

.tp-auth-preview {
    max-width: 90%;
    border-radius: 8px;
    border: 1px solid var(--tp-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tp-auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: var(--tp-bg);
}

.tp-auth-form {
    width: 100%;
    max-width: 400px;
}

.tp-auth-form h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.tp-auth-form .tp-dim {
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.tp-auth-field {
    margin-bottom: 16px;
}

.tp-auth-form .tp-btn {
    width: 100%;
    margin-top: 8px;
}

.tp-auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--tp-text-dim);
}

.tp-auth-links a {
    color: var(--tp-accent);
}

.tp-auth-forgot {
    display: block;
    text-align: right;
    font-size: 0.82rem;
    color: var(--tp-text-dim);
    margin-top: -8px;
    margin-bottom: 16px;
}

.tp-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--tp-text-dim);
    line-height: 1.4;
    cursor: pointer;
}
.tp-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}
.tp-checkbox-label a {
    color: var(--tp-accent);
}

/* Pending page */
.tp-pending {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--tp-bg);
    min-height: 100vh;
    padding: 48px;
}

.tp-pending img {
    max-width: 120px;
    margin-bottom: 24px;
}

.tp-pending h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.tp-pending p {
    color: var(--tp-text-dim);
    max-width: 400px;
    margin-bottom: 24px;
}

.tp-pending-approved {
    display: none;
    text-align: center;
}

.tp-pending-approved.visible {
    display: block;
}

.tp-pending-approved h2 {
    color: var(--tp-good);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .tp-auth-brand {
        display: none;
    }

    .tp-auth-form-side {
        padding: 24px;
    }
}
