.records-page {

  background: #ffffff !important;
  font-family: 'Inter', sans-serif;

  padding: 15px 0;
}

.records-page .records-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 25px 30px;
  margin: auto;
}

/* HEADER: Search + Buttons */
.records-page .records-header {
  margin-top: 30px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.records-page .records-header .search-wrapper {
  max-width: 320px;
  width: 100%;
}

/* SEARCH INPUT */
.records-page .search-wrapper {
  position: relative;
}

.records-page .search-input {
  border-radius: 30px;
  padding-left: 38px;
  height: 42px;
  font-size: 14px;
  background: #f5f7fa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='gray' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.415l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 16px;
}

/* Larger search input */
.records-page .search-lg {
  height: 40px !important;
  font-size: 16px !important;
  padding-left: 42px !important;
  border-radius: 40px !important;
}

/* MODERN LINK */
.records-page .link-modern {
  font-weight: 600;
  text-decoration: none;
}

.records-page .link-modern:hover {
  text-decoration: underline;
}

/* BUTTON: Gradient */
.records-page .btn-gradient {
  background: linear-gradient(90deg, #3e80ff, #5d2efc);
  border: none;
  color: #ffffff;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.2s;
}

.records-page .btn-gradient:hover {
  opacity: 0.9;
  color: #ffffff;
}

/* Larger button for New Report */
.records-page .btn-lg-custom {
  height: 35px;
  padding: 0 28px !important;
  font-size: 16px !important;
  border-radius: 30px !important;
  display: flex;
  align-items: center;
}

.records-page .btn-text {
  font-size: 13px;
}

/* TABLE */
.records-page .table-modern thead th {
  background: #f5f5fc;
  color: #3b3b4f;
  font-size: 20px;      /* merged final version */
  padding: 18px 14px;
  font-weight: 700;
  border-bottom: none;
  white-space: nowrap;
}

.records-page .table-modern tbody td {
  padding: 16px;
  font-size: 16px;
  vertical-align: middle;
}

/* ACTION BUTTONS */
.records-page .action-btn {
  background: #f0f0ff;
  border-radius: 10px;
  padding: 6px 10px;
  margin-right: 4px;
  color: #5b4bff;
  border: none;
  transition: 0.2s;
}

.records-page .action-btn:hover {
  background: #e5e5ff;
}

.records-page .action-btn i {
  font-size: 16px;
}

/* EMPTY STATE */
.records-page .empty-state {
  text-align: center;
  padding: 60px 0;
}

.records-page .empty-img {
  width: 130px;
  opacity: 0.8;
}

.records-page .empty-state p {
  margin-top: 15px;
  font-size: 18px;
  color: #5a5a5f;
}

/* MODAL */
.records-page .modern-modal .modal-content {
  border-radius: 18px;
}

.records-page .bg-gradient {
  background: linear-gradient(90deg, #d9002a, #b1001f);
}
