.oh-signup-wrapper {
    position: relative;
    max-width: 640px;
    margin: 40px auto;
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.consent-checkbox{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-top:15px;
}

.consent-checkbox input[type="checkbox"]{
    width:18px;
    height:18px;
    margin-top:3px;
    flex-shrink:0;
    cursor:pointer;
}

.consent-checkbox label{
    font-size:14px;
    line-height:1.6;
    margin:0;
    cursor:pointer;
}

/* ── Typography ── */

.oh-heading {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a1a2e;
}

.oh-subtext {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

.oh-required {
    color: #e74c3c;
}

/* ── Form Elements ── */

.oh-form-group {
    margin-bottom: 18px;
}

.oh-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.oh-form-row {
    display: flex;
    gap: 16px;
}

.oh-half {
    flex: 1;
}

.oh-select,
.oh-signup-wrapper input[type="text"],
.oh-signup-wrapper input[type="email"],
.oh-signup-wrapper input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fafafa;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.oh-select:focus,
.oh-signup-wrapper input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #fff;
}

/* ── Buttons ── */

.oh-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.oh-btn:active {
    transform: scale(0.98);
}

.oh-btn-primary {
    background: #2563eb;
    color: #fff;
}

.oh-btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
}

.oh-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.oh-btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.oh-btn-secondary:hover {
    background: #f3f4f6;
    color: #374151;
}

.oh-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

/* ── Info Banner (selected open house + agent) ── */

.oh-info-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e40af;
    margin-bottom: 24px;
}

/* ── Success Phase ── */

.oh-success-box {
    text-align: center;
    padding: 40px 20px;
}

.oh-success-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #fff;
    background: #10b981;
    border-radius: 50%;
}

.oh-success-box h2 {
    font-size: 22px;
    margin: 0 0 8px;
    color: #1a1a2e;
}

.oh-success-box p {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px;
}

/* ── Loading Overlay ── */

.oh-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 100;
}

.oh-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: oh-spin 0.7s linear infinite;
    margin-bottom: 12px;
}

@keyframes oh-spin {
    to { transform: rotate(360deg); }
}

.oh-loading-overlay p {
    font-size: 14px;
    color: #6b7280;
}

/* ── Toast ── */

.oh-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 90vw;
}

.oh-toast-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.oh-toast-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* ── Inline select loader ── */

.oh-select-wrap {
    position: relative;
}

.oh-select-wrap .oh-select {
    padding-right: 38px; /* room for spinner */
}

.oh-select-wrap .oh-select-spinner {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: oh-spin 0.7s linear infinite;
    pointer-events: none;
}

.oh-select-wrap.is-loading .oh-select-spinner {
    display: block;
}

.oh-select-wrap.is-loading .oh-select {
    color: #9ca3af;
    pointer-events: none;
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .oh-signup-wrapper {
        margin: 16px;
        padding: 20px;
    }

    .oh-form-row {
        flex-direction: column;
        gap: 0;
    }

    .oh-form-actions {
        flex-direction: column;
    }

    .oh-form-actions .oh-btn {
        width: 100%;
        text-align: center;
    }
}