#bonus-table {
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: Arial, sans-serif;
  max-width: 1100px;
  margin: 20px auto;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
}

tr.featured {
  background-color: #e8d5f5 !important;
  color: #5b1fa8;
  cursor: pointer;
}

#bonus-table td:first-child {
  width: 200px;
}

#bonus-table td:nth-child(2) {
  width: 150px;
}

#bonus-table tbody tr:first-child td:first-child {
  border-top-left-radius: 12px;
}

#bonus-table tbody tr:first-child td:last-child {
  border-top-right-radius: 12px;
}

#bonus-table td {
  padding: 25px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

#bonus-table th {
  user-select: none;
  font-family: inter, open-sans;
  padding-bottom: 10px;
  text-align: left;
}

tr.green {
  background-color: #bce2c5 !important;
  color: #115e23;
  cursor: pointer;
}

tr.red {
  background-color: #f8d7da !important;
  color: #79252c;
  cursor: pointer;
}

.extra-row {
  display: none;
}

.extra-row.is-visible {
  display: table-row;
}

.extra-row td {
  color: black;
  padding: 0 !important;
  border-top: none !important;
  background-color: #f9f9f9;
}

.extra-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.1s ease-out;
}

.extra-wrapper.open {
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.1s ease-out;
}

.extra-inner {
  overflow: hidden;
}

.extra-content {
  padding: 20px 15px;
  color: rgb(0, 0, 0);
}

.get-bonus-button2 {
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-family: "Open sans", sans-serif;
  background-color: #006cd8;
  border: 2px solid #005ab5;
  border-radius: 50px;
  padding: 10px 40px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.2s;
}

.get-bonus-button2:hover {
  background-color: #2e80d2;
  border: 2px solid #1771cb;
}

.extra-content button {
  display: block;
  margin: 15px auto 10px auto;
  text-decoration: none;
}

.extra-content a {
  text-decoration: none;
}

#filter-buttons button {
  margin-right: 10px;
  padding: 8px 16px;
}

.sort-dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.dropbtn {
  background-color: #0066cc;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 240px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 6px;
  padding: 5px 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.extra-content .bonus-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.extra-content .bonus-description {
  margin-bottom: 20px;
  line-height: 1.6;
}

.extra-content .bonus-description h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
  color: #115e23;
}

.small-disclaimer {
  font-size: 0.78rem;
  color: #777;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.small-disclaimer a {
  color: #777;
  text-decoration: underline;
}

html {
  overflow-y: scroll;
}
.bonus-intro {
  max-width: 1100px;
  margin: 40px auto 20px auto;
  padding: 28px 24px;
  text-align: center;
}

.bonus-heading {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: rgb(255, 255, 255);
}

.bonus-text {
  max-width: 760px;
  margin: 14px auto 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: rgb(200, 200, 200);
}

.table-container {
  max-width: 1100px;
  margin: 20px auto 40px auto;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.extra-content {
  font-family: "Inter", "Open Sans", sans-serif;
  color: #1a2b3c;
}

.extra-content .bonus-title {
  font-size: 1.3rem;
  color: #1a2b3c;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.extra-content .bonus-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2f3e4d;
}

.extra-content .bonus-description em {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #6b7c8f;
}

.extra-content .bonus-description span[style*="color: red"] {
  display: block;
  background: #ffe5e7;
  color: #b4232c !important;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  border: 1px solid rgba(180, 35, 44, 0.2);
}

.extra-content .bonus-description br + br {
  display: block;
  margin-top: 8px;
  content: "";
}

.small-disclaimer {
  font-size: 0.75rem;
  color: #7a8896;
  line-height: 1.5;
}

.small-disclaimer a {
  color: #5f6f82;
}

.small-disclaimer a:hover {
  color: #0b5fc0;
}

.name-cell {
  position: relative;
  padding-right: 20px;
}

.arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  transition: transform 0.3s;
}

/* Mobilanpassning */
@media screen and (max-width: 768px) {
  #bonus-table td,
  #bonus-table th {
    padding: 12px 8px;
    font-size: 14px;
  }

  .bonus-heading {
    margin-top: -30px !important;
  }

  .bonus-text {
    margin-bottom: -50px !important;
  }

  #bonus-table th:nth-child(3),
  #bonus-table td:nth-child(3),
  #bonus-table th:nth-child(4),
  #bonus-table td:nth-child(4) {
    display: none;
  }

  #bonus-table td:first-child {
    font-weight: bold;
    width: 60%;
  }

  .extra-content .bonus-title {
    font-size: 1.1rem;
  }

  .get-bonus-button2 {
    width: 100%;
    padding: 12px 20px;
  }

  .extra-content {
    display: flex;
    flex-direction: column;
  }

  .extra-content .bonus-title {
    order: 1;
  }
  .extra-content {
    display: flex;
    flex-direction: column;
  }

  .extra-content .bonus-title {
    order: 1;
  }
  .bonus-button-link {
    order: 2;
  }
  .extra-content .bonus-description {
    order: 3;
  }
  .extra-content .small-disclaimer {
    order: 4;
  }
}

.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
