/* ==========================================
   Core Variables & Global Styles
   ========================================== */
:root {
    --color-primary: #4e60f4;
    --color-primary-dark: #3545d6;
    --color-success: #059669;
    --color-text: #002138;
    --color-text-light: #002138cc;
    --color-border: #ebecff;
    --color-background: white;
    --color-background-alt: #f9fafb;
    --color-highlight: #ebecff;
    --border-radius: 0.5rem;
    --spacing-base: 1rem;
}

/* ==========================================
   Pricing Page Layout
   ========================================== */
.covercy-mpp-pricing-page-container {
    display: flex;
    font-family: roboto, sans-serif;
    color: var(--color-text);
}

.covercy-mpp-pricing-content {
    flex: 1;
    padding: 24px;
    background: #fff;
}

/* ==========================================
   Left Side Menu Styles
   ========================================== */
.covercy-mpp-pricing-menu {
    width: 230px;
    background: #fff;
    padding: 24px 15px 24px 2px;
    border-right: 1px solid var(--color-border);
}

.covercy-mpp-pricing-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.covercy-mpp-menu-header {
    font-weight: 600;
    color: var(--color-text);
    font-size: 16px;
    margin: 24px 0 12px;
}

.covercy-mpp-menu-item {
    cursor: pointer;
    font-size: 16px;
    padding: 12px 16px !important;
    margin-bottom: 8px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    /* white-space: nowrap; */
}

.covercy-mpp-menu-item:hover {
    background-color: var(--color-highlight);
    color: var(--color-primary);
}

.covercy-mpp-menu-item.active {
    background-color: var(--color-highlight);
    color: var(--color-primary);
    font-weight: 500;
}

/* Mobile Menu Styles */
.covercy-mpp-pricing-menu-mobile {
    display: none; /* Hidden by default */
    width: 100%; /* Full width */
    padding: var(--spacing-base);
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.covercy-mpp-menu-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--color-text);
    background-color: #fff;
    appearance: none; /* Remove default styling */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23002138' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .covercy-mpp-pricing-menu {
        display: none; /* Hide the sidebar */
    }

    .covercy-mpp-pricing-menu-mobile {
        display: block; /* Show the mobile menu */
    }
}

.covercy-mpp-product-container .product-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.covercy-mpp-product-container .product-name {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    position: relative;
}

/* .covercy-mpp-product-container .product-name::after {
    content: '';
    display: block;
    margin: 20px auto 0;
    width: 70px;
    height: 7px;
    background: var(--color-primary);
    border-radius: 4px;
    
} */

.covercy-mpp-product-container .product-header .product-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    min-height: 2.8em;
    margin-bottom: 25px;
}

/* Holdings Selector */
.holdings-selector {
    margin-top: 25px !important;
}

.holdings-selector label {
    font-weight: 600;
    color: var(--color-text);
    margin-right: 12px;
}

/* .holdings-selector select {
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    font-size: 1rem;
    color: var(--color-text);
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
} */

/* Everything below is important since the Enfold Child for covercy.com otherwise overrides the styles */
.covercy-mpp-holdings-select {
    padding: 12px !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid var(--color-border) !important;
    font-size: 1rem !important;
    color: var(--color-text) !important;
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    align-items: center !important;
    max-width: 160px !important;
    align-self: center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23002138' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
    appearance: none !important;
    display: inline !important;
}


/* ==========================================
   Tier Cards
   ========================================== */

.covercy-mpp-tier-cards-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* This forces all cards in the same row to maintain equal height */
    gap: 24px;
    justify-content: center;
}

