/* 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;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #000;
  padding: 20px;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  margin: 20px auto;
}


.iwss-plan-details {
  width: 100%;
  box-sizing: border-box;
  margin: 12px;
  color: #fff;
}

.iwss-plan-details h3 {
  color: #fff
}

.iwss-subscribe-form {
  width: 100%;
  box-sizing: border-box;
  margin: 12px;
}

.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;
}
.billing-toggle {
  display: flex;
  justify-content: center;  /* Center toggle group horizontally */
  align-items: center;      /* Align items vertically */
  gap: 2rem;                /* Space between buttons */
}

.billing-toggle label {
  cursor: pointer;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 22px;
  transition: all 0.3s ease;
  padding: 1rem 1rem;              /* Add padding for clickable area */
  display: initial;                   /* Flex container to center text */
  align-items: center;
  justify-content: center;
  border-radius: 50px;
 
}

.iwss-subscribe-form {
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
}

.iwss-subscribe-form form {
  display: grid;
flex-wrap: wrap;
  gap: 16px 24px;
}

.iwss-subscribe-form form > div,
.iwss-subscribe-form p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.iwss-subscribe-form label {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

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

.iwss-subscribe-form select {
  height: 38px;
}

.iwss-subscribe-form button.button {
  grid-column: span 2;
  background-color: #0073aa;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
}

.iwss-subscribe-form button.button:hover {
  background-color: #005d8c;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
  .iwss-subscribe-form form {
     display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
  }

  .iwss-subscribe-form button.button {
    grid-column: span 1;
  }
}


/* Modal Styles for External URL */
#iwss-external-url-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.iwss-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.iwss-modal-content h2 {
  margin-top: 0;
  color: #333;
  text-align: center;
}

#iwss-external-url-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#iwss-external-url-form label {
  font-weight: bold;
  color: #333;
}

#iwss-external-url-input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

#iwss-external-url-message {
  margin-top: 10px;
  color: #d63638;
  text-align: center;
}

.iwss-modal-content .button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.iwss-modal-content .button[type="submit"] {
  background: #0073aa;
  color: #fff;
}

.iwss-modal-content .button[type="submit"]:hover {
  background: #005177;
}

.iwss-modal-content .iwss-modal-close {
  background: #f1f1f1;
  color: #333;
}

.iwss-modal-content .iwss-modal-close:hover {
  background: #e0e0e0;
}

@media (max-width: 600px) {
  .iwss-modal-content {
      width: 95%;
  }
}






/* =========== 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 fix (optional): prevent table from stretching too far on large screens */
@media (min-width: 1200px) {
  .woocommerce-account .shop_table {
    max-width: 1000px;
  }
}

/* =========== 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;
}

@media (max-width: 767px) {
  .iwss-subscribe-wrapper {
      display: flex;
      flex-direction: column;
      background-color: #000;
      padding: 20px;
      width: 100%;
      box-sizing: border-box;
      border-radius: 12px;
      margin-bottom: 50px;
      gap: 20px;
    }
  
  #iwss-subscribe-form, .iwss-subscribe-form {
      margin: 0;
      width: 100%;
    }
  
    .ivss-plan-details {
      width: 100%;
    }
  }

@media (max-width: 980px)
{
.et_pb_row {
    width: 100%;
   }
}
  




/*---------------desktop---------------*/

/* Main Layout Container */
.woocommerce-account .woocommerce {
    display: block;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    padding: 40px 20px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 15% !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 80% !important;
}

/* Horizontal Navigation Bar */
.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    background-color: #0073aa;
    color: #fff;
}

/* Account Content Area */
.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 30px;
    overflow-x: auto;
}

/* Tables */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.woocommerce-MyAccount-content th,
.woocommerce-MyAccount-content td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
}

.woocommerce-MyAccount-content th {
    background-color: #f7f7f7;
    font-weight: 600;
    color: #333;
}

