/* File ini berisi semua gaya untuk animasi dan interaksi. */

/* Efek transisi halus untuk semua elemen */
* {
    transition: all 0.2s ease-in-out;
}

/* Animasi untuk elemen yang muncul */
.subjek-item-wrapper {
    animation: fadeInDown 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efek saat form sedang dalam proses pengiriman */
#form-pelaporan.is-loading {
    opacity: 0.7;
    pointer-events: none; /* Mencegah klik ganda */
}

/* Toast modern */
#toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.5s ease-in-out;
    z-index: 2000;
}
#toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Ikon lingkaran */
.toast-icon {
    background: white;
    color: #22c55e;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Efek "tenggelam" saat tombol diklik */
.btn-click-effect {
    transform: scale(0.97);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* --- EFEK TIMBUL UNTUK KARTU INDIKATOR --- */
.indicator-card.embossed {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.15), 0 5px 10px rgba(59, 130, 246, 0.1);
    z-index: 10; /* Memastikan kartu yang aktif berada di depan */
    border-color: var(--primary-color);
}

/* --- EFEK TIMBUL UNTUK SEMUA TOMBOL RADIO --- */
.custom-radio label.embossed {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.15), 0 3px 6px rgba(59, 130, 246, 0.1);
    z-index: 10;
}