.covercy-mpp-tier-card {
    flex: 1;
    min-width: 170px;
    max-width: calc(25% - 18px);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 48px 15px 15px 15px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.covercy-mpp-tier-card .tier-name {
    text-align: center;
    font-size: 20px;
    color: var(--color-text);
    margin: 0 0 20px 0;
    font-weight: 600;
}

.covercy-mpp-tier-card .tier-description {
    min-height: 53px; /* Adjust to match the height of 2 lines of text */
    margin: 0.75rem;
    text-align: center;
    font-size: 14px;
    /* font-size: 0.875rem; */
    color: #6b7280;
    /* flex-grow: 1; */
    /* flex: 1; */
}

.covercy-mpp-tier-card .price {
    text-align: center;
    font-size: 20px;
    /* font-size: 25px; */
    color: var(--color-primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.covercy-mpp-tier-card .price-detail {
    text-align: center;
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.covercy-mpp-tier-card .total {
    text-align: center;
    background: var(--color-highlight);
    color: var(--color-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    margin: 16px 0;
    font-weight: 500;
    min-height: 1.4em;
}

/* ==========================================
   Tier Cards – Placeholder Fix (Override Color)
   ========================================== */
.covercy-mpp-tier-card .placeholder {
    text-align: center;
    background: var(--color-background);
    color: var(--color-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    margin: 16px 0;
    font-weight: 500;
    min-height: 1.4em;
}

.covercy-mpp-tier-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

/* .covercy-mpp-tier-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
} */

/* .covercy-mpp-tier-card li::before {
    color: var(--color-primary);
    font-weight: bold;
    flex-shrink: 0;
} */

.covercy-mpp-tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(78, 96, 244, 0.12);
}

.covercy-mpp-tier-card.selected {
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 24px rgba(78, 96, 244, 0.15);
    padding-top: calc(48px + 1px);
}

.covercy-mpp-tier-card.selected::before {
    content: '✓';
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
}




/* Bundle Summary */
.covercy-mpp-bundle-summary {
    width: 250px;
    background: #fff;
    border-left: 1px solid var(--color-border);
    padding: 24px;

    /* Sticky positioning */
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 24px;
    z-index: 10;

    /* Ensure correct alignment in a flex container */
    align-self: flex-start;
}

.covercy-mpp-bundle-summary .bundle-summary-title {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px 0;
}

.covercy-mpp-summary-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.covercy-mpp-summary-total {
    margin-top: 24px;
    padding: 16px 0;
    border-top: 2px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.covercy-mpp-total-price {
    color: var(--color-primary);
    font-size: 18px;
}

/* Disabled States */
.covercy-mpp-tier-card.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    background-color: var(--color-background-alt);
}

.covercy-mpp-tier-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.free-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.4;
}

.free-features li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: bold;
}

/* Special styling for container features */
.free-features li.container-feature::before {
    content: "▶";  /* Unicode plus in circle symbol */
    color: var(--color-primary);
    font-weight: bold;
}

.highlighted-features {
    text-align: center;
    font-size: 1.03rem;
    font-weight: 600;
    color: #059669;
    margin: 0.5rem 0;
    cursor: help; /* Changes the cursor to indicate a tooltip */

}

/* Additional Costs Section */
.additional-costs {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-text-light);
}

.additional-costs .additional-costs-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--color-text);


}

.additional-costs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-costs li {
    margin-bottom: 4px;
    line-height: 1.4;
}

/* ==========================================
   Mini Tier Card Modifications
   ========================================== */
.covercy-mpp-tier-card.mini {
    position: relative;
    padding: 32px 8px 8px;  /* Reduced padding */
    min-width: 120px;         /* Smaller minimum width */
    max-width: calc(20% - 12px); /* Allow 5 cards per row with gap */
    text-align: start;
}

/* Mini card specific text sizes */
.covercy-mpp-tier-card.mini .tier-name {
    font-size: 14px;
    margin: 0 0 0 0;
    text-align: start;
}

.covercy-mpp-tier-card.mini .price {
    font-size: 14px;
    margin-bottom: 4px;
    text-align: start;
    margin: 0 0 0 0;
    color: var(--color-text);
}

.covercy-mpp-tier-card.mini .price-detail {
    font-size: 12px;
    margin-bottom: 8px;
    text-align: start;
    margin: 0 0 0 0;
}

