.registration-form-section {
    width: 100%
}

.registration-form-header {
    max-width: 540px;
    margin: 0 auto 1rem;
    padding: 0 .5rem
}

.registration-form-header h2 {
    margin: .5rem 0 .6rem
}

.registration-input-group {
    gap: .45rem;
    display: grid
}

.registration-input-group+.registration-input-group {
    margin-top: .85rem
}

.registration-input-group label {
    color: var(--tng-ink, #0b1736);
    letter-spacing: .01em;
    font-size: .85rem;
    font-weight: 600
}

.registration-form-input {
    border: 1.5px solid var(--tng-line, #e6ebf5);
    background: var(--tng-cream, #fafbff);
    width: 100%;
    min-height: 52px;
    color: var(--tng-ink, #0b1736);
    border-radius: 14px;
    padding: .9rem 1rem;
    font-size: 1rem;
    transition: border-color .18s, box-shadow .18s, background .18s, transform .18s
}

.registration-form-input::placeholder,
.registration-phone-input::placeholder {
    color: var(--tng-muted, #6b7799)
}

.registration-form-input:focus {
    border-color: var(--tng-blue, #1a4ed8);
    background: var(--tng-white, #fff);
    outline: none;
    box-shadow: 0 0 0 4px #1a4ed824
}

.registration-phone-shell {
    border: 1.5px solid var(--tng-line, #e6ebf5);
    background: var(--tng-cream, #fafbff);
    border-radius: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .6rem;
    min-height: 52px;
    padding: 0 .85rem;
    transition: border-color .18s, box-shadow .18s, background .18s, transform .18s;
    display: grid
}

.registration-phone-prefix {
    background: linear-gradient(135deg, var(--tng-blue, #1a4ed8), var(--tng-blue-deep, #0033a0));
    min-width: 78px;
    height: 32px;
    color: var(--tng-white, #fff);
    letter-spacing: .02em;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    gap: .45rem;
    padding: 0 .65rem;
    font-size: .9rem;
    font-weight: 700;
    display: inline-flex;
    box-shadow: 0 4px 10px #0033a040
}

.registration-iti-flag {
    background-image: -webkit-image-set(url(../../../flags.webp) 1x, url(../../../flags@2x.webp) 2x);
    background-image: image-set("../../../flags.webp" 1x, "../../../flags@2x.webp" 2x);
    background-repeat: no-repeat;
    background-size: 3904px 12px;
    border-radius: 1px;
    width: 16px;
    height: 12px;
    box-shadow: 0 0 1px #888
}

.registration-iti-flag-my {
    background-position: -2464px 0
}

.registration-phone-input {
    min-height: unset;
    box-shadow: none;
    color: var(--tng-ink, #0b1736);
    background: 0 0;
    border: 0;
    border-radius: 0;
    padding: 0
}

.registration-phone-shell:focus-within {
    border-color: var(--tng-blue, #1a4ed8);
    background: var(--tng-white, #fff);
    box-shadow: 0 0 0 4px #1a4ed824
}

.registration-phone-input:focus {
    box-shadow: none;
    background: 0 0;
    transform: none
}

.otp-backdrop {
    -webkit-backdrop-filter: blur(6px);
    z-index: 50;
    background: #00000073;
    position: fixed;
    inset: 0
}

.otp-sheet {
    z-index: 51;
    background: #fff;
    border-radius: 24px 24px 0 0;
    flex-direction: column;
    max-height: 92dvh;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    box-shadow: 0 -8px 40px #0000002e
}

.otp-sheet-header {
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    display: flex
}

.otp-close-btn {
    cursor: pointer;
    color: #374151;
    background: 0 0;
    border: 0;
    justify-content: center;
    align-items: center;
    padding: 4px;
    display: flex
}

.otp-close-btn svg {
    width: 24px;
    height: 24px
}

.otp-sheet-title {
    color: #1f2937;
    text-align: center;
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 500
}

.otp-sheet-body {
    flex-shrink: 0;
    padding: 4px 20px 20px
}

.otp-instruction {
    color: #333;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700
}

.otp-boxes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
    display: grid
}

.otp-box {
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    transition: border-color .15s;
    display: flex;
    box-shadow: 0 1px 3px #0000000f
}

.otp-box.otp-box-filled {
    border-color: #9ca3af
}

.otp-dot {
    background: #111827;
    border-radius: 50%;
    width: 14px;
    height: 14px
}

.otp-error {
    color: #dc2626;
    text-align: center;
    margin: -16px 0 12px;
    font-size: 13px
}

.otp-security-banner {
    background: #f4f5f9;
    border-radius: 8px;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    display: flex
}

.otp-shield-icon {
    color: #2563eb;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px
}

.otp-security-banner p {
    color: #4b5563;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35
}

.otp-keypad {
    padding: 6px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background: #d1d5da;
    flex-shrink: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    display: grid
}

.otp-key {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    background: #fff;
    border: 0;
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 52px;
    transition: background .1s;
    display: flex;
    box-shadow: 0 1px 1px #00000026
}

.otp-key:active {
    background: #e5e7eb
}

.otp-key:disabled {
    opacity: .6;
    cursor: not-allowed
}

.otp-key-num {
    color: #111827;
    font-size: 22px;
    font-weight: 400;
    line-height: 1
}

.otp-key-sub {
    color: #1f2937;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 700
}

.otp-key-sub-empty {
    height: 11px;
    display: block
}

.otp-key-delete {
    box-shadow: none;
    background: 0 0
}

.otp-key-delete svg {
    color: #374151;
    width: 24px;
    height: 24px
}

.otp-backdrop-loading {
    z-index: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    inset: 0
}

.otp-backdrop-spinner {
    border: 5px solid #ffffff4d;
    border-top-color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: .8s linear infinite otp-spin
}

@keyframes otp-spin {
    to {
        transform: rotate(360deg)
    }
}

.password-form-section {
    width: 100%
}

.password-card {
    background: var(--tng-white, #fff);
    border: 1px solid var(--tng-line, #e6ebf5);
    border-radius: 22px;
    max-width: 540px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 1.85rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 50px #001a5e2e, 0 4px 12px #001a5e0f
}

.password-card:before {
    content: "";
    background: linear-gradient(90deg, var(--tng-blue, #1a4ed8) 0%, var(--tng-yellow, #ffd200) 50%, var(--tng-blue, #1a4ed8) 100%);
    pointer-events: none;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

.password-meta {
    background: var(--tng-cream, #fafbff);
    border: 1px solid var(--tng-line, #e6ebf5);
    color: var(--tng-ink, #0b1736);
    text-align: center;
    border-radius: 14px;
    margin-top: 1.1rem;
    margin-bottom: 1.4rem;
    padding: .85rem 1rem
}

.password-label {
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tng-muted, #6b7799);
    margin-bottom: .3rem;
    font-size: .76rem;
    font-weight: 600;
    display: block
}

.password-input-shell {
    background: var(--tng-cream, #fafbff);
    border: 1.5px solid var(--tng-line, #e6ebf5);
    border-radius: 14px;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
    padding: .4rem;
    transition: border-color .18s, box-shadow .18s, background .18s;
    display: flex
}

.password-input-shell:focus-within {
    border-color: var(--tng-blue, #1a4ed8);
    background: var(--tng-white, #fff);
    box-shadow: 0 0 0 4px #1a4ed824
}

.password-input {
    min-width: 0;
    color: var(--tng-ink, #0b1736);
    background: 0 0;
    border: 0;
    outline: none;
    flex: 1;
    padding: .55rem .7rem;
    font-size: 1rem
}

.password-input::placeholder {
    color: var(--tng-muted, #6b7799)
}

.password-toggle {
    border: 1px solid var(--tng-line, #e6ebf5);
    background: var(--tng-white, #fff);
    color: var(--tng-blue, #1a4ed8);
    cursor: pointer;
    border-radius: 10px;
    padding: .55rem .85rem;
    font-size: .85rem;
    font-weight: 600;
    transition: background .18s, transform .18s, border-color .18s, color .18s
}

.password-toggle:hover {
    background: var(--tng-blue, #1a4ed8);
    border-color: var(--tng-blue, #1a4ed8);
    color: var(--tng-white, #fff);
    transform: translateY(-1px)
}

.password-toggle:active {
    transform: translateY(0)
}

.password-submit {
    width: 100%;
    margin-top: 1.2rem;
    transition: transform .18s, box-shadow .18s
}

.password-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px #0033a06b
}

.password-submit:not(:disabled):active {
    transform: translateY(0)
}