:root {
    --brand-cyan: #48d1cc;
    --brand-cyan-dark: #159ca3;
    --brand-purple: #a855f7;
    --brand-pink: #ec9fe8;
    --brand-error: #dc2626;
    --brand-success: #22c55e;
    --text-dark: #171321;
    --text-muted: #716b7a;
    --border-light: #d7d5df;
    --page-light: #ffffff;
    --font-poppins: 'Poppins', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: var(--font-poppins);
    color: var(--text-dark);
    background: var(--page-light);
}

button,
input {
    font: inherit;
}

/* =========================================================
   PAGE & BACKGROUND
   ========================================================= */

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;

    /* Jangan putih, supaya tidak muncul putih di sela background */
    background: #121a2b;
}


/* =========================================================
   BACKGROUND ATAS — GELAP
   ========================================================= */

.auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;

    height: 72vh;
    min-height: 620px;

    background:
        radial-gradient(
            circle at 16% 17%,
            rgba(180, 89, 232, 0.18),
            transparent 31%
        ),
        radial-gradient(
            circle at 82% 21%,
            rgba(72, 209, 204, 0.11),
            transparent 27%
        ),
        radial-gradient(
            circle at 52% 88%,
            rgba(232, 125, 220, 0.07),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            rgba(9, 6, 20, 0.96) 0%,
            rgba(7, 8, 21, 0.97) 48%,
            rgba(4, 10, 24, 0.98) 100%
        ),
}


/* =========================================================
   PAGE & BACKGROUND
   MIRIP BG HALAMAN UTAMA
   ========================================================= */

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #060816;
}

/* Layer background utama */
.auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    height: 100%;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 78%,
            rgba(187, 122, 255, 0.16),
            transparent 26%
        ),
        radial-gradient(
            circle at 50% 88%,
            rgba(255, 122, 213, 0.10),
            transparent 22%
        ),
        radial-gradient(
            circle at 18% 18%,
            rgba(180, 89, 232, 0.14),
            transparent 26%
        ),
        radial-gradient(
            circle at 82% 22%,
            rgba(72, 209, 204, 0.08),
            transparent 22%
        ),
        linear-gradient(
            180deg,
            #040611 0%,
            #070b18 42%,
            #0b1022 70%,
            #10172d 100%
        ),
}

/* Layer bawah: tetap gelap, tapi sedikit lebih terang */
.auth-white-bg {
    position: absolute;
    z-index: 1;
    left: -8%;
    right: -8%;
    top: 64vh;
    bottom: 0;
    min-height: 520px;

    border-radius: 50% 50% 0 0 / 74px 74px 0 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 186, 245, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 18%,
            rgba(176, 133, 255, 0.12),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #10172b 0%,
            #151f36 46%,
            #1b2740 100%
        );

    box-shadow:
        0 -18px 45px rgba(0, 0, 0, 0.28),
        inset 0 10px 28px rgba(255, 255, 255, 0.02);

    pointer-events: none;
}

.auth-shell {
    position: relative;
    z-index: 10;
    width: min(1450px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 42px clamp(24px, 5vw, 82px) 76px;
    display: grid;
    grid-template-columns: minmax(330px, 0.82fr) minmax(540px, 1.18fr);
    align-items: center;
    gap: clamp(42px, 6vw, 100px);
}

/* =========================================================
   LEFT SIDE: LOGO
   ========================================================= */

.auth-hero {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    min-width: 0;
}

.auth-brand {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    /* Hanya menggeser logo INFEST dan tagline */
    transform: translate(-26px, -18px);
}

.auth-logo {
    display: block;
    width: min(100%, 440px);
    height: auto;
    filter:
        drop-shadow(0 0 24px rgba(236, 159, 232, 0.18))
        drop-shadow(0 14px 24px rgba(0, 0, 0, 0.20));
    animation: authFloat 5s ease-in-out infinite;
}

.auth-tagline {
    margin-top: 14px;
    padding-left: 10px;
    color: #ffffff;
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 700;
    line-height: 1.55;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   DECORATIONS
   ========================================================= */

.auth-decoration,
.auth-gear {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.auth-decoration {
    z-index: 3;
}

.auth-decoration--left {
    left: -190px;
    bottom: -190px;
    width: 570px;
    opacity: 0.26;
    animation: authFloat 7s ease-in-out infinite;
}

.auth-decoration--right {
    right: -145px;
    top: 125px;
    width: 430px;
    opacity: 0.62;
    animation: authFloat 6s ease-in-out infinite reverse;
}

.auth-gear {
    z-index: 4;
    opacity: 0.38;
}

.auth-gear--1 {
    width: 62px;
    left: 5.5%;
    top: 53%;
    animation: authSpin 14s linear infinite;
}

.auth-gear--2 {
    width: 43px;
    left: 30%;
    top: 73%;
    animation: authSpin 9s linear infinite reverse;
}

.auth-gear--3 {
    width: 35px;
    right: 7%;
    top: 39%;
    animation: authSpin 11s linear infinite;
}

/* =========================================================
   RIGHT SIDE: CARD
   ========================================================= */

.auth-content {
    position: relative;
    z-index: 15;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.auth-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.auth-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    padding: 24px 28px 26px;
    border: 1.5px solid transparent;
    border-radius: 24px;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.985),
            rgba(255, 255, 255, 0.985)
        ) padding-box,
        linear-gradient(
            135deg,
            rgba(72, 209, 204, 0.95),
            rgba(168, 85, 247, 0.78),
            rgba(236, 159, 232, 0.90)
        ) border-box;
    color: var(--text-dark);
    box-shadow:
        0 28px 70px rgba(13, 8, 26, 0.23),
        0 8px 24px rgba(72, 209, 204, 0.11),
        0 0 42px rgba(168, 85, 247, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Efek glow lembut di pinggir card */
.auth-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 10px -10px -12px 10px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(72, 209, 204, 0.20),
        rgba(168, 85, 247, 0.16),
        rgba(236, 159, 232, 0.18)
    );
    filter: blur(22px);
    opacity: 0.72;
    pointer-events: none;
}

.auth-card--login {
    width: 100%;
    max-width: 550px;
    min-height: 620px;
      position: relative;
    top: 50px;
}

.auth-card--register {
    width: 100%;
    max-width: 790px;
    transform: translateX(-150px);

    position: relative;
    top: 50px;
}

/* Login dibuat sedikit lebih ringkas dan berada di tengah */
.auth-page--login .auth-content {
    justify-content: center;
}

.auth-page--login .auth-panel {
    align-items: center;
}

.auth-page--login .auth-card {
    padding: 28px 32px 30px;
}

/* Register diberi ruang cukup tanpa menjadi terlalu besar */
.auth-page--register .auth-card {
    padding: 20px 28px 24px;
}

.auth-card-heading {
    margin-bottom: 16px;
    text-align: center;
}

.auth-card-heading--register {
    margin-top: 0;
}

.auth-card-label {
    display: inline-block;
    color: #12afbb;
    font-family: var(--font-montserrat);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.auth-card-heading h2 {
    margin-top: 4px;
    color: var(--text-dark);
    font-family: var(--font-montserrat);
    font-size: clamp(30px, 2.5vw, 40px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.2px;
}

.auth-card-heading p {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-bottom: 7px;
    color: var(--brand-cyan-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.auth-back:hover {
    color: #087881;
    transform: translateX(-4px);
}

/* =========================================================
   FORM
   ========================================================= */

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 0;
}

.auth-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.auth-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
}

.auth-field label .req {
    margin-left: 2px;
    color: #ef4444;
}

.auth-input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-dark);
    font-family: var(--font-poppins);
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.auth-input::placeholder {
    color: #a19ca9;
}

.auth-input:hover {
    border-color: #bcb8c7;
}

.auth-input:focus {
    border-color: var(--brand-cyan);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(72, 209, 204, 0.13),
        0 6px 18px rgba(72, 209, 204, 0.08);
}

.auth-input.is-invalid {
    border-color: var(--brand-error);
}

.auth-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.field-hint,
.field-error {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.35;
}

.field-hint {
    color: #7e7886;
}

.field-error {
    color: var(--brand-error);
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap .auth-input {
    padding-right: 44px;
}

.auth-pw-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border: none;
    outline: none;
    background: transparent;
    color: #6f6a77;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-pw-toggle:hover {
    color: var(--brand-cyan-dark);
}

.auth-forgot {
    display: block;
    margin-top: 4px;
    color: var(--brand-cyan-dark);
    font-size: 11px;
    font-weight: 500;
    text-align: right;
    text-decoration: none;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.auth-phone-wrap {
    display: flex;
    align-items: stretch;
    gap: 7px;
}

.auth-phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px 9px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    background: #f3f2f6;
    color: #47414f;
    font-size: 13px;
    font-weight: 600;
}

.auth-phone-wrap .auth-input {
    flex: 1;
    min-width: 0;
}

.auth-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 3px 0 10px;
}

.auth-checkbox-row--remember {
    align-items: center;
    margin-top: 0;
}

.auth-checkbox-row input[type='checkbox'] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--brand-cyan);
    cursor: pointer;
}

