:root {
    --ink: #080F1E;
    --ink-mid: #14213D;
    --ink-light: #1D3461;
    --steel: #274472;
    --blue: #1D4ED8;
    --blue-light: #3B82F6;
    --blue-dim: rgba(59, 130, 246, .18);
    --blue-pale: #EFF6FF;
    --white: #FFFFFF;
    --sl-50: #F8FAFC;
    --sl-100: #F0F3F7;
    --sl-200: #DDE3ED;
    --sl-300: #B8C4D4;
    --sl-400: #8898AE;
    --sl-500: #596B85;
    --sl-600: #445265;
    --sl-700: #334155;
    --text: #1A2535;
    --r: 14px;
    --font-d: 'Sora', system-ui, sans-serif;
    --font-b: 'DM Sans', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-b) !important;
    background: var(--ink) !important;
    color: var(--text);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

::selection {
    background: var(--blue-light);
    color: var(--white);
}

#splashScreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .75rem;
    animation: splashFade 0s 2.2s forwards;
}

@keyframes splashFade {
    to {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
}

.splash-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 28px rgba(59, 130, 246, .6));
    animation: splashPulse 1.6s ease-in-out infinite alternate;
}

@keyframes splashPulse {
    from {
        transform: scale(.92);
        opacity: .75;
    }

    to {
        transform: scale(1.08);
        opacity: 1;
    }
}

.splash-text {
    font-family: var(--font-d);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .1em;
    background: linear-gradient(90deg, #fff 40%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#splashScreen small {
    font-size: .7rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-family: var(--font-b);
}

.splash-bar {
    width: 120px;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
    margin-top: .2rem;
}

.splash-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    border-radius: 1px;
    animation: splashBarAnim 2s ease forwards;
}

@keyframes splashBarAnim {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.auth-wrapper {
    min-height: 100vh;
    overflow-x: hidden;
}

#progressOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 8000;
    background: rgba(8, 15, 30, .78);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

#progressOverlay.show {
    display: flex;
}

.progress-box {
    background: rgba(20, 33, 61, .95);
    border-radius: 16px;
    padding: 1.75rem 2.25rem;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .07);
}

.progress-box .progress {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
}

.progress-box .progress-bar {
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transition: width .4s ease;
    border-radius: 2px;
}

.progress-text {
    display: block;
    margin-top: .75rem;
    font-size: .73rem;
    color: rgba(255, 255, 255, .4);
    font-family: var(--font-b);
}

.wa-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 500;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    font-size: 1.35rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37, 211, 102, .6);
}

#toast-container>.toast {
    font-family: var(--font-b) !important;
    font-size: .78rem !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    opacity: 1 !important;
}

#toast-container>.toast-success {
    background: #1A6B47 !important;
}

#toast-container>.toast-error {
    background: #B91C1C !important;
}

#toast-container>.toast-info {
    background: var(--ink-mid) !important;
}

.auth-layout {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 0 0 56%;
    position: relative;
    background: var(--ink);
    overflow: hidden;
    display: none;
}

@media (min-width: 1024px) {
    .auth-left {
        display: flex;
        flex-direction: column;
    }
}

.slide-wrap {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.04);
}

.slide.active {
    opacity: 1;
    animation: zoomSlide 8s ease-in-out infinite alternate;
}

@keyframes zoomSlide {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.0);
    }
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(8, 15, 30, .92) 0%, rgba(8, 15, 30, .55) 60%, rgba(8, 15, 30, .3) 100%),
        linear-gradient(to top, rgba(8, 15, 30, .85) 0%, transparent 50%);
}

.auth-left::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .028;
    pointer-events: none;
}

.geo-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 130, 246, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 72px 72px;
    }
}

.orb-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
}

.orb-glow-1 {
    width: 350px;
    height: 350px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(59, 130, 246, .12) 0%, transparent 70%);
    animation: orbFloat1 12s ease-in-out infinite alternate;
}

.orb-glow-2 {
    width: 280px;
    height: 280px;
    bottom: 0;
    right: 0;
    background: radial-gradient(circle, rgba(29, 52, 97, .5) 0%, transparent 70%);
    animation: orbFloat2 15s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, 40px);
    }
}