.covercy-mpp-tier-card.mini .total {
    font-size: 12px;
    padding: 8px 12px;
    /* margin: 12px 0; */
    padding: 0px 0px;
    text-align: start;
    margin: 0 0 0 0;
    background: var(--color-background);
    color: var(--color-text);
    font-size: 14px;
}

/* text-align: center;
background: var(--color-highlight);
color: var(--color-primary);
border-radius: var(--border-radius);
font-size: 14px;
margin: 16px 0;
font-weight: 500;
min-height: 1.4em; */


/* Checkbox styling */
.covercy-mpp-tier-card.mini .mini-checkbox-container {
    position: absolute;
    top: 8px;
    right: 8px;
}

.covercy-mpp-tier-card.mini .mini-checkbox {
    width: 16px;
    height: 16px;
    cursor: not-allowed;
}

/* Container adjustments for mini cards */
.covercy-mpp-tier-cards-container.mini {
    gap: 12px;  /* Smaller gap between cards */
    margin-top: 8px;
    justify-content: flex-start;
}

/* Product container adjustments for mini view */
.covercy-mpp-product-container.mini {
    margin-bottom: 32px;
}

.covercy-mpp-product-container.mini .product-name.mini {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.covercy-mpp-product-container.mini .product-description.mini {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.covercy-mpp-product-container.mini .holdings-selector.mini {
    margin-bottom: 16px;
}

.covercy-mpp-product-container.mini .holdings-selector.mini label {
    font-size: 14px;
}

.covercy-mpp-product-container.mini .holdings-selector.mini select {
    padding: 8px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .covercy-mpp-tier-cards-container.mini {
        gap: 0px;
    }

    .covercy-mpp-tier-card.mini {
        max-width: 100%;
        min-width: 100%;
    }

    .covercy-mpp-tier-card.mini .tier-name {
        margin: 0 0 0 0;
    }

    .covercy-mpp-tier-card.mini .price {
        font-size: 14px;
        color: var(--color-text);
        margin: 0 0 0 0;
    }

    .covercy-mpp-tier-card.mini .total {
        /* width: 30%; */
        margin: 0 0 0 0;
        background: var(--color-background);
        color: var(--color-text);
        font-size: 14px;
    }
}

/* Clear Bundle Button */
.clear-bundle-button {
    display: block;
    width: 100%;
    padding: var(--spacing-base);
    background-color: #e53e3e;
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    margin-top: var(--spacing-base);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.clear-bundle-button:hover {
    background-color: #c53030;
}

/* Bundle Summary Header */
.bundle-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.bundle-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

/* Clear Bundle Link (more subtle styling) */
.clear-bundle-link {
    font-size: 12px;
    color: #6b7280; /* Subtle gray color */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7; /* Less prominent */
    margin-left: auto; /* Align to the right */
}

.clear-bundle-link:hover {
    color: #4e60f4; /* Match primary color for consistency */
    opacity: 0.9; /* Slightly more visible on hover */
}

/* Bundle CTA buttons container styling */
.cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to new lines */
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    width: 100%;
}

/* Get Started Button */
.talk-to-sales-cta-button {
    display: block;
    /* max-width: 10rem; */
    /* width: 50%; */
    padding: 12px;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto 0;
    transition: background-color 0.3s ease, border 0.3s ease;
    width: 100%;
}

.talk-to-sales-cta-button:hover {
    background-color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
}

.trial-cta-button {
    display: block;
    /* width: 50%; */
    padding: 12px;
    background-color: white;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    /* display: none; */
    /* margin-top: 20px; */
    width: 100%;
}

.trial-cta-button:hover {
    background-color: var(--color-highlight);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    /* background-color: var(--color-primary-dark); */
}

.checkout-cta-button {
    display: block;
    /* width: 50%; */
    padding: 12px;
    background-color: white;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    /* display: none; */
    /* margin-top: 20px; */
    width: 100%;
}

.checkout-cta-button:hover {
    background-color: var(--color-highlight);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    /* background-color: var(--color-primary-dark); */
}

/* (Optional) Remove the old Clear Bundle Button styles if present */
.clear-bundle-button {
    display: none;
}

/* 
.covercy-mpp-tier-card .tier-card-cta-buttons {
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 16px;
}

.covercy-mpp-tier-card .talk-to-sales-button {
    background-color: var(--color-primary);
    color: white;
}

.covercy-mpp-tier-card .trial-period-button {
    background-color: white;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
} */

.covercy-mpp-tier-card.mini.selected {
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 24px rgba(78, 96, 244, 0.15);
    padding-top: calc(32px + 1px); /* Adjusted for mini card's original padding */
}

/* Remove the checkmark for mini cards */
.covercy-mpp-tier-card.mini.selected::before {
    display: none;
}

/* Style the checkbox for mini cards */
.covercy-mpp-tier-card.mini .mini-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer; /* Change from not-allowed to pointer */
    accent-color: var(--color-primary); /* Colors the checkbox when checked */
}

/* ==========================================
   Features Comparison Table Styles
   ========================================== */
.covercy-mpp-features-comparison-container {
    overflow-x: auto;
    margin-top: 100px;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 0;
    position: relative !important;
}

.covercy-mpp-features-comparison-table {
    width: 93%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: sans-serif;
    font-size: 0.9rem;
    table-layout: fixed;
    text-transform: initial !important;
}

.covercy-mpp-features-comparison-table thead th {
    background-color: #fff !important;
    color: var(--color-text);
    padding: 16px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    text-transform: inherit !important;
}

.covercy-mpp-features-comparison-table thead th:first-child {
    text-align: left;
}

.covercy-mpp-features-comparison-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text);
}