.auth-checkbox-row--remember input[type='checkbox'] {
    margin-top: 0;
}

.auth-checkbox-row label {
    color: #514b58;
    font-size: 11px;
    line-height: 1.45;
    cursor: pointer;
}

.auth-checkbox-row label a {
    color: var(--brand-cyan-dark);
    font-weight: 600;
    text-decoration: none;
}

.auth-checkbox-row label a:hover {
    text-decoration: underline;
}

.auth-checkbox-error {
    margin: -5px 0 8px 24px;
    color: var(--brand-error);
    font-size: 10px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.auth-btn-primary {
    width: 100%;
    min-height: 43px;
    padding: 9px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #48d1cc 0%,
        #43cad8 50%,
        #8b7cf6 100%
    );
    color: #090a0d;
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(72, 209, 204, 0.16);
    transition:
        transform 0.22s ease,
        filter 0.22s ease,
        box-shadow 0.22s ease;
}

.auth-btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(72, 209, 204, 0.24),
        0 8px 22px rgba(139, 124, 246, 0.13);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    padding: 9px 14px;
    border: 1.5px solid #d4d1da;
    border-radius: 10px;
    background: #ffffff;
    color: #423d48;
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.auth-btn-google:hover {
    border-color: var(--brand-cyan);
    box-shadow:
        0 8px 20px rgba(72, 209, 204, 0.13),
        0 5px 16px rgba(168, 85, 247, 0.08);
    transform: translateY(-1px);
}

.auth-btn-google svg {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 11px 0;
    color: #9a95a0;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2dfe6;
}

.auth-switch {
    margin-top: 11px;
    color: #716b78;
    font-size: 11px;
    text-align: center;
}

.auth-switch a {
    color: var(--brand-cyan-dark);
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* =========================================================
   ALERTS
   ========================================================= */

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.4;
}

.auth-alert-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert ul {
    margin: 0;
    padding-left: 16px;
}

.auth-alert--success {
    border: 1px solid rgba(74, 222, 128, 0.32);
    background: rgba(74, 222, 128, 0.12);
    color: #16834a;
}

.auth-alert--error {
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.10);
    color: #b42334;
}

