.roform-landing,
.roform-join-message {
    direction: rtl;
    box-sizing: border-box;
    max-width: 520px;
    margin: 32px auto;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}
.roform-landing { max-width: 680px; padding: 0; overflow: hidden; border: 0; border-radius: 26px; box-shadow: 0 24px 70px rgba(16, 41, 25, .14); text-align: right; }
.roform-landing-hero { min-height: 240px; padding: 28px; box-sizing: border-box; display: flex; align-items: flex-end; background: linear-gradient(135deg, color-mix(in srgb, var(--roform-primary) 88%, #07140c), var(--roform-primary)); background-position: center; background-size: cover; color: #fff; }
.roform-landing-brand { display: flex; align-items: center; gap: 15px; }
.roform-landing-logo, .roform-landing-logo-fallback { display: grid; place-items: center; width: 84px; height: 84px; flex: 0 0 84px; box-sizing: border-box; margin: 0; border: 2px solid rgba(255,255,255,.56); border-radius: 24px; background: rgba(255,255,255,.94); color: var(--roform-primary); object-fit: contain; font-size: 30px; font-weight: 800; }
.roform-landing-brand small { color: rgba(255,255,255,.76); }
.roform-landing-brand h1 { margin: 4px 0 0; color: inherit; font-size: clamp(25px, 5vw, 38px); }
.roform-landing-body { padding: 24px; }
.roform-landing-body > p { margin: 0 0 18px; color: #536057; line-height: 1.9; }
.roform-landing-button,
.roform-join-message button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    padding: 12px 16px;
    border: 0;
    border-radius: 6px;
    background: var(--roform-primary, #157347);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.roform-landing-button.is-disabled { opacity: .55; cursor: default; }
.roform-landing-share { display: block; width: 100%; margin-top: 10px; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--roform-primary) 30%, #d9e0dc); border-radius: 12px; background: #fff; color: var(--roform-primary); font: inherit; cursor: pointer; }
.roform-share-status { display: block; min-height: 24px; margin-top: 8px; color: #157347; text-align: center; }
.roform-join-message label { display: grid; gap: 6px; margin: 0 0 12px; text-align: right; }
.roform-join-message input { width: 100%; box-sizing: border-box; padding: 10px; }
.roform-auth-app [hidden] { display: none !important; }
.roform-join-logo { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; }
.roform-join-kind { margin: -4px 0 18px; color: #4b5563; }
.roform-auth-status { min-height: 24px; margin: 10px 0; line-height: 1.7; }
.roform-auth-status.is-error { color: #b42318; }
.roform-auth-status.is-success { color: #157347; font-weight: 700; }
.roform-auth-status.is-pending { color: #8a6100; }
.roform-health-declaration { margin: 14px 0; padding: 14px; border: 1px solid #e7d6ae; border-radius: 12px; background: #fffaf0; color: #594a2d; line-height: 1.9; }
.roform-health-declaration strong { display: block; margin-bottom: 5px; }
.roform-health-declaration p { margin: 0 0 8px; font-size: 13px; }
.roform-health-declaration label { display: flex; align-items: flex-start; gap: 7px; font-weight: 700; }
.roform-join-message .roform-button-secondary { background: #f3f4f6; color: #1f2937; border: 1px solid #d1d5db; }
.roform-join-message button:disabled,
.roform-join-message input:disabled { opacity: .6; cursor: wait; }
.roform-auth-app-link {
    display: block;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    color: #fff;
    background: var(--roform-primary, #157347);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}
.roform-auth-app-link[hidden] { display: none; }

@media (max-width: 560px) {
    .roform-landing { margin: 14px; border-radius: 20px; }
    .roform-landing-hero { min-height: 205px; padding: 20px; }
    .roform-landing-logo, .roform-landing-logo-fallback { width: 68px; height: 68px; flex-basis: 68px; border-radius: 19px; }
}

/* 0.22.0 public onboarding surfaces. */
.roform-landing,
.roform-join-message {
    color-scheme: dark;
    border-color: #2a3038;
    background: #15181d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    color: #f3f5f4;
    font-family: "Vazirmatn", "IRANSansX", Tahoma, Arial, sans-serif;
}
.roform-landing-hero { position: relative; background-color: #1d2128; }
.roform-landing-hero::before { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(5, 7, 9, .78), rgba(5, 7, 9, .22)); content: ''; }
.roform-landing-brand { position: relative; z-index: 1; }
.roform-landing-body > p,
.roform-join-kind { color: #9aa4a0; }
.roform-landing-logo,
.roform-landing-logo-fallback,
.roform-join-logo { background: #edf1ef; }
.roform-landing-button,
.roform-join-message button,
.roform-auth-app-link { min-height: 46px; border-radius: 14px; font-weight: 800; }
.roform-landing-share,
.roform-join-message .roform-button-secondary { border-color: #3a424c; background: #1d2128; color: #f3f5f4; }
.roform-join-message input { min-height: 48px; border: 1px solid #2a3038; border-radius: 13px; background: #1d2128; color: #f3f5f4; font: inherit; }
.roform-join-message input:focus { border-color: #32c787; outline: 3px solid rgba(50, 199, 135, .14); }
.roform-auth-status.is-error { color: #f05b65; }
.roform-auth-status.is-success,
.roform-share-status { color: #32c787; }
.roform-auth-status.is-pending { color: #f4bd4f; }
.roform-health-declaration { border-color: rgba(244, 189, 79, .34); background: rgba(244, 189, 79, .13); color: #e7dbc3; }