.woocommerce-MyAccount-content tr:nth-child(even) {
    background-color: #fafafa;
}

.woocommerce-MyAccount-content td a {
    color: #0073aa;
    text-decoration: none;
}

.woocommerce-MyAccount-content td a:hover {
    text-decoration: underline;
}

/* Action Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .woocommerce-button {
    background-color: #0073aa;
    color: white !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content .woocommerce-button:hover {
    background-color: #005c8a;
}

.woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
	padding: 0.3em 2em 0.3em 1.5em;
	background: #0073aa;
	border-radius: 10px;
}

.woocommerce-MyAccount-content .button, .woocommerce-MyAccount-content .woocommerce-button {
	background-color: #0073aa !important;
	color: white !important;
	padding: 8px 16px;
	border-radius: 10px !important;
	font-weight: 500;
}

.entry-content ul {
	list-style-type: none !important;
	line-height: 26px;
}


/* Main form container styling */
.iwss-subscribe-form {
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Form grid layout */
.iwss-subscribe-form form {
    display: grid;
    /* Two equal flexible columns. Using minmax(0, 1fr) for robustness in picky editors. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px; /* Uniform gap of 20px between rows and columns */
}

/* Styling for individual form groups (the div wrapping each label and input/select) */
.iwss-subscribe-form .form-group {
    display: flex;
    flex-direction: column; /* Stacks the label above the input */
    margin: 0; /* Removes default margins from div if any, letting grid gap handle spacing */
}

/* Rule to make specific form groups span the full width (e.g., Brand Name, Price, Button) */
.iwss-subscribe-form .form-group.full-width {
    grid-column: 1 / -1; /* Spans from the first grid column line to the last grid column line */
}

/* Standard styling for labels */
.iwss-subscribe-form label {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* Standard styling for text inputs, email inputs, and select dropdowns */
.iwss-subscribe-form input[type="text"],
.iwss-subscribe-form input[type="email"],
.iwss-subscribe-form select {
    padding: 8px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Ensures inputs take up the full width of their assigned grid cell */
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width */
}

/* Specific height for select elements */
.iwss-subscribe-form select {
    height: 38px;
}

/* Styling for the subscribe button, making it span both columns */
.iwss-subscribe-form button.button {
    grid-column: 1 / -1; /* Makes the button span all columns */
    background-color: #0073aa;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

/* Hover effect for the button */
.iwss-subscribe-form button.button:hover {
    background-color: #005d8c;
}

/* Responsive adjustments: Stack columns on smaller screens (e.g., mobile) */
@media (max-width: 768px) {
    .iwss-subscribe-form form {
        /* Changed to minmax(0, 1fr) for robustness on single column layout */
        grid-template-columns: minmax(0, 1fr);
        gap: 18px; /* Example: A slightly smaller gap for mobile */
    }

    /* Reset grid-column for full-width fields and button on small screens */
    .iwss-subscribe-form .form-group.full-width,
    .iwss-subscribe-form button.button {
        grid-column: auto;
    }
}

/* Optional: Styles for the overall wrapper if you want the plan details and form side-by-side on larger screens */
.iwss-subscribe-wrapper {
    display: flex;
    gap: 30px; /* Space between the plan details section and the form section */
    align-items: flex-start;
    padding: 20px; /* Added for better visibility of the wrapper */
    max-width: 1200px; /* Added to constrain overall width */
    margin: 0 auto; /* Center the wrapper */
}

.iwss-plan-details {
    flex: 1; /* Allows plan details to take up available space */
    padding: 20px;
 
    border-radius: 8px;
    box-sizing: border-box;
}

.iwss-plan-details h3 {
    margin-top: 0;
    color: white;
}

.iwss-plan-details .plan-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.iwss-plan-details .plan-features li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.iwss-subscribe-form {
    flex: 2; /* Allows the form to take up more space (e.g., twice the width of plan-details), adjust as needed */
}







