.cdst-wrapper {
  margin: 20px auto !important;
  padding: 0px;
  border-radius: 10px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0) !important;
}

.cdst-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 0px !important;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.cdst-content-wrapper {
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0px !important;
}

.cdst-tab-content {
  border-radius: 6px;
}

.cdst-description {
  margin: 10px 0 20px;
  font-size: 1rem;
  color: #333;
}

.cdst-description p {
  margin: 0 0 10px;
}

.cdst-description *:last-child {
  margin-bottom: 0;
}

.cdst-wrapper h2 {
  margin-top: 0px;
  color: #222;
  font-size: 1.8rem;
}

.cdst-wrapper label {
  font-weight: bold;
  display: block;
  margin: 10px 0 5px;
}

.cdst-code {
  padding: 8px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.cdst-show-promo {
  display: block;
  margin: 10px 0;
  color: #0073aa;
  text-decoration: none;
  font-size: 1rem;
}

.cdst-show-promo:hover {
  text-decoration: underline;
}

.cdst-price-box {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.cdst-price-box h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #333;
}

select {
  font-size: 1rem;
  padding: 6px;
  width: 100%;
  max-width: 300px;
  margin: 10px 0;
}

/* Fallback styles for tab buttons, applied only if not removed */
<?php if (empty(cdst_get_option('remove_button_colors'))): ?>
.cdst-tab-btn {
  background-color: #0073aa;
  color: #fff;
}
.cdst-tab-btn.active {
  background-color: #005177;
  color: #fff;
}
.cdst-tab-btn:hover {
  background-color: #005177;
  color: #fff;
}
<?php endif; ?>
<?php if (empty(cdst_get_option('remove_button_padding'))): ?>
.cdst-tab-btn {
  padding: 10px 20px;
}
<?php endif; ?>
.cdst-tab-btn {
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border-radius: 6px 6px 0 0;
  transition: background-color 0.3s ease;
}

/* Styling for promo code messages */
.cdst-promo-section p {
  margin: 10px 0;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .cdst-wrapper {
      max-width: 100vw;
    padding: 0px !important;
  }
  .cdst-tab-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cdst-tab-btn {
    width: 100%;
    max-width: 300px;
  }
  select {
    width: 100%;
  }
}