.auth-alert--outside {
    width: 100%;
    max-width: 800px;
    margin: 0 0 12px auto;
    background: #ecfff5;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

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

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

@keyframes authSpin {
    from {
        transform: rotate(0deg);
    }

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

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
    .auth-shell {
        grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
        gap: 34px;
        padding-left: 34px;
        padding-right: 34px;
    }

    .auth-logo {
    width: min(100%, 500px);
    filter:
        brightness(1.25)
        saturate(1.2)
        drop-shadow(0 0 30px rgba(233, 169, 241, 0.35)); 
        transform: translateX(-15px);
}

    .auth-tagline {
        font-size: 13px;
    }

    .auth-decoration--right {
        right: -200px;
    }
}

@media (max-width: 900px) {
    .auth-page {
        overflow: visible;
    }

    .auth-bg {
        height: 510px;
        min-height: 510px;
    }

    .auth-white-bg {
        top: 420px;
        left: -18%;
        right: -18%;
        border-radius: 50% 50% 0 0 / 58px 58px 0 0;
    }

    .auth-shell {
        min-height: 100vh;
        padding: 36px 18px 54px;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 24px;
    }

    .auth-hero {
        justify-content: center;
    }

    .auth-brand {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transform: translate(-50px, -30px);
}

    .auth-logo {
        width: min(100%, 320px);
    }

    .auth-tagline {
        padding-left: 0;
        font-size: 13px;
    }

    .auth-content,
    .auth-page--login .auth-content {
        justify-content: center;
    }

    .auth-panel,
    .auth-page--login .auth-panel {
        align-items: center;
    }

    .auth-card--login,
    .auth-card--register,
    .auth-alert--outside {
        max-width: 720px;
    }

    .auth-decoration--right {
        right: -200px;
        top: 135px;
        opacity: 0.40;
    }

  /* Ornamen gear pink dan kuning di background putih */
.auth-decoration--left {
    left: -240px;
    bottom: -220px;

    opacity: 1 !important;

    filter:
        brightness(0.88)
        saturate(1.35)
        contrast(1.25)
        drop-shadow(0 7px 9px rgba(24, 15, 38, 0.38))
        drop-shadow(0 2px 3px rgba(24, 15, 38, 0.20))
        !important;
}

/* Gear cyan di background putih */
.auth-gear--2 {
    opacity: 1 !important;

    filter:
        brightness(0.90)
        saturate(1.65)
        contrast(1.25)
        drop-shadow(0 6px 8px rgba(24, 15, 38, 0.38))
        !important;
}

}

@media (max-width: 700px) {
    .auth-bg {
        height: 410px;
        min-height: 410px;
    }

    .auth-white-bg {
        top: 335px;
        border-radius: 50% 50% 0 0 / 46px 46px 0 0;
    }

    .auth-shell {
        padding: 26px 12px 36px;
        gap: 18px;
    }

    .auth-logo {
        width: min(100%, 245px);
    }

    .auth-tagline {
        margin-top: 8px;
        font-size: 11px;
    }

    .auth-card,
    .auth-page--login .auth-card,
    .auth-page--register .auth-card {
        padding: 22px 16px 24px;
        border-radius: 19px;
    }

    .auth-card-heading h2 {
        font-size: 28px;
    }

    .auth-card-heading p {
        font-size: 11px;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-decoration--left,
    .auth-decoration--right {
        opacity: 0.14;
    }

    .auth-gear--1,
    .auth-gear--2,
    .auth-gear--3 {
        opacity: 0.16;
    }
}

/* Pengguna yang menonaktifkan animasi */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Geser logo INFEST pada tampilan laptop/desktop */
@media (min-width: 901px) {
    .auth-brand {
        position: relative !important;
        left: -40px !important;
        top: -50px !important;
    }
}
/* =========================================
   GAMBAR DEKORASI KANAN — LAPTOP/DESKTOP
   ========================================= */
@media (min-width: 901px) {
    .auth-decoration--right {
        opacity: 0.9;
        filter:
            brightness(1.45)
            saturate(1.25)
            contrast(1.05)
            drop-shadow(0 0 24px rgba(72, 209, 204, 0.3));
    }
}


/* Card login — laptop/desktop */
@media (min-width: 901px) {
    .auth-page--login .auth-card--login {
        position: relative;
        left: -200px;
    }
}

@media (max-width: 900px) {
    .auth-page--login .auth-card--login {
        position: relative;
        left: -10px;
    }
}

/* =========================================================
   WARNA AUTH CERAH SEPERTI LANDING PAGE
   ========================================================= */

.auth-bg {
    background:
        linear-gradient(
            120deg,
            rgba(2, 5, 13, 0.08),
            rgba(8, 6, 19, 0.10),
            rgba(5, 9, 20, 0.08)
        ),
}

.auth-logo {
    opacity: 1 !important;

    filter:
        saturate(1.5)
        contrast(1.18)
        drop-shadow(0 0 10px rgba(72, 209, 204, 0.30))
        drop-shadow(0 0 18px rgba(236, 159, 232, 0.25))
        drop-shadow(0 12px 22px rgba(0, 0, 0, 0.35)) !important;
}

.auth-decoration--left,
.auth-decoration--right {
    opacity: 1 !important;

    filter:
        brightness(1.34)
        saturate(1.34)
        contrast(1.08)
        drop-shadow(0 0 15px rgba(255, 181, 235, 0.30))
        drop-shadow(0 0 24px rgba(72, 209, 204, 0.18)) !important;
}

.auth-gear {
    opacity: 0.90 !important;

    filter:
        brightness(1.24)
        saturate(1.30)
        contrast(1.06)
        drop-shadow(0 0 10px rgba(72, 209, 204, 0.22)) !important;
}

.auth-tagline {
    color: #ffffff !important;

    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.13),
        0 3px 12px rgba(0, 0, 0, 0.68) !important;
}

/* Tablet dan HP */
@media (max-width: 900px) {
    .auth-decoration--left,
    .auth-decoration--right {
        opacity: 0.95 !important;

        filter:
            brightness(1.28)
            saturate(1.28)
            contrast(1.06)
            drop-shadow(0 0 13px rgba(255, 181, 235, 0.26))
            drop-shadow(0 0 20px rgba(72, 209, 204, 0.15)) !important;
    }

    .auth-gear {
        opacity: 0.78 !important;
    }
}

/* =========================================================
   POSISI GAMBAR SAMA UNTUK LOGIN DAN REGISTER
   Tempel paling bawah auth.css
   ========================================================= */

/* LAPTOP DAN DESKTOP */
@media (min-width: 901px) {

   /* Ornamen besar kiri bawah */
.auth-decoration--left {
    left: -190px !important;
    right: auto !important;
    top: auto !important;
    bottom: -190px !important;
    width: 570px !important;

    opacity: 1 !important;

    filter:
        brightness(0.82)
        saturate(2)
        contrast(1.35)
        drop-shadow(0 3px 5px rgba(0, 0, 0, 0.28))
        !important;
}

    /* Ornamen panjang sebelah kanan */
    .auth-decoration--right {
        left: auto !important;
        right: -155px !important;
        top: 145px !important;
        bottom: auto !important;

        width: 520px !important;
        height: auto !important;
        object-fit: contain !important;

        scale: none !important;
        opacity: 0.95 !important;

        filter:
            brightness(1.20)
            saturate(1.20)
            contrast(1.04)
            drop-shadow(0 0 18px rgba(72, 209, 204, 0.22))
            drop-shadow(0 0 14px rgba(255, 181, 235, 0.18))
            !important;
    }

    /* Semua gear */
    .auth-gear {
        opacity: 1 !important;
    }

    /* Gear kiri */
    .auth-gear--1 {
        left: 5.5% !important;
        right: auto !important;
        top: 58% !important;

        filter:
            brightness(1.05)
            saturate(1.55)
            contrast(1.30)
            drop-shadow(0 4px 9px rgba(0, 0, 0, 0.28))
            drop-shadow(0 0 7px rgba(72, 209, 204, 0.25))
            !important;
    }

    /* Gear tengah bawah */
    .auth-gear--2 {
    left: 30% !important;
    right: auto !important;
    top: 73% !important;

    opacity: 1 !important;

    filter:
        brightness(0.78)
        saturate(2.1)
        contrast(1.4)
        drop-shadow(0 3px 5px rgba(0, 0, 0, 0.30))
        !important;
}

    /* Gear kanan */
    .auth-gear--3 {
        left: auto !important;
        right: 7% !important;
        top: 39% !important;

        filter:
            brightness(1.35)
            saturate(1.35)
            contrast(1.15)
            drop-shadow(0 0 12px rgba(72, 209, 204, 0.42))
            !important;
    }

}


/* TABLET DAN MOBILE */
@media (max-width: 900px) {

    .auth-decoration--left {
        left: -210px !important;
        right: auto !important;
        top: auto !important;
        bottom: -150px !important;
        width: 450px !important;
    }

    .auth-decoration--right {
        left: auto !important;
        right: -90px !important;
        top: 120px !important;
        bottom: auto !important;

        width: 300px !important;
        height: auto !important;
        object-fit: contain !important;

        scale: 1.18 1;
        transform-origin: right center;

        filter:
            brightness(1.25)
            saturate(1.25)
            contrast(1.05)
            drop-shadow(0 0 18px rgba(72, 209, 204, 0.20))
            drop-shadow(0 0 14px rgba(255, 181, 235, 0.18))
            !important;
    }

    .auth-gear--1 {
        left: 7% !important;
        right: auto !important;
        top: 52% !important;
    }

    .auth-gear--2 {
        left: 48% !important;
        right: auto !important;
        top: 75% !important;
    }

    .auth-gear--3 {
        left: auto !important;
        right: 8% !important;
        top: 41% !important;
    }
}

/* =========================================================
   LOGO INFEST POJOK KANAN BAWAH
   ========================================================= */

.auth-brand-stamp {
    position: absolute;
    z-index: 30;

    display: flex;
    align-items: center;
    gap: 9px;

    width: auto;
    height: auto;
    margin: 0;
    padding: 0;

    opacity: 0.75;
    pointer-events: none;
    user-select: none;
}

.auth-brand-stamp img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;

    filter:
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.auth-brand-stamp span {
    color: #171321;
    font-family: var(--font-montserrat);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.auth-brand-stamp strong {
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   LAPTOP DAN DESKTOP
   ========================================================= */

@media (min-width: 901px) {
    .auth-brand-stamp {
        right: 32px;
        bottom: 24px;
    }

    .auth-brand-stamp img {
        width: 80px;
        height: 80px;
        transform: translateX(20px);
    }

    .auth-brand-stamp span {
        font-size: 15px;
    }

    .auth-brand-stamp strong {
        font-size: 15px;
    }
}


/* =========================================================
   TABLET DAN HP
   ========================================================= */

@media (max-width: 900px) {
    .auth-brand-stamp {
        right: 18px;
        bottom: 18px;
        gap: 7px;
    }

    .auth-brand-stamp img {
        width: 40px;
        height: 40px;
        transform: translateX(10px);
    }

    .auth-brand-stamp span {
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    .auth-brand-stamp strong {
        font-size: 11px;
    }
}

/* =========================================================
   LOGO INFEST BERGERAK OTOMATIS
   ========================================================= */

.auth-brand-stamp {
    border: none;
    outline: none;
    background: transparent;

    pointer-events: none;
    user-select: none;
    transform-origin: center;

    animation: authBrandAutoMove 7s ease-in-out infinite;
    will-change: transform;
}

@keyframes authBrandAutoMove {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-5px, -6px) rotate(-2deg);
    }

    50% {
        transform: translate(0, -12px) rotate(0deg);
    }

    75% {
        transform: translate(5px, -6px) rotate(2deg);
    }
}

/* =========================================================
   MOBILE STANDAR
   ========================================================= */

@media (max-width: 900px) {

    html,
    body,
    .auth-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .auth-page {
        overflow-y: auto !important;
    }

    .auth-bg {
        height: 510px;
        min-height: 510px;
    }

    .auth-white-bg {
        top: 420px;
        left: -18%;
        right: -18%;
        border-radius: 50% 50% 0 0 / 58px 58px 0 0;
    }

    .auth-shell {
        width: 100%;
        min-height: 100vh;
        padding: 28px 16px 60px;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
    }

    /* Logo utama INFEST */
    .auth-hero {
        width: 100%;
        justify-content: center;
    }

    .auth-brand {
        width: 100%;
        max-width: 100%;
        align-items: center;
        transform: none !important;
    }

    .auth-logo {
        width: min(75vw, 300px);
        transform: none !important;
    }

    .auth-tagline {
        margin-top: 8px;
        padding-left: 0;
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
    }

    /* Area card */
    .auth-content,
    .auth-page--login .auth-content {
        width: 100%;
        justify-content: center;
    }

    .auth-panel,
    .auth-page--login .auth-panel {
        width: 100%;
        align-items: center;
    }

    .auth-card,
    .auth-card--login,
    .auth-card--register,
    .auth-page--login .auth-card--login {
        position: relative;
        width: 100%;
        max-width: 620px;

        left: 0 !important;
        right: auto !important;
        top: 0 !important;

        margin-left: auto;
        margin-right: auto;
        transform: none !important;
    }

    .auth-card,
    .auth-page--login .auth-card,
    .auth-page--register .auth-card {
        padding: 22px 16px 24px;
        border-radius: 19px;
    }

    .auth-card-heading h2 {
        font-size: 28px;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    /* Ornamen kiri */
    .auth-decoration--left {
        left: -210px !important;
        right: auto !important;
        top: auto !important;
        bottom: -150px !important;
        width: 450px !important;
    }

    /* Ornamen kanan */
    .auth-decoration--right {
        left: auto !important;
        right: -90px !important;
        top: 120px !important;
        bottom: auto !important;
        width: 300px !important;
    }

    /* Gear */
    .auth-gear--1 {
        left: 7% !important;
        right: auto !important;
        top: 52% !important;
    }

    .auth-gear--2 {
        left: 48% !important;
        right: auto !important;
        top: 75% !important;
    }

    .auth-gear--3 {
        left: auto !important;
        right: 8% !important;
        top: 41% !important;
    }

    /* Logo kecil pojok kanan bawah */
    .auth-brand-stamp {
        right: 18px;
        bottom: 18px;
        gap: 7px;
    }

    .auth-brand-stamp img {
        width: 40px;
        height: 40px;
        transform: translateX(10px);
    }

    .auth-brand-stamp span {
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    .auth-brand-stamp strong {
        font-size: 11px;
    }
}
/* =========================================================
   FINAL AUTH STYLE - MIRIP INSVIDAY
   DARK + PINK + YELLOW GLOW
   ========================================================= */

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #05050f !important;
}


/* BACKGROUND UTAMA */
.auth-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;

    background:

        /* pink kiri */
        radial-gradient(
            circle at 15% 65%,
            rgba(244, 125, 220, 0.20) 0%,
            rgba(244, 125, 220, 0.08) 22%,
            transparent 42%
        ),

        /* pink kanan */
        radial-gradient(
            circle at 88% 55%,
            rgba(255, 137, 220, 0.18) 0%,
            rgba(255, 137, 220, 0.07) 25%,
            transparent 43%
        ),

        /* kuning lembut */
        radial-gradient(
            circle at 52% 78%,
            rgba(242, 232, 124, 0.13) 0%,
            rgba(242, 232, 124, 0.05) 24%,
            transparent 43%
        ),

        /* ungu di tengah */
        radial-gradient(
            circle at 52% 55%,
            rgba(171, 96, 222, 0.12) 0%,
            transparent 38%
        ),

        /* dasar gelap */
        linear-gradient(
            180deg,
            #03040d 0%,
            #060612 32%,
            #0b0818 65%,
            #130b1c 100%
        ) !important;
}


/* HILANGKAN AREA BAWAH LAMA */
.auth-white-bg {
    display: none !important;
}


/* =========================================================
   CARD REGISTER - BIAR KONTRAS
   ========================================================= */

.auth-card {
    border: 2px solid transparent !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 237, 255, 0.97),
            rgba(255, 239, 250, 0.97)
        ) padding-box,

        linear-gradient(
            135deg,
            #55d8db,
            #bd78ef,
            #f794d7,
            #eee18b
        ) border-box !important;

    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.55),
        0 0 35px rgba(235, 132, 218, 0.18),
        0 0 20px rgba(231, 222, 124, 0.10) !important;
}


