/* ============================================
   CSS COMPACTO - Compatible con HTML original
   Hace el modal más compacto SIN tocar JavaScript
   ============================================ */

/* Header más compacto */
.modal-header {
    padding: 14px 24px !important;
}

.modal-header .modal-title {
    font-size: 1.25rem !important;
}

/* Body con menos padding */
.modal-body {
    padding: 16px 24px !important;
}

/* Reducir márgenes entre secciones */
.modal-body .row.mb-3 {
    margin-bottom: 12px !important;
}

/* Cards más compactos */
.modal-body .card-header {
    padding: 10px 14px !important;
    font-size: 12px !important;
}

.modal-body .card-body {
    padding: 14px !important;
    font-size: 14px !important;
}

/* Tabla más compacta */
.modal-body table {
    font-size: 13px;
}

.modal-body table thead th {
    padding: 10px 12px !important;
    font-size: 11px !important;
}

.modal-body table tbody td {
    padding: 10px 12px !important;
}

/* Footer más compacto */
.modal-footer {
    padding: 12px 24px !important;
}

.modal-footer .btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
}

/* Reducir altura del modal */
.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 180px);
}
