/*
Theme Name: Bds2
Description: Child theme Flatsome
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** CUSTOM CSS ***************/



/* ===== POPUP ===== */
.loan-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);

  justify-content: center;
  align-items: center;
}

.loan-popup-content {
  background: #fff;
  width: 800px !important;
  max-width: 100%;
  max-height: 90vh;
  padding: 10px;
  border-radius: 10px;
}

/* ===== TABLE ===== */
.loan-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13px;
}

.loan-table th,
.loan-table td {
  border: 1px solid #eee;
  padding: 6px;
  text-align: center;
}

.loan-table th {
  background: #f8f8f8;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Scroll bảng */
.loan-table-wrapper {
  max-height: 300px;
  overflow-y: auto;
}

/* ===== PAGINATION ===== */
.loan-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.loan-pagination button {
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.loan-pagination button:hover {
  background: #e11d48;
  color: #fff;
}

#pageInfo {
  font-weight: bold;
}

/* ===== MOBILE ===== */

 