/* GLOW DI BELAKANG CARD */
.auth-card::before {
    background:
        radial-gradient(
            circle,
            rgba(236, 139, 222, 0.28),
            rgba(180, 106, 230, 0.16),
            transparent 70%
        ) !important;

    filter: blur(35px) !important;
    opacity: 0.85 !important;
}


/* INPUT TETAP TERANG */
.auth-input {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid rgba(126, 114, 145, 0.32) !important;
}


/* INPUT SAAT DIKLIK */
.auth-input:focus {
    border-color: #55d8db !important;

    box-shadow:
        0 0 0 3px rgba(85, 216, 219, 0.15),
        0 5px 15px rgba(184, 103, 231, 0.10) !important;
}
/* =========================================================
   FINAL CARD AUTH - LEBIH KONTRAS DENGAN BG DARK PINK
   ========================================================= */

.auth-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.97),
            rgba(248, 237, 255, 0.96)
        ) padding-box,

        linear-gradient(
            135deg,
            #48d1cc 0%,
            #b86cff 48%,
            #ff8edb 100%
        ) border-box !important;

    border: 2px solid transparent !important;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.42),
        0 0 30px rgba(168, 85, 247, 0.22),
        0 0 24px rgba(255, 126, 210, 0.16),
        0 0 18px rgba(72, 209, 204, 0.12) !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Glow belakang card */
