
.pricingTable {
  margin: 40px auto;
}

.pricingTable-title {
  text-align: center;
  color: #6e768d;
  font-size: 300%;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.pricingTable-subtitle {
  text-align: center;
  color: #b4bdc6;
  font-size: 1.8em;
  letter-spacing: 0.04em;
  margin-bottom: 60px;
}
@media screen and (max-width: 480px) {
  .pricingTable-subtitle {
    margin-bottom: 30px;
  }
}

.pricingTable-firstTable {
  list-style: none;
  text-align: center;
  display: flex;
  justify-content: center; /* centrerar boxarna horisontellt */
  align-items: stretch;    /* alla boxar får samma höjd */
  gap: 20px;   
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable {
    flex-direction: column; /* Staplar kolumnerna vertikalt på mobil */
    align-items: center;    /* Centrerar kolumnerna */
  }
}

.pricingTable-firstTable_table {
  flex: 1;        /* alla boxar tar lika mycket plats */

  vertical-align: middle;
  width: 31%;
  background-color: #ffffff;
  display: flex;          /* Gör boxen till flex container */
  flex-direction: column; /* Staplar innehållet vertikalt */
  padding: 0 30px 40px;
  text-align: center;
  max-width: 320px;
  transition: all 0.3s ease;
  border-radius: 5px;
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table {
    display: flex;          /* Behåller flex för att knapparna ska alignas */
    flex-direction: column; /* Staplar innehållet vertikalt */
    width: 95%;             /* Ökat från 90% till 95% för bredare kolumner */
    margin: 0 auto 20px auto;
    max-width: 95%;         /* Ökat från 90% till 95% */
    padding: 10px 20px;
  }
}

.pricingTable-firstTable_table:hover {
  transform: scale(1.08);
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table:hover {
    transform: none;
  }
}

.pricingTable-firstTable_table:not(:last-of-type) {
  margin-right: calc((100% - 31% * 3) / 2);
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table:not(:last-of-type) {
    margin-right: auto;
  }
}

.pricingTable-firstTable_table:nth-of-type(2) {
  position: relative;
}
/*.pricingTable-firstTable_table:nth-of-type(2) h1 {
  padding-top: 0;
}*/
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table:nth-of-type(2) h1 {
    padding-top: 8%;
  }
}
.pricingTable-firstTable_table:nth-of-type(2)::before {
  content: 'Vår Mest Köpta';
  position: absolute;
  color: white;
  display: block;
  background-color: #FF8200;
  text-align: center;
  right: 15px;
  top: -25px;
  height: 65px;
  width: 65px;
  border-radius: 50%;
  box-sizing: border-box;
  font-size: 0.5em;
  padding-top: 22px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition: all 0.5s ease;
}
.pricingTable-firstTable_table:nth-of-type(2):hover::before {
  transform: rotate(360deg);
}
@media screen and (max-width: 988px) {
  .pricingTable-firstTable_table:nth-of-type(2)::before {
    font-size: 0.6em;
  }
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table:nth-of-type(2)::before {
    left: 10px;
    width: 60px;          /* Ökat från 45px till 60px */
    height: 60px;         /* Ökat från 45px till 60px */
    top: -20px;           /* Ökat margin uppåt från -10px till -20px */
    padding-top: 18px;    /* Justerat padding för centrering */
    font-size: 0.6em;     /* Ökat fontstorlek för bättre läsbarhet */
  }
}
@media screen and (max-width: 480px) {
  .pricingTable-firstTable_table:nth-of-type(2)::before {
    width: 70px;          /* Ytterligare ökning för mycket små skärmar */
    height: 70px;         /* Ytterligare ökning för mycket små skärmar */
    top: -25px;           /* Ännu mer margin uppåt */
    padding-top: 22px;    /* Justerat padding för centrering */
    font-size: 0.7em;     /* Ökat fontstorlek för bättre läsbarhet */
  }
}

