/* Self-contained stylesheet for signup/ -- separate vhost, same visual
   language as platform-admin/css/admin.css (dark navy + orange accent)
   since both are "platform-facing" rather than client-facing. */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f5f7;
    color: #1a1a2e;
}

.signup-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 16px;
}

.signup-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 36px 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 460px;
}

.signup-card h1 { margin: 0 0 4px; font-size: 22px; }
.signup-card .subtitle { margin: 0 0 20px; font-size: 14px; color: #666; }

.signup-card h2 {
    margin: 28px 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #14213d;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.signup-card h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }

.signup-card label { display: block; font-weight: 600; margin: 12px 0 6px; font-size: 13px; }
.signup-card input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    background: #f7f7f7;
    font-size: 14px;
}
.signup-card input:focus { outline: none; border-color: #14213d; background: #fff; }
.signup-card input:disabled { color: #999; cursor: not-allowed; }

.field-hint { margin: 4px 0 0; font-size: 12px; color: #888; }

.subdomain-field {
    display: flex;
    align-items: center;
    gap: 8px;
}
.subdomain-field input { flex: 1; }
.subdomain-field span { font-size: 13px; color: #666; white-space: nowrap; }

.plan-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.plan-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}
.plan-option:has(input:checked) { border-color: #14213d; background: #f7f8fc; }
.plan-option input { width: auto; flex: none; }
.plan-option strong { display: block; font-size: 14px; }
.plan-option span { display: block; font-size: 12px; color: #666; }

.payment-notice {
    background: #fff4d6;
    color: #8a6100;
    padding: 10px 12px;
    border-radius: 8px;
    margin: 4px 0 12px;
}

.card-row { margin-top: 4px; }
.card-row-split {
    display: flex;
    gap: 12px;
}
.card-row-split > div { flex: 1; }

/* Honeypot field -- visually hidden but not display:none/type=hidden,
   since some bots specifically skip those. Real users never see it. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.btn-primary {
    width: 100%;
    margin-top: 24px;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: #14213d;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { background: #1f2f5c; }

.error-message {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fdecea;
    color: #b3261e;
    font-size: 13px;
}

.email-stub-notice {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    background: #f7f8fc;
    border: 1px dashed #14213d;
}
.email-stub-notice p { font-size: 14px; margin: 0 0 8px; }
.verify-link { margin-top: 4px; }