@keyframes orbFloat2 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-20px, -30px);
    }
}

.geo-corner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

.geo-corner-br {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    pointer-events: none;
    opacity: .5;
}

.left-inner {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem 3rem;
}

.left-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.left-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, .2);
    flex-shrink: 0;
}

.left-brand-name {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
    line-height: 1.1;
}

.left-brand-name small {
    display: block;
    font-family: var(--font-b);
    font-size: .52rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    margin-top: .18rem;
}

.feature-list {
    position: absolute;
    bottom: 8rem;
    left: 2.8rem;
    right: 2.8rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    max-width: 340px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem .9rem;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    transition: background .25s, transform .25s;
    animation: featSlideIn .6s ease both;
}

.feat-item:nth-child(1) {
    animation-delay: .1s;
}

.feat-item:nth-child(2) {
    animation-delay: .2s;
}

.feat-item:nth-child(3) {
    animation-delay: .3s;
}

.feat-item:nth-child(4) {
    animation-delay: .4s;
}

@keyframes featSlideIn {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

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

.feat-item:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateX(4px);
}

.feat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    color: var(--blue-light);
}

.feat-text {
    font-size: .73rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.35;
}

.feat-text strong {
    display: block;
    color: rgba(255, 255, 255, .88);
    font-weight: 600;
    font-size: .74rem;
}

.slide-text {
    position: absolute;
    bottom: 2rem;
    left: 2.8rem;
    right: 2.8rem;
    z-index: 4;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}

.slide-text.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(59, 130, 246, .14);
    border: 1px solid rgba(59, 130, 246, .3);
    border-radius: 100px;
    padding: .22rem .8rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: .55rem;
    backdrop-filter: blur(6px);
}

.slide-text h3 {
    font-family: var(--font-d);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: .5rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}

.slide-text p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
    margin: 0;
    line-height: 1.65;
}

.slide-dots {
    position: absolute;
    bottom: 2.5rem;
    right: 2.8rem;
    z-index: 4;
    display: flex;
    gap: .4rem;
    flex-direction: column;
}

.sdot {
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .15);
    transition: all .4s ease;
}

.sdot.active {
    background: var(--blue-light);
    height: 30px;
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sl-50);
    position: relative;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

.auth-right::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    z-index: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .05) 0%, transparent 65%);
    pointer-events: none;
}

.auth-right::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -15%;
    z-index: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 33, 61, .05) 0%, transparent 65%);
    pointer-events: none;
}

.auth-right::-webkit-scrollbar {
    width: 4px;
}

.auth-right::-webkit-scrollbar-thumb {
    background: var(--sl-300);
    border-radius: 3px;
}

.auth-card {
    width: 100%;
    max-width: 410px;
    position: relative;
    z-index: 1;
    animation: cardIn .5s ease both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.mobile-brand {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 1023px) {
    .mobile-brand {
        display: block;
    }
}

.mobile-brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 auto .75rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(59, 130, 246, .25);
    position: relative;
    overflow: hidden;
}

.mobile-brand-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, transparent 60%);
}

.mobile-brand-icon img {
    width: 68%;
    position: relative;
    z-index: 1;
}

.mobile-brand-name {
    font-family: var(--font-d);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink-mid);
}

.mobile-brand-name small {
    display: block;
    font-family: var(--font-b);
    font-size: .6rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sl-400);
    margin-top: .15rem;
}

.mobile-ticker {
    text-align: center;
    margin-bottom: 1.75rem;
    min-height: 48px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .mobile-ticker {
        display: none;
    }
}

.mobile-slide {
    display: none;
}

.mobile-slide.active {
    display: block;
    animation: tickerIn .45s ease;
}

@keyframes tickerIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.mobile-slide h5 {
    font-family: var(--font-d);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink-mid);
    margin-bottom: .2rem;
}

.mobile-slide p {
    font-size: .76rem;
    color: var(--sl-500);
    margin: 0;
}

.auth-section {
    display: none;
}

