/* JA ACM Pricing Table Styles */
.ja-acm-pricing-module {
    --primary-color: #030435;
    --accent-color: #0e12f1;
    --background-color: #f0f1f3;
    --border-radius: 40px;
    --gunmetal-50: #fbfcfc;
    font-family: 'Lato', Arial, sans-serif;
}

.ja-acm-pricing-module .pricing-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

/* Service Switcher Styles */
.ja-acm-pricing-module .service-switcher {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ja-acm-pricing-module .switcher-text {
    font-family: 'Maven Pro', Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: var(--primary-color);
    white-space: nowrap;
}

.ja-acm-pricing-module .toggle-button {
    position: relative;
    width: 74px;
    height: 32px;
    background: #fff;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    box-shadow: 7px 5px 15px 0px rgba(162, 169, 183, 0.24);
    transition: all 0.3s ease;
    outline: none;
}

.ja-acm-pricing-module .toggle-button:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: var(--accent-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.ja-acm-pricing-module .toggle-button.monthly:before {
    transform: translateX(40px);
}

/* Pricing Table Container */
.ja-acm-pricing-module .pricing-table-container {
    background: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.16);
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

/* Left and Right Columns */
.ja-acm-pricing-module .left-column {
    flex: 1.6;
    min-width: 0;
    padding-right: 20px;
}

.ja-acm-pricing-module .right-column {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    height: -webkit-fill-available;
}

.package-content.monthly-content.active,
.monthly-contact-section {
    height: 100%;
}

.contact-box {
    display: flex;
    height: 100%;
    align-items: center;
}

/* Right column content styling */
.ja-acm-pricing-module .right-column .package-content {
    width: 100%;
}

/* Right column pricing table header styling */
.ja-acm-pricing-module .right-column .pricing-table-header {
    border-radius: 24px 24px 0 0;
    border: 0.4px solid #DDE0E5;
    background: #F0F1F3;
    box-shadow: 0 1px 6px 0 rgba(162, 169, 183, 0.24);
    padding: 16px 0;
}

.ja-acm-pricing-module .right-column .pricing-table-title {
    color: #0E12F1;
    text-align: center;
    font-family: "Maven Pro";
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
}

/* Right column sub-toggle styling */
.ja-acm-pricing-module .right-column .sub-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.ja-acm-pricing-module .right-column .sub-switcher-text {
    color: #030435;
    text-align: center;
    font-family: "Maven Pro";
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

/* Right column pricing table styling */
.ja-acm-pricing-module .right-column .pricing-table {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
}

.ja-acm-pricing-module .right-column .pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.ja-acm-pricing-module .right-column .pricing-row:last-child {
    border-bottom: none;
}

.ja-acm-pricing-module .right-column .pricing-range {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.ja-acm-pricing-module .right-column .pricing-price {
    font-size: 14px;
    color: #1f2937;
    font-weight: 600;
}

/* Right column contact section styling */
.ja-acm-pricing-module .right-column .monthly-contact-section {
    text-align: center;
}


.ja-acm-pricing-module .right-column .contact-text {
    color: #030435;
    text-align: center;
    font-family: "Maven Pro";
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

/* Service Information */
.ja-acm-pricing-module .service-info {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}

/* Package Content Toggle */
.ja-acm-pricing-module .package-content {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.ja-acm-pricing-module .package-content.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s ease-in-out;
}

/* Specific targeting for annual and monthly content */
.ja-acm-pricing-module .annual-content:not(.active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.ja-acm-pricing-module .monthly-content:not(.active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Force hide when not active - more specific selectors */
.ja-acm-pricing-module .pricing-table-container .annual-content:not(.active) {
    display: none !important;
}

.ja-acm-pricing-module .pricing-table-container .monthly-content:not(.active) {
    display: none !important;
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Annual Sub-toggle Styles */
.ja-acm-pricing-module .annual-sub-switcher {
    margin-bottom: 24px;
}

.ja-acm-pricing-module .pricing-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}

.ja-acm-pricing-module .sub-toggle-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ja-acm-pricing-module .sub-switcher-text {
    font-family: 'Maven Pro', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--primary-color);
    white-space: nowrap;
}

.ja-acm-pricing-module .sub-toggle-button {
    position: relative;
    width: 60px;
    height: 28px;
    background: #fff;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 4px 3px 10px 0px rgba(162, 169, 183, 0.20);
    transition: all 0.3s ease;
    outline: none;
}

.ja-acm-pricing-module .sub-toggle-button:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.ja-acm-pricing-module .sub-toggle-button.revenue:before {
    transform: translateX(32px);
}

/* Annual Sub-content Toggle - Only affects pricing sections */
.ja-acm-pricing-module .annual-sub-content {
    display: none;
}

.ja-acm-pricing-module .annual-sub-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}


/* Monthly Contact Section */
.ja-acm-pricing-module .contact-box {
    background: #FEFBE9;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.ja-acm-pricing-module .contact-text {
    font-family: 'Maven Pro', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    margin: 0;
}

.ja-acm-pricing-module .package-info {
    margin-bottom: 30px;
}

.ja-acm-pricing-module .package-title {
    font-family: 'Maven Pro', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.ja-acm-pricing-module .package-description {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    margin: 0;
}

.ja-acm-pricing-module .service-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.ja-acm-pricing-module .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ja-acm-pricing-module .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ja-acm-pricing-module .service-title {
    font-family: 'Maven Pro', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: var(--primary-color);
    margin: 0;
}

.ja-acm-pricing-module .service-description {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    margin: 0;
}

/* Features Grid */
.ja-acm-pricing-module .features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.ja-acm-pricing-module .feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: calc(50% - 12px);
    min-width: 300px;
}

.ja-acm-pricing-module .feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.ja-acm-pricing-module .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ja-acm-pricing-module .feature-text {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    flex: 1;
}

/* Pricing Section */
.ja-acm-pricing-module .pricing-section {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-direction: column;
}

.ja-acm-pricing-module .pricing-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #030435;
    leading-trim: both;
    text-edge: cap;
    font-family: "Maven Pro";
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}


.ja-acm-pricing-module .pricing-table {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    min-width: 250px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
}

.ja-acm-pricing-module .pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--background-color);
}

.ja-acm-pricing-module .pricing-row:last-child {
    border-bottom: none;
}

.ja-acm-pricing-module .pricing-range,
.ja-acm-pricing-module .pricing-price {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
}

.ja-acm-pricing-module .pricing-price {
    font-weight: 500;
    text-align: right;
}

.ja-acm-pricing-module .contact-link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ja-acm-pricing-module .pricing-container {
        gap: 30px;
    }

    .ja-acm-pricing-module .service-switcher {
        gap: 20px;
    }

    .ja-acm-pricing-module .switcher-text {
        font-size: 16px;
    }

    .ja-acm-pricing-module .service-info {
        flex-direction: column;
        text-align: center;
    }

    .ja-acm-pricing-module .service-title {
        font-size: 20px;
        line-height: 28px;
    }

    .ja-acm-pricing-module .feature-item {
        width: 100%;
        min-width: auto;
    }

    .ja-acm-pricing-module .pricing-section {
        flex-direction: column;
    }

    .ja-acm-pricing-module .pricing-table {
        min-width: auto;
        width: 100%;
    }

    .ja-acm-pricing-module .pricing-table-container {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .ja-acm-pricing-module .left-column,
    .ja-acm-pricing-module .right-column {
        flex: none;
        width: 100%;
    }

    .ja-acm-pricing-module .left-column {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .ja-acm-pricing-module .right-column {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .ja-acm-pricing-module .pricing-container {
        gap: 20px;
    }

    .ja-acm-pricing-module .service-switcher {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ja-acm-pricing-module .switcher-text {
        font-size: 14px;
    }

    .ja-acm-pricing-module .toggle-button {
        width: 60px;
        height: 28px;
    }

    .ja-acm-pricing-module .toggle-button:before {
        width: 22px;
        height: 22px;
    }

    .ja-acm-pricing-module .toggle-button.monthly:before {
        transform: translateX(32px);
    }

    .ja-acm-pricing-module .pricing-table-container {
        padding: 15px;
        border-radius: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .ja-acm-pricing-module .left-column,
    .ja-acm-pricing-module .right-column {
        flex: none;
        width: 100%;
    }

    .ja-acm-pricing-module .left-column {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .ja-acm-pricing-module .right-column {
        padding: 20px;
        border-radius: 20px;
    }

    .ja-acm-pricing-module .features-grid {
        gap: 16px;
    }

    .ja-acm-pricing-module .feature-item {
        gap: 12px;
    }
}