/* ─── LOGIN AND SIGN-UP PAGES ───
 * /login: email + password, Forgot password, Continue with Google, and a line
 * for people who are new. /signup: pick hiring or looking for a role, then
 * email + password (or Google).
 */

[hidden] { display: none !important; }

.login {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 20px; position: relative; z-index: 5;
}
.login-logo { font-size: 2rem; margin-bottom: 26px; }
.login-title { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 22px; text-align: center; }
.login-card { width: 100%; max-width: 380px; padding: 24px; }
.login-lead { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px; }

/* ─── Notices ─── */
#notice { width: 100%; max-width: 380px; }
.notice {
    padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 0.88rem; line-height: 1.5;
    border: 1px solid; display: flex; gap: 10px; align-items: flex-start;
}
.notice i { margin-top: 2px; flex-shrink: 0; }
.notice.ok   { background: var(--green-bg); border-color: var(--green-border); color: var(--green); }
.notice.bad  { background: var(--rose-bg);  border-color: var(--rose-border);  color: var(--rose); }
.notice.info { background: rgba(120,130,238,0.08); border-color: rgba(120,130,238,0.3); color: var(--accent-light); }

/* ─── Fields ─── */
.field { margin-bottom: 16px; }
.field label { display: block; color: #fff; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.field-head label { margin-bottom: 7px; }
.field .neon-input { width: 100%; }
.hint-text { font-size: 0.76rem; color: var(--text-dim); margin-top: 6px; }
.link-btn {
    background: none; border: 0; padding: 0; color: var(--accent-light); font-size: 0.82rem; font-family: 'Inter', sans-serif;
    text-decoration: none;
}
.link-btn:hover { text-decoration: underline; color: #fff; }
.login-back { display: block; margin: 14px auto 0; }

.login-submit { width: 100%; padding: 13px; font-size: 0.9rem; }

/* ─── Google ─── */
.login-or {
    display: flex; align-items: center; gap: 14px; margin: 18px 0;
    color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 1px;
}
.login-or::before, .login-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
    padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,0.04); color: #fff; border: 1px solid var(--border);
    font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 600; transition: 0.2s;
}
.btn-google:hover { background: rgba(255,255,255,0.09); border-color: var(--border-hover); }
.btn-google:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── Sign-up step 1 ─── */
.choice-list { display: grid; gap: 10px; }
.choice {
    display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
    padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0,0,0,0.3);
    color: #fff; font-family: 'Inter', sans-serif; transition: 0.2s;
}
.choice:hover { border-color: var(--accent); background: rgba(120,130,238,0.1); }
.choice > i:first-child { font-size: 1.4rem; color: var(--accent); flex-shrink: 0; }
.choice span { flex: 1; display: grid; gap: 3px; }
.choice strong { font-size: 0.95rem; }
.choice small { color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; }
.choice-arrow { color: var(--text-dim); font-size: 1rem; }
.choice:hover .choice-arrow { color: #fff; }

.picked {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px;
    padding: 10px 14px; border-radius: 10px; background: rgba(120,130,238,0.1); border: 1px solid rgba(120,130,238,0.3);
    color: var(--accent-light); font-size: 0.86rem;
}

.login-small { margin-top: 18px; color: var(--text-dim); font-size: 0.76rem; line-height: 1.55; }
.login-small a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Under the card ─── */
.login-alt {
    width: 100%; max-width: 380px; margin-top: 18px; padding: 16px; text-align: center;
    border: 1px solid var(--border); border-radius: 12px; color: var(--text-muted); font-size: 0.9rem;
}
.login-alt a { color: var(--accent-light); }
.login-alt a:hover { text-decoration: underline; color: #fff; }
.login-foot { margin-top: 28px; font-size: 0.8rem; color: var(--text-dim); }
.login-foot a:hover { color: #fff; }

/* ─── Link sent, Google finishing ─── */
.sent-panel { text-align: center; padding: 8px 4px 4px; }
.sent-icon {
    width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: rgba(120,130,238,0.12); border: 1px solid rgba(120,130,238,0.3); color: var(--accent); font-size: 1.7rem;
}
.sent-panel h2 { font-size: 1.3rem; margin-bottom: 10px; }
.sent-panel p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.sent-panel strong { color: #fff; overflow-wrap: anywhere; }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

button:disabled { cursor: not-allowed; }

@media (max-width: 480px) {
    .login { padding: 40px 16px; }
    .login-card { padding: 20px 16px; }
}
