/* ══════════════════════════════════
   LEFT — BRANDING
══════════════════════════════════ */
.lp {
    width: 340px;
    flex-shrink: 0;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: linear-gradient(148deg,
            var(--b9) 0%,
            var(--b8) 50%,
            #1a5c8a 100%);
}

.lp::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(99, 179, 237, 0.16) 0%,
            transparent 65%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.lp::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(13, 148, 136, 0.18) 0%,
            transparent 65%);
    bottom: -60px;
    left: -40px;
    pointer-events: none;
}

/* Update pada bagian ini */
.lp-logo img {
    width: 32px;
    /* Ukuran gambar lebih kecil dari kotaknya (46px) */
    height: 32px;
    object-fit: contain;
    /* Menjaga proporsi logo agar tidak gepeng */
    display: block;
}

/* Modifikasi sedikit pada .lp-logo agar lebih pas */
.lp-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--b5), var(--b9));
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 21px;  -- Bisa dihapus jika tidak ada teks di dalam kotak logo */
    box-shadow:
        0 4px 16px rgba(43, 108, 176, 0.5),
        0 0 0 1px rgba(99, 179, 237, 0.22);
    animation: logoPulse 5s ease-in-out infinite;
    overflow: hidden;
    /* Tambahkan ini sebagai pengaman */
}

/* Container Utama */
.lp-brand {
    display: flex;
    /* Membuat isi berjejer ke samping */
    align-items: center;
    /* Membuat logo dan teks sejajar secara vertikal di tengah */
    gap: 12px;
    /* Jarak antara logo dan teks */
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

/* Wrapper Teks (Dinas Kominfo & Kota Pekalongan) */
.lp-brand>div {
    display: flex;
    flex-direction: column;
    /* Membuat teks nama dan sub tetap bertumpuk atas-bawah */
    justify-content: center;
}

/* Penyesuaian Logo */
.lp-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    /* Mencegah logo gepeng */
    background: linear-gradient(145deg, var(--b5), var(--b9));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(43, 108, 176, 0.5);
}

.lp-logo img {
    width: 30px;
    /* Sesuaikan agar tidak terlalu besar di dalam kotak */
    height: auto;
    display: block;
}

/* Penyesuaian Teks */
.lp-brand-name {
    font-family: "Instrument Serif", serif;
    font-size: 18px;
    /* Sedikit diperbesar agar proporsional */
    color: #fff;
    line-height: 1.1;
    /* Rapatkan jarak antar baris */
    display: block;
}

.lp-brand-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
    display: block;
}

/* hero icon */
.lp-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
}

.icon-rig {
    position: relative;
    width: 124px;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.r1 {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(99, 179, 237, 0.3);
    animation: spin 14s linear infinite;
}

.r1::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--b3);
    box-shadow: 0 0 8px var(--b3);
}

.r2 {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px dashed rgba(99, 179, 237, 0.2);
    animation: spin 9s linear infinite reverse;
}

.r2::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.7);
}

.r3 {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(99, 179, 237, 0.1);
    animation: spin 6s linear infinite;
}

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

