/* Main Container */
#scc-member-table-app {
  max-width: 1757px;
  margin: 0 auto;
}

/* Filters Section */
.scc-filters {
  background: #236192;
  padding: 20px 24px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #E9EAEB;
}

.scc-filters input[type="text"] {
  padding: 10px 20px;
  border: 1px solid #EDEDED;
  border-radius: 4px;
  background: transparent;
  color: #EDEDED;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  min-width: 200px;
}

.scc-filters input[type="text"]::placeholder {
  color: #EDEDED;
  opacity: 0.8;
}

.scc-filters select {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: #EDEDED;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23EDEDED' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 36px;
}

.scc-filters select option {
  background: white;
  color: black;
}

/* Table */
.scc-member-table {
  width: 100%;
  border-collapse: collapse;
  background: #FAFAFA;
  border-left: 1px solid #EDEDED;
  border-right: 1px solid #EDEDED;
}

.scc-member-table thead tr {
  background: #FAFAFA !important;
  color: black !important;
  height: 70px;
}

.scc-member-table thead th,
.scc-member-table thead td {
  padding: 5px 20px;
  text-align: center;
  color: black !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  border-left: 1px solid #EDEDED;
  border-top: 1px solid #EDEDED;
  font-family: proxima-nova,sans-serif;
  vertical-align: middle;
}

.scc-member-table thead th:first-child {
  text-align: left;
  min-width: 150px;
  font-weight:bold;
    text-align: center;
}

.scc-member-table thead th {
  text-align: left;
  min-width: 150px;
  font-weight:600;
  text-align: center;
}

.scc-member-table tbody tr {
  height: 70px;
  background: transparent;
}

.scc-member-table tbody tr:hover {
  background: rgba(35, 97, 146, 0.05);
}

.scc-member-table tbody td {
  padding: 10px 20px;
  text-align: center;
  border-left: 1px solid #EDEDED;
  border-top: 1px solid #EDEDED;
  color: #236192;
  font-size: 13px;
  font-weight: 700;
  line-height: 18.2px;
  vertical-align:middle;
}

/* Empty cells (no completion) should be subtle */
.scc-member-table tbody td:empty::after {
  content: '—';
  color: #D5D7DA;
  font-weight: 400;
}

.scc-member-table tbody td:first-child {
  text-align: left;
  padding: 10px 25px;
}

.scc-member-table tbody td:first-child span {
  font-size: 10px;
  color: #666;
  text-transform: none;
  font-weight: 400;
}

/* Name Cell with Avatar */
.name-cell-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.name-cell-content > div {
  color: black;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 15.6px;
}

.member-avatar {
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
}

.member-avatar::before {
  content: '';
  width: 33.68px;
  height: 33.68px;
  position: absolute;
  left: 3.16px;
  top: 3.16px;
  border-radius: 50%;
}

/* Member Status Colors */
.member-avatar.blue::before {
  background: linear-gradient(135deg, #1D7D87 0%, #00528A 50%, #35A8E0 100%);
}

.member-avatar.gold::before {
  background: linear-gradient(135deg, #E7C973 0%, #C99A43 50%, #F6C18A 100%);
}

.member-avatar.silver::before {
  background: linear-gradient(135deg, #D9D2D9 0%, #9C9B9B 50%, #F5F5F5 100%);
}

.member-avatar.platinum::before {
  background: linear-gradient(135deg, #92D7EF 0%, #6FC9EC 50%, #DDEDF4 100%);
}

.member-avatar.bronze::before {
  background: linear-gradient(135deg, #E3A082 0%, #C1634F 50%, #F8CBA8 100%);
}

.scc-member-table tbody tr:last-child td {
  border-bottom: 1px solid #EDEDED;
}

.scc-member-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.scc-member-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* Pagination */
.pagination {
  padding: 12px 24px 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pagination-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.pagination-center {
  display: flex;
  gap: 2px;
  align-items: center;
}

.pagination-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.pagination button {
  padding: 8px 12px;
  background: white;
  border: 1px solid #D5D7DA;
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  color: black;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
  background: #FAFAFA;
  border-color: #236192;
}

.pagination button:disabled {
  border-color: #E9EAEB;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Page numbers */
.page-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: black;
  cursor: pointer;
  transition: background 0.2s;
}

.page-number:hover:not(.active) {
  background: #F5F5F5;
}

.page-number.active {
  background: #FAFAFA;
  color: #414651;
  font-weight: 600;
}

.page-ellipsis {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: black;
}

/* Optional: Add arrow icons to pagination buttons */
.pagination .pagination-left button::before {
  content: '←';
  margin-right: 4px;
}

.pagination .pagination-right button::after {
  content: '→';
  margin-left: 4px;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
  .scc-filters {
    flex-wrap: wrap;
  }
  
  .scc-member-table {
    font-size: 12px;
  }
  
  .scc-member-table thead th,
  .scc-member-table thead td,
  .scc-member-table tbody td {
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .scc-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .scc-filters input[type="text"],
  .scc-filters select {
    width: 100%;
  }
  
  .scc-member-table {
    display: block;
    overflow-x: auto;
  }
}

/* Nationality cell with flag */
.nationality-cell-content {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: left;
}

.nationality-cell-content .flag-icon {

  flex-shrink: 0;
  object-fit: cover;
  border-radius: 2px;
  height: 15px;
  width: 20px;
}

.nationality-cell-content .country-name {
  color: black;
  font-size: 12px;
  font-weight: 700;
  line-height: 15.6px;
  text-align: left;
}

