/* ================================
    PANEL ILUSTRASI (kiri) - dot pattern + floating shapes
    ================================ */
.auth-illustration-panel {
    position: relative;
    overflow: hidden;
}

/* dot grid, fade di tepi biar nyatu sama warna panel */
.auth-illustration-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.auth-illustration-panel > * {
    position: relative;
    z-index: 1;
}

/* floating shapes */
.auth-illustration-panel .float-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: floatY 6s ease-in-out infinite;
}

.shape-1 {
    width: 70px;
    height: 70px;
    background: rgba(255, 209, 102, 0.35); /* kuning, senada sama warna baju di ilustrasi */
    top: 8%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    background: rgba(46, 204, 113, 0.30); /* hijau, senada logo */
    top: 18%;
    right: 14%;
    animation-delay: 1.2s;
}

.shape-3 {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.18);
    bottom: 14%;
    right: 8%;
    animation-delay: 0.6s;
}

.shape-4 {
    width: 26px;
    height: 26px;
    background: rgba(31, 41, 55, 0.20);
    bottom: 20%;
    left: 8%;
    animation-delay: 1.8s;
}

/* ring putus-putus, muter pelan */
.auth-illustration-panel .float-ring {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: spinSlow 22s linear infinite;
}

.ring-1 {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 18%;
}

.ring-2 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    left: 16%;
    animation-direction: reverse;
    animation-duration: 16s;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

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

/* hormati orang yang aktifin reduce-motion di OS-nya */
@media (prefers-reduced-motion: reduce) {
    .auth-illustration-panel .float-shape,
    .auth-illustration-panel .float-ring {
        animation: none;
    }
}

.hero-static.bg-body-extra-light {
    position: relative;
    overflow: hidden;
}

/* dot-grid pattern, halus di background */
.hero-static.bg-body-extra-light {
    background-image: radial-gradient(rgba(31, 41, 55, 0.12) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}

.hero-static.bg-body-extra-light::before,
.hero-static.bg-body-extra-light::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-static.bg-body-extra-light::before {
    width: 420px;
    height: 420px;
    background: rgba(31, 41, 55, 0.10);
    top: -120px;
    right: -140px;
}

.hero-static.bg-body-extra-light::after {
    width: 360px;
    height: 360px;
    background: rgba(46, 90, 224, 0.10);
    bottom: -100px;
    left: -120px;
}

.hero-static.bg-body-extra-light > * {
    position: relative;
    z-index: 1;
}
/* Form Alt - lighter + outline on hover/focus */
.form-control-alt {
    background-color: #f5f6f8 !important;
    border: 1px solid #f5f6f8 !important;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    transition-delay: 0.50s;
}

.form-control-alt:hover {
    background-color: #ffffff !important;
    border-color: #333333 !important;
    transition-delay: 0.50s;
}

.form-control-alt:focus {
    background-color: #ffffff !important;
    border-color: #333333 !important;
    transition-delay: 0.50s;
}

/* ================================
    FLOATING LABEL - outlined style, label memotong garis border
    ================================ */
.floating-group {
    position: relative;
}

/* di dalam floating-group, field jadi outlined putih (override .form-control-alt) bukan filled abu-abu */
.floating-group .form-control {
    background-color: #ffffff !important;
    border: 1px solid #d8dce1 !important;
    border-radius: 0.6rem;
    padding: 0.7rem 1rem;
    transition: border-color 0.15s ease-in-out;
}

.floating-group .form-control:hover,
.floating-group .form-control:focus {
    background-color: #ffffff !important;
    border-color: #1F2937 !important;
}

.floating-group .floating-label {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 0.35rem;
    font-size: 0.9rem;
    color: #8a8f98;
    background: transparent;
    pointer-events: none;
    transform-origin: left center;
    transition: top 0.15s ease-in-out, transform 0.15s ease-in-out, color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    z-index: 2;
}

/* sembunyikan placeholder asli sampai user fokus, supaya tidak tabrakan sama label */
.floating-group .form-control::placeholder {
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

.floating-group .form-control:focus::placeholder {
    opacity: 1;
}

/* label naik ke garis border saat: hover pada group, fokus pada input, atau input sudah terisi */
.floating-group:hover .floating-label,
.floating-group .form-control:focus~.floating-label,
.floating-group .form-control:not(:placeholder-shown)~.floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.82);
    color: #1F2937;
    background-color: #ffffff;
}

/* ================================
    ICON DI DALAM FLOATING INPUT
    ================================ */
.floating-group.has-icon .form-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #8a8f98;
    pointer-events: none;
    z-index: 2;
    transition: color 0.15s ease-in-out;
}

.floating-group.has-icon .form-control {
    padding-left: 2.6rem !important;
}

.floating-group.has-icon .floating-label {
    left: 2.6rem;
}

/* icon ikut gelap pas field fokus / udah keisi, biar konsisten sama label */
.floating-group.has-icon .form-control:focus~.form-icon,
.floating-group.has-icon .form-control:not(:placeholder-shown)~.form-icon {
    color: #1F2937;
}

/* toggle show/hide password (icon kanan, bisa diklik) */
.floating-group .pass-toggle {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #8a8f98;
    cursor: pointer;
    z-index: 2;
    transition: color 0.15s ease-in-out;
}

.floating-group .pass-toggle:hover {
    color: #1F2937;
}

.floating-group.has-icon.has-toggle .form-control {
    padding-right: 2.6rem !important;
}

/* Checkbox "Tampilkan Password" pakai warna brand saat dicentang/fokus */
.form-check-input:checked {
    background-color: #1F2937 !important;
    border-color: #1F2937 !important;
}

.form-check-input:focus {
    border-color: #1F2937 !important;
    box-shadow: 0 0 0 0.2rem rgba(31, 41, 55, 0.25) !important;
}