/* Style bersama untuk halaman form klaim (ClmForm) */
.clm-loading {
    height: 300px;
}

.clm-header-card {
    background-color: #f5f5f5;
}

.clm-field-label {
    font-size: 0.9rem;
}

.clm-section-title {
    font-size: 1.1rem;
}

.clm-key-cell {
    width: 150px;
}

.clm-status-icon {
    font-size: 2rem;
}

.clm-small-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Document Upload Section: matikan efek hover card (lift) agar dropdown stabil */
.clm-upload-card,
.clm-upload-card:hover {
    transform: none;
    transition: none;
}

.clm-upload-card:hover {
    box-shadow: var(--bs-box-shadow-sm) !important;
}

/* Overlay blocking saat proses berjalan (mis. cancel claim): cegah klik sampai redirect selesai */
.clm-busy-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    cursor: wait;
}

.clm-busy-box {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Semua DxGrid: huruf dan padding sel dikecilkan agar kolom lebih sempit */
.dxbl-grid {
    font-size: 0.8rem;
}

.dxbl-grid .dxbl-grid-table > tbody > tr > td,
.dxbl-grid .dxbl-grid-table > thead > tr > th {
    padding: 0.3rem 0.5rem;
}

/* Smartphone: huruf semua grid lebih kecil lagi */
@media (max-width: 576px) {
    .dxbl-grid {
        font-size: 0.75rem;
    }
}

/* Card pembungkus grid: lebar kolom tidak boleh melebarkan halaman; grid scroll horizontal sendiri */
.clm-grid-card {
    contain: inline-size;
}

/* Pilih dokumen: di layar sempit memenuhi satu baris, tombol turun ke bawahnya */
.clm-upload-doc-select {
    min-width: 220px;
}

/* Smartphone: ruang halaman dan header section dirapatkan */
@media (max-width: 576px) {
    .clm-section-title {
        font-size: 1rem;
    }
}
