/* =========================================
           🌟 CSS MODAL DETAIL (DESAIN BARU YANG LEBIH RAPI) 🌟
        ========================================= */
        
        .mdl-detail-backdrop {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease-in-out;
            padding: 20px;
            box-sizing: border-box;
        }

        .mdl-detail-backdrop.active {
            opacity: 1;
            visibility: visible;
        }

        .mdl-detail-card {
            background: #ffffff;
            width: 100%;
            max-width: 600px; /* Diperlebar sedikit agar lebih lega */
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.25);
            position: relative;
            transform: translateY(20px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .mdl-detail-backdrop.active .mdl-detail-card {
            transform: translateY(0) scale(1);
        }

        /* Header Modal */
        .mdl-detail-header {
            background-color: var(--maroon);
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .mdl-detail-title {
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mdl-detail-title svg {
            width: 20px;
            height: 20px;
            fill: var(--orange);
        }

        .mdl-detail-close-btn {
            background: rgba(255,255,255,0.1);
            border: none;
            color: white;
            cursor: pointer;
            padding: 6px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .mdl-detail-close-btn:hover {
            background: var(--orange);
            transform: rotate(90deg);
        }

        .mdl-detail-close-btn svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        /* Body Modal */
        .mdl-detail-body {
            padding: 30px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        /* Grid untuk info meta (Nomor, Jenis, Status) */
        .mdl-detail-meta-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            padding-bottom: 20px;
            border-bottom: 1px dashed #e0e0e0;
        }

        .mdl-detail-meta-item {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .mdl-detail-label {
            font-size: 0.85rem;
            color: #777;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .mdl-detail-label svg {
            width: 14px;
            height: 14px;
            fill: var(--orange);
        }

        .mdl-detail-value {
            font-size: 0.95rem;
            color: #222;
            font-weight: 600;
        }

        /* Style Badge untuk Status */
        .mdl-detail-badge {
            display: inline-block;
            background-color: rgba(255, 140, 0, 0.15);
            color: var(--orange);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            border: 1px solid rgba(255, 140, 0, 0.3);
            align-self: flex-start;
        }

        /* Box untuk teks panjang (Isi & Jawaban) */
        .mdl-detail-content-group {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .mdl-detail-text-box {
            background-color: var(--light-gray);
            border-left: 4px solid var(--maroon);
            padding: 15px 20px;
            border-radius: 0 8px 8px 0;
            font-size: 0.95rem;
            color: #444;
            line-height: 1.6;
            margin: 0;
        }

        /* Variasi untuk boks jawaban */
        .mdl-detail-text-box.answer {
            border-left-color: var(--orange);
            background-color: rgba(255, 140, 0, 0.03);
        }

        @media (max-width: 576px) {
            .mdl-detail-body {
                padding: 20px;
            }
            .mdl-detail-header {
                padding: 15px 20px;
            }
            .mdl-detail-meta-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
        }