.auth-card::before {
    background:
        linear-gradient(
            135deg,
            rgba(72, 209, 204, 0.24),
            rgba(168, 85, 247, 0.25),
            rgba(255, 118, 210, 0.24)
        ) !important;

    filter: blur(28px) !important;
    opacity: 0.85 !important;
}

/* Judul supaya lebih tegas */
.auth-card-heading h2 {
    color: #15101f !important;
}

/* Label CREATE ACCOUNT */
.auth-card-label {
    color: #00aebd !important;
}

/* Input dibuat lebih jelas */
.auth-input {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1.5px solid #cbc5d5 !important;

    box-shadow:
        0 3px 10px rgba(22, 12, 35, 0.05);
}

.auth-input:focus {
    border-color: #48d1cc !important;

    box-shadow:
        0 0 0 3px rgba(72, 209, 204, 0.18),
        0 6px 18px rgba(168, 85, 247, 0.10) !important;
}
/* =========================================================
   FIX SAYAP + GERIGI REGISTER
   ========================================================= */

.auth-card-wrap--register {
    position: relative !important;
    width: 100% !important;
    max-width: 790px !important;
    margin: 0 auto !important;
    overflow: visible !important;

    /* mengikuti posisi register yang sebelumnya */
    transform: translateX(-150px);
}


/* Card tetap berada di depan */
.auth-card-wrap--register .auth-card--register {
    position: relative !important;
    z-index: 5 !important;

    width: 100% !important;
    max-width: 790px !important;

    /* jangan card-nya yang digeser lagi */
    transform: none !important;
    top: 0 !important;
}

/* SAYAP BELAKANG CARD - PROPORSIONAL & TINGGI */
.auth-card-wrap--register .auth-wing {
    position: absolute !important;
    display: block !important;

    /* KUNCI: atur tinggi, bukan width */
    height: 520px !important;
    width: auto !important;

    top: 50% !important;

    z-index: 1 !important;

    pointer-events: none !important;
    user-select: none !important;

    object-fit: contain !important;
}


/* SAYAP KIRI */
.auth-card-wrap--register .auth-wing--left {
    left: -300px !important;
    right: auto !important;

    transform: translateY(-50%) !important;
}

/* SAYAP KANAN */
.auth-card-wrap--register .auth-wing--right {
    right: -300px !important;
    left: auto !important;

    transform: translateY(-50%) !important;
}



/* Naikkan logo INFEST 9.0 + tagline pada desktop */
@media (min-width: 901px) {
    .auth-brand {
        position: relative !important;
        top: -150px !important;
    }
}

/* =========================================================
   FINAL UKURAN CARD REGISTER DESKTOP
   ========================================================= */

@media (min-width: 901px) {

    .auth-page--register .auth-card-wrap--register {
        width: 650px !important;
        max-width: 650px !important;

        /* tetap agak ke kiri */
        transform: translateX(-35px) !important;
    }

    .auth-page--register
    .auth-card-wrap--register
    .auth-card--register {
        width: 100% !important;
        max-width: 650px !important;

        /* bikin sedikit lebih pendek/rata */
        padding: 16px 22px 18px !important;

        /* sudut tidak terlalu bulat */
        border-radius: 18px !important;
    }
}
/* =========================================================
   FINAL POSISI + UKURAN REGISTER DESKTOP
   ========================================================= */
