.greensites-record-table {
  background: #f4fdf7;
  border-radius: 16px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.05);
  padding: 14px;
  width: 100%;
  height: auto;
  min-height: 250px;
  font-family: "Segoe UI", sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
}

.greensites-table-title {
  margin: 0;
  display: flex;
  flex-direction: row;
}

.greensites-table-title span {
  margin-right: 4px;
}

.greensites-table-title h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.greensites-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-grow: 1;
}

.greensites-card-table-body {
  background: #ffffff;
  border-radius: 12px;
  min-height: 150px;
  max-height: 166px;
  overflow-y: auto;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.greensites-card-table-body p {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.greensites-card-table-body::-webkit-scrollbar {
  width: 6px;
}

.greensites-card-table-body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.greensites-button-container {
  text-align: center;
  margin-top: 10px;
}

.greensites-table-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  height: 100%;
}

.greensites-record-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: #333;
}

.greensites-record-table thead {
  color: #1b442b;
  font-weight: 600;
}

.greensites-record-table thead tr {
  border-bottom: 1px solid #c8e6d3;
}

.greensites-record-table thead th {
  background-color: #dff4e6;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
}

.greensites-record-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.greensites-record-table tbody tr:hover {
  background-color: #f4fdf7;
}

.greensites-record-table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
}

.greensites-record-table tbody td:first-child {
  font-weight: 500;
  color: #1b442b;
}

.greensites-record-table tfoot td {
  padding: 12px 16px;
  background-color: #f9fafb;
  font-weight: bold;
  color: #1b442b;
}