.covercy-mpp-features-comparison-table tbody td:first-child {
    font-weight: 500;
    text-align: left;
    text-decoration: underline dotted;
}

.covercy-mpp-features-comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.covercy-mpp-features-comparison-table tbody tr:hover {
    background-color: var(--color-highlight) !important;
}

.covercy-mpp-features-comparison-table td span.feature-available {
    display: inline-block;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: bold;
}

/* Update borders between pricing columns */
.covercy-mpp-features-comparison-table th:not(:first-child),
.covercy-mpp-features-comparison-table td:not(:first-child) {
    border-left: 1px solid var(--color-border);
}

/* Remove background color alternation */
.covercy-mpp-features-comparison-table tbody tr:nth-child(odd) {
    background-color: transparent;
}


/* Make the table head sticky for features comparison table */
.covercy-mpp-features-comparison-table thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 3 !important;
    background-color: #fff !important;
}

/* Make table header row sticky in the features comparison table */
.covercy-mpp-features-comparison-table thead tr {
    position: sticky !important;
    top: 0 !important;
    z-index: 4 !important;
    background-color: #fff !important;
}

/* Fallback transform for sticky header cells */
.covercy-mpp-features-comparison-table thead th {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Override for talk-to-sales-cta-button within the features comparison table */
.covercy-mpp-features-comparison-table .talk-to-sales-cta-button {
    width: 70%;         /* Reduce width from 100% to about 70% */
    padding: 9px 12px;  /* Reduce the vertical padding (from 12px to ~9px) to shrink the button height by ~80% */
    margin: 10px auto 0; /* Optionally adjust the top margin to suit your layout */
}

/* Mobile improvements for features comparison table */

@media (max-width: 1000px) {

    .covercy-mpp-features-comparison-table {
      width: 130%;
      font-size: 0.8rem;
    }
    .covercy-mpp-features-comparison-table thead th,
    .covercy-mpp-features-comparison-table tbody td {
      padding: 8px;
    }
  }

@media (max-width: 640px) {

    .covercy-mpp-features-comparison-table {
      width: 172%;
      font-size: 0.8rem;
    }
    .covercy-mpp-features-comparison-table thead th,
    .covercy-mpp-features-comparison-table tbody td {
      padding: 8px;
    }
  }
  


/* Styles for Recurly Hosted Fields */
#recurly-card-number,
#recurly-card-expiry,
#recurly-card-cvv {
    min-height: 50px;
    border: 1px dashed #ccc; /* Optional styling for debugging purposes */
    padding: 5px;
}