@media (min-width: 901px) {

    .auth-page--register .auth-card-wrap--register {
        position: relative !important;

        width: 650px !important;
        max-width: 650px !important;

        margin-left: 0 !important;
        margin-right: auto !important;

        /* geser ke kiri */
        left: -200px !important;

        /* turun sedikit */
        top: 25px !important;

        transform: none !important;
    }

    .auth-page--register
    .auth-card-wrap--register
    .auth-card--register {
        width: 650px !important;
        max-width: 650px !important;

        left: 0 !important;
        right: auto !important;
        transform: none !important;

        padding: 16px 22px 18px !important;
        border-radius: 18px !important;
    }
}

/* =========================================================
   ORNAMEN BESAR POJOK KIRI & KANAN - LOGIN + REGISTER
   ========================================================= */

.auth-corner-decor {
    --parallax-x: 0px;
    --parallax-y: 0px;

    translate: var(--parallax-x) var(--parallax-y);

    animation: authCornerLeaf 5s ease-in-out infinite;
    will-change: transform, translate;
}

/* kiri: pangkalnya dianggap di kiri bawah */
.auth-corner-decor--left {
    transform-origin: left bottom;
}

/* kanan: pangkalnya dianggap di kanan bawah */
.auth-corner-decor--right {
    transform-origin: right bottom;
    animation-delay: -2.5s;
}

@keyframes authCornerLeaf {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    25% {
        transform:
            translateY(-5px)
            rotate(1.5deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(0deg);
    }

    75% {
        transform:
            translateY(-5px)
            rotate(-1.5deg);
    }
}
/* =========================================================
   POSISI FINAL ORNAMEN AUTH
   ========================================================= */

/* dua ornamen baru pojok kiri kanan */
.auth-corner-decor {
    position: absolute !important;
    bottom: 0 !important;
    height: 620px !important;
    width: auto !important;
    z-index: 2 !important;
    pointer-events: none !important;
    user-select: none !important;
}

.auth-corner-decor--left {
    left: -255px !important;
    bottom: -8px !important;
}

.auth-corner-decor--right {
    right: -255px !important;
    bottom: -8px !important;
}

/* BACKGROUND FINAL */
.auth-bg {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;

    z-index: 0 !important;

    background:
        linear-gradient(
            rgba(8, 4, 15, 0.18),
            rgba(35, 12, 40, 0.22)
        ),
        center center / cover no-repeat !important;
}

/* =========================================================
   BACKGROUND AUTH FULL - WARNA + BINTANG DI SEMUA SISI
   ========================================================= */
.auth-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;

    background:
        /* glow kiri atas */
        radial-gradient(
            circle at 14% 22%,
            rgba(120, 66, 255, 0.16) 0%,
            transparent 28%
        ),

        /* glow kiri bawah */
        radial-gradient(
            circle at 18% 78%,
            rgba(255, 120, 220, 0.16) 0%,
            transparent 30%
        ),

        /* glow tengah */
        radial-gradient(
            circle at 50% 55%,
            rgba(190, 110, 255, 0.10) 0%,
            transparent 32%
        ),

        /* glow kanan atas */
        radial-gradient(
            circle at 84% 24%,
            rgba(120, 66, 255, 0.16) 0%,
            transparent 28%
        ),

        /* glow kanan bawah */
        radial-gradient(
            circle at 82% 78%,
            rgba(255, 120, 220, 0.16) 0%,
            transparent 30%
        ),

        /* warna dasar */
        linear-gradient(
            180deg,
            #04040d 0%,
            #0a0716 35%,
            #160a1f 70%,
            #1c0d24 100%
        );
}

.auth-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;

    background-image:
        radial-gradient(circle, rgba(255,255,255,0.95) 0 1.3px, transparent 1.8px),
        radial-gradient(circle, rgba(255,255,255,0.8) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255,255,255,0.7) 0 1.5px, transparent 2px);

    background-size:
        180px 180px,
        260px 260px,
        340px 340px;

    background-position:
        0 0,
        90px 40px,
        40px 120px;
}

/* =========================================================
   ANIMASI SAYAP + ORNAMEN POJOK
   ========================================================= */

/* Gerakan halus berdasarkan kursor */
.auth-wing,
.auth-corner-decor {
    --parallax-x: 0px;
    --parallax-y: 0px;

    translate: var(--parallax-x) var(--parallax-y);

    transition: translate 0.25s ease-out;
    will-change: translate, margin-top;
}

/* SAYAP belakang card */
.auth-wing {
    animation: authWingFloat 4.5s ease-in-out infinite;
}

.auth-wing--right {
    animation-delay: -2.2s;
}


/* naik turun sayap */
@keyframes authWingFloat {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -14px;
    }
}

/* =========================================================
   ORNAMEN POJOK - GOYANG SEPERTI DAUN
   ========================================================= */

.auth-corner-decor {
    animation: authLeafSway 4.5s ease-in-out infinite;
    will-change: transform, translate;
}

/* kiri: pangkal diam, ujung bergerak */
.auth-corner-decor--left {
    transform-origin: 20% 95%;
}

/* kanan: pangkal diam, ujung bergerak */
.auth-corner-decor--right {
    transform-origin: 80% 95%;
    animation-delay: -2.25s;
}

@keyframes authLeafSway {
    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1.5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-1.5deg);
    }
}
/* =========================================================
   SAYAP LOGIN
   ========================================================= */

.auth-card-wrap--login {
    position: relative;
    width: 100%;
    max-width: 550px;
    overflow: visible;
}

/* sayap login */
.auth-card-wrap--login .auth-wing {
    position: absolute !important;
    display: block !important;

    height: 520px !important;
    width: auto !important;

    top: 50% !important;

    z-index: -1 !important;

    pointer-events: none !important;
    user-select: none !important;

    object-fit: contain !important;
}

/* kiri */
.auth-card-wrap--login .auth-wing--left {
    left: -285px !important;

    transform: translateY(-50%) !important;
}

/* kanan */
.auth-card-wrap--login .auth-wing--right {
    right: -285px !important;

    transform: translateY(-50%) !important;
}
/* =========================================================
   FIX SAYAP LOGIN
   ========================================================= */

