/* Penanda "kolom wajib diisi" -- berlaku di seluruh halaman (dipasang otomatis oleh
   App\Http\Middleware\InjeksiWajibDiisi bersama public/js/wajib-global.js). */
:root { --wj-merah: #c0392b; --wj-merah-muda: #fdecea; }

.wj-invalid {
    border-color: var(--wj-merah) !important;
    background-color: var(--wj-merah-muda) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .16) !important;
    outline: none;
}
.wj-host-invalid {
    outline: 2px solid var(--wj-merah);
    outline-offset: 3px;
    border-radius: 8px;
}
.wj-pesan {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--wj-merah);
    font: 600 12.5px/1.35 'Poppins', 'Segoe UI', system-ui, sans-serif;
    text-align: left;
    animation: wjMasuk .18s ease-out;
}
.wj-pesan::before {
    content: "!";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--wj-merah);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}
.wj-getar { animation: wjGetar .32s ease-in-out; }

@keyframes wjMasuk { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes wjGetar {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
    .wj-pesan, .wj-getar { animation: none; }
}
