body {
    background: linear-gradient(-45deg, #043666, #11375c, #E9C170, #F2CC81);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* biar konten stack */
    align-items: center;
    justify-content: flex-start; /* mulai dari atas */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 100px; /* biar konten tidak ketimpa footer */
}

@keyframes gradient-animation {
    0% { background: #043666; }
    25% { background: #E9C170; }
    50% { background: #043666; }
    75% { background: #F2CC81; }
    100% { background: #043666; }
}

.login-card {
    max-width: 500px;
    width: 100%;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(200,200,200,0.7) 60%, rgba(255,255,255,0.3) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    position: relative;
    z-index: 1;
    margin: 40px auto 80px auto; /* jarak atas + bawah */
    transition: none; /* matikan animasi */
}



.form-control {
    border-radius: 10px;
    height: 48px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #043666;
    box-shadow: 0 0 0 0.25rem rgba(4, 54, 102, 0.25);
}

.btn-imicare {
    background-color: #043666;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.btn-imicare:hover {
    background-color: #153F77;
}

.btn-back {
    background-color: #E9C170;
    color: #043666;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #d9aa4c;
}

.toggle-btn {
    display: block;
    width: 100%;
    text-align: left;
    border: 2px solid #043666;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background-color: #043666;
    color: white;
}

.toggle-desc {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
}

.background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    white-space: nowrap;
    text-align: center;
    line-height: 0.9;
}

.background-text .imigrasi {
    font-size: 15vw;
    font-weight: 900;
    color: #043666;
    opacity: 0.5;
}

.background-text .cirebon {
    font-size: 15vw;
    font-weight: 900;
    color: #E9C170;
    opacity: 0.5;
}

/* Mobile friendly */
@media (max-width: 768px) {
    body {
        align-items: stretch; /* biar konten full width */
        justify-content: flex-start;
        overflow-y: auto; /* aktifkan scroll */
        padding: 10px;
    }

    .login-card {
        margin: 20px auto 100px auto; /* jarak atas + bawah */
        max-width: 100%;
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }
}

.steps {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    margin: 0 5px;
}

.step.active {
    background: #043666;
}

.step.completed {
    background: #E9C170;
    color: #043666;
}
