.modaldokumen-detail {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
}

.modal-dialog {
    margin-top: 120px !important;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin-bottom: 30px;
}

.modaldokumen-konten {
    display: grid;
    grid-template-columns: 240px 2fr;
    gap: 30px;
    align-items: start;
}

.modaldokumen-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.kategori {
    font-weight: 600;
    font-size: 1.1rem;
}

.tanggal {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-icon {
    width: 180px;
    padding: 15px;
    align-self: center;
    object-fit: cover;
}

.modaldokumen-deskripsi {
    color: #444;
    line-height: 1.3;
    font-size: 0.95rem;
    text-align: justify;
}

.modaldokumen-preview {
    background-color: #ddd;
    border-radius: 6px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #111;
    overflow: hidden;
}

.modaldokumen-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Tombol Navigasi */
.modaldokumen-tombol {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

.btn-kembali,
.btn-buka {
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

/* Tombol Kembali */
.btn-kembali {
    background-color: #6c757d;
    color: #fff;
}

.btn-kembali:hover {
    background-color: #5a6268;
}

/* Tombol Buka Dokumen */
.btn-buka {
    background-color: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-buka:hover {
    background-color: #0056d2;
}

.blurred {
    position: relative;
    filter: blur(5px);
    pointer-events: none;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    color: #222;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

/* Responsif */
@media (max-width: 800px) {
    .modaldokumen-konten {
        grid-template-columns: 1fr;
    }

    .modaldokumen-preview {
        height: 250px;
    }

    .modaldokumen-tombol {
        justify-content: center;
    }
}
