.section.table-container .table-wrapper{
  padding: 0;
}


.section.table-container .table-container h2 {
  margin-bottom: 60px;
}
/* 
.table-container a:any-link{
  color: #ea6024;
} */

/* .section.table-container .table-wrapper .table-title, */
.section.table-container .table-wrapper .tab-buttons {
  padding: 0 16px;
}


.common-table {
  border-collapse: collapse;
  width: 100%;
  /* min-width: 1200px; */
  border-radius: 12px;
  overflow: hidden;
  margin-top: 15px;
}

.common-table th,
.common-table td {
  border: 1px solid #1111111F;
  padding: 17px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  text-align: left;
}

.common-table th {
  font-weight: 400;
  background: linear-gradient(24.77deg, #4E0004 14.08%, #8E0006 67.23%);
  color: #fff;
}

.common-table td:first-child,
.common-table th:first-child {
  font-weight: 600;
  color: #97291E;
  font-family: var(--body-font-family-semibold);
}

.common-table th:first-child {
  background: rgba(254, 242, 237, 1);
  color: #111111;
}


.mobile-table-tabs {
  display: flex;
  flex-direction: column;
  margin-top: 1em;
  font-family: sans-serif;
}

.tab-buttons {
  display: flex;
  overflow-x: auto;
  margin-bottom: 1em;
  border-radius: 4px;

}

.tab-buttons button {
  flex: 1;
  padding: 12px 12px;
  border: 1px solid #1111111F;
  cursor: pointer;
  white-space: nowrap;
  /* min-width: 88%; */
  border-radius: 4px;
}

.tab-buttons button.active {
  background: #f26522;
  color: #fff;
  /* font-weight: bold; */
  border: 1px solid #1111111F
}

.tab-content .row {
  display: flex;
  justify-content: space-between;
  padding: 0.75em 1em;
  border-bottom: 1px solid #ddd;
}

.tab-content .label {
  font-weight: bold;
  flex: 1;
  padding-right: 10px;
}

.tab-content .value {
  flex: 1;
  text-align: right;
}

@media (max-width: 1024px) {
  .common-table {
    min-width: 100%;
  }
}


@media (max-width: 767px) {
  .tab-buttons {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    gap: 12px;
  }

  .tab-buttons::-webkit-scrollbar {
    display: none;
  }

  
  /* Agar tab-buttons ke andar sirf 1 button ho → hide */
  .tab-buttons:has(> button:only-child) {
    display: none;
  }


  .common-table thead {
    /* display: none; */
  }

  .mobile-table-tabs {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
  }

  .section.table-container .table-container h2 {
    margin-bottom: 30px;
  }

  .section.table-container .table-wrapper {
    padding: 0 !important;
  }

  .common-table,
  .common-table tbody,
  .common-table tr,
  .common-table td {
    /* display: block; */
    min-width: 100%;
    border-radius: 0;
  }

  .table-container {
    overflow-x: auto;
    min-width: 100%;
  }

  .common-table td {
    border: 1px solid #1111111F;
    padding: 14px 20px;
  }

  .common-table td:first-child {
    font-weight: 600;
    font-size: 16px;
    /* color: #fff;
    background: linear-gradient(to right, #4E0004, #8E0006); */
  }
}