*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.compare-section {
  width: 100%;
  float: left;
  background: #ffffff;
  padding: 35px 0;
  font-family: Arial, sans-serif;
}

.wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.compare-title {
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  /* margin-bottom: 10px; */
  color: #454545;
}

.compare-subtitle {
  text-align: left;
  font-size: 16px;
  color: #555;
  /* max-width: 850px; */
  /* margin: 30px 0; */
  line-height: 1.6;
}

.compare-subtitle p{
  padding-top: 24px;
}

.table-wrapper {
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  margin: 30px auto 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* .compare-table th, */
.compare-table td {
  padding: 20px 55px;
  border-bottom: 1px solid #B6D9F2;
  border-right: 1px solid #B6D9F2;
  font-size: 20px;
  color: #454545;
  text-align: center;
  width: 400px;
}

.compare-table td p{
  margin-bottom: 0;
}

.compare-table th b,
.compare-table td b{
	font-weight:400;
}

.compare-table th {
  font-size: 20px;
  color: #000;
  vertical-align: bottom;
  padding: 30px 52px 30px;
  text-align: center;
  border-bottom: 1px solid #B6D9F2;
  border-right: 1px solid #B6D9F2;
  position: relative;
  font-weight: 400;
}

.compare-table img {
  width: 18px;
  height: auto;
}

.compare-table td {
  color: #333;
  line-height: 1.4;
}

.cta-row td {
  padding: 16px 10px;
}

.buy-btn {
  border-radius: 10px;
  text-decoration: none;
  background: #005DAC;
  padding: 12px 36px;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
  display: inline-block;
  transition: 0.3s all ease-in;
}

.buy-btn:hover {
  background-color: #34A6F4;
}

.table-wrapper::-webkit-scrollbar {
  display: none;
}

.simple-table{
  min-width: 500px;
  max-width: 900px;
}

.table-wrapper:has(.simple-table){
  width: fit-content;
}

@media screen and (max-width: 1600px) {
  .compare-title {
    font-size: 24px;
  }
  .table-wrapper {
    overflow-x: auto;
  }

  .compare-table th,
  .compare-table td {
    font-size: 20px;
    padding: 15px 20px;
  }

  .buy-btn {
    font-size: 20px;
    padding: 7px 16px;
  }

  .complex-table {
    min-width: 1080px;
  }
}

@media screen and (max-width: 1366px) {
  .compare-title {
    font-size: 24px;
  }

  .compare-table th,
  .compare-table td {
    font-size: 16px;
    padding: 12px 18px;
  }

  .complex-table {
    min-width: 1040px;
  }

  .buy-btn {
    font-size: 20px;
    padding: 7px 14px;
  }
}


@media screen and (max-width: 1280px) {
  .compare-title {
    font-size: 24px;
  }

  .compare-table th,
  .compare-table td {
    font-size: 16px;
    padding: 10px 15px;
  }

  .complex-table {
    min-width: 980px;
  }

  .buy-btn {
    font-size: 20px;
    padding: 6px 13px;
  }
}


@media screen and (max-width: 760px) {
  .table-wrapper:has(.simple-table){
    width: auto;
  }
  .compare-title {
    font-size: 24px;
    padding: 0 12px;
  }

  .compare-subtitle {
    font-size: 14px;
    padding: 0 14px;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .complex-table {
    min-width: 920px;
  }

  .compare-table th,
  .compare-table td {
    font-size: 14px;
    padding: 8px 12px;
  }

  .buy-btn {
    font-size: 14px;
    padding: 6px 12px;
  }

  
  .simple-table td:first-child, .simple-table th:first-child{
    width: 20%;
  }
}

@media screen and (max-width: 480px) {
  .compare-title {
    line-height: 1.3;
  }

  .complex-table {
    min-width: 880px;
  }

  .compare-table th,
  .compare-table td {
    font-size: 14px;
    padding: 6px 10px;
  }

  .compare-table img {
    width: 16px;
  }

  .buy-btn {
    font-size: 14px;
    padding: 5px 10px;
  }
}

.bg-color-blue th {
  background: linear-gradient(360deg, rgba(182, 217, 242, 0.2) 0%, rgba(182, 217, 242, 0) 100%);
}
.bg-color-blue th,
.bg-color-blue td {
  border-bottom: 1px solid #B6D9F2;
  border-right: 1px solid #B6D9F2;
}
 
.bg-color-white th,
.bg-color-white td{
  border-bottom: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
}
.bg-color-white th{
  background: none;
}
.bg-color-grey th,
.bg-color-grey td{
  border-bottom: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
}
.bg-color-grey th{
  background: #e5e0df;
  border-right: 1px solid #f7f3f2;
}
.compare-table td span.correct::after,
.compare-table td span.inCorrect::after{
  align-items: center;
}
.compare-table td span.correct::after {
  content: '✔';
  background-color: #2FC809;
  color: #ffffff;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50px;
}
.compare-table td span.inCorrect::after {
  content: '✖';
  background-color: #F52727;
  color: #ffffff;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50px;
}
/* .compare-table tr th:first-child,
.compare-table tr td:first-child {
  position: -webkit-sticky; 
  position: sticky;
  left: 0;
  background-color: white; 
  z-index: 1; 
  border-right: 1px solid #B6D9F2;
  border-bottom: 1px solid #B6D9F2;
} */