.auth-section.show {
    display: block;
    animation: secIn .32s ease;
}

@keyframes secIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.sec-head {
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sl-200);
}

.sec-head h4 {
    font-family: var(--font-d);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink-mid);
    margin: .35rem 0 .25rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sec-head p {
    font-size: .8rem;
    color: var(--sl-500);
    margin: 0;
    line-height: 1.55;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .28);
    border-radius: 100px;
    padding: .22rem .7rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
}

.float-group {
    position: relative;
    margin-bottom: 1.1rem;
}

.float-group input {
    width: 100%;
    padding: 1rem 1.1rem .4rem;
    font-family: var(--font-b);
    font-size: .88rem;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--sl-200);
    border-radius: 11px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.float-group input:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, .1);
}

.float-group input:focus~label,
.float-group input:not(:placeholder-shown)~label {
    top: .35rem;
    font-size: .59rem;
    color: var(--blue-light);
    letter-spacing: .06em;
}

.float-group label {
    position: absolute;
    top: .8rem;
    left: 1.1rem;
    font-size: .84rem;
    color: var(--sl-400);
    pointer-events: none;
    transition: all .18s ease;
}

.float-group .pwd-toggle {
    position: absolute;
    top: 50%;
    right: .9rem;
    transform: translateY(-50%);
    color: var(--sl-400);
    cursor: pointer;
    font-size: .82rem;
    transition: color .15s;
}

.float-group .pwd-toggle:hover {
    color: var(--ink-mid);
}

.btn-login {
    width: 100%;
    padding: .9rem;
    font-family: var(--font-d);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, filter .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: 1.25rem;
    box-shadow: 0 6px 20px rgba(59, 130, 246, .3);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .2s;
}

.btn-login:hover::before {
    opacity: 1;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, .38);
    filter: brightness(1.06);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(59, 130, 246, .25);
}

.auth-nav {
    display: flex;
    background: var(--sl-100);
    border: 1px solid var(--sl-200);
    border-radius: 12px;
    margin-top: 1.75rem;
    padding: .3rem;
    gap: .2rem;
}

.auth-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: .5rem .25rem;
    background: none;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    font-family: var(--font-b);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--sl-500);
    transition: all .2s;
    text-decoration: none !important;
}

.auth-nav-btn i {
    font-size: .85rem;
}

.auth-nav-btn:hover {
    background: var(--white);
    color: var(--blue);
}

.auth-nav-btn.active {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 2px 10px rgba(12, 18, 32, .08);
}

.register-info {
    background: var(--sl-100);
    border: 1px solid var(--sl-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.register-info p {
    font-size: .8rem;
    color: var(--sl-600);
    margin: 0;
}

.register-info a {
    color: var(--blue);
    font-weight: 600;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 1rem;
    background: var(--white);
    border: 1px solid var(--sl-200);
    border-radius: 11px;
    text-decoration: none !important;
    transition: background .15s, border-color .15s, box-shadow .15s;
}

.contact-item:hover {
    background: var(--sl-50);
    border-color: var(--blue-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
}

.ci-company {
    background: #FEF2F2;
    color: #B91C1C;
}

.ci-maps {
    background: #FFFBEB;
    color: #D97706;
}

.ci-wa {
    background: #F0FDF4;
    color: #16A34A;
}

.ci-email {
    background: #EFF6FF;
    color: #2563EB;
}

.contact-label {
    font-size: .68rem;
    font-weight: 700;
    color: var(--sl-600);
    margin-bottom: .12rem;
}

.contact-val {
    font-size: .8rem;
    color: var(--text);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--sl-200) !important;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: .45rem;
}

.faq-accordion .accordion-button {
    font-family: var(--font-b);
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-mid) !important;
    background: var(--white) !important;
    padding: .7rem 1rem !important;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--blue-pale) !important;
    color: var(--blue) !important;
    border-bottom: 1px solid var(--sl-200);
}

.faq-accordion .accordion-button::after {
    width: .75rem;
    height: .75rem;
    background-size: .75rem;
}

