.mfp-container {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(24,39,75,0.06);
    max-width: 80%;
    margin: 0 auto;
    overflow-x: auto; /* ✅ Prevents table from overflowing */
    transition: all 0.3s ease;
}

.mfp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.mfp-filters label {
    font-size: 13px;
    color: #333;
    display: flex;
    flex-direction: column;
}

.mfp-filters input,
.mfp-filters select {
    padding: 7px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
}

#mfp_location {
  min-width: 200px;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.mfp-note {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.mfp-btn {
    background: #2563eb;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.mfp-btn:hover { background: #184bcd; }

.mfp-btn-outline {
    background: #fff;
    color: #2563eb;
    border: 1px solid #2563eb;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mfp-btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

.mfp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    min-width: 900px;
}

.mfp-table thead tr {
    background: #f8fafc;
    color: #0f172a;
}

.mfp-table th,
.mfp-table td {
    padding: 10px 8px;
    border: 1px solid #edf2f7;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;       /* ✅ Prevent line wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.mfp-table th button {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
}

.mfp-pagination {
    margin-top: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.mfp-pagination .mfp-page-btn {
    padding: 6px 9px;
    border-radius: 6px;
    border: 1px solid #e6eefc;
    background: #fff;
    cursor: pointer;
}

.mfp-pagination .mfp-page-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.mfp-pagination .mfp-page-btn[disabled] {
    opacity: 0.5;
    cursor: default;
}

.mfp-no-records {
    color: #6b7280;
    font-style: italic;
    text-align: center;
    padding: 18px 0;
}

.mfp-export-form {
    margin-top: 12px;
}

.select2-container--default .select2-selection--multiple {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-height: 36px;
  padding: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #0073aa;
  border: none;
  color: #000;
  padding: 3px 8px;
  border-radius: 6px;
  margin: 3px;
  font-size: 13px;
}
/* Reduce font size of dropdown options */
.select2-results__option {
    font-size: 13px !important;  /* Adjust as per your theme */
}




/* ✅ Responsive Styles */
@media (max-width: 1024px) {
    .mfp-container {
        max-width: 95%;
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .mfp-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .mfp-table {
        min-width: 600px; /* Scrolls horizontally if needed */
    }
}

@media (max-width: 480px) {
    .mfp-container {
        max-width: 100%;
        padding: 12px;
        border-radius: 0;
        box-shadow: none;
    }
    .mfp-btn, .mfp-btn-outline {
        width: 100%;
        text-align: center;
    }
}
