.clean-toast {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 1rem;
    min-width: 320px;
    max-width: 420px;
    animation: fadeSlideIn 0.3s ease;
}
.clean-toast .toast-body {
    color: #374151;
}
.clean-toast .btn-close {
    filter: none;
}
.toast-progress {
    height: 4px;
    width: 0;
    opacity: 0.9;
}
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-equal-height {
    height: 160px;
    min-height: 160px;
}

.custom-mt {
    margin-top: -28px !important;
}

.custom-mt-sub {
    margin-top: -30px !important;
}

.form-flex {
    display: flex;
    gap: 16px; /* jarak antar field */
    align-items: flex-end; /* biar input dan select rata bawah */
    margin-bottom: 16px;
}

.select-wrap {
    flex: 2;
}

.input-wrap {
    flex: 8;
}

#kt_modal_progress_upgrade .modal-body {
    max-height: 85vh;
    overflow-y: auto;
}

#kt_modal_progress_survey .modal-body {
    max-height: 85vh;
    overflow-y: auto;
}

#kt_modal_progress_troubleshooting .modal-body {
    max-height: 85vh;
    overflow-y: auto;
}

#kt_modal_add_user .modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

.text-pink {
    color: #e91e63 !important;
}

.col-6.position-relative:hover button {
    opacity: 1 !important;
}

.checkbox-readonly {
    pointer-events: none;
    /* biar ga bisa diklik */
    accent-color: #ccc;
    /* kasih warna abu-abu */
    opacity: 0.7;
    /* agak pudar */
}

.custom-sticky-header {
    z-index: 9 !important;
    /* lebih rendah daripada header/topbar */
    top: 0;
    /* tetap sticky di atas container scroll */
}

/* === DOT dasar === */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

/* === Animasi Blink Halus === */
@keyframes blinkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* === ONLINE === */
.status-badge-online .status-dot {
    background-color: #16a34a; /* hijau */
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
    animation: blinkPulse 1.3s infinite ease-in-out;
}
.status-badge-online span {
    color: #16a34a;
}

/* === OFFLINE === */
.status-badge-offline .status-dot {
    background-color: #dc2626; /* merah */
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
    animation: blinkPulse 1.8s infinite ease-in-out;
}
.status-badge-offline span {
    color: #dc2626;
}

/* === DEFAULT / UNKNOWN === */
.dot-muted {
    background-color: #9ca3af; /* abu-abu */
}

/* Box area logo di header */
.app-header-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;    /* area logo (bisa diatur) */
    height: 200px;    /* tinggi area logo */
    margin-top: 4px; /* ini yang bikin logo sedikit turun */
}

/* Gambar logonya */
.app-header-logo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}