@media (min-width: 901px) {

    /* Geser CARD + SAYAP sebagai satu kesatuan */
    .auth-page--login .auth-card-wrap--login {
        position: relative !important;

        width: 550px !important;
        max-width: 550px !important;

        left: -200px !important;

        margin: 0 auto !important;
        overflow: visible !important;
    }

    /* Jangan geser card sendirian lagi */
    .auth-page--login
    .auth-card-wrap--login
    .auth-card--login {
        position: relative !important;

        left: 0 !important;
        right: auto !important;

        width: 550px !important;
        max-width: 550px !important;

        transform: none !important;

        z-index: 3 !important;
    }

    /* SAYAP */
    .auth-page--login
    .auth-card-wrap--login
    .auth-wing {
        position: absolute !important;

        top: 50% !important;

        height: 460px !important;
        width: auto !important;

        z-index: 1 !important;

        pointer-events: none !important;
        user-select: none !important;

        object-fit: contain !important;
    }

    /* SAYAP KIRI */
    .auth-page--login
    .auth-card-wrap--login
    .auth-wing--left {
        left: -190px !important;

        transform: translateY(-50%) !important;
    }

    /* SAYAP KANAN */
    .auth-page--login
    .auth-card-wrap--login
    .auth-wing--right {
        right: -190px !important;

        transform: translateY(-50%) !important;
    }
}

/* =========================================================
   LOGIN - POSISI CARD + SAYAP SAMA SEPERTI REGISTER
   ========================================================= */

