/* CONTAINER UTAMA / BACKDROP LUAR */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6d28d9; /* Putih transparan pekat */
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #9b3cb3 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 20px;
    backdrop-filter: blur(12px);          /* Efek blur latar belakang */
    -webkit-backdrop-filter: blur(12px);  /* Dukungan Safari */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

}

/* WIDGET CARD UTAMA SPLIT SCREEN */
.auth-card {
    
    display: flex;
    width: 100%;
    max-width: 880px;
    min-height: 520px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(88, 28, 135, 0.25);
}

/* =========================================================================
   PANEL KIRI: AKSEN UNGU DENGAN TOPOGRAFI & ORNAMEN
   ========================================================================= */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Pola Garis Gelombang Abstrak / Topografi */
.left-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: radial-gradient(circle at 20% 30%, transparent 50%, rgba(255,255,255,0.2) 52%, transparent 54%),
                      radial-gradient(circle at 80% 70%, transparent 40%, rgba(255,255,255,0.2) 42%, transparent 44%);
    background-size: 40px 40px;
}

/* Dekorasi Pola Titik (Dots Grid) */
.dots-ornament {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 25px;
    height: 90px;
    opacity: 0.4;
    background-image: radial-gradient(#ffffff 2px, transparent 2.5px);
    background-size: 8px 12px;
}

/* Dekorasi Tanda Plus (+) */
.plus-1 { position: absolute; top: 50px; left: 80px; opacity: 0.3; font-size: 1.5rem; font-weight: 300; }
.plus-2 { position: absolute; bottom: 120px; left: 140px; opacity: 0.3; font-size: 1.5rem; font-weight: 300; }
.circle-1 { position: absolute; top: 120px; right: 120px; width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; }
.circle-2 { position: absolute; bottom: 60px; left: 50px; width: 10px; height: 10px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; }

.left-panel h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.left-panel p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 280px;
    position: relative;
    z-index: 2;
}

/* =========================================================================
   PANEL KANAN: FORM ISIAN INPUT KAPSUL
   ========================================================================= */
.right-panel {
    flex: 1.1;
    background: #ffffff;
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-headline {
    color: #1e293b;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Modifikasi Input Group Kapsul (Pill Style) */
.input-pill-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.input-pill-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}

.form-control-pill {
    width: 100%;
    height: 46px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    padding-left: 48px;
    padding-right: 20px;
    font-size: 0.9rem;
    color: #334155;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.form-control-pill:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.form-control-pill::placeholder {
    color: #94a3b8;
}

/* Baris Opsi Ekstra (Remember Me & Forgot Pwd) */
.extra-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 28px;
    padding: 0 4px;
}

.extra-options a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.extra-options a:hover {
    color: #6d28d9;
}

/* Tombol Submit Kapsul Gradient */
.btn-submit {
    width: 100%;
    height: 48px;
    border: none;
    background: linear-gradient(to right, #6d28d9 0%, #4c1d95 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
    transition: all 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
    opacity: 0.95;
}

.btn-submit:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
}

.footer-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-link a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* RESPONSIVE LAYOUT UNTUK MOBILE */
@media (max-width: 768px) {
    .form-headline{
        display: none;
    }
    .auth-card {
        flex-direction: column;
        max-width: 440px;
    }
    .left-panel {
        padding: 40px 30px;
        min-height: 180px;
    }
    .dots-ornament, .plus-2, .circle-1 { display: none; }
    .right-panel {
        padding: 40px 30px;
    }
}