/* StreamClipper — centered-card layout & auth-specific components.
   Linked alongside app.css by /auth, /auth/forgot-password, /auth/reset-password,
   /admin/login, and /new-job. */

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

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

.auth-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-light);
    text-decoration: none;
}

.auth-logo .lang-switcher {
    margin-top: 12px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.auth-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.auth-card > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.auth-tab.active {
    color: var(--accent-light);
    border-bottom-color: var(--accent);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-oauth:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-oauth svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tos-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    cursor: pointer;
}

.tos-check input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tos-check a {
    color: var(--accent-light);
    text-decoration: underline;
}

.auth-legal-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
}

.auth-legal-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.auth-legal-footer a:hover { color: var(--accent-light); }

.resend-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--accent-light);
    text-decoration: underline;
    font-size: 12px;
}

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.forgot-link:hover { color: var(--accent-light); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

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

.back-link.center {
    display: block;
    text-align: center;
    margin-top: 16px;
}
