/* Global Styles */
/* -------------------------------------------------------- */
/* Pricing Table (existing styles)                          */
/* -------------------------------------------------------- */


.pricing-table {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pricing-table h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.pricing-table .currency-toggle,
.pricing-table .billing-cycle-toggle {
    margin: 20px 0;
    text-align: center;
}

.pricing-table select {
    padding: 8px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pricing-table th,
.pricing-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.pricing-table th {
    background: #f1f1f1;
}

.pricing-table .price {
    font-weight: bold;
    color: #0073aa;
}

.pricing-table .subscribe-btn {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pricing-table .subscribe-btn:hover {
    background: #218838;
}

.pricing-plan {
    width: 48%;
    margin: 1%;
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #f9f9f9;
}

.pricing-plan h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.pricing-table-details {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table-details td {
    padding: 8px;
    text-align: left;
}

.pricing-filters {
    margin: 20px 0;
}

.pricing-select {
    margin-left: 10px;
    padding: 5px;
    min-width: 150px;
}

/* -------------------------------------------------------- */
/* Subscription Form ( [iwss_subscribe_form] )              */
/* -------------------------------------------------------- */

#iwss-subscribe-form,
.iwss-subscribe-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#iwss-subscribe-form label,
.iwss-subscribe-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#iwss-subscribe-form input[type="text"],
#iwss-subscribe-form input[type="email"],
#iwss-subscribe-form select,
.iwss-subscribe-form input[type="text"],
.iwss-subscribe-form input[type="email"],
.iwss-subscribe-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

#iwss-subscribe-form button,
.iwss-subscribe-form button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

#iwss-subscribe-form button:hover,
.iwss-subscribe-form button:hover {
    background: #005177;
}
.iwss-subscribe-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.iwss-plan-details,
.iwss-subscribe-form {
  flex: 1 1 45%;
  box-sizing: border-box;
}

.iwss-plan-details ul {
  padding-left: 20px;
}

.iwss-subscribe-form {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


/* -------------------------------------------------------- */
/* Subscription Confirmation ( [iwss_subscription_confirmation] ) */
/* -------------------------------------------------------- */

.subscription-confirmation {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.subscription-confirmation h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.subscription-confirmation p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.subscription-confirmation form {
    margin-top: 20px;
    text-align: center;
}

.subscription-confirmation form button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.subscription-confirmation form button:hover {
    background: #005177;
}

/* -------------------------------------------------------- */
/* My Account ( [iwss_my_account] )                         */
/* -------------------------------------------------------- */

.iwss-my-account {
    max-width: 1000px;
    margin: 20px auto;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.iwss-my-account h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.iwss-my-subscriptions {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.iwss-my-subscriptions thead th {
    background: #f1f1f1;
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.iwss-my-subscriptions td,
.iwss-my-subscriptions th {
    border: 1px solid #ddd;
    padding: 10px;
}

.iwss-my-subscriptions tr:nth-child(even) {
    background: #fafafa;
}

.iwss-my-subscriptions td button {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.iwss-my-subscriptions td button:hover {
    background: #218838;
}


/* Wrapper */
.pricing-wrapper {
  width: 95%;
  max-width: 1200px;
  margin: 2rem auto;
}

/* =========== Desktop Pricing Table =========== */
.desktop-pricing {
  display: block;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead th {
  background-color: #e0ebf5; /* light blue */
  color: #1f3a93;
  padding: 16px;
  text-align: center;
  border-bottom: 3px solid #1f3a93;
  font-size: 1rem;
  font-weight: 600;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #d1d9e6;
  padding: 12px;
  vertical-align: top;
  text-align: left;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: #f8fbff;
}

.pricing-table a.cta {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1f3a93;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.pricing-table a.cta:hover {
  background-color: #15315b;
}

/* Only make the buttons flex inside their own container */
/* Target the container inside the td */
.shop_table td:last-child {
    display: flex;
    justify-content: center; /* Center horizontally */
    gap: 5px; /* Space between buttons */
}

/* Keep buttons looking normal but smaller */
.shop_table td .woocommerce-button {
    display: inline-block;
    padding: 8px 8px; /* Smaller padding */
    font-size: 12px;   /* Smaller text */
    line-height: 1.2;
}

/* Wrap the table container to avoid overflow */
.woocommerce-account .woocommerce {
  overflow-x:visible; /* Allow horizontal scrolling */
}
/* Style the table for better layout and width */
.woocommerce-account .shop_table {
  width: 50%; /* Reduce table width */
  margin: auto; /* Center the table */
}

/* Make columns compact */
.woocommerce-account .shop_table th,
.woocommerce-account .shop_table td {
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}

/* Optional: adjust button layout inside action column */
.woocommerce-account .iwss-subscription-actions a {
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
  font-size: 15px;
  padding: 6px 10px;
}

/* Optional: make the header font weight bold and tighter */
.woocommerce-account .shop_table thead th {
  font-weight: 600;
  font-size: 14px;
}

/* Responsive fix (optional): prevent table from stretching too far on large screens */
@media (min-width: 1200px) {
  .woocommerce-account .shop_table {
    max-width: 1000px;
  }
}





/* =========== Mobile Pricing Cards =========== */
.mobile-pricing {
  display: none;
}

.mobile-pricing h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card {
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.pricing-card .card-header {
  text-align: center;
  margin-bottom: 1rem;
  background-color: #e0ebf5;
  padding: 0.75rem;
  border-radius: 4px;
}

.pricing-card .card-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.pricing-card .card-header .price {
  display: block;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.pricing-card .features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.pricing-card .features li {
  margin-bottom: 0.5rem;
}

.pricing-card a.cta {
  display: block;
  text-align: center;
  padding: 10px 0;
  background-color: #1f3a93;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.pricing-card a.cta:hover {
  background-color: #15315b;
}

/* Subscription buttons CSS */


/* =========== Responsive Adjustments =========== */
/* Show desktop table on screens wider than 768px */
@media (min-width: 769px) {
  .desktop-pricing {
    display: block;
  }
  .mobile-pricing {
    display: none;
  }
}

/* Show mobile cards on screens 768px and below */
@media (max-width: 768px) {
  .desktop-pricing {
    display: none;
  }
  .mobile-pricing {
    display: block;
  }
}
.et-pb-contact-message {
    position: relative;
    font-size: x-large;
    color: #005aa7;
}