: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;
    background: var(--page-light);
}

.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(22, 8, 31, 0.98) 0%,
            rgba(11, 7, 21, 0.98) 48%,
            rgba(5, 11, 25, 0.99) 100%
        ),
        url('/assets/bg.webp') center top / cover no-repeat;
}

/* Area putih bawah seperti desain pertama */
.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: var(--page-light);
    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;
    }
}

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

    .auth-white-bg {
        top: 300px;
    }

    .auth-card {
        padding: 20px 14px 22px;
    }

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

    .auth-phone-prefix {
        min-width: 51px;
        padding-left: 7px;
        padding-right: 7px;
    }
}

/* 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;
    }
}

/* HP kecil */
@media (max-width: 420px) {
    .auth-page--login .auth-card--login {
        left: -5px;
    }
}

/* =========================================================
   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)
        ),
        url('/assets/bg.webp') center top / cover no-repeat !important;
}

.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;
    }
}

/* HP kecil */
@media (max-width: 420px) {
    .auth-decoration--left,
    .auth-decoration--right {
        opacity: 0.90 !important;

        filter:
            brightness(1.22)
            saturate(1.22)
            contrast(1.05)
            drop-shadow(0 0 11px rgba(255, 181, 235, 0.22)) !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;
    }
}


/* HP KECIL */
@media (max-width: 420px) {

    .auth-decoration--left {
        left: -190px !important;
        bottom: -110px !important;
        width: 360px !important;
    }

    .auth-decoration--right {
        left: auto !important;
        right: -75px !important;
        top: 100px !important;
        bottom: auto !important;

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

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

        filter:
            brightness(1.20)
            saturate(1.20)
            contrast(1.04)
            drop-shadow(0 0 12px rgba(255, 181, 235, 0.18))
            !important;
    }

    .auth-gear--1 {
        left: 6% !important;
        top: 50% !important;
    }

    .auth-gear--2 {
        left: 45% !important;
        top: 78% !important;
    }

    .auth-gear--3 {
        right: 6% !important;
        top: 39% !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;
    }
}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 420px) {
    .auth-brand-stamp {
        right: 12px;
        bottom: 12px;
        gap: 6px;
    }

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

    .auth-brand-stamp span {
        font-size: 8px;
        letter-spacing: 0.4px;
    }

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


/* =========================================================
   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);
    }
}