.icon-core {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    z-index: 1;
    background: linear-gradient(145deg, var(--b5), var(--b9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow:
        0 8px 28px rgba(43, 108, 176, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    animation: float 4.5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* steps indicator */
.lp-steps {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(99, 179, 237, 0.12);
    transition: background var(--tr);
}

.step-item.active {
    background: rgba(99, 179, 237, 0.14);
    border-color: rgba(99, 179, 237, 0.3);
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.step-item.active .step-dot {
    background: linear-gradient(135deg, var(--b4), var(--b6));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(66, 153, 225, 0.4);
}

.step-txt {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.step-item.active .step-txt {
    color: #fff;
}

/* tagline */
.lp-text {
    position: relative;
    z-index: 2;
}

.tagline {
    font-family: "Instrument Serif", serif;
    font-size: 23px;
    color: #fff;
    line-height: 1.38;
    margin-bottom: 8px;
}

.tagline em {
    font-style: italic;
    color: var(--b3);
}

.lp-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

/* ══════════════════════════════════
   RIGHT — FORM PANEL
══════════════════════════════════ */
.rp {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rp::-webkit-scrollbar {
    display: none;
}

.rp-inner {
    padding: 42px 44px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* head */
.rp-head {
    margin-bottom: 26px;
    animation: up 0.55s 0.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rp-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--b5);
    margin-bottom: 8px;
}

.rp-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--b5), var(--b3));
    border-radius: 2px;
    flex-shrink: 0;
}

.rp-title {
    font-family: "Instrument Serif", serif;
    font-size: 25px;
    color: var(--b9);
    line-height: 1.22;
    margin-bottom: 4px;
}

.rp-sub {
    font-size: 13px;
    color: var(--g5);
    line-height: 1.6;
}

/* ── FORM ── */
.rform {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: up 0.55s 0.18s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* two-column grid for some fields */
.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.frow.full {
    grid-template-columns: 1fr;
    gap: 0;
}

/* field group */
.fg {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.fg:last-child {
    margin-bottom: 0;
}

.flbl {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--g6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.flbl i {
    font-size: 12px;
    color: var(--b4);
}

.flbl .req {
    color: var(--rose);
    margin-left: 1px;
}

/* input wrapper */
.fw {
    position: relative;
}

.fi {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--g4);
    pointer-events: none;
    transition: color var(--tr);
    z-index: 1;
}

.fw:focus-within .fi {
    color: var(--b5);
}

/* input */
.finp {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: var(--g1);
    border: 1.5px solid var(--g2);
    border-radius: var(--r);
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
    color: var(--g8);
    outline: none;
    transition:
        border-color var(--tr),
        background var(--tr),
        box-shadow var(--tr);
}

.finp::placeholder {
    color: var(--g4);
}

.finp:focus {
    border-color: var(--b4);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.finp.err {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.09);
}

/* no left icon variant */
.finp.no-ic {
    padding-left: 14px;
}

/* eye button for password */
.eye {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px 6px;
    border-radius: 7px;
    color: var(--g4);
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
    transition:
        color var(--tr),
        background var(--tr);
}

.eye:hover {
    color: var(--b5);
    background: var(--b0);
}

.finp.has-eye {
    padding-right: 40px;
}

/* focus line */
.fline {
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--b4), transparent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fw:focus-within .fline {
    transform: scaleX(1);
}

/* error message */
.err-msg {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #dc2626;
}

.err-msg.show {
    display: flex;
    animation: errPop 0.18s ease both;
}

@keyframes errPop {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ══════════════════════════════════
   SELECT2 CUSTOM THEME
══════════════════════════════════ */
.select2-container--default .select2-selection--single {
    height: 40px;
    border: 1.5px solid var(--g2);
    border-radius: var(--r);
    background: var(--g1);
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition:
        border-color var(--tr),
        box-shadow var(--tr),
        background var(--tr);
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--b4);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--g8);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 40px;
    padding-left: 26px;
    padding-right: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--g4);
    font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 10px;
    width: 18px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--g4) transparent transparent;
    border-width: 5px 4px 0;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--b5);
    border-width: 0 4px 5px;
}

.select2-dropdown {
    border: 1.5px solid var(--g2);
    border-radius: var(--r-lg) !important;
    box-shadow:
        0 8px 32px rgba(43, 108, 176, 0.12),
        0 2px 8px rgba(43, 108, 176, 0.06);
    overflow: hidden;
    font-family: "DM Sans", sans-serif;
    z-index: 99999;
    animation: s2In 0.16s ease;
}

@keyframes s2In {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.select2-results {
    padding: 5px;
}

.select2-results__option {
    padding: 0;
    border-radius: 8px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: background var(--tr);
}

.s2-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
}

.s2-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.s2-lbl {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}

.s2-desc {
    font-size: 11px;
    color: var(--g4);
}

.select2-results__option--highlighted .s2-opt {
    background: var(--b0);
}

.select2-results__option--highlighted .s2-lbl {
    color: var(--b7);
}

.select2-results__option[aria-selected="true"] .s2-opt {
    background: var(--b1);
}

.select2-results__option[aria-selected="true"] .s2-lbl {
    color: var(--b8);
    font-weight: 700;
}

/* icon overlay for select field */
.s2-ic-overlay {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--g4);
    pointer-events: none;
    z-index: 2;
    transition: color var(--tr);
}

.select2-container--open~.s2-ic-overlay,
.select2-container--focus~.s2-ic-overlay {
    color: var(--b5);
}

/* ══════════════════════════════════
   CONDITIONAL FIELD ANIMATION
══════════════════════════════════ */
.cond-field {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        margin 0.3s ease;
    margin-bottom: 0;
}

.cond-field.show {
    max-height: 120px;
    opacity: 1;
    margin-bottom: 14px;
}

/* ══════════════════════════════════
   DIVIDER
══════════════════════════════════ */
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.div-line {
    flex: 1;
    height: 1px;
    background: var(--g2);
}

.div-txt {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--g4);
    white-space: nowrap;
}

