/*
 * Modal Pemberitahuan (notif-popup)
 * Konten berasal dari editor (Froala) sehingga bisa berisi gambar/video
 * dengan ukuran inline yang besar dan deskripsi panjang.
 */

#notif-popup .modal-content {
    max-height: 90vh;
}

#notif-popup .modal-body {
    overflow-y: auto;
    min-height: 0;
}

/* Jangan paksa tinggi tetap: biarkan modal-body yang scroll. */
#notif-popup .carousel,
#notif-popup .carousel-inner,
#notif-popup .carousel-item,
#notif-popup .alert {
    height: auto !important;
}

#notif-popup .carousel-inner {
    overflow: visible;
}

#notif-popup .alert {
    margin-bottom: 0;
}

#notif-popup .alert-message {
    overflow-wrap: anywhere;
}

/* Gambar/video editor: jangan melebihi lebar border kuning. */
#notif-popup .alert-message img,
#notif-popup .alert-message video,
#notif-popup .alert-message iframe {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0.5rem auto;
    border-radius: 0.5rem;
}

#notif-popup .popup-notif-content {
    font-size: 0.875rem;
    line-height: 1.65;
}

#notif-popup .popup-notif-content > :last-child {
    margin-bottom: 0;
}

#notif-popup .popup-notif-content table {
    max-width: 100%;
}
