/* Code for training package shortcode */

.cst-package-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 30px;
}

.cst-package-item {
  width: 100%;
  max-width: 320px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  border: 5px solid #31708f;
}

.cst-package-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
  align-items: center;
}

.cst-package-icon {
  max-width: 80px !important;
  width: 100%;
  margin: 0;
}

.cst-package-title {
  font-size: 32px;
  font-weight: bold;
  color: #31708f;
  margin: 0;
}

.cst-product-price {
  margin: 0;
  line-height: 1;
  margin-block-end: 0;
}

.cst-product-price .woocommerce-Price-amount {
  font-size: 60px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0;
}

.cst-product-price .woocommerce-Price-currencySymbol {
  font-size: 40px;
}

.cst-product-price bdi {
  display: flex;
  align-items: center;
}

/* Custom Purchase Buttons */
.cst-package-footer {
  margin-top: 20px;
  text-align: center;
}

.sf-buy-now-btn,
.sf-purchase-again-btn {
  display: inline-block;
  width: 100%;
  padding: 15px 10px !important;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.sf-buy-now-btn {
  background: linear-gradient(135deg, #31708f 0%, #2c5d75 100%);
  color: white;
}

.sf-buy-now-btn:hover {
  background: linear-gradient(135deg, #2c5d75 0%, #31708f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 112, 143, 0.3);
  color: white;
}

/* Purchase again button - final/stronger rules (keeps important overrides) */
.sf-purchase-again-btn {
  /* keep base look from earlier gradient removed in favor of branded action color */
  background-color: #ff9800 !important;
  border-color: #ff9800 !important;
  color: white !important;
}

.sf-purchase-again-btn:hover {
  background-color: #f57c00 !important;
  border-color: #f57c00 !important;
  color: white !important;
}

.sf-purchase-status {
  /* combine common purchase status styles */
  margin: 10px 0 0 0 !important;
  padding: 10px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  color: #155724;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 500 !important;
}

.sf-purchase-status .dashicons {
  /* prefer green icon; keep margin for later rules */
  color: #4caf50 !important;
  margin-right: 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  width: 12px !important;
  height: 12px !important;
}

/* Purchase status notices and badges */
.sf-purchase-status-notice {
  background: #e8f5e8 !important;
  border: 1px solid #4caf50 !important;
  padding: 15px !important;
  margin: 20px 0 !important;
  border-radius: 4px !important;
  display: block !important;
}

.sf-purchase-status-notice p {
  margin: 0 !important;
  color: #2e7d32 !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
}

.sf-purchase-status-notice .dashicons {
  color: #4caf50 !important;
  margin-right: 8px !important;
  font-size: 20px !important;
  width: 20px !important;
  height: 20px !important;
}

.sf-loop-purchase-status {
  background: #4caf50 !important;
  color: white !important;
  padding: 4px 8px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-block !important;
  margin: 5px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-note {
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
}



/* Responsive adjustments */
@media (max-width: 768px) {

  .sf-buy-now-btn,
  .sf-purchase-again-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .cst-package-wrapper {
    justify-content: center;
    padding: 0;
  }

  .cst-package-item {
    max-width: 360px;
  }

  .pricing-note {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .woocommerce-MyAccount-content {
    padding: 20px 15px !important;
  }

  




}

/* End of file */