/* ==========================================
   Custom Title Styles for Shortcode Buy Now
   ========================================== */
.checkout-title {
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

.payment-info-title {
    font-size: 1.8rem;
    color: var(--color-text);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

/* ==========================================
   Checkout Form Styles
   ========================================== */
.checkout-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

/* Create two-column layout */
.form-row {
    display: flex;
    gap: 56px;
    margin-bottom: 0;
}

.form-column {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Full-width fields */
/* .form-group.full-width {
    width: 100%;
} */

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

/* Updated selectors: exclude checkboxes from the width rule */
.form-group input:not([type="checkbox"]),
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Style for the checkout page (agree to terms) checkbox */
.form-group input[type="checkbox"] {
    width: 16px;
    height: 16px !important;
    cursor: pointer; /* Change from not-allowed to pointer */
    accent-color: var(--color-primary); /* Colors the checkbox when checked */
    display: inline-block !important;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-highlight);
}

/* Style for required field indicators */
.form-group label[for*="required"]::after,
.form-group label[for$="*"]::after {
    content: "*";
    color: #e53e3e;
    margin-left: 4px;
}

/* Recurly Elements Container */
#recurly-elements {
    margin-top: 20px;
    width: 100%;
    text-align: left;
}

/* Style for Recurly iframe containers */
#recurly-elements > div {
    max-width: 400px;
    margin: 0 0 20px;
}

#recurly-card-number,
#recurly-card-expiry,
#recurly-card-cvv {
    width: 100%;
    min-height: 42px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Submit button alignment */
.form-group button[type="submit"] {
    width: 100%;
    max-width: 200px;
    margin: 30px auto 0;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .checkout-form-wrapper {
        padding: 15px;
    }
}

/* Highlight invalid form fields only after validation state has been triggered */
.was-validated .form-group input:invalid,
.was-validated .form-group select:invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.2);
}

/* Terms and Conditions Checkbox Styling */
.terms-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}
.terms-checkbox label {
    font-size: 0.95rem;
    color: var(--color-text);
}
/* .terms-checkbox input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}
 */
/* Get Started Button */
.submit-purchase-button {
    display: block;
    padding: 12px;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto 0;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}

.submit-purchase-button:hover {
    background-color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
}

/* Disabled state */
.submit-purchase-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    border: none;
    opacity: 0.7;
}

/* Loading state */
.submit-purchase-button.loading {
    color: transparent;
}

.submit-purchase-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Add this to your stylesheet */
.covercy-mpp-tier-card .free-features ul li,
.covercy-mpp-tier-card .additional-costs ul li {
    cursor: help; /* Changes the cursor to indicate a tooltip */
    /* Other existing styles for the list items */
     display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.4;
}

/* MOBILE ADJUSTMENTS FOR BUNDLE SUMMARY */
@media (max-width: 768px) {
  .covercy-mpp-bundle-page-container {
    display: flex;
    flex-direction: column;
  }
  .covercy-mpp-bundle-summary {
    border-left: none;
    border-top: 1px solid var(--color-border);
    margin-top: 20px;
    position: static;
    width: 100%;
  }
}

/* ==========================================
   Widget Product Container Styles
   ========================================== */
.covercy-mpp-product-container.widget {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
    justify-content: center;
    width: 100%;
    place-self: center;
    padding-top: 55px !important;
    padding-bottom: 20px;
    background-color: white;
}

.covercy-mpp-product-container.widget .covercy-mpp-tier-card.widget {
    flex: 1 1 calc(25% - 24px);
    max-width: calc(20% - 24px);
    min-width: 170px;
}

.covercy-mpp-tier-card.widget {
    border: 1px solid var(--color-border) !important;
    border-radius: var(--border-radius) !important;
    padding: 48px 15px 15px 15px !important;
}

.covercy-mpp-product-container.widget .free-features {
    margin-top: 15px !important;
}