/* Humraah registration styles v2026.10.05.1 - live build + i18n (hi / ur, RTL)
   Everything above the "i18n" section at the end is the live file unchanged. */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --card-width: 720px;
            --card-padding-x: 44px;
            --forest: #7f0e12;
            --forest-dark: #5c0a0d;
            --gold: #e8be62;
            --gold-dark: #c9a030;
            --sahifa: #fef3f4;
            --ink: #1C0A0B;
            --muted: #7A5C5E;
            --border: #F0D8D8;
            --white: #FFFFFF;
            --red: #DC2626;
            --fp: 'Baloo 2', sans-serif;
            --fs: 'Poppins', sans-serif;
        }

        body {
            min-height: 100vh;
            font-family: var(--fs);
            color: var(--ink);
            background: linear-gradient(135deg, #fffbfc 0%, #fef3f4 55%, #fce8ea 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 16px 80px;
        }

        .card {
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 4px 40px rgba(127, 14, 18, .08), 0 1px 8px rgba(127, 14, 18, .04);
            width: 100%;
            max-width: var(--card-width);
            overflow: hidden;
        }

        .progress-wrap {
            padding: 24px 32px 20px;
            border-bottom: 1px solid var(--border);
        }

        .steps {
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 7px;
            flex: 1;
        }

        .step-line {
            flex: 1;
            height: 1.5px;
            background: var(--border);
            margin-top: 18px;
            transition: background .4s;
            min-width: 10px;
        }

        .step-line.done {
            background: var(--forest);
        }

        .step-dot {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            color: var(--muted);
            transition: all .35s;
            z-index: 1;
            flex-shrink: 0;
        }

        .step.active .step-dot {
            background: var(--gold);
            border-color: var(--gold);
            color: white;
            box-shadow: 0 0 0 4px rgba(232, 190, 98, .2);
        }

        .step.done .step-dot {
            background: var(--forest);
            border-color: var(--forest);
            color: white;
        }

        .step-lbl {
            font-size: 9px;
            font-weight: 600;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--muted);
            white-space: nowrap;
            font-family: var(--fs);
        }

        .step.active .step-lbl {
            color: var(--gold-dark);
        }

        .step.done .step-lbl {
            color: var(--forest);
        }

        .card-body {
            padding: 40px var(--card-padding-x) 48px;
        }

        .panel {
            display: none;
        }

        .panel.active {
            display: block;
            animation: fadeUp .28s ease;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .bismillah-line {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-bottom: 8px;
        }

        .bismillah-line::before,
        .bismillah-line::after {
            content: '';
            width: 32px;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--gold));
        }

        .bismillah-line::after {
            background: linear-gradient(to left, transparent, var(--gold));
        }

        .bismillah-text {
            font-family: var(--fp);
            font-style: italic;
            color: var(--gold-dark);
            font-size: 14px;
        }

        .panel-h1 {
            font-family: var(--fp);
            font-size: 38px;
            font-weight: 400;
            color: var(--forest);
            text-align: center;
            line-height: 1.15;
            margin-bottom: 10px;
        }

        .panel-h2 {
            font-family: var(--fp);
            font-size: 30px;
            font-weight: 400;
            color: var(--forest);
            text-align: center;
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .panel-sub {
            font-size: 14px;
            color: var(--muted);
            text-align: center;
            line-height: 1.65;
            margin-bottom: 26px;
            font-family: var(--fs);
        }

        .icon-box {
            width: 52px;
            height: 52px;
            background: var(--sahifa);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
        }

        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin: 20px 0 18px;
        }

        .sel-card {
            border: 1.5px solid var(--border);
            border-radius: 16px;
            padding: 22px 18px;
            cursor: pointer;
            transition: all .25s;
            position: relative;
            overflow: hidden;
            background: var(--white);
        }

        .sel-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            transform: scaleY(0);
            transition: transform .25s;
        }

        .sel-card-forest::before {
            background: var(--forest);
        }

        .sel-card-gold::before {
            background: var(--gold);
        }

        .sel-card:hover {
            box-shadow: 0 4px 20px rgba(127, 14, 18, .08);
            border-color: #f0c0c2;
        }

        .sel-card.selected {
            box-shadow: 0 4px 20px rgba(127, 14, 18, .1);
        }

        .sel-card-forest.selected {
            border-color: var(--forest);
        }

        .sel-card-gold.selected {
            border-color: var(--gold);
        }

        .sel-card.selected::before {
            transform: scaleY(1);
        }

        .sel-chip {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: var(--sahifa);
            border-radius: 20px;
            padding: 3px 10px;
            font-size: 11px;
            font-weight: 600;
            color: var(--muted);
            margin-bottom: 12px;
        }

        .sel-card-icon {
            font-size: 24px;
            display: block;
            margin-bottom: 8px;
        }

        .sel-card h3 {
            font-family: var(--fp);
            font-size: 18px;
            font-weight: 500;
            color: var(--forest);
            margin-bottom: 7px;
        }

        .sel-card p {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.6;
        }

        .sel-tag {
            display: inline-block;
            margin-top: 10px;
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }

        .tag-forest {
            background: rgba(127, 14, 18, .07);
            color: var(--forest);
        }

        .tag-gold {
            background: rgba(232, 190, 98, .15);
            color: #8a6200;
        }

        .trust-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 12px;
            color: #B8B0A6;
            margin-top: 6px;
        }

        .trust-dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: var(--border);
        }

        .manager-card {
            border: 1.5px solid var(--border);
            border-radius: 16px;
            padding: 24px 22px;
            cursor: pointer;
            transition: all .25s;
            background: var(--white);
            position: relative;
            overflow: hidden;
        }

        .manager-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: var(--forest);
            transform: scaleY(0);
            transition: transform .25s;
        }

        .manager-card:hover {
            box-shadow: 0 4px 20px rgba(127, 14, 18, .08);
            border-color: #f0c0c2;
        }

        .manager-card.selected {
            border-color: var(--forest);
            box-shadow: 0 4px 20px rgba(127, 14, 18, .1);
        }

        .manager-card.selected::before {
            transform: scaleY(1);
        }

        .manager-icon-row {
            display: flex;
            gap: 8px;
            margin-bottom: 14px;
        }

        .icon-pill {
            width: 38px;
            height: 38px;
            background: var(--sahifa);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 17px;
        }

        .manager-card h3 {
            font-family: var(--fp);
            font-size: 19px;
            font-weight: 500;
            color: var(--forest);
            margin-bottom: 7px;
        }

        .manager-card p {
            font-size: 13px;
            color: var(--muted);
            line-height: 1.6;
            margin-bottom: 7px;
        }

        .manager-card em {
            font-size: 12px;
            color: var(--muted);
            opacity: .8;
            font-style: italic;
        }

        .qs-block {
            margin-bottom: 26px;
        }

        .qs-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 4px;
        }

        .qs-hint {
            font-size: 11px;
            color: var(--muted);
            margin-bottom: 10px;
            line-height: 1.55;
        }

        .qs-req {
            color: var(--red);
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 12px;
            border: 1.5px solid var(--border);
            border-radius: 10px;
            padding: 12px 15px;
            cursor: pointer;
            margin-bottom: 7px;
            transition: all .2s;
            font-size: 13px;
            color: var(--ink);
            background: var(--white);
            font-family: var(--fs);
        }

        .radio-option:hover {
            border-color: #f0c0c2;
            background: var(--sahifa);
        }

        .radio-option.selected {
            border-color: var(--forest);
            background: rgba(127, 14, 18, .03);
        }

        .radio-dot {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .2s;
        }

        .radio-option.selected .radio-dot {
            border-color: var(--forest);
            background: var(--forest);
        }

        .radio-option.selected .radio-dot::after {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: white;
        }

        .text-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 10px;
            margin-bottom: 8px;
        }

        .form-block {
            margin-bottom: 30px;
        }

        .block-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
            padding-bottom: 13px;
            border-bottom: 1px solid var(--border);
        }

        .block-icon {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: var(--sahifa);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .block-title {
            font-family: var(--fp);
            font-size: 16px;
            font-weight: 500;
            color: var(--forest);
        }

        .block-count {
            font-size: 11px;
            color: var(--muted);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .fg {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .fg.full {
            grid-column: 1/-1;
        }

        .fg label {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink);
            letter-spacing: .01em;
        }

        .req-star {
            color: var(--red);
        }

        .opt-tag {
            font-size: 11px;
            font-weight: 400;
            color: var(--muted);
            letter-spacing: 0;
            margin-left: 4px;
        }

        .fg input,
        .fg select,
        .fg textarea {
            border: 1.5px solid var(--border);
            border-radius: 10px;
            padding: 11px 14px;
            font-size: 13px;
            font-family: var(--fs);
            color: var(--ink);
            background: var(--white);
            outline: none;
            width: 100%;
            transition: all .2s;
            -webkit-appearance: none;
            appearance: none;
            line-height: 1.5 !important;
            height: auto !important;
        }

        .fg select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A5C5E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            padding-right: 38px;
        }

        .fg input:hover,
        .fg select:hover,
        .fg textarea:hover {
            background: var(--sahifa);
            border-color: #f0c0c2;
        }

        .fg input:focus,
        .fg select:focus,
        .fg textarea:focus {
            border-color: var(--forest);
            box-shadow: 0 0 0 3px rgba(127, 14, 18, .08);
            background: white;
        }

        .fg input::placeholder,
        .fg textarea::placeholder {
            color: #C0B8AE;
        }

        .fg textarea {
            resize: none;
            min-height: 80px;
        }

        .fg input.error,
        .fg select.error,
        .fg textarea.error {
            border-color: var(--red) !important;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, .08) !important;
        }

        .fg-hint {
            font-size: 11px;
            color: var(--muted);
            margin-top: 3px;
            line-height: 1.55;
        }

        .phone-wrap {
            display: flex;
            align-items: center;
            border: 1.5px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            transition: all .2s;
            background: white;
        }

        .phone-wrap:hover {
            background: var(--sahifa);
            border-color: #f0c0c2;
        }

        .phone-wrap:focus-within {
            border-color: var(--forest);
            box-shadow: 0 0 0 3px rgba(127, 14, 18, .08);
            background: white;
        }

        .phone-prefix {
            padding: 11px 12px 11px 14px;
            font-size: 13px;
            color: var(--muted);
            background: var(--sahifa);
            border-right: 1px solid var(--border);
            white-space: nowrap;
            font-weight: 500;
        }

        .phone-wrap input {
            border: none !important;
            box-shadow: none !important;
            padding: 11px 12px;
            flex: 1;
            border-radius: 0;
            background: transparent !important;
        }

        .phone-wrap.error {
            border-color: var(--red) !important;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, .08) !important;
        }

        .cond-block {
            display: none;
            margin-top: 12px;
        }

        .cond-block.show {
            display: block;
        }

        .cond-inner {
            background: rgba(127, 14, 18, .03);
            border: 1.5px solid rgba(127, 14, 18, .1);
            border-radius: 12px;
            padding: 16px 16px 10px;
        }

        .cond-label {
            font-size: 12px;
            font-weight: 700;
            color: var(--forest);
            text-transform: uppercase;
            letter-spacing: .07em;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cond-label::after {
            content: 'optional';
            font-size: 10px;
            font-weight: 600;
            background: rgba(232, 190, 98, .15);
            color: #8a6200;
            border-radius: 20px;
            padding: 2px 8px;
            letter-spacing: .05em;
        }

        .cond-hint {
            font-size: 11px;
            color: var(--muted);
            margin-bottom: 10px;
            line-height: 1.55;
        }

        #nayaSafarBlock {
            display: none;
        }

        #nayaSafarBlock.show {
            display: block;
        }

        .ns-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(232, 190, 98, .12);
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 11px;
            font-weight: 700;
            color: #8a6200;
            letter-spacing: .05em;
            margin-bottom: 18px;
        }

        .extractor-card {
            background: linear-gradient(135deg, #fff8f8 0%, #fef3f4 100%);
            border: 1.5px solid var(--border);
            border-radius: 18px;
            padding: 26px;
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }

        .extractor-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(232, 190, 98, .08) 0%, transparent 70%);
            pointer-events: none;
        }

        .extractor-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 6px;
        }

        .extractor-icon {
            width: 42px;
            height: 42px;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(127, 14, 18, .07);
            flex-shrink: 0;
        }

        .extractor-title {
            font-family: var(--fp);
            font-size: 17px;
            font-weight: 500;
            color: var(--forest);
        }

        .extractor-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(232, 190, 98, .15);
            border-radius: 20px;
            padding: 3px 10px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .06em;
            color: #8a6200;
            text-transform: uppercase;
            margin-left: 8px;
        }

        .extractor-optional {
            background: #F2E8E8;
            color: #6f5c5c;
            margin-left: 6px;
        }

        .extractor-sub {
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 18px;
            line-height: 1.6;
            margin-left: 56px;
        }

        .drop-zone {
            border: 2px dashed var(--border);
            border-radius: 14px;
            padding: 26px 20px;
            text-align: center;
            cursor: pointer;
            background: white;
            transition: all .25s;
            position: relative;
        }

        .drop-zone:hover {
            border-color: var(--gold);
            background: #fff8f8;
        }

        .drop-zone-icon {
            font-size: 26px;
            margin-bottom: 8px;
        }

        .drop-zone p {
            font-size: 13px;
            color: var(--ink);
            font-weight: 500;
            margin-bottom: 4px;
        }

        .drop-zone span {
            font-size: 11px;
            color: var(--muted);
        }

        .drop-zone input {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
        }

        .extract-progress {
            margin-top: 14px;
            display: none;
        }

        .extract-bar-wrap {
            background: var(--sahifa);
            border-radius: 20px;
            height: 6px;
            overflow: hidden;
            margin-bottom: 8px;
        }

        .extract-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--forest), var(--gold));
            border-radius: 20px;
            width: 0%;
            transition: width .4s ease;
        }

        .extract-status-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .extract-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--gold);
            animation: pulse 1.2s infinite;
            flex-shrink: 0;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: .5;
                transform: scale(.8);
            }
        }

        .extract-dot.done {
            background: var(--forest);
            animation: none;
        }

        .extract-dot.error-dot {
            background: var(--red);
            animation: none;
        }

        .extract-result {
            margin-top: 14px;
            background: white;
            border: 1.5px solid rgba(127, 14, 18, .15);
            border-radius: 12px;
            padding: 14px 16px;
            display: none;
        }

        .extract-result-head {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 700;
            color: var(--forest);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: .08em;
        }

        .extract-fields {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .extract-field {
            font-size: 12px;
            color: var(--muted);
        }

        .extract-field strong {
            display: block;
            color: var(--ink);
            font-weight: 500;
            font-size: 13px;
            margin-bottom: 1px;
        }

        .btn-apply {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 14px;
            background: var(--forest);
            color: white;
            border: none;
            border-radius: 10px;
            padding: 11px 20px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            font-family: var(--fs);
            transition: all .2s;
            width: 100%;
            justify-content: center;
        }

        .btn-apply:hover {
            background: var(--forest-dark);
            box-shadow: 0 4px 14px rgba(127, 14, 18, .3);
        }

        .skip-extract {
            text-align: center;
            margin-top: 10px;
            font-size: 12px;
            color: var(--muted);
        }

        .skip-extract button {
            background: none;
            border: none;
            color: var(--muted);
            cursor: pointer;
            text-decoration: underline;
            font-size: 12px;
            font-family: var(--fs);
        }

        .emerg-block {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: 14px;
            padding: 18px 18px 16px;
            margin-bottom: 26px;
        }

        .emerg-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 5px;
        }

        .emerg-icon {
            font-size: 17px;
        }

        .emerg-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--ink);
        }

        .emerg-req {
            color: var(--red);
            margin-left: 2px;
        }

        .emerg-desc {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.6;
            margin-bottom: 12px;
            padding-left: 27px;
        }

        .emerg-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        #fmQsWrap {
            display: none;
        }

        #smQsWrap {
            display: block;
        }

        .fm-section-head {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(127, 14, 18, .04);
            border-radius: 12px;
            padding: 13px 16px;
            margin-bottom: 22px;
        }

        .fm-section-head span {
            font-size: 13px;
            font-weight: 600;
            color: var(--forest);
        }

        .fm-section-head p {
            font-size: 12px;
            color: var(--muted);
            margin-top: 2px;
        }