/* === HEADER === */
.pricingTable-firstTable_table__header {
  font-size: 1.6em;
  padding: 40px 0px;
  border-bottom: 2px solid #ebedec;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 1068px) {
  .pricingTable-firstTable_table__header {
    font-size: 1.45em;
  }
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table__header {
    padding: 0;
    border-bottom: none;
    float: left;
    width: 33%;
    padding-top: 3%;
    padding-bottom: 2%;
  }
}
@media screen and (max-width: 610px) {
  .pricingTable-firstTable_table__header {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 480px) {
  .pricingTable-firstTable_table__header {
    float: none;
    width: 100%;
    font-size: 1.8em;
    margin-bottom: 5px;
  }
}

/* === PRICING === */
.pricingTable-firstTable_table__pricing {
  font-size: 3em;
  padding: 30px 0px;
  border-bottom: 2px solid #ebedec;
  line-height: 0.7;
}
.pricingTable-firstTable_table__pricing span:first-of-type {
  font-size: 0.35em;
  vertical-align: top;
  letter-spacing: 0.15em;
}
.pricingTable-firstTable_table__pricing span:last-of-type {
  vertical-align: bottom;
  font-size: 0.3em;
  letter-spacing: 0.04em;
  padding-left: 0.2em;
}
@media screen and (max-width: 1068px) {
  .pricingTable-firstTable_table__pricing {
    font-size: 2.8em;
  }
  .pricingTable-firstTable_table__pricing span:first-of-type {
    font-size: 0.3em;
  }
  .pricingTable-firstTable_table__pricing span:last-of-type {
    font-size: 0.25em;
  }
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table__pricing {
    border-bottom: none;
    padding: 0;
    float: left;
    clear: left;
    width: 33%;
  }
}
@media screen and (max-width: 610px) {
  .pricingTable-firstTable_table__pricing {
    font-size: 2.4em;
  }
}
@media screen and (max-width: 480px) {
  .pricingTable-firstTable_table__pricing {
    float: none;
    width: 100%;
    font-size: 3em;
    margin-bottom: 10px;
  }
}

/* === OPTIONS === */
.pricingTable-firstTable_table__options {
  list-style: none;
  padding: 15px;
  font-size: 0.9em;
  border-bottom: 2px solid #ebedec;
  flex-grow: 1; /* Låter options-listan växa och fylla tillgängligt utrymme */
}
.pricingTable-firstTable_table__options li {
  padding: 8px 0;
  text-align: left; /* Lägg till explicit text-align left */
}
.pricingTable-firstTable_table__options li::before {
  content: '✓';
  display: inline-flex;
  margin-right: 15px;
  color: white;
  background-color: #74ce6a;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 0.8em;
  padding: 2px;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1068px) {
  .pricingTable-firstTable_table__options {
    font-size: 0.85em;
  }
  .pricingTable-firstTable_table__options li::before {
    width: 14px;
    height: 14px;
    padding: 1.5px;
  }
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table__options {
    border-bottom: none;
    padding: 0;
    margin-right: 10%;
  }
  .pricingTable-firstTable_table__options li {
    text-align: left;
  }
  .pricingTable-firstTable_table__options li::before {
    width: 12px;
    height: 12px;
  }
}
@media screen and (max-width: 610px) {
  .pricingTable-firstTable_table__options {
    font-size: 0.7em;
    margin-right: 8%;
  }
  .pricingTable-firstTable_table__options li {
    padding: 5px 0;
  }
}
@media screen and (max-width: 480px) {
  .pricingTable-firstTable_table__options {
    font-size: 1.3em;
    margin-bottom: 10px;
  }
  .pricingTable-firstTable_table__options li {
    text-align: left; /* Ändrat från center till left */
  }
}

/* === BUTTON === */
.pricingTable-firstTable_table__getstart {
  color: white;
  border: 0;
  background-color: #71ce73;
  margin-top: auto;  /* Skjuter knappen till botten av flex-containern */
  border-radius: 5px;
  cursor: pointer;
  padding: 15px;
  box-shadow: 0px 3px 0px 0px rgba(102, 172, 100, 1);
  letter-spacing: 0.07em;
  transition: all 0.4s ease;
  display: inline-block; /* För att länkarna ska fungera som knappar */
  text-align: center;    /* Centrerar texten */
}
.pricingTable-firstTable_table__getstart:hover {
  color: white !important; /* Säkerställer att texten förblir vit vid hover */
  transform: translateY(-10px);
  box-shadow: 0px 40px 29px -19px rgba(102, 172, 100, 0.9);
}
.pricingTable-firstTable_table__getstart:active {
  color: white !important; /* Säkerställer att texten förblir vit vid active */
  box-shadow: inset 0 0 10px 1px rgba(102, 165, 100, 1),
              0px 40px 29px -19px rgba(102, 172, 100, 0.95);
  transform: scale(0.95) translateY(-9px);
}
@media screen and (max-width: 1068px) {
  .pricingTable-firstTable_table__getstart {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 767px) {
  .pricingTable-firstTable_table__getstart {
    margin-top: 0;
    transform: none;
    box-shadow: none;
  }
}
@media screen and (max-width: 610px) {
  .pricingTable-firstTable__getstart {
    font-size: 0.9em;
    padding: 10px;
  }
}
@media screen and (max-width: 480px) {
  .pricingTable-firstTable_table__getstart {
    font-size: 1em;
    width: 100%;
    margin: 10px auto;
  }
}




/* === INFO ICON === */
.info-icon {
  cursor: pointer;
  color: #6c757d !important;
  margin-left: 5px;
  font-size: 1em;
  transition: color 0.3s ease;
}

.info-icon:hover {
  color: #495057 !important;
}

@media screen and (max-width: 767px) {
  .info-icon {
    font-size: 1.2em;
    margin-left: 8px;
  }
}

/* === TABLE STYLING === */
.servicesWrap {
  padding: 15px 5px; /* Minskad padding från 20px till 5px för mer plats på mobil */
}

.servicesWrap .table {
  background-color: transparent !important;
}

.servicesWrap .table th,
.servicesWrap .table td {
  background-color: transparent !important;
}

/* Återställ bakgrundsfärg för sticky första kolumn på mobil */
@media screen and (max-width: 767px) {
  .servicesWrap .table-scroll-wrapper th:first-child,
  .servicesWrap .table-scroll-wrapper td:first-child {
    background-color: #E4EBF0 !important;
  }
  
  .servicesWrap .table-scroll-wrapper thead th:first-child {
    background-color: #E4EBF0 !important;
  }
}

.servicesWrap .table th:last-child,
.servicesWrap .table td:last-child {
  width: 300px;
  text-align: right;
}

/* === HORIZONTAL SCROLL TABLE === */
.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling på iOS */
  position: relative;
}

@media screen and (max-width: 767px) {
  .table-scroll-wrapper {
    margin: 0; /* Tog bort negativ margin */
    padding: 0;
  }
  
  .table-scroll-wrapper table {
    min-width: 600px; /* Sätt minsta bredd så tabellen inte kraschar ihop */
  }
  
  /* Sticky första kolumn */
  .table-scroll-wrapper th:first-child,
  .table-scroll-wrapper td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid #dee2e6;
    min-width: 120px;
    background-color: #E4EBF0; /* Samma färg som sidbakgrund */
  }
  
  .table-scroll-wrapper thead th:first-child {
    z-index: 11;
    background-color: #E4EBF0; /* Samma färg som sidbakgrund */
  }
}