/* ══════════════════════════════════
   PASSWORD STRENGTH
══════════════════════════════════ */
.pwd-strength {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.ps-bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--g2);
    transition: background 0.25s;
}

.ps-bar.weak {
    background: #f87171;
}

.ps-bar.fair {
    background: #fbbf24;
}

.ps-bar.good {
    background: #34d399;
}

.ps-bar.strong {
    background: #16a34a;
}

.pwd-hint {
    font-size: 11px;
    color: var(--g4);
    margin-top: 4px;
}

/* ══════════════════════════════════
   SUBMIT BUTTON
══════════════════════════════════ */
.btn-reg {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--b6), var(--b9));
    border: none;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 700;
    font-family: "DM Sans", sans-serif;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.015em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(43, 108, 176, 0.3);
    transition:
        transform var(--tr-b),
        box-shadow var(--tr-b);
    margin-top: 4px;
}

.btn-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(43, 108, 176, 0.4);
}

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

.btn-reg i {
    font-size: 16px;
    transition: transform var(--tr-b);
}

.btn-reg:hover i {
    transform: translateX(3px);
}

.btn-reg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 35%,
            rgba(255, 255, 255, 0.18) 50%,
            transparent 65%);
    transform: translateX(-100%);
    animation: sweep 2.8s ease-in-out infinite;
}

@keyframes sweep {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

/* loading */
.btn-reg.loading {
    pointer-events: none;
    opacity: 0.88;
}

.btn-reg.loading .btn-txt {
    opacity: 0;
}

.btn-reg.loading::after {
    animation: none;
}

.spin {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    animation: rotate 0.65s linear infinite;
}

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

.btn-reg.loading .spin {
    display: block;
}

.btn-reg.loading .btn-icon {
    display: none;
}

/* login link */
.login-link {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--g5);
}

.login-link a {
    color: var(--b6);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--tr);
}

.login-link a:hover {
    color: var(--b8);
}

/* success overlay */
.success-box {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    gap: 12px;
    animation: up 0.4s ease both;
}

.success-box .s-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
    animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bounceIn {
    from {
        transform: scale(0.4);
    }

    to {
        transform: scale(1);
    }
}

.success-box p {
    font-size: 13px;
    color: var(--g5);
    line-height: 1.65;
    max-width: 320px;
}