.payment-card {
            border: 1.5px solid var(--gold);
            border-radius: 16px;
            padding: 22px;
            margin: 18px 0;
            background: var(--white);
}

        .notification-email-card {
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fffafa;
            padding: 16px;
            margin: 16px 0;
        }

        .notification-email-title {
            color: var(--forest);
            font-family: var(--fp);
            font-size: 16px;
            font-weight: 700;
        }

        .notification-email-card p {
            color: var(--muted);
            font-size: 12px;
            line-height: 1.55;
            margin: 6px 0 12px;
        }

        .notification-email-row,
        .notification-email-otp {
            display: flex;
            gap: 8px;
            align-items: stretch;
        }

        .notification-email-row input,
        .notification-email-otp input {
            min-width: 0;
            flex: 1;
            border: 1.5px solid var(--border);
            border-radius: 8px;
            background: #fff;
            color: var(--ink);
            font: inherit;
            padding: 11px 12px;
        }

        /* Override the broad .btn-back/.btn-primary width so this action does
           not consume the email field's flex space. */
        .notification-email-row .notification-email-action,
        .notification-email-otp .notification-email-action {
            width: auto;
            min-width: 118px;
            margin: 0;
            padding: 10px 13px;
            white-space: nowrap;
            flex: 0 0 auto;
        }

        .notification-email-status {
            display: none;
            margin-bottom: 0 !important;
        }

        .notification-email-status.show { display: block; }
        .notification-email-status.success { color: #15803d; }
        .notification-email-status.error { color: var(--red); }

        @media (max-width: 480px) {
            .notification-email-row,
            .notification-email-otp { flex-direction: column; }
            .notification-email-row .notification-email-action,
            .notification-email-otp .notification-email-action { width: 100%; }
        }

        .payment-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 13px;
            border-bottom: 1px solid var(--border);
            margin-bottom: 14px;
        }

        .payment-label {
            font-size: 14px;
            color: var(--muted);
        }

        .payment-amt {
            font-family: var(--fp);
            font-size: 36px;
            font-weight: 400;
            color: var(--forest);
        }

        .pay-features {
            list-style: none;
        }

        .pay-features li {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            color: var(--ink);
            padding: 9px 0;
            border-bottom: 1px solid var(--border);
            opacity: .8;
        }

        .pay-features li:last-child {
            border-bottom: none;
        }

        .check-icon {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(127, 14, 18, .08);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .pay-tag {
            display: inline-block;
            margin-top: 12px;
            padding: 4px 14px;
            background: var(--sahifa);
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: .05em;
            color: var(--muted);
            text-transform: uppercase;
        }

        .verify-card {
            border: 1.5px solid var(--border);
            border-radius: 16px;
            padding: 22px 18px;
            cursor: pointer;
            transition: all .25s;
            background: var(--white);
            position: relative;
            overflow: hidden;
        }

        .verify-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: var(--forest);
            transform: scaleY(0);
            transition: transform .25s;
        }

        .verify-card:hover {
            box-shadow: 0 4px 20px rgba(127, 14, 18, .08);
            border-color: #f0c0c2;
        }

        .verify-card.selected {
            border-color: var(--forest);
        }

        .verify-card.selected::before {
            transform: scaleY(1);
        }

        .verify-flag {
            font-size: 30px;
            font-weight: 800;
            color: var(--forest);
            margin-bottom: 10px;
            display: block;
        }

        .verify-card h3 {
            font-family: var(--fp);
            font-size: 16px;
            font-weight: 500;
            color: var(--forest);
            margin-bottom: 7px;
        }

        .verify-card p {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.6;
        }

        .verify-sub {
            display: none;
            margin-top: 22px;
        }

        .verify-sub.show {
            display: block;
        }

        .verify-info {
            background: var(--sahifa);
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 14px;
        }

        .verify-info h4 {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .1em;
            color: var(--forest);
            margin-bottom: 12px;
        }

        .verify-row {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            font-size: 13px;
            color: var(--ink);
            padding: 7px 0;
            border-bottom: 1px solid var(--border);
            opacity: .8;
        }

        .verify-row:last-child {
            border-bottom: none;
        }

        .verify-num {
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            color: var(--forest);
            flex-shrink: 0;
        }

        .btn-primary {
            width: 100%;
            padding: 13px 24px;
            background: var(--forest);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-family: var(--fs);
            font-weight: 600;
            cursor: pointer;
            transition: all .22s;
        }

        .btn-primary:hover {
            background: var(--forest-dark);
            box-shadow: 0 6px 20px rgba(127, 14, 18, .35);
        }

        .btn-primary:disabled {
            opacity: .5;
            cursor: not-allowed;
            box-shadow: none;
        }

        .btn-back {
            width: 100%;
            padding: 12px 24px;
            background: transparent;
            color: var(--ink);
            border: 1.5px solid var(--border);
            border-radius: 10px;
            font-size: 14px;
            font-family: var(--fs);
            font-weight: 500;
            cursor: pointer;
            transition: all .2s;
        }

        .btn-back:hover {
            background: var(--gold);
            color: white;
            border-color: var(--gold);
            box-shadow: 0 4px 14px rgba(232, 190, 98, .35);
        }

        .btn-gold {
            width: 100%;
            padding: 13px 24px;
            background: var(--gold);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-family: var(--fs);
            font-weight: 600;
            cursor: pointer;
            transition: all .22s;
            display: block;
            text-align: center;
            text-decoration: none;
        }

        .btn-gold:hover {
            background: var(--gold-dark);
            box-shadow: 0 4px 16px rgba(232, 190, 98, .3);
        }

        .btn-ghost {
            background: none;
            border: none;
            color: var(--muted);
            font-size: 13px;
            font-family: var(--fs);
            cursor: pointer;
            text-decoration: underline;
            padding: 0;
            margin-top: 12px;
            display: block;
            text-align: center;
            width: 100%;
            transition: color .2s;
        }

        .btn-ghost:hover {
            color: var(--ink);
        }

        .btn-row {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 10px;
            margin-top: 14px;
        }

        .err {
            background: #FEF2F2;
            border: 1px solid #FECACA;
            border-radius: 10px;
            padding: 11px 14px;
            font-size: 13px;
            color: var(--red);
            margin-top: 10px;
            display: none;
        }

        .spinner {
            display: inline-block;
            width: 13px;
            height: 13px;
            border: 2px solid rgba(255, 255, 255, .3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin .7s linear infinite;
            margin-right: 6px;
            vertical-align: middle;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .success-wrap {
            text-align: center;
            padding: 28px 0 18px;
        }

        .success-icon {
            width: 68px;
            height: 68px;
            background: var(--sahifa);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 22px;
        }

        .success-wrap h2 {
            font-family: var(--fp);
            font-size: 36px;
            font-weight: 400;
            color: var(--forest);
            margin-bottom: 10px;
        }

        .success-wrap p {
            font-size: 14px;
            color: var(--muted);
            margin-bottom: 26px;
            line-height: 1.6;
        }

        .section-badge {
            display: flex;
            justify-content: center;
            margin-bottom: 10px;
        }

        .upload-wrap {
            background: var(--sahifa);
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 18px;
        }

        .upload-inner {
            border: 1.5px dashed var(--border);
            border-radius: 10px;
            padding: 16px;
            text-align: center;
            cursor: pointer;
            background: white;
            transition: border-color .2s;
        }

        .upload-inner:hover {
            border-color: var(--gold);
        }

        .upload-inner p {
            font-size: 12px;
            color: var(--muted);
            margin-top: 6px;
        }

        .note {
            text-align: center;
            font-size: 12px;
            color: #B8B0A6;
            margin-top: 8px;
        }

        .celeb-panel {
            text-align: center;
            padding: 16px 0 8px;
        }

        .celeb-star {
            width: 60px;
            height: 60px;
            background: var(--sahifa);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
        }

        .celeb-bismillah {
            font-family: var(--fp);
            font-size: 22px;
            color: var(--forest);
            direction: rtl;
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .celeb-divider {
            width: 40px;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--gold), transparent);
            margin: 0 auto 18px;
        }

        .celeb-panel h2 {
            font-family: var(--fp);
            font-size: 28px;
            font-weight: 400;
            color: var(--forest);
            margin-bottom: 10px;
            line-height: 1.25;
        }

        .celeb-panel .celeb-sub {
            font-size: 14px;
            color: var(--muted);
            line-height: 1.7;
            margin-bottom: 32px;
        }

        .btn-begin {
            display: inline-block;
            padding: 14px 40px;
            background: var(--forest);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-family: var(--fs);
            font-weight: 600;
            cursor: pointer;
            transition: all .22s;
            letter-spacing: .01em;
        }

        .btn-begin:hover {
            background: var(--forest-dark);
            box-shadow: 0 6px 20px rgba(127, 14, 18, .35);
        }

        .privacy-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin: 28px 0 0;
            text-align: left;
        }

        .priv-card {
            border: 1.5px solid var(--border);
            border-radius: 14px;
            padding: 20px;
        }

        .priv-title {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .09em;
            text-transform: uppercase;
            margin-bottom: 14px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .priv-title.store {
            color: var(--forest);
        }

        .priv-title.never {
            color: #DC2626;
        }

        .priv-row {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            font-size: 12px;
            color: var(--ink);
            padding: 6px 0;
            border-bottom: 1px solid var(--border);
            line-height: 1.5;
        }

        .priv-row:last-child {
            border-bottom: none;
        }

        .priv-ic {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 700;
            margin-top: 2px;
        }

        .priv-ic.yes {
            color: var(--forest);
        }

        .priv-ic.no {
            color: #DC2626;
        }

        .post-wrap {
            padding: 0;
        }

        .post-header {
            text-align: center;
            padding: 20px 0 24px;
            border-bottom: 1px solid var(--border);
            margin-bottom: 28px;
        }

        .post-badge {
            display: inline-block;
            background: var(--sahifa);
            border-radius: 20px;
            padding: 4px 14px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .09em;
            color: var(--forest);
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .post-header h2 {
            font-family: var(--fp);
            font-size: 26px;
            font-weight: 400;
            color: var(--forest);
            margin-bottom: 6px;
        }

        .post-header p {
            font-size: 13px;
            color: var(--muted);
        }

        .sec-block {
            margin-bottom: 32px;
            border: 1.5px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
        }

        .sec-block-head {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 20px;
            background: var(--sahifa);
            border-bottom: 1px solid var(--border);
        }

        .sec-block-icon {
            width: 32px;
            height: 32px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
            flex-shrink: 0;
        }

        .sec-block-title {
            font-family: var(--fp);
            font-size: 15px;
            font-weight: 500;
            color: var(--forest);
        }

        .sec-block-time {
            font-size: 11px;
            color: var(--muted);
        }

        .sec-block-desc {
            font-size: 12px;
            color: var(--muted);
            margin-top: 2px;
        }

        .sec-block-body {
            padding: 20px;
        }

        .pq-block {
            margin-bottom: 22px;
        }

        .pq-block:last-child {
            margin-bottom: 0;
        }

        .pq-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 4px;
        }

        .pq-hint {
            font-size: 11px;
            color: var(--muted);
            margin-bottom: 8px;
            line-height: 1.55;
        }

        .pq-opt {
            font-size: 10px;
            font-weight: 600;
            background: rgba(232, 190, 98, .12);
            color: #8a6200;
            border-radius: 20px;
            padding: 2px 8px;
            margin-left: 6px;
            letter-spacing: .04em;
        }

        .pq-input {
            border: 1.5px solid var(--border);
            border-radius: 10px;
            padding: 11px 14px;
            font-size: 13px;
            font-family: var(--fs);
            color: var(--ink);
            background: var(--white);
            outline: none;
            width: 100%;
            transition: all .2s;
        }

        .pq-input:hover {
            border-color: #f0c0c2;
            background: var(--sahifa);
        }

        .pq-input:focus {
            border-color: var(--forest);
            box-shadow: 0 0 0 3px rgba(127, 14, 18, .08);
            background: white;
        }

        .pq-input::placeholder {
            color: #C0B8AE;
        }

        .pq-textarea {
            resize: vertical;
            min-height: 88px;
            line-height: 1.6;
        }

        .char-ct {
            font-size: 11px;
            color: var(--muted);
            text-align: right;
            margin-top: 3px;
        }

        .char-ct.warn {
            color: var(--red);
        }

        .otp-wrap {
            max-width: 440px;
            margin: 0 auto;
            text-align: center;
        }

        .otp-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(127, 14, 18, .08);
            border-radius: 20px;
            padding: 4px 14px;
            font-size: 11px;
            font-weight: 700;
            color: var(--forest);
            letter-spacing: .07em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .otp-ring {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: var(--sahifa);
            border: 2px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .otp-phone-row {
            display: flex;
            gap: 10px;
            align-items: flex-end;
            margin-top: 20px;
            text-align: left;
        }

        .otp-phone-row .fg {
            flex: 1;
        }

        .btn-send-otp {
            padding: 0 18px;
            background: var(--forest);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            font-family: var(--fs);
            transition: all .2s;
            white-space: nowrap;
            flex-shrink: 0;
            height: 44px;
        }

        .btn-send-otp:hover {
            background: var(--forest-dark);
        }

        .btn-send-otp:disabled {
            opacity: .5;
            cursor: not-allowed;
        }

        .otp-digits-section {
            margin-top: 22px;
            text-align: left;
            display: none;
        }

        .otp-digits-section.show {
            display: block;
            animation: fadeUp .3s ease;
        }

        .otp-lbl {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 4px;
        }

        .otp-sent-hint {
            font-size: 11px;
            color: var(--muted);
            margin-bottom: 10px;
        }

        .otp-digits-row {
            display: flex;
            gap: 6px;
            justify-content: center;
            margin-bottom: 12px;
            width: 100%;
        }

        .otp-digit {
            flex: 1;
            min-width: 0;
            max-width: 52px;
            height: 52px;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            text-align: center;
            font-size: 20px;
            font-weight: 700;
            color: var(--forest);
            background: var(--white);
            outline: none;
            transition: all .2s;
            font-family: var(--fs);
        }

        .otp-digit:focus {
            border-color: var(--forest);
            box-shadow: 0 0 0 3px rgba(127, 14, 18, .1);
        }

        .otp-digit.filled {
            border-color: var(--forest);
            background: var(--sahifa);
        }

        .otp-digit.otp-err {
            border-color: var(--red);
            background: #fff0f0;
        }

        .otp-resend-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 14px;
        }

        .otp-cd {
            font-weight: 600;
            color: var(--forest);
        }

        .btn-resend {
            background: none;
            border: none;
            color: var(--forest);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            font-family: var(--fs);
            text-decoration: underline;
        }

        .btn-resend:disabled {
            color: var(--muted);
            cursor: not-allowed;
            text-decoration: none;
        }

        .otp-success-box {
            background: #f0fdf4;
            border: 1.5px solid #86efac;
            border-radius: 14px;
            padding: 14px 18px;
            margin-top: 14px;
            display: none;
            align-items: center;
            gap: 12px;
        }

        .otp-success-box.show {
            display: flex;
            animation: fadeUp .3s ease;
        }

        .otp-success-ic {
            width: 34px;
            height: 34px;
            background: #16a34a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .otp-success-title {
            font-size: 13px;
            font-weight: 600;
            color: #15803d;
        }

        .otp-success-sub {
            font-size: 11px;
            color: #16a34a;
            margin-top: 2px;
        }

        .photo-block {
            margin-bottom: 30px;
            border: 1.5px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
        }

        .photo-block-head {
            padding: 16px 20px;
            background: var(--sahifa);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .photo-block-icon {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 1px 4px rgba(127, 14, 18, .08);
        }

        .photo-block-title {
            font-family: var(--fp);
            font-size: 16px;
            font-weight: 500;
            color: var(--forest);
        }

        .photo-block-sub {
            font-size: 11px;
            color: var(--muted);
            margin-top: 2px;
        }

        .photo-opt-badge {
            background: rgba(232, 190, 98, .15);
            border-radius: 20px;
            padding: 3px 10px;
            font-size: 10px;
            font-weight: 700;
            color: #8a6200;
            margin-left: 8px;
            display: inline-flex;
            align-items: center;
        }

        .photo-block-body {
            padding: 20px;
        }

        .photo-drop {
            border: 2px dashed var(--border);
            border-radius: 14px;
            padding: 28px 20px;
            text-align: center;
            cursor: pointer;
            background: white;
            transition: all .25s;
            position: relative;
        }

        .photo-drop:hover {
            border-color: var(--gold);
            background: #fff8f8;
        }

        .photo-drop input {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
        }

        .photo-drop-icon {
            font-size: 30px;
            margin-bottom: 8px;
        }

        .photo-drop-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 4px;
        }

        .photo-drop-sub {
            font-size: 12px;
            color: var(--muted);
        }

        .photo-drop-limit {
            display: inline-block;
            margin-top: 8px;
            background: var(--sahifa);
            border-radius: 20px;
            padding: 3px 12px;
            font-size: 11px;
            color: var(--muted);
            font-weight: 600;
        }

        .photo-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
            margin-top: 16px;
        }

        .photo-thumb {
            position: relative;
            aspect-ratio: 1;
            border-radius: 10px;
            overflow: hidden;
            border: 1.5px solid var(--border);
            background: var(--sahifa);
        }

        .photo-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .photo-remove {
            position: absolute;
            top: 4px;
            right: 4px;
            width: 26px !important;
            height: 26px !important;
            min-width: 26px !important;
            max-width: 26px !important;
            min-height: 26px !important;
            max-height: 26px !important;
            padding: 0 !important;
            background: rgba(127, 14, 18, .85);
            border: none;
            border-radius: 50% !important;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20px;
            font-weight: 700;
            line-height: 1;
            z-index: 5;
            appearance: none;
            -webkit-appearance: none;
            box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
            transform: none !important;
            overflow: hidden;
        }

        .photo-remove:hover {
            background: var(--forest-dark);
        }

        .photo-remove:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 2px;
        }

        .photo-count-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 12px;
            font-size: 12px;
            color: var(--muted);
        }

        .photo-count-num {
            font-weight: 700;
            color: var(--forest);
        }

        .photo-priv-block {
            margin-top: 16px;
            background: rgba(127, 14, 18, .03);
            border: 1.5px solid rgba(127, 14, 18, .1);
            border-radius: 12px;
            padding: 16px 18px;
        }

        .photo-priv-title {
            font-size: 12px;
            font-weight: 700;
            color: var(--forest);
            text-transform: uppercase;
            letter-spacing: .07em;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .priv-opt {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 12px;
            border: 1.5px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            margin-bottom: 8px;
            transition: all .2s;
            background: white;
        }

        .priv-opt:last-child {
            margin-bottom: 0;
        }

        .priv-opt:hover {
            border-color: #f0c0c2;
            background: var(--sahifa);
        }

        .priv-opt.selected {
            border-color: var(--forest);
            background: rgba(127, 14, 18, .03);
        }

        .priv-opt-radio {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 1px;
            transition: all .2s;
        }

        .priv-opt.selected .priv-opt-radio {
            border-color: var(--forest);
            background: var(--forest);
        }

        .priv-opt.selected .priv-opt-radio::after {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: white;
        }

        .priv-opt-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 2px;
        }

        .priv-opt-sub {
            font-size: 11px;
            color: var(--muted);
            line-height: 1.5;
        }

        .priv-rec-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(127, 14, 18, .07);
            border-radius: 20px;
            padding: 2px 8px;
            font-size: 10px;
            font-weight: 700;
            color: var(--forest);
            margin-top: 4px;
        }

        .age-row-p {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 8px;
            align-items: center;
        }

        .age-sep-p {
            font-size: 13px;
            color: var(--muted);
            text-align: center;
        }

        /* ── OTP Method Cards ── */
        .otp-method-section {
            margin-bottom: 18px;
        }

        .otp-method-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 10px;
        }

        .otp-method-cards {
            display: flex;
            gap: 8px;
        }

        .otp-method-card {
            flex: 1;
            padding: 12px 6px;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            transition: all .2s;
            background: white;
            font-family: var(--fs);
        }

        .otp-method-card:hover {
            border-color: var(--forest);
            background: var(--sahifa);
        }

        .otp-method-card.sel {
            border-color: var(--forest);
            background: var(--sahifa);
            box-shadow: 0 0 0 3px rgba(127, 14, 18, .08);
        }

        .otp-m-icon {
            font-size: 22px;
        }

        .otp-m-name {
            font-size: 11px;
            font-weight: 600;
            color: var(--ink);
        }

        .otp-m-desc {
            font-size: 10px;
            color: var(--muted);
            text-align: center;
        }

        /* ── Validation ── */
        .fg input.v-err,
        .fg textarea.v-err,
        .fg select.v-err {
            border-color: var(--red) !important;
            background: #fff8f8 !important;
        }

        .fg input.v-ok,
        .fg textarea.v-ok,
        .fg select.v-ok {
            border-color: #16a34a !important;
        }

        .v-msg {
            font-size: 11px;
            margin-top: 3px;
            line-height: 1.4;
            padding-left: 2px;
        }

        .v-msg.err {
            color: var(--red);
        }

        .v-msg.ok {
            color: #16a34a;
        }

        /* ── City Autocomplete ── */
        .city-ac-wrap {
            position: relative;
        }

        .city-ac-drop {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1.5px solid var(--forest);
            border-top: none;
            border-radius: 0 0 10px 10px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 100;
            box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
            display: none;
        }

        .city-ac-drop.show {
            display: block;
        }

        .city-ac-item {
            padding: 10px 14px;
            font-size: 13px;
            cursor: pointer;
            color: var(--ink);
            transition: background .15s;
            border-bottom: 1px solid var(--border);
        }

        .city-ac-item:last-child {
            border-bottom: none;
        }

        .city-ac-item:hover,
        .city-ac-item.active {
            background: var(--sahifa);
            color: var(--forest);
        }

        /* ── Extraction badge ── */
        .extract-count-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #f0fdf4;
            border: 1px solid #86efac;
            border-radius: 20px;
            padding: 5px 14px;
            font-size: 12px;
            font-weight: 600;
            color: #15803d;
            margin-bottom: 12px;
        }

        /* ── Mobile responsive additions ── */
        @media(max-width:480px) {
            .otp-method-cards {
                gap: 6px;
            }

            .otp-method-card {
                padding: 10px 4px;
            }

            .otp-m-icon {
                font-size: 18px;
            }

            .otp-m-name {
                font-size: 10px;
            }

            .otp-m-desc {
                display: none;
            }
        }

        @media(max-width:860px) {
            :root {
                --card-width: 100%;
                --card-padding-x: 32px;
            }

            body {
                padding: 24px 12px 60px;
            }

            .panel-h1 {
                font-size: 30px;
            }

            .panel-h2 {
                font-size: 24px;
            }

            .privacy-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
        }

        @media(max-width:600px) {
            :root {
                --card-padding-x: 24px;
            }

            body {
                padding: 0;
                background: #fef3f4;
            }

            .card {
                border-radius: 0;
                box-shadow: none;
                width: 100%;
            }

            .card-body {
                padding: 50px 24px 50px;
            }

            .progress-wrap {
                padding: 14px 12px;
            }

            .step-dot {
                width: 26px;
                height: 26px;
                font-size: 11px;
                flex-shrink: 0;
            }

            .step.active .step-dot {
                box-shadow: 0 0 0 3px rgba(232, 190, 98, .25);
            }

            .step-line {
                min-width: 4px;
                margin-top: 13px;
            }

            .step-lbl {
                font-size: 7px;
                letter-spacing: .03em;
                max-width: 38px;
                white-space: normal;
                text-align: center;
                line-height: 1.2;
            }

            .panel-h1 {
                font-size: 24px;
                margin-bottom: 8px;
            }

            .panel-h2 {
                font-size: 20px;
                margin-bottom: 8px;
            }

            .panel-sub {
                font-size: 13px;
                margin-bottom: 20px;
            }

            .icon-box {
                width: 44px;
                height: 44px;
                border-radius: 12px;
                margin-bottom: 14px;
            }

            .two-col {
                display: flex !important;
                flex-direction: column !important;
                gap: 12px;
                margin: 16px 0 14px;
            }

            .sel-card {
                width: 100%;
                padding: 20px 18px;
            }

            .sel-card-icon {
                font-size: 22px;
                margin-bottom: 6px;
            }

            .sel-card h3 {
                font-size: 17px;
                margin-bottom: 5px;
            }

            .sel-card p {
                font-size: 12px;
            }

            .manager-card {
                width: 100%;
                padding: 18px 16px;
            }

            .manager-card h3 {
                font-size: 17px;
                margin-bottom: 5px;
            }

            .manager-card p {
                font-size: 13px;
            }

            .manager-card em {
                font-size: 11px;
            }

            .manager-icon-row {
                margin-bottom: 10px;
            }

            .verify-card {
                width: 100%;
                padding: 18px 16px;
            }

            .verify-flag {
                font-size: 26px;
            }

            .verify-card h3 {
                font-size: 15px;
            }

            .verify-card p {
                font-size: 12px;
            }

            .trust-row {
                font-size: 11px;
                flex-wrap: wrap;
                gap: 4px 8px;
                justify-content: center;
            }

            .btn-row {
                grid-template-columns: 1fr;
                gap: 10px;
                margin-top: 20px;
            }

            .btn-row .btn-back {
                order: 2;
            }

            .btn-row .btn-primary {
                order: 1;
            }

            .btn-row .btn-gold {
                order: 1;
            }

            .btn-primary {
                padding: 15px 20px;
                font-size: 14px;
            }

            .btn-back {
                padding: 14px 20px;
                font-size: 14px;
            }

            .btn-gold {
                padding: 15px 20px;
                font-size: 14px;
            }

            .err {
                font-size: 12px;
                padding: 10px 12px;
            }

            .radio-option {
                font-size: 13px;
                padding: 12px 14px;
                gap: 10px;
                line-height: 1.45;
                margin-bottom: 8px;
            }

            .radio-dot {
                width: 18px;
                height: 18px;
                flex-shrink: 0;
            }

            .qs-block {
                margin-bottom: 22px;
            }

            .qs-label {
                font-size: 13px;
                line-height: 1.5;
            }

            .qs-hint {
                font-size: 11px;
                margin-bottom: 8px;
            }

            .text-row {
                grid-template-columns: 1fr;
                gap: 10px;
                margin-bottom: 10px;
            }

            .emerg-block {
                padding: 16px 14px 14px;
            }

            .emerg-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .emerg-desc {
                padding-left: 0;
                font-size: 12px;
                line-height: 1.65;
                margin-bottom: 14px;
            }

            .fm-section-head {
                padding: 12px 14px;
                gap: 8px;
            }

            .fm-section-head span {
                font-size: 13px;
            }

            .fm-section-head p {
                font-size: 11px;
            }

            .otp-wrap {
                max-width: 100%;
            }

            .otp-ring {
                width: 60px;
                height: 60px;
                margin-bottom: 16px;
            }

            .otp-badge {
                font-size: 10px;
                padding: 4px 12px;
            }

            .otp-phone-row {
                flex-direction: column;
                gap: 10px;
                margin-top: 18px;
                align-items: stretch;
            }

            .otp-phone-row .fg {
                flex: unset;
            }

            .btn-send-otp {
                width: 100%;
                height: 50px;
                font-size: 14px;
                font-weight: 600;
                border-radius: 10px;
            }

            .otp-digits-section {
                margin-top: 20px;
            }

            .otp-lbl {
                font-size: 13px;
            }

            .otp-sent-hint {
                font-size: 11px;
                margin-bottom: 12px;
            }

            .otp-digits-row {
                gap: 8px;
                justify-content: center;
                margin-bottom: 16px;
            }

            .otp-digit {
                width: calc((100% - 40px) / 6);
                min-width: 36px;
                max-width: 50px;
                height: 54px;
                font-size: 20px;
                border-radius: 10px;
            }

            .otp-resend-row {
                font-size: 12px;
                margin-bottom: 14px;
            }

            .otp-success-box {
                padding: 12px 14px;
            }

            .otp-success-title {
                font-size: 13px;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .fg.full {
                grid-column: 1;
            }

            .form-block {
                margin-bottom: 28px;
            }

            .block-header {
                padding-bottom: 12px;
                margin-bottom: 16px;
                gap: 10px;
            }

            .block-title {
                font-size: 14px;
            }

            .block-count {
                font-size: 10px;
            }

            .fg label {
                font-size: 13px;
            }

            .fg input,
            .fg select,
            .fg textarea {
                font-size: 16px;
                padding: 13px 14px;
                border-radius: 10px;
                line-height: 1.4;
                min-height: 50px;
            }

            .fg-hint {
                font-size: 11px;
            }

            .extractor-card {
                padding: 18px 16px;
                margin-bottom: 24px;
            }

            .extractor-header {
                flex-wrap: wrap;
                gap: 8px;
                margin-bottom: 8px;
            }

            .extractor-icon {
                width: 36px;
                height: 36px;
            }

            .extractor-title {
                font-size: 15px;
            }

            .extractor-badge {
                font-size: 9px;
            }

            .extractor-sub {
                margin-left: 0;
                font-size: 12px;
                margin-bottom: 14px;
            }

            .drop-zone {
                padding: 20px 14px;
            }

            .drop-zone-icon {
                font-size: 22px;
            }

            .drop-zone p {
                font-size: 13px;
            }

            .drop-zone span {
                font-size: 11px;
            }

            .extract-fields {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .btn-apply {
                padding: 13px 16px;
                font-size: 13px;
            }

            .cond-inner {
                padding: 14px 12px 8px;
            }

            .ns-badge {
                font-size: 10px;
                margin-bottom: 14px;
            }

            .photo-block {
                margin-bottom: 24px;
            }

            .photo-block-head {
                padding: 14px 16px;
                flex-wrap: wrap;
                gap: 10px;
            }

            .photo-block-title {
                font-size: 15px;
            }

            .photo-block-sub {
                font-size: 11px;
            }

            .photo-block-body {
                padding: 16px;
            }

            .photo-drop {
                padding: 22px 14px;
            }

            .photo-drop-title {
                font-size: 13px;
            }

            .photo-drop-sub {
                font-size: 12px;
            }

            .photo-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
            }

            .priv-opt {
                padding: 12px 10px;
                gap: 10px;
            }

            .priv-opt-title {
                font-size: 13px;
            }

            .priv-opt-sub {
                font-size: 11px;
            }

            .payment-card {
                padding: 18px 16px;
                margin: 16px 0;
            }

            .payment-amt {
                font-size: 30px;
            }

            .pay-features li {
                font-size: 13px;
                padding: 9px 0;
            }

            .verify-info {
                padding: 14px;
            }

            .verify-info h4 {
                font-size: 10px;
            }

            .verify-row {
                font-size: 12px;
                padding: 6px 0;
                gap: 10px;
            }

            .celeb-panel {
                padding: 10px 0 6px;
            }

            .celeb-star {
                width: 52px;
                height: 52px;
                margin-bottom: 18px;
            }

            .celeb-bismillah {
                font-size: 18px;
                margin-bottom: 12px;
            }

            .celeb-panel h2 {
                font-size: 20px;
                line-height: 1.3;
                margin-bottom: 8px;
            }

            .celeb-sub {
                font-size: 13px;
                margin-bottom: 24px;
            }

            .btn-begin {
                padding: 15px 28px;
                font-size: 14px;
                display: block;
                text-align: center;
            }

            .privacy-grid {
                grid-template-columns: 1fr;
                gap: 10px;
                margin: 20px 0 0;
            }

            .priv-card {
                padding: 16px 14px;
            }

            .priv-row {
                font-size: 11px;
                padding: 5px 0;
                gap: 8px;
            }

            .priv-title {
                font-size: 10px;
            }

            .post-header {
                padding: 16px 0 20px;
                margin-bottom: 20px;
            }

            .post-badge {
                font-size: 10px;
            }

            .post-header h2 {
                font-size: 20px;
                margin-bottom: 5px;
            }

            .post-header p {
                font-size: 12px;
            }

            .sec-block {
                margin-bottom: 20px;
                border-radius: 14px;
            }

            .sec-block-head {
                padding: 13px 14px;
                gap: 8px;
                flex-wrap: wrap;
            }

            .sec-block-icon {
                width: 28px;
                height: 28px;
                border-radius: 8px;
                flex-shrink: 0;
            }

            .sec-block-title {
                font-size: 14px;
            }

            .sec-block-time {
                font-size: 10px;
            }

            .sec-block-desc {
                font-size: 11px;
            }

            .sec-block-body {
                padding: 18px 14px;
            }

            .pq-block {
                margin-bottom: 20px;
            }

            .pq-label {
                font-size: 13px;
                line-height: 1.5;
            }

            .pq-hint {
                font-size: 11px;
                margin-bottom: 8px;
            }

            .pq-input {
                font-size: 16px;
                padding: 13px 14px;
            }

            .pq-textarea {
                min-height: 88px;
            }

            .char-ct {
                font-size: 10px;
            }

            .age-row-p {
                grid-template-columns: 1fr auto 1fr;
                gap: 6px;
            }

            .success-wrap {
                padding: 20px 0 14px;
            }

            .success-icon {
                width: 56px;
                height: 56px;
                border-radius: 16px;
                margin-bottom: 16px;
            }

            .success-wrap h2 {
                font-size: 24px;
            }

            .success-wrap p {
                font-size: 13px;
            }

            .note {
                font-size: 11px;
            }
        }

        @media(max-width:375px) {
            .card-body {
                padding: 40px 18px 40px;
            }

            .step-dot {
                width: 22px;
                height: 22px;
                font-size: 10px;
            }

            .step-line {
                margin-top: 11px;
            }

            .step-lbl {
                font-size: 6px;
                max-width: 32px;
            }

            .panel-h1 {
                font-size: 20px;
            }

            .panel-h2 {
                font-size: 18px;
            }

            .otp-digit {
                width: calc((100% - 28px) / 6);
                min-width: 30px;
                height: 48px;
                font-size: 17px;
            }

            .photo-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .celeb-panel h2 {
                font-size: 18px;
            }
        }

        /* ══ LOGIN-STYLE OTP PANEL ══════════════════════════════════════════════════ */
        .otp-panel-wrap {
            max-width: 420px;
            margin: 0 auto;
        }

        /* Method cards — login page style */
        .lm-label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 12px;
        }

        .lm-cards {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 24px;
        }

        .lm-card {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 18px;
            border: 2px solid var(--border);
            border-radius: 16px;
            cursor: pointer;
            transition: all .2s;
            background: var(--white);
            -webkit-tap-highlight-color: transparent;
        }

        .lm-card:hover {
            border-color: var(--forest);
            background: var(--sahifa);
        }

        .lm-card.sel {
            border-color: var(--forest);
            background: var(--sahifa);
            box-shadow: 0 0 0 3px rgba(127, 14, 18, .08);
        }

        .lm-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .lm-icon.wa {
            background: #dcfce7;
        }

        .lm-icon.sms {
            background: #eff6ff;
        }

        .lm-icon.em {
            background: #fef9ec;
        }

        .lm-icon svg {
            width: 20px;
            height: 20px;
        }

        .lm-body {
            flex: 1;
            text-align: left;
        }

        .lm-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink);
            margin-bottom: 2px;
        }

        .lm-desc {
            font-size: 12px;
            color: var(--muted);
        }

        .lm-radio {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: border-color .2s;
        }

        .lm-card.sel .lm-radio {
            border-color: var(--forest);
        }

        .lm-radio-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--forest);
            transform: scale(0);
            transition: transform .2s;
        }

        .lm-card.sel .lm-radio-dot {
            transform: scale(1);
        }

        /* Input wrap — login style */
        .otp-inp-wrap {
            display: flex;
            align-items: stretch;
            border: 1.5px solid var(--border);
            border-radius: 14px;
            overflow: hidden;
            background: var(--white);
            margin-bottom: 18px;
            transition: border-color .2s;
        }

        .otp-inp-wrap:focus-within {
            border-color: var(--forest);
        }

        .otp-inp-pfx {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 0 14px;
            font-size: 14px;
            font-weight: 600;
            color: var(--ink);
            background: var(--sahifa);
            border-right: 1.5px solid var(--border);
            flex-shrink: 0;
            white-space: nowrap;
        }

        .otp-inp-pfx svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: var(--forest);
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        input.otp-txt {
            flex: 1;
            border: none;
            outline: none;
            padding: 15px 16px;
            font-size: 16px;
            font-family: var(--fs);
            color: var(--ink);
            background: var(--white);
            width: 100%;
            -webkit-appearance: none;
        }

        input.otp-txt::placeholder {
            color: #caa0a2;
        }

        /* Via chip */
        .otp-via-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--sahifa);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 5px 12px;
            font-size: 12px;
            font-weight: 600;
            color: var(--ink);
            margin: 0 auto 8px;
            width: fit-content;
        }

        .otp-via-chip svg {
            width: 13px;
            height: 13px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.5;
            stroke-linecap: round;
        }

        /* Identifier display */
        .otp-id-disp {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--sahifa);
            border: 1.5px solid var(--border);
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 20px;
        }

        .otp-id-val {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink);
            flex: 1;
        }

        .otp-id-change {
            font-size: 12px;
            font-weight: 600;
            color: var(--forest);
            text-decoration: underline;
            cursor: pointer;
            background: none;
            border: none;
            font-family: var(--fs);
        }

        /* Big OTP digit boxes — login style */
        .otp-lg-grid {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-bottom: 18px;
        }

        .otp-lg-d {
            flex: 1;
            max-width: 54px;
            height: 60px;
            border: 1.5px solid var(--border);
            border-radius: 14px;
            text-align: center;
            font-size: 24px;
            font-weight: 700;
            font-family: var(--fp);
            color: var(--forest);
            background: var(--white);
            outline: none;
            transition: border-color .2s, background .2s;
            -moz-appearance: textfield;
        }

        .otp-lg-d::-webkit-outer-spin-button,
        .otp-lg-d::-webkit-inner-spin-button {
            -webkit-appearance: none;
        }

        .otp-lg-d:focus {
            border-color: var(--forest);
            background: var(--sahifa);
        }

        .otp-lg-d.filled {
            border-color: var(--forest);
            background: var(--sahifa);
        }

        .otp-lg-d.bad {
            border-color: var(--red);
            background: #fef2f2;
            animation: lgJolt .3s;
        }

        @keyframes lgJolt {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-4px);
            }

            75% {
                transform: translateX(4px);
            }
        }

        /* Resend row */
        .otp-resend-lg {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 18px;
        }

        .otp-cd-lg {
            font-weight: 600;
            color: var(--forest);
        }

        /* Success state */
        .otp-success-ring {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: linear-gradient(135deg, #15803d, #16a34a);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            box-shadow: 0 8px 32px rgba(22, 163, 74, .22);
            animation: lgPopIn .4s cubic-bezier(.34, 1.56, .64, 1);
        }

        @keyframes lgPopIn {
            from {
                transform: scale(.5);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .otp-success-ring svg {
            width: 32px;
            height: 32px;
            stroke: white;
            fill: none;
            stroke-width: 2.5;
            stroke-linecap: round;
        }

        @media(max-width:480px) {
            .lm-card {
                padding: 14px 12px;
                gap: 10px;
            }

            .otp-lg-d {
                max-width: 44px;
                height: 52px;
                font-size: 20px;
            }

            .otp-lg-grid {
                gap: 6px;
            }
        }


        /* Smart validation styles */
        .v-err {
            border-color: var(--red) !important;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, .08) !important;
        }

        .v-ok {
            border-color: #16a34a !important;
        }

        .pq-input.v-err {
            border-color: var(--red) !important;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, .08) !important;
        }

        .pq-input.v-ok {
            border-color: #16a34a !important;
        }


        @keyframes fieldShake {

            0%,
            100% {
                transform: translateX(0);
            }

            20% {
                transform: translateX(-6px);
            }

            40% {
                transform: translateX(6px);
            }

            60% {
                transform: translateX(-4px);
            }

            80% {
                transform: translateX(4px);
            }
        }


        /* Better err-4 styling */
        #err-4 {
            line-height: 1.8;
            font-size: 13px;
        }

        /* ── Address Autocomplete ────────────────────────────────── */
        .addr-ac-wrap {
            position: relative;
        }

        .addr-ac-drop {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border: 1.5px solid var(--forest);
            border-top: none;
            border-radius: 0 0 10px 10px;
            max-height: 220px;
            overflow-y: auto;
            z-index: 200;
            box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
        }

        .addr-ac-drop.show {
            display: block;
        }

        .addr-ac-item {
            padding: 11px 14px;
            font-size: 13px;
            cursor: pointer;
            color: var(--ink);
            border-bottom: 1px solid var(--border);
            line-height: 1.5;
            transition: background .15s;
        }

        .addr-ac-item:last-child {
            border-bottom: none;
        }

        .addr-ac-item:hover,
        .addr-ac-item.active {
            background: var(--sahifa);
            color: var(--forest);
        }

        .addr-ac-item .addr-main {
            font-weight: 500;
        }

        .addr-ac-item .addr-sub {
            font-size: 11px;
            color: var(--muted);
            margin-top: 2px;
        }

        .addr-ac-loading {
            padding: 12px 14px;
            font-size: 12px;
            color: var(--muted);
            text-align: center;
        }

        .addr-verified-chip {
            display: none;
            align-items: center;
            gap: 6px;
            background: #f0fdf4;
            border: 1px solid #86efac;
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 11px;
            font-weight: 600;
            color: #15803d;
            margin-top: 6px;
            width: fit-content;
        }

        .addr-verified-chip.show {
            display: flex;
        }

        /* GLOBAL OVERRIDE FOR WORDPRESS: Prevent text clipping in all form elements */
        input[type="text"],
        input[type="tel"],
        input[type="number"],
        input[type="email"],
        input[type="date"],
        input[type="password"],
        select,
        textarea,
        .radio-option,
        .addr-ac-item {
            line-height: 1.5 !important;
            height: auto !important;
        }

        .start-over-wrap {
            display: flex;
            justify-content: flex-end;
            padding: 18px 24px 0;
        }

        .start-over-wrap[hidden] {
            display: none;
        }

        .start-over-link {
            color: var(--forest);
            font-size: 12px;
            font-weight: 600;
            text-decoration: underline;
        }

        .start-over-link:hover,
        .start-over-link:focus-visible {
            color: var(--forest-dark);
        }

        @media (max-width: 600px) {
            .start-over-wrap {
                padding: 14px 16px 0;
            }
        }

        .hm-test-tools {
            position: sticky;
            top: max(8px, env(safe-area-inset-top));
            z-index: 10000;
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: flex-end;
            width: min(100% - 24px, 560px);
            margin: 8px 12px 0 auto;
        }

        /* Registration gets its installation action from the shared PWA prompt.
           Keeping this toolbar to one control prevents duplicate actions from
           fighting the install reminder and the progress tracker. */
        .hm-test-tools [data-humraah-install] {
            display: none !important;
        }

        .hm-test-tool {
            border: 1px solid #7f0e12;
            border-radius: 999px;
            padding: 8px 12px;
            background: #fff;
            color: #7f0e12;
            font: 600 11px Poppins, sans-serif;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(127,14,18,.12);
        }

        .hm-test-tool.primary { background: #7f0e12; color: #fff; }
        .hm-test-badge { min-width: 18px; display: inline-flex; justify-content: center; margin-left: 4px; }
        .hm-test-dropdown {
            display: none;
            position: fixed;
            top: 58px;
            right: 16px;
            width: min(340px, calc(100vw - 32px));
            max-height: 420px;
            overflow: auto;
            z-index: 10001;
            background: #fff;
            border: 1px solid #F0D8D8;
            border-radius: 12px;
            box-shadow: 0 12px 35px rgba(127,14,18,.2);
        }

        /* The shared app shell adds fixed top and bottom navigation on mobile.
           Keep the registration flow full-width inside that shell and reserve
           space so controls are never hidden underneath either bar. */
        body.hm-shell-ready #hm-content {
            width: calc(100vw - var(--hm-sidebar, 0px));
            max-width: none;
            margin-left: var(--hm-sidebar, 0px);
            margin-right: 0;
            padding: calc(var(--hm-topbar, 86px) + 16px) 16px
                calc(var(--hm-bottom, 78px) + 24px) !important;
        }

        body.hm-shell-ready #hm-content > .card,
        body.hm-shell-ready #hm-content > p {
            width: min(100%, var(--card-width));
            margin-left: auto;
            margin-right: auto;
        }

        body.hm-shell-ready #hm-content > p {
            margin-top: 20px !important;
        }

        body.hm-shell-ready .hm-test-tools {
            top: calc(var(--hm-topbar, 86px) + 8px);
            right: 16px;
            max-width: calc(100vw - 32px);
        }

        body.hm-shell-ready .hm-test-dropdown {
            top: calc(var(--hm-topbar, 86px) + 58px);
        }

        /* WordPress may wrap this test markup in a narrower content container.
           This page is the registration viewport, so its card must follow the
           device width rather than the theme's article width. */
        body:has(.hm-test-tools) .card {
            min-width: 0;
        }

        body:has(.hm-test-tools) input.otp-lg-d,
        body:has(.hm-test-tools) input.otp-digit {
            color: #7f0e12 !important;
            -webkit-text-fill-color: #7f0e12 !important;
            caret-color: #7f0e12 !important;
            background-color: #fff !important;
            -webkit-appearance: none !important;
            opacity: 1 !important;
            text-shadow: none !important;
        }

        @media (max-width: 600px) {
            .hm-test-tools {
                position: sticky;
                top: 0;
                width: 100%;
                margin: 0;
                padding: max(8px, env(safe-area-inset-top)) 10px 8px;
                justify-content: center;
                flex-wrap: nowrap;
                background: rgba(255, 250, 250, .98);
                border-bottom: 1px solid #f0d8d8;
                box-sizing: border-box;
            }

            .hm-test-tool {
                min-width: 0;
                padding: 9px 10px;
                font-size: 11px;
                white-space: nowrap;
            }

            .hm-test-tool.primary { flex: 0 1 132px; }
            #hm-enable-notifications { flex: 1 1 176px; }

            body.hm-shell-ready #hm-content {
                width: 100vw;
                margin-left: 0;
                padding-left: 0;
                padding-right: 0;
            }

            body.hm-shell-ready #hm-content > .card,
            body.hm-shell-ready #hm-content > p {
                width: 100%;
                max-width: none;
            }

            body.hm-shell-ready #hm-content > p {
                padding: 0 16px;
            }

            body.hm-shell-ready .hm-test-tools {
                top: calc(var(--hm-topbar, 86px) + 8px);
                right: 12px;
                max-width: calc(100vw - 24px);
                gap: 6px;
            }

            body.hm-shell-ready .hm-test-tool {
                padding: 8px 10px;
                font-size: 10px;
                white-space: normal;
            }

            body.hm-shell-ready .hm-test-dropdown {
                top: calc(var(--hm-topbar, 86px) + 50px);
                right: 12px;
                width: calc(100vw - 24px);
            }

            body:has(.hm-test-tools) .card {
                width: 100vw;
                max-width: none;
                margin-left: calc(50% - 50vw);
                margin-right: calc(50% - 50vw);
                border-radius: 0;
            }

            .progress-wrap {
                padding-left: 10px;
                padding-right: 10px;
            }

            .steps {
                width: 100%;
            }

            .step {
                min-width: 0;
            }

            .step-line {
                flex: 1 1 auto;
                min-width: 5px;
                margin-left: 3px;
                margin-right: 3px;
                padding: 0;
            }

            .step-lbl {
                width: 100%;
                max-width: 48px;
                overflow-wrap: anywhere;
            }

            .card-body {
                padding-left: clamp(16px, 6vw, 24px);
                padding-right: clamp(16px, 6vw, 24px);
            }

            .otp-phone-row,
            .btn-row,
            .text-row,
            .form-grid {
                width: 100%;
                min-width: 0;
            }

            .btn-primary,
            .btn-back,
            .btn-gold,
            .btn-ghost,
            .btn-send-otp {
                max-width: 100%;
                white-space: normal;
                overflow-wrap: anywhere;
            }
        }

