.fx_f_sub_container {
    display: flex;
    width: 100%;
    /* height: calc(100vh - 70px); */
}


.fx_f_sub_toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 50px;
    padding: 3px;
    width: 480px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto 30px;
}

.fx_f_sub_toggle button {
    flex: 1;
    border: none;
    padding: 12px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    color: #750ef4;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.fx_f_sub_toggle button.active {
    color: white;
}

.fx_f_sub_toggle .fx_f_sub_slider {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 33.33%;
    height: calc(100% - 6px);
    background-color: #750EF4;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 1;
}

.fx_f_sub_toggle.lifetime .fx_f_sub_slider {
    left: 66.66%;
}

.fx_f_sub_toggle.annual .fx_f_sub_slider {
    left: 33.33%;
}

.fx_f_sub_toggle.monthly .fx_f_sub_slider {
    left: 3px;
}

.fx_f_sub_period_text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.fx_f_sub_pricing_cards {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.fx_f_sub_card {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 280px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fx_f_cardFirst {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}

.fx_f_sub_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fx_f_sub_card_header {
    text-align: center;
    margin-bottom: 15px;
}

.fx_f_sub_plan_name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.fx_f_sub_price_wrapper {
    /* margin: 15px 0; */
    text-align: center;
}

.fx_f_sub_currency {
    font-size: 20px;
    vertical-align: super;
}

.fx_f_sub_price {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.fx_f_sub_period,
.fx_f_sub_periodPsiem {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.fx_f_sub_original_price {
    text-decoration: line-through;
    color: #777;
    font-size: 16px;
    margin-top: 5px;
}

.fx_f_sub_discount {
    background-color: #750EF4;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 15px;
    display: inline-block;
    margin-left: 5px;
}

.fx_f_sub_description {
    text-align: center;
    overflow-y: auto;
    margin: 15px 0;
    font-size: 14px;
}

.fx_f_sub_description p {
    font-size: 14px;
}


.fx_f_sub_button {
    background-color: #750EF4;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
    margin: 20px 0;
}

.fx_f_sub_button:hover {
    background-color: #7722c9;
}

.fx_f_sub_button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.fx_f_sub_button:disabled:hover {
    background-color: #cccccc;
    transform: none;
}

.fx_f_sub_button.secondary {
    background-color: transparent;
    color: #750EF4;
    border: 2px solid #750EF4;
}

.fx_f_sub_button.secondary:hover {
    background-color: rgba(138, 43, 226, 0.1);
}

.fx_f_sub_button.secondary:disabled {
    background-color: transparent;
    color: #cccccc;
    border-color: #cccccc;
}

.fx_f_sub_button.secondary:disabled:hover {
    background-color: transparent;
}

.fx_f_sub_features_title {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 10px;
}

.fx_f_sub_feature_list {
    list-style-type: none;
    margin-bottom: 20px;
}

.fx_f_sub_feature_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
}

.fx_f_sub_feature_item::before {
    content: "✓";
    color: #750EF4;
    font-weight: bold;
    margin-right: 8px;
}

.fx_f_sub_item_not_included::before {
    content: "x";
    color: red;
    font-weight: bold;
    margin-right: 8px;
}

.fx_f_sub_license_info {
    font-size: 14px;
    margin-bottom: 10px;
}

.fx_f_sub_support_info {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
    text-align: center;
}

.fx_f_sub_popular_badge {
    background-color: #750EF4;
    color: white;
    text-align: center;
    border-radius: 0px 15px 15px 0px;
    padding: 10px;
    margin: 27px -25px;
    font-weight: 600;
    position: absolute;
}

.fx_f_sub_license_selector {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.fx_f_sub_license_option {
    padding: 5px 20px;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.fx_f_sub_license_option:first-child {
    border-radius: 5px 0 0 5px;
}

.fx_f_sub_license_option:last-child {
    border-radius: 0 5px 5px 0;
}

.fx_f_sub_license_option.active {
    background-color: #750EF4;
    color: white;
    border-color: #750EF4;
}

.fx_f_sub_license_option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999;
}

.fx_f_sub_license_option.disabled:hover {
    background-color: #f5f5f5;
    color: #999;
}

.fx_f_sub_license_option.disabled.active {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e5e5e5;
}

.fx_f_sub_disclaimer {
    max-width: 800px;
    text-align: center;
    margin: 30px auto;
    font-size: 14px;
    color: #777;
}

.fx_f_sub_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.fx_f_sub_modal_content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.fx_f_sub_modal_close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.fx_f_sub_modal_title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.fx_f_sub_payment_image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.fx_f_sub_modal_button {
    background-color: #750EF4;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.fx_f_sub_modal_button:hover {
    background-color: #7722c9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fx_f_sub_pricing_cards {
        flex-direction: column;
        align-items: center;
    }

    .fx_f_sub_card {
        width: 100%;
        max-width: 320px;
    }
}









/* ----------------------------------------------------------- */

 /* Contenedor de botones para demostración */
 .fx_f_sub_modalstripe_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.fx_f_sub_modalstripe_button {
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* .fx_f_sub_modalstripe_button_success {
    background-color: #4CAF50;
    color: white;
}

.fx_f_sub_modalstripe_button_cancel {
    background-color: #FF9800;
    color: white;
}

.fx_f_sub_modalstripe_button_error {
    background-color: #F44336;
    color: white;
}

.fx_f_sub_modalstripe_button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
} */

/* Estilos del modal base */
.fx_f_sub_modalstripe_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fx_f_sub_modalstripe_overlay.active {
    opacity: 1;
    visibility: visible;
}

.fx_f_sub_modalstripe_modal {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
    opacity: 0;
}

.fx_f_sub_modalstripe_overlay.active .fx_f_sub_modalstripe_modal {
    transform: translateY(0);
    opacity: 1;
}

.fx_f_sub_modalstripe_icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.fx_f_sub_modalstripe_title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.fx_f_sub_modalstripe_message {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.fx_f_sub_modalstripe_btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.fx_f_sub_modalstripe_btn:hover {
    opacity: 0.9;
}

/* Estilos específicos para cada modal */
/* Modal de éxito */
.fx_f_sub_modalstripe_success .fx_f_sub_modalstripe_icon {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.fx_f_sub_modalstripe_success .fx_f_sub_modalstripe_btn {
    background-color: #4CAF50;
    color: white;
}

/* Modal de cancelación */
.fx_f_sub_modalstripe_canceled .fx_f_sub_modalstripe_icon {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.fx_f_sub_modalstripe_canceled .fx_f_sub_modalstripe_btn {
    background-color: #FF9800;
    color: white;
}

/* Modal de error */
.fx_f_sub_modalstripe_error .fx_f_sub_modalstripe_icon {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.fx_f_sub_modalstripe_error .fx_f_sub_modalstripe_btn {
    background-color: #F44336;
    color: white;
}

/* Iconos */
.fx_f_sub_modalstripe_icon svg {
    width: 40px;
    height: 40px;
}

/* Estilos para la lista de sub-menú en modales Stripe */
.fx_f_sub_modalstripe_list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: block;
}
.fx_f_sub_modalstripe_list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}
.fx_f_sub_modalstripe_list li::before {
    content: "\2713"; /* ✓ */
    position: absolute;
    left: 0;
    top: 0;
    color: #4CAF50;
    font-size: 16px;
    line-height: 1;
}


@media (max-width: 768px) {
    .fx_f_sub_toggle {
        width: calc(100% - 30px);
    }
    .fx_f_sub_pricing_cards {
        gap: 20px;
    }
}