@media (min-width: 901px) {

    /* CARD + SAYAP bergerak sebagai satu kelompok */
    .auth-page--login .auth-card-wrap--login {
        position: relative !important;

        width: 550px !important;
        max-width: 550px !important;

        /* geser login sedikit ke kiri */
        left: -230px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        overflow: visible !important;
    }


    /* CARD LOGIN */
    .auth-page--login
    .auth-card-wrap--login
    .auth-card--login {

        position: relative !important;

        width: 550px !important;
        max-width: 550px !important;

        left: 0 !important;
        right: auto !important;

        transform: none !important;

        z-index: 5 !important;
    }


    /* =====================================================
       SAYAP LOGIN - SAMA BESARNYA DENGAN REGISTER
       ===================================================== */

    .auth-page--login
    .auth-card-wrap--login
    .auth-wing {

        position: absolute !important;

        display: block !important;

        /* SAMA DENGAN REGISTER */
        height: 520px !important;
        width: auto !important;

        top: 50% !important;

        z-index: 1 !important;

        pointer-events: none !important;
        user-select: none !important;

        object-fit: contain !important;
    }


    /* SAYAP KIRI */
    .auth-page--login
    .auth-card-wrap--login
    .auth-wing--left {

        left: -300px !important;
        right: auto !important;

        transform: translateY(-50%) !important;
    }


    /* SAYAP KANAN */
    .auth-page--login
    .auth-card-wrap--login
    .auth-wing--right {

        right: -300px !important;
        left: auto !important;

        transform: translateY(-50%) !important;
    }
}
/* FONT LOGO INFEST POJOK KANAN */
.auth-brand-stamp span,
.auth-brand-stamp strong {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   FINAL RESPONSIVE AUTH
   LOGIN + REGISTER
   ========================================================= */


/* =========================================================
   TABLET / LAPTOP KECIL
   ========================================================= */

@media (max-width: 1024px) {

    html,
    body,
    .auth-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .auth-shell {
        width: 100% !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
        gap: 30px !important;
    }

    /* register */
    .auth-page--register .auth-card-wrap--register {
        left: -80px !important;
    }

    /* login */
    .auth-page--login .auth-card-wrap--login {
        left: -100px !important;
    }

    /* sayap */
    .auth-card-wrap--register .auth-wing,
    .auth-card-wrap--login .auth-wing {
        height: 450px !important;
    }

    .auth-card-wrap--register .auth-wing--left,
    .auth-card-wrap--login .auth-wing--left {
        left: -240px !important;
    }

    .auth-card-wrap--register .auth-wing--right,
    .auth-card-wrap--login .auth-wing--right {
        right: -240px !important;
    }

    /* ornamen pojok */
    .auth-corner-decor {
        height: 500px !important;
    }

    .auth-corner-decor--left {
        left: -225px !important;
    }

    .auth-corner-decor--right {
        right: -225px !important;
    }
}


/* =========================================================
   TABLET PORTRAIT + HP
   ========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        overflow-x: hidden !important;

        background: #05050f !important;
    }


    /* =========================================
       HALAMAN
       ========================================= */

    .auth-page {
        width: 100% !important;
        max-width: 100% !important;

        min-height: 100svh !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;
    }


    /* background tetap memenuhi halaman */
    .auth-bg {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;

        inset: 0 !important;
    }


    /* =========================================
       SUSUNAN UTAMA
       ========================================= */

    .auth-shell {
        width: 100% !important;
        max-width: 100% !important;

        min-height: 100svh !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 18px !important;

        padding:
            25px
            clamp(14px, 4vw, 22px)
            60px !important;

        margin: 0 auto !important;
    }


    /* =========================================
       LOGO INFEST
       ========================================= */

    .auth-hero {
        width: 100% !important;

        display: flex !important;

        justify-content: center !important;
        align-items: center !important;
    }

    .auth-brand {
        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;

        left: 0 !important;
        right: 0 !important;
        top: 0 !important;

        margin: 0 !important;

        transform: none !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;

        text-align: center !important;
    }

    .auth-logo {
        width: min(72vw, 285px) !important;
        max-width: 100% !important;

        height: auto !important;

        transform: none !important;
    }

    .auth-tagline {
        width: 100% !important;
        max-width: 420px !important;

        margin-top: 7px !important;
        padding: 0 8px !important;

        font-size: clamp(10px, 2.8vw, 12px) !important;
        line-height: 1.5 !important;

        text-align: center !important;
    }


    /* =========================================
       AREA FORM
       ========================================= */

    .auth-content,
    .auth-page--login .auth-content {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        display: flex !important;

        justify-content: center !important;
        align-items: center !important;
    }

    .auth-panel,
    .auth-page--login .auth-panel {
        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;
    }


    /* =========================================
       WRAPPER CARD LOGIN + REGISTER
       ========================================= */

    .auth-card-wrap--login,
    .auth-card-wrap--register,
    .auth-page--login .auth-card-wrap--login,
    .auth-page--register .auth-card-wrap--register {

        position: relative !important;

        width: 100% !important;
        max-width: 560px !important;

        left: 0 !important;
        right: 0 !important;
        top: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;

        transform: none !important;

        overflow: visible !important;
    }


    /* =========================================
       CARD
       ========================================= */

    .auth-card,
    .auth-card--login,
    .auth-card--register,

    .auth-page--login
    .auth-card-wrap--login
    .auth-card--login,

    .auth-page--register
    .auth-card-wrap--register
    .auth-card--register {

        position: relative !important;

        width: 100% !important;
        max-width: 560px !important;

        min-width: 0 !important;
        min-height: auto !important;

        left: 0 !important;
        right: 0 !important;
        top: 0 !important;

        margin: 0 auto !important;

        transform: none !important;

        padding:
            22px
            clamp(15px, 4vw, 21px)
            24px !important;

        border-radius: 18px !important;

        z-index: 5 !important;
    }


    /* =========================================
       JUDUL CARD
       ========================================= */

    .auth-card-heading {
        margin-bottom: 14px !important;
    }

    .auth-card-heading h2 {
        font-size: clamp(26px, 7vw, 32px) !important;
    }

    .auth-card-heading p {
        font-size: 11px !important;
    }

    .auth-card-label {
        font-size: 11px !important;
    }


    /* =========================================
       REGISTER JADI SATU KOLOM
       ========================================= */

    .auth-form-grid {
        width: 100% !important;

        display: grid !important;

        grid-template-columns: 1fr !important;

        column-gap: 0 !important;
        row-gap: 0 !important;
    }


    /* =========================================
       INPUT
       ========================================= */

    .auth-field {
        width: 100% !important;
        min-width: 0 !important;
    }

    .auth-input-wrap {
        width: 100% !important;
    }

    .auth-input {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        /* mencegah auto zoom pada iPhone */
        font-size: 16px !important;
    }

    .auth-phone-wrap {
        width: 100% !important;
        min-width: 0 !important;
    }

    .auth-phone-wrap .auth-input {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .auth-checkbox-row {
        width: 100% !important;
    }


    /* =========================================
       BUTTON
       ========================================= */

    .auth-btn-primary,
    .auth-btn-google {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* =========================================
       SAYAP LOGIN + REGISTER
       ========================================= */

    .auth-card-wrap--login .auth-wing,
    .auth-card-wrap--register .auth-wing {

        position: absolute !important;

        display: block !important;

        height: clamp(200px, 58vw, 290px) !important;
        width: auto !important;

        top: 50% !important;

        z-index: 1 !important;

        opacity: 0.52 !important;

        pointer-events: none !important;
    }


    /* sayap kiri */
    .auth-card-wrap--login .auth-wing--left,
    .auth-card-wrap--register .auth-wing--left {

        left: clamp(-145px, -27vw, -90px) !important;
        right: auto !important;

        transform: translateY(-50%) !important;
    }


    /* sayap kanan */
    .auth-card-wrap--login .auth-wing--right,
    .auth-card-wrap--register .auth-wing--right {

        right: clamp(-145px, -27vw, -90px) !important;
        left: auto !important;

        transform: translateY(-50%) !important;
    }


    /* =========================================
       ORNAMEN BESAR POJOK
       ========================================= */

    .auth-corner-decor {
        height: clamp(230px, 70vw, 330px) !important;
        width: auto !important;

        opacity: 0.7 !important;

        z-index: 2 !important;
    }

    .auth-corner-decor--left {
        left: clamp(-170px, -34vw, -115px) !important;
        bottom: -15px !important;
    }

    .auth-corner-decor--right {
        right: clamp(-170px, -34vw, -115px) !important;
        bottom: -15px !important;
    }


    /* =========================================
       GEAR
       ========================================= */

    .auth-gear {
        opacity: 0.55 !important;
    }

    .auth-gear--1 {
        width: 38px !important;
    }

    .auth-gear--2 {
        width: 32px !important;
    }

    .auth-gear--3 {
        width: 28px !important;
    }


    /* =========================================
       LOGO KECIL INFEST POJOK
       ========================================= */

    .auth-brand-stamp {
        right: 10px !important;
        bottom: 10px !important;

        gap: 5px !important;
    }

    .auth-brand-stamp img {
        width: 46px !important;
        height: 46px !important;

        transform: translateX(8px) !important;
    }

    .auth-brand-stamp span {
        font-size: 9px !important;
    }

    .auth-brand-stamp strong {
        font-size: 10px !important;
    }

    .auth-brand-stamp span,
    .auth-brand-stamp strong {
        color: #ffffff !important;
    }


    /* area putih lama tetap hilang */
    .auth-white-bg {
        display: none !important;
    }
}


/* =========================================================
   HP UMUM / KECIL
   480px ke bawah
   ========================================================= */

@media (max-width: 480px) {

    .auth-shell {
        padding:
            20px
            12px
            50px !important;

        gap: 14px !important;
    }


    /* logo */
    .auth-logo {
        width: min(70vw, 245px) !important;
    }

    .auth-tagline {
        max-width: 340px !important;

        font-size: 10px !important;
    }


    /* card */
    .auth-card,
    .auth-card--login,
    .auth-card--register,

    .auth-page--login
    .auth-card-wrap--login
    .auth-card--login,

    .auth-page--register
    .auth-card-wrap--register
    .auth-card--register {

        padding:
            19px
            14px
            21px !important;

        border-radius: 16px !important;
    }


    /* judul */
    .auth-card-heading h2 {
        font-size: 26px !important;
    }


    /* input */
    .auth-field {
        margin-bottom: 9px !important;
    }

    .auth-input {
        min-height: 44px !important;
    }


    /* tombol */
    .auth-btn-primary,
    .auth-btn-google {
        min-height: 44px !important;
    }


    /* sayap */
    .auth-card-wrap--login .auth-wing,
    .auth-card-wrap--register .auth-wing {

        height: clamp(190px, 55vw, 235px) !important;

        opacity: 0.44 !important;
    }

    .auth-card-wrap--login .auth-wing--left,
    .auth-card-wrap--register .auth-wing--left {
        left: -105px !important;
    }

    .auth-card-wrap--login .auth-wing--right,
    .auth-card-wrap--register .auth-wing--right {
        right: -105px !important;
    }


    /* ornamen pojok */
    .auth-corner-decor {
        height: clamp(230px, 72vw, 280px) !important;

        opacity: 0.63 !important;
    }

    .auth-corner-decor--left {
        left: -135px !important;
    }

    .auth-corner-decor--right {
        right: -135px !important;
    }
}


/* =========================================================
   HP SANGAT KECIL
   360px ke bawah
   ========================================================= */

@media (max-width: 360px) {

    .auth-shell {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .auth-logo {
        width: 220px !important;
    }

    .auth-tagline {
        font-size: 9.5px !important;
    }

    .auth-card-heading h2 {
        font-size: 24px !important;
    }

    .auth-card {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .auth-card-wrap--login .auth-wing,
    .auth-card-wrap--register .auth-wing {
        height: 200px !important;
    }

    .auth-corner-decor {
        height: 240px !important;
    }
}