/* ══════════════════════════════════
   RESPONSIVE — REGISTER FORM
══════════════════════════════════ */
@media (max-width: 780px) {

    /* Left panel becomes a compact brand-only bar */
    .lp {
        width: 100%;
        flex-shrink: 1;
        padding: 14px 18px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    /* Hide ALL decorative elements on mobile */
    .lp-steps,
    .lp-text,
    .lp-hero,
    .lp::before,
    .lp::after {
        display: none !important;
    }

    .lp-brand {
        margin-bottom: 0;
    }

    .lp-logo {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .lp-logo img {
        width: 24px;
    }

    .lp-brand-name {
        font-size: 15px;
    }

    .lp-brand-sub {
        font-size: 9px;
    }

    /* Keep 2-column grid for form fields - more compact */
    .frow {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 8px;
    }

    /* Right panel adjustments */
    .rp {
        overflow-y: visible;
    }

    .rp-inner {
        padding: 18px 18px;
        min-height: auto;
    }

    .rp-head {
        margin-bottom: 12px;
    }

    .rp-eyebrow {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .rp-title {
        font-size: 19px;
        margin-bottom: 2px;
    }

    .rp-sub {
        font-size: 11.5px;
    }

    /* Form field compact */
    .fg {
        gap: 3px;
        margin-bottom: 8px;
    }

    .flbl {
        font-size: 9px;
        gap: 3px;
    }

    .flbl i {
        font-size: 10px;
    }

    .finp {
        padding: 7px 10px 7px 30px;
        font-size: 12px;
        border-radius: 8px;
    }

    .finp.has-eye {
        padding-right: 32px;
    }

    .fi {
        font-size: 12px;
        left: 10px;
    }

    .eye {
        right: 6px;
        font-size: 13px;
        padding: 3px 5px;
    }

    /* Select2 compact */
    .select2-container {
        width: 100% !important;
    }

    .select2-container--default .select2-selection--single {
        height: 34px;
        padding: 0 10px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 34px;
        font-size: 12px;
        padding-left: 22px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 34px;
    }

    .s2-ic-overlay {
        font-size: 12px;
        left: 10px;
    }

    /* Divider */
    .divider {
        margin-bottom: 8px;
    }

    .div-txt {
        font-size: 9px;
    }

    /* Password */
    .pwd-strength {
        margin-top: 4px;
    }

    .pwd-hint {
        font-size: 9.5px;
        margin-top: 2px;
    }

    /* Conditional fields */
    .cond-field.show {
        max-height: 90px;
        margin-bottom: 8px;
    }

    /* Button */
    .btn-reg {
        padding: 10px 14px;
        font-size: 12.5px;
        margin-top: 2px;
        border-radius: 8px;
    }

    /* Login link */
    .login-link {
        font-size: 11.5px;
        margin-top: 8px;
    }

    /* Success box */
    .success-box p {
        font-size: 11.5px;
    }

    .success-box .s-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
    }

    /* Footer */
    .rp-foot {
        padding-top: 12px;
    }

    .rp-foot p {
        font-size: 10px;
    }
}

/* Very small phones */
@media (max-width: 420px) {

    .lp {
        padding: 10px 14px;
    }

    .lp-logo {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .lp-logo img {
        width: 20px;
    }

    .lp-brand {
        gap: 8px;
    }

    .lp-brand-name {
        font-size: 13px;
    }

    .lp-brand-sub {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .rp-inner {
        padding: 14px 14px;
    }

    .rp-head {
        margin-bottom: 10px;
    }

    .rp-eyebrow {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .rp-eyebrow::before {
        width: 14px;
    }

    .rp-title {
        font-size: 17px;
    }

    .rp-sub {
        font-size: 10.5px;
        line-height: 1.5;
    }

    /* Stack form fields on very small screens */
    .frow {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 6px;
    }

    .fg {
        gap: 2px;
        margin-bottom: 6px;
    }

    .flbl {
        font-size: 8.5px;
    }

    .finp {
        padding: 6px 8px 6px 28px;
        font-size: 11px;
        border-radius: 7px;
    }

    .finp.has-eye {
        padding-right: 30px;
    }

    .fi {
        font-size: 11px;
        left: 8px;
    }

    .eye {
        right: 5px;
        font-size: 12px;
    }

    /* Select2 */
    .select2-container--default .select2-selection--single {
        height: 30px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 30px;
        font-size: 11px;
        padding-left: 20px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 30px;
    }

    .s2-ic-overlay {
        font-size: 11px;
        left: 8px;
    }

    /* Divider */
    .divider {
        margin-bottom: 6px;
    }

    .div-txt {
        font-size: 8.5px;
    }

    .pwd-hint {
        font-size: 9px;
    }

    /* Conditional fields */
    .cond-field.show {
        max-height: 80px;
        margin-bottom: 6px;
    }

    /* Button */
    .btn-reg {
        padding: 9px 12px;
        font-size: 11.5px;
    }

    .btn-reg i {
        font-size: 13px;
    }

    /* Login link */
    .login-link {
        font-size: 11px;
        margin-top: 6px;
    }

    /* Footer */
    .rp-foot {
        padding-top: 10px;
    }

    .rp-foot p {
        font-size: 9px;
    }
}