/* SEASONAX Pricing Table Block Styles */

.seasonax_pricing_table_block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Pricing Notice */
.seasonax_pricing_notice {
    text-align: center;
    margin-bottom: 2rem;
}

.seasonax_pricing_notice p {
    background-color: rgba(12, 171, 194, 0.1);
    color: #127F92;
    padding: 1rem 2rem;
    border-radius: 5px;
    margin: 0;
    font-weight: 600;
    display: inline-block;
}

/* Toggle Switch */
.seasonax_pricing_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.seasonax_toggle_label {
    font-weight: 600;
    font-size: 1.1rem;
    color: #666;
    transition: color 0.3s ease;
}

.seasonax_toggle_active {
    color: #0CABC2;
}

.seasonax_toggle_switch {
    position: relative;
    display: inline-block;
    margin-bottom:0;
    width: 60px;
    height: 34px;
    cursor: pointer;
}

.seasonax_toggle_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.seasonax_toggle_slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #5DC7D6;
    transition: 0.4s;
    border-radius: 34px;
}

.seasonax_toggle_slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.seasonax_toggle_input:checked + .seasonax_toggle_slider:before {
    transform: translateX(26px);
}

/* Pricing Container */
.seasonax_pricing_container {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Discounted Price Styles */
.seasonax_original_price {
    display: inline-block;
    text-decoration: line-through;
    font-size: 0.7em;
    margin-bottom: 5px;
}

.seasonax_discounted_price {
	display: block;
	color: #E14D43;
	font-weight: 700;
}

.seasonax_monthly_pricing {
    display: none;
}

.seasonax_monthly_pricing.seasonax_active {
    display: grid;
}

.seasonax_yearly_pricing.seasonax_active {
    display: grid;
}

/* Pricing Cards */
.seasonax_pricing_card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seasonax_pricing_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.seasonax_pricing_card:first-child {
    border-right: 1px solid #e0e0e0;
}

/* Package Name */
.seasonax_package_name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
}

/* Package Subtitle */
.seasonax_package_subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 2rem 0;
}

/* Price Section */
.seasonax_price_section {
    margin: 2rem 0;
}

.seasonax_price {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.seasonax_price_period {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0;
}

.seasonax_yearly_price {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0;
}

.seasonax_savings {
    font-size: 1rem;
    color: #0CABC2;
    font-weight: 600;
    margin: 1rem 0;
}

/* CTA Button */
.seasonax_cta_button {
    display: inline-block;
    background-color: #0CABC2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 1rem 0 2rem 0;
}

.seasonax_cta_button:hover {
    background-color: #127F92;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Features Section */
.seasonax_features_section {
    text-align: left;
    margin-top: 2rem;
}

.seasonax_features_section p {
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.seasonax_features_section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seasonax_features_section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.seasonax_features_section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #127F92;
    font-weight: bold;
}

/* Info Section */
.seasonax_info_section {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.seasonax_info_section p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
}

.seasonax_info_section p:last-child {
    margin-bottom: 0;
}

.seasonax_info_section a {
    color: #5DC7D6;
    text-decoration: none;
    font-weight: 500;
}

.seasonax_info_section a:hover {
    color: #0CABC2;
    text-decoration: underline;
}

.seasonax_info_section strong {
    color: #333;
    font-weight: 600;
}

.seasonax_info_section em {
    font-style: italic;
    color: #555;
}

.seasonax_info_section ul,
.seasonax_info_section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.seasonax_info_section ul li,
.seasonax_info_section ol li {
    margin: 0.5rem 0;
    color: #666;
    line-height: 1.5;
}

.seasonax_info_section ul li {
    list-style-type: disc;
    padding-left: 0;
}

.seasonax_info_section ul li:before {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seasonax_pricing_container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .seasonax_pricing_card {
        padding: 1.5rem;
    }
    
    .seasonax_pricing_card:first-child {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .seasonax_package_name {
        font-size: 1.5rem;
    }
    
    .seasonax_price {
        font-size: 2.5rem;
    }
    
    .seasonax_pricing_toggle {
        gap: 0.5rem;
    }
    
    .seasonax_toggle_label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .seasonax_pricing_table_block {
        padding: 1rem 0.5rem;
    }
    
    .seasonax_pricing_notice p {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .seasonax_pricing_card {
        padding: 1rem;
    }
    
    .seasonax_package_name {
        font-size: 1.25rem;
    }
    
    .seasonax_price {
        font-size: 2rem;
    }
}

/* Animation for toggle */
.seasonax_pricing_container {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.seasonax_pricing_container:not(.seasonax_active) {
    display: none;
}

/* Professional card highlight (optional) */
.seasonax_pricing_card:last-child {
    position: relative;
}

.seasonax_pricing_card:last-child:before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #5DC7D6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: none; /* Hidden by default, can be enabled via additional class */
}

.seasonax_pricing_card.seasonax_popular:before {
    display: block;
}
