/**
 * Modern Pricing Cards - Clean Design
 */


.aicvs_saas--membership-tab-content h3{
    margin: 0;
}

.toolboxsaas-fullscreen-template .mtsub_subscriptions.row {
    padding: 0;
}
/* Pro Plan Highlight - Pink Gradient Border */
.aicvs_saas-pricing-plan .mtsub-product-wrapper .toptier-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #4f46e5;
    color: #fff;
    padding: 1px 14px;
    font-size: 13px;
    border-radius: 16px;
}
.aicvs_saas-pricing-plan .mtsub-product-wrapper {
    border: 3px solid transparent;
}
.aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-product-wrapper {
    border: 3px solid #ff6b6b;
    background: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.15);
}

.aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-product-wrapper::before {
    display: none;
}
.qiupidsaas-pricing-plans-inner ul,
.qiupidsaas-pricing-plans-inner li{
    list-style: none;
}
.qiupidsaas-pricing-plans-inner ul.qiupidsaas-plan-benefits li {
    border-top: 1px solid #666;
    padding: 10px;
    text-align: center;
}
.woocommerce-MyAccount-pricing-plan h5 {
    margin: 0;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .mtsub_subscriptions {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 400px;
    }
    
    .aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-product-wrapper {
        transform: none;
    }
    
    .aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-product-wrapper:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .woocommerce_simple_boxed {
        padding: 20px 0;
    }
    
    .mtsub_subscriptions {
        padding: 0 16px;
    }
    
    .mtsub-product-wrapper {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .mtsub-price span, .mtsub-price del {
        font-size: 40px !important;
    }
    
    .mtsub-price::after {
        font-size: 16px;
        bottom: 6px;
    }
    
    h3.mtsub-archive-product-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .mtsub-buy-button {
        padding: 14px 20px;
        border-radius: 12px;
        margin: 24px 0 20px 0;
    }
    
    .mtsub-features ul li {
        margin: 12px 0;
        font-size: 15px;
    }
    
    .mtsub-features ul li svg {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }
}

@media only screen and (min-width: 767px) {
    .hide-on-desktops{
        display: none;
    }
    .mtsub_subscriptions .qiupidsaas-pricing-plan {
        margin-bottom: 20px;
    }
}

/*Pricing Packages*/
.woocommerce-MyAccount-pricing-plan i.fa.fa-question-circle,
.mtsub_subscriptions i.fa.fa-question-circle {
    color: #6eb79a;
    margin-left: 3px;
}
.mtsub_subscriptions .mtsub-infos ul li {
    padding: 0;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    border: none;
}
.woocommerce-MyAccount-pricing-plan span.active i,
.mtsub-product-wrapper .mtsub-infos span.active i {
    margin-right: 8px;
    color: #22c55e;
    font-size: 12px;
    width: 16px;
}
.mtsub-product-wrapper .mtsub-infos span > span {
    margin-right: 5px;
}
.mtsub-product-wrapper {
    background: #ffffff;
    border: 2px solid #f1f3f4;
    border-radius: 24px;
    padding: 60px 32px;
    text-align: left;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    overflow: visible;
}
.woocommerce-MyAccount-pricing-plan .mtsub-infos {
    color: #000;
    border: 0 none;
    margin: 6px 0 !important;
}
.meeeksaas-custom-pricing-page-panel {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.mtsub-product-wrapper .mtsub-infos p {
    margin: 5px;
    font-weight: 400;
}
.mtsub-product-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}
.mtsub_subscriptions del .woocommerce-Price-amount bdi, .mtsub_subscriptions del .woocommerce-Price-amount span {
    text-decoration: line-through;
}
.mtsub_subscriptions del .woocommerce-Price-amount bdi, .mtsub_subscriptions del .woocommerce-Price-amount span, .mtsub-price span.mtsub-price-per{
    font-weight: 500;
    font-size: 18px !important;
    color: #c0c0c0;
}
.mtsub_subscriptions .mtsub-subtitle {
    background: rgba(27, 196, 125, 0.16);
    display: inline-block;
    border-radius: 16px;
    padding: 7px 14px;
    font-size: 13px;
    line-height: 20px;
    color: #16a34a;
    margin-bottom: 12px;
    font-weight: 500;
}
.aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-product-wrapper:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 25px 80px rgba(255, 107, 107, 0.25) !important;
}
.mtsub-infos ul li {
    padding: 5px 0 5px 0;
    font-size: 16px;
}
.mtsub-product-wrapper .mtsub-infos span.active {
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}
.mtsub-infos h5 {
    font-size: 14px !important;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0;
    text-align: center;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: static !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Features List Styling */
.mtsub-features {
    margin-top: 0;
    margin-bottom: 20px;
}

.mtsub-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.mtsub-features ul li:last-child{
    margin-bottom: 0;
}
.mtsub-features ul li {
    padding: 0;
    margin: 16px 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 16px;
    line-height: 1.5;
    color: #6b7280;
    font-weight: 400;
}

.mtsub-features ul li svg {
    color: #10b981;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Pro Plan Check Icons - Pink Color */
.aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-features ul li svg {
    color: #ff6b6b;
}

/* Card Layout Improvements */
.mtsub-product-wrapper {
    /*display: flex;*/
    flex-direction: column;
    gap: 0;
}

/* Ensure proper spacing between sections */
.mtsub-archive-product-title {
    margin-bottom: 16px;
    order: 1;
}

.mtsub-price {
    margin-bottom: 8px;
    order: 2;
}

a.mtsub-buy-button.added {
    display: none;
}
.mtsub-features {
    order: 4;
    flex: 1;
    margin-top: 0;
}

.mtsub-infos span[data-bs-toggle="tooltip"] {
    margin-left: auto;
    color: #9ca3af;
    cursor: help;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mtsub-infos span[data-bs-toggle="tooltip"]:hover {
    opacity: 1;
    color: #6b7280;
}

.mtsub-infos span[data-bs-toggle="tooltip"] i {
    font-size: 12px;
}

.mtsub-price del{
    text-decoration: none;
}
.mtsub-price ins{
    text-decoration: none;
}
.mtsub-price {
    position: relative;
}

.mtsub-price span {
    font-size: 48px !important;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.mtsub-title-metas img {
    max-width: 80px !important;
    border-radius: 50% !important;
    margin-bottom: 12px;
}
.qiupidsas-plan-image.relative {
    display: inline-block;
}
h3.mtsub-archive-product-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.2;
}
.mtsub-header {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
/* Pro Plan Title Color */
.aicvs_saas-pricing-plan.aicvs_saas-toptier h3.mtsub-archive-product-title {
    color: #ff6b6b;
}
.mtsub-infos ul {
    padding: 0px;
    list-style: none;
    text-align: left;
    margin-top: 0 !important;
}
h3.mtsub-archive-product-title a{
	color: #252525;
}

/* Modern Pricing Plans - Complete Redesign */
.woocommerce_simple_boxed {
    padding: 40px 0;
}

.mtsub_subscriptions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.aicvs_saas-pricing-plan {
    width: 100%;
    max-width: none;
    min-width: none;
}
.mtsub-archive-product-title a.aicvs_saas-admin-edit-plan {
    font-size: 12px;
    color: #666;
}
/* Coupon Banner Styles */
.aicvs-coupon-banner bdi{
    color: #fff;
}
.aicvs-coupon-banner {
    background: linear-gradient(135deg, #20b2aa 0%, #1e9c96 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    position: relative;
    overflow: hidden;
}

.aicvs-coupon-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.aicvs-coupon-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.aicvs-coupon-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    color: #fff;
}

.aicvs-coupon-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.aicvs-coupon-text strong {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Coupon Banner Responsive Design */
@media (max-width: 768px) {
    .aicvs-coupon-banner {
        padding: 15px;
    }
    
    .aicvs-coupon-title {
        font-size: 16px;
    }
    
    .aicvs-coupon-text {
        font-size: 14px;
    }
}

.mtsub-product-wrapper a.button {
    color: #fff;
    font-weight: 600;
    margin-top: 20px;
}
/* Buy Button Styling */
.wc-block-cart__submit-button,
.woocommerce .mtsub-product-wrapper a.added_to_cart,
.mtsub-buy-button {
    background: #1a1a1a;
    color: #fff !important;
    border: none;
    border-radius: 16px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 24px 0 24px 0;
    width: 100%;
    display: block;
    text-align: center;
    box-shadow: none;
    text-transform: none;
    cursor: pointer;
    flex-shrink: 0;
    order: 3;
}

.wc-block-cart__submit-button:hover,
.mtsub-buy-button:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff !important;
}

/* Pro Plan Button - Pink Gradient */
.aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-buy-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: #fff !important;
}

.aicvs_saas-pricing-plan.aicvs_saas-toptier .mtsub-buy-button:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7979 100%);
    transform: translateY(-2px);
    color: #fff !important;
}


span.label.label-success {
    width: fit-content;
    float: right;
    font-size: 10px !important;
    padding: 5px !important;
    color: #ffff;
}
li.subscription span {
    padding: 5px 15px 0px;
    display: flow-root;
    color: #252525;
    font-size: 13px;
}
li.subscription span:first-child{
	font-size: 14px;
}
li.subscription span:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}
li.subscription span:first-child {
    padding-top: 15px;
}
.woocommerce-MyAccount-subscription {
    box-shadow: 0px 0px 25px rgb(0 0 0 / 10%);
    -webkit-box-shadow: 0px 0px 25px rgb(0 0 0 / 10%);
    padding: 25px 25px 10px;
    margin-bottom: 35px;
}
.woocommerce-MyAccount-pricing-plan p{
    margin-bottom: 0;
}
.woocommerce-MyAccount-pricing-plan span.active {
    color: #000;
    font-size: 15px;
}
.woocommerce-MyAccount-pricing-plan span.active i {
    margin-right: 10px;
}
.woocommerce-MyAccount-subscription a {
    font-size: 20px;
    font-weight: 600;
    color: #252525 !important;
}
.woocommerce-MyAccount-subscription p {
    font-weight: 400;
}
.woocommerce-MyAccount-subscription span.current {
    font-weight: 600;
    color: #2695FF;
}
.single-product .product_meta strong {
    color: #484848;
}
span.subscription-tab {
    padding: 0px !important;
}
span.subscription-tab a{
    border: none !important;
    margin-bottom: -10px !important;
}
.woocommerce.single-product div.product form.cart .button.subscription {
    width: auto !important;
    padding: 0px 20px !important;
}
.woocommerce-MyAccount-pricing-plan {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 40px;
}
button.pricing-tooltip.btn {
    padding: 0px 10px;
    font-size: 12px;
    border: none;
    vertical-align: super;
    outline: none;
}
.pricing-tooltip {
    position: relative;
    font-size: 12px !important;
    color: #03CD69;
    vertical-align: super;
    display: inline-block;
}
.pricing-tooltip .tooltiptext {
    visibility: hidden;
    width: 178px;
    font-weight: 500;
    background-color: #fff;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 16px;
    font-size: 14px;
    line-height: 23px;
    position: absolute;
    z-index: 1;
    font-family: 'circular';
}
.pricing-tooltip:hover .tooltiptext {
  visibility: visible;
}
.mtsub-title-metas ins {
    text-decoration: none;
}
.meeeksaas-pricing-plan{
    position: relative;
}
.meeeksaas-pricing-plan .meeeksaas-admin-edit-plan {
    background: #000;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}
.show_if_simple_subscription.active,
.pricing.show_if_simple_subscription{
    display: block !important;
 }
 div#subscription_product_options h3 {
    padding-left: 15px;
}
.woocommerce_options_panel#subscription_product_options p.form-field{
   margin: 0;
   padding: 2px 20px 2px 162px!important;
}
.woocommerce_options_panel#subscription_product_options label{
    width: 400px;
}