/* ══════════════════════════════════════════════════════════════════════════
   i18n — Hindi (html.lang-hi) and Urdu (html.lang-ur, dir="rtl")
   Nothing below applies to the English page.
   ══════════════════════════════════════════════════════════════════════════ */

        /* ── Fonts: these elements hard-code Poppins ── */
        html.lang-hi .hm-test-tool,
        html.lang-ur .hm-test-tool,
        html.lang-hi .step-lbl,
        html.lang-ur .step-lbl {
            font-family: var(--fs);
        }

        /* ── Letter-spacing breaks Arabic joining and looks wrong in Devanagari;
              uppercase does nothing for either script ── */
        html.lang-hi .step-lbl,
        html.lang-ur .step-lbl,
        html.lang-hi .cond-label,
        html.lang-ur .cond-label,
        html.lang-hi .cond-label::after,
        html.lang-ur .cond-label::after,
        html.lang-hi .ns-badge,
        html.lang-ur .ns-badge,
        html.lang-hi .extractor-badge,
        html.lang-ur .extractor-badge,
        html.lang-hi .extract-result-head,
        html.lang-ur .extract-result-head,
        html.lang-hi .pay-tag,
        html.lang-ur .pay-tag,
        html.lang-hi .verify-info h4,
        html.lang-ur .verify-info h4,
        html.lang-hi .priv-title,
        html.lang-ur .priv-title,
        html.lang-hi .post-badge,
        html.lang-ur .post-badge,
        html.lang-hi .photo-priv-title,
        html.lang-ur .photo-priv-title,
        html.lang-hi .lm-label,
        html.lang-ur .lm-label,
        html.lang-hi .otp-badge,
        html.lang-ur .otp-badge,
        html.lang-hi .pq-opt,
        html.lang-ur .pq-opt,
        html.lang-hi .fg label,
        html.lang-ur .fg label,
        html.lang-hi .btn-begin,
        html.lang-ur .btn-begin {
            letter-spacing: 0 !important;
            text-transform: none !important;
        }

        /* ── Step labels: 9px / 7px is unreadable in these scripts ── */
        html.lang-hi .step-lbl,
        html.lang-ur .step-lbl {
            font-size: 11px;
            line-height: 1.35;
        }

        @media (max-width: 600px) {
            html.lang-hi .step-lbl,
            html.lang-ur .step-lbl {
                font-size: 9px;
                max-width: 52px;
            }
        }

        @media (max-width: 375px) {
            html.lang-hi .step-lbl,
            html.lang-ur .step-lbl {
                font-size: 8px;
            }
        }

        /* ── Urdu (Naskh) needs taller lines than Latin text ── */
        html.lang-ur .card-body {
            line-height: 1.8;
        }

        html.lang-ur input[type="text"],
        html.lang-ur select,
        html.lang-ur textarea,
        html.lang-ur .radio-option,
        html.lang-ur .addr-ac-item {
            line-height: 1.8 !important;
        }

        html.lang-ur .panel-h1,
        html.lang-ur .panel-h2 {
            line-height: 1.5;
        }

        /* ── No synthetic italics for Urdu ── */
        html.lang-ur .bismillah-text,
        html.lang-ur .manager-card em {
            font-style: normal;
        }

        /* ── The "optional" pill on Q-09 is CSS content, so it is translated here ── */
        html.lang-hi .cond-label::after {
            content: 'वैकल्पिक';
        }

        html.lang-ur .cond-label::after {
            content: 'اختیاری';
        }

        /* ── RTL mirroring (Urdu) ── */
        [dir="rtl"] .sel-card::before,
        [dir="rtl"] .manager-card::before,
        [dir="rtl"] .verify-card::before {
            left: auto;
            right: 0;
        }

        [dir="rtl"] .extractor-card::before {
            right: auto;
            left: 0;
        }

        [dir="rtl"] .opt-tag {
            margin-left: 0;
            margin-right: 4px;
        }

        [dir="rtl"] .extractor-badge {
            margin-left: 0;
            margin-right: 8px;
        }

        [dir="rtl"] .extractor-optional {
            margin-right: 6px;
        }

        [dir="rtl"] .extractor-sub {
            margin-left: 0;
            margin-right: 56px;
        }

        [dir="rtl"] .photo-opt-badge {
            margin-left: 0;
            margin-right: 8px;
        }

        [dir="rtl"] .pq-opt {
            margin-left: 0;
            margin-right: 6px;
        }

        [dir="rtl"] .emerg-req {
            margin-left: 0;
            margin-right: 2px;
        }

        [dir="rtl"] .emerg-desc {
            padding-left: 0;
            padding-right: 27px;
        }

        /* Dropdown arrow moves to the left. #fmRelation styles itself inline,
           so it needs !important to be overridden. */
        [dir="rtl"] .fg select,
        [dir="rtl"] #fmRelation {
            background-position: left 14px center !important;
            padding-right: 14px !important;
            padding-left: 38px !important;
        }

        [dir="rtl"] .lm-body,
        [dir="rtl"] .otp-phone-row,
        [dir="rtl"] .otp-digits-section,
        [dir="rtl"] .privacy-grid {
            text-align: right;
        }

        [dir="rtl"] .char-ct {
            text-align: left;
        }

        [dir="rtl"] .v-msg {
            padding-left: 0;
            padding-right: 2px;
        }

        [dir="rtl"] .spinner {
            margin-right: 0;
            margin-left: 6px;
        }

        [dir="rtl"] .photo-remove {
            right: auto;
            left: 4px;
        }

        /* Emails and dates stay left-to-right, aligned to the reading side.
           Phone numbers, OTP boxes and the age range are already LTR in the HTML. */
        [dir="rtl"] input[type="email"],
        [dir="rtl"] input[type="date"] {
            direction: ltr;
            text-align: right;
        }

        @media (max-width: 600px) {
            [dir="rtl"] .extractor-sub {
                margin-right: 0;
            }

            [dir="rtl"] .emerg-desc {
                padding-right: 0;
            }
        }

        /* Small gap under the notifications button */
.hm-test-tools {
    margin-bottom: 14px;
}
.hm-test-tools + .hm-test-dropdown + .card {
    margin-top: 6px;
}