/* register.php — page-specific styles. Tokens come from landing.css
   (loaded first by head.php) — --navy/--green now resolve to the site's
   current amber/gold palette instead of the old green/navy one this page
   used to hardcode. */

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.register-container {
    width: 100%;
    max-width: 480px;
    padding: 40px 24px;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    display: block;
    text-align: center;
    margin-bottom: 40px;
}

.register-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 42px 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

h1 {
    font-size: 26px;
    color: var(--navy);
    margin: 0 0 8px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: var(--ash);
    margin-bottom: 28px;
    font-size: 15px;
}

/* === Account type tabs === */
.account-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 28px;
    gap: 4px;
}

.account-tab {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ash);
    cursor: pointer;
    border: none;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
    font-family: inherit;
}

.account-tab.active {
    background: var(--navy);
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-family: inherit;
    background: white;
}

textarea { resize: vertical; min-height: 80px; }

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(169,123,51,0.12);
}

.btn {
    width: 100%;
    padding: 15px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: #7a5a26;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14.5px;
    color: var(--ash);
}

.footer-text a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
}

.invite-notice, .beta-notice {
    background: #dcfce7;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.beta-notice {
    background: #fef3c7;
    color: #7c5a10;
    text-align: left;
    line-height: 1.5;
}

.org-fields {
    border-top: 1px dashed var(--line);
    padding-top: 20px;
    margin-top: 4px;
}

.org-fields-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.pending-result {
    text-align: center;
}

.pending-result h2 {
    color: var(--navy);
    font-size: 22px;
    margin: 0 0 12px;
}

.pending-result p {
    color: var(--ash);
    font-size: 15px;
    line-height: 1.6;
}