.faq-accordion .accordion-body {
    font-size: .77rem;
    color: var(--sl-600);
    padding: .7rem 1rem !important;
    line-height: 1.68;
    background: var(--white);
}

@media (max-width: 1023px) {

    html,
    body {
        overflow: hidden !important;
    }

    .auth-wrapper {
        height: 100vh;
        overflow: hidden;
    }

    .auth-right {
        min-height: 100vh;
        align-items: flex-start;
        padding: 2.5rem 1.25rem 3rem;
        background: linear-gradient(160deg, var(--sl-50) 0%, #EDF1F9 100%);
    }

    .auth-card {
        max-width: 480px;
        margin: auto;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: 1.75rem 1rem 2.5rem;
    }

    .auth-card {
        max-width: 100%;
    }

    .sec-head h4 {
        font-size: 1.15rem;
    }

    .auth-nav-btn {
        font-size: .54rem;
        gap: .2rem;
        padding: .45rem .18rem;
    }
}

html:has(.reg-bg),
body:has(.reg-bg) {
    overflow: auto !important;
    height: auto !important;
}

@media (max-width: 640px) {

    html:has(.reg-bg),
    body:has(.reg-bg) {
        overflow-y: auto !important;
    }

    .reg-bg {
        padding: 1rem 0.5rem 2rem !important;
        align-items: flex-start;
    }

    .reg-wrapper {
        padding-bottom: 1rem !important;
        max-width: 100% !important;
    }

    .reg-header img {
        width: 50px !important;
    }

    .reg-header h1 {
        font-size: 1.2rem !important;
    }

    .reg-header p {
        font-size: 0.72rem !important;
    }

    .step-indicator {
        gap: 0 !important;
        margin-bottom: 1rem !important;
    }

    .step-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem !important;
    }

    .step-label {
        font-size: 0.52rem !important;
        max-width: 55px;
        white-space: normal;
        line-height: 1.2;
    }

    .step-line {
        width: 22px !important;
        margin-bottom: 1.1rem;
    }

    .reg-card {
        border-radius: 14px !important;
    }

    .reg-card-header {
        padding: 0.9rem 1rem !important;
        gap: 0.6rem !important;
    }

    .reg-card-header h5 {
        font-size: 0.85rem !important;
    }

    .reg-card-header p {
        font-size: 0.68rem !important;
    }

    .reg-card-header-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.9rem !important;
    }

    .reg-card-body {
        padding: 1rem !important;
    }

    /* Form grids: semua 1 kolom */
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .form-control-custom {
        height: 42px !important;
        font-size: 0.83rem !important;
        padding-left: 2.5rem !important;
    }

    .form-label-custom {
        font-size: 0.65rem !important;
    }

    .input-icon-left {
        font-size: 0.8rem !important;
    }

    .k3-question-box {
        padding: 0.75rem 1rem !important;
    }

    .k3-question-text {
        font-size: 0.76rem !important;
    }

    .k3-radio-label {
        font-size: 0.75rem !important;
    }

    .section-divider {
        margin: 0.85rem 0 0.6rem !important;
    }

    .section-divider-label {
        font-size: 0.6rem !important;
    }

    .btn-reg-submit {
        height: 44px !important;
        font-size: 0.82rem !important;
        border-radius: 8px !important;
        margin-top: 1rem !important;
    }

    .d-flex.gap-2 {
        gap: 0.5rem !important;
    }

    .btn-back-login {
        font-size: 0.72rem !important;
    }

    .field-error {
        font-size: 0.65rem !important;
    }

    .success-screen {
        padding: 2rem 1rem !important;
    }

    .success-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.6rem !important;
    }

    .swal2-popup {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 1.2rem 1rem !important;
        font-size: 0.88rem !important;
        border-radius: 14px !important;
    }

    .swal2-title {
        font-size: 1rem !important;
    }

    .swal2-html-container {
        font-size: 0.82rem !important;
    }

    .swal2-styled.swal2-confirm,
    .swal2-styled.swal2-cancel {
        padding: 8px 18px !important;
        font-size: 0.82rem !important;
        flex: 1 !important;
    }
}