body.login-page {
    /* Perubahan: Menggunakan paduan warna primer dengan tint abu-abu kebiruan yang sangat soft */
    background: linear-gradient(135deg, #f4f6f9 0%, #e2e8f0 40%, rgba(0, 97, 164, 0.12) 100%);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Tambahan pseudo-element untuk memberikan kedalaman (ambient glow) tanpa terlihat norak */
body.login-page::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(0, 97, 164, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Container utama */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    z-index: 2; /* Memastikan form tetap di atas ambient glow */
}

/* Card Login Terpusat - Dibuat lebih solid & clean agar kontras dengan background yang soft */
.login-card {
    background: rgba(255, 255, 255, 0.92); /* Meningkatkan opasitas agar teks lebih tegas dibaca */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--md-shape-corner-large);
    /* Shadow dibuat lebih halus (soft shadow) */
    box-shadow: 0 12px 32px rgba(0, 29, 54, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 29, 54, 0.08);
}

/* Header di dalam Card */
.login-header-box {
    text-align: center;
    margin-bottom: 32px;
}

.brand-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    /* background-color: var(--md-sys-color-primary-container); */
    border-radius: var(--md-shape-corner-medium);
    margin-bottom: 16px;
}

.login-header-box i {
    font-size: 32px;
    color: var(--md-sys-color-primary);
}

.login-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--md-sys-color-on-primary-container);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 13px;
    color: #535f70;
    font-weight: 600;
    line-height: 1.4;
}

/* Form Group & Input Controls */
.form-group-m3 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.form-group-m3 label {
    font-size: 13px;
    font-weight: 700;
    color: #3f4753;
    padding-left: 2px;
}

.form-control-m3 {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #c2c7cf;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #191c20;
    border-radius: var(--md-shape-corner-medium);
    outline: none;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.form-control-m3:focus {
    background: #ffffff;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 3px rgba(0, 97, 164, 0.2);
}

/* Opsi Tambahan (Lupa Password) */
.form-options-m3 {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: 28px;
}

.forgot-link-m3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link-m3:hover {
    color: #004c82;
    text-decoration: underline;
}

/* Modifikasi Tombol Login M3 */
.login-card .btn-primary-m3 {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    border-radius: var(--md-shape-corner-medium); /* Menyelaraskan lengkungan dengan input */
}