/*
 Theme Name:     SA Ez Child
 Description:    SA Ez Child Theme
 Template:       Divi
 Version:        1.0.2
*/
 
 
/* Theme customization starts here
------------------------------------------------------- */
/* ======================= Globals =======================*/
:root {
    --primary-color: #94c841;
    --font-family-primary: 'Roboto', sans-serif;
    --font-family-secondary: 'Jost';
    --loading-spinner-image-path: url(/wp-content/uploads/2024/11/favicon.png);
    --plan-topper-image-path: url(/wp-content/uploads/2024/11/topper-image.png);
	--plan-width:300px;
	--text-shadow-primary: #969a99 5px 5px;
	--text-shadow-secondary: #969a99 1px 1px;
	--amenity-marker: url(/wp-content/uploads/2025/10/physiq-check-mark-icon.png);
	
  }


/* ======================= Plan Loading Start =======================*/
div .loading_box .loading_icon {
	border: none;
	content: var(--loading-spinner-image-path);
	animation: spin 2.5s linear infinite;
	width: 100px;
	height: 100px;
}

/* ======================= All Plans List Start =======================*/
form div #regForm.sweti_join_now * {
	font-family:var(--font-family-primary);
}

ul.progress-list {
    display: none !important;
}

#regForm.sweti_join_now{
	padding: 0 120px !important;
	max-width: 100% !important;
}

/* ======================= Individual Plan Detail Start =======================*/

/* ======================= Plan Container ======================= */
.sweti_join_now .plan_names {
    margin: 0 24px !important;
	width: var(--plan-width) !important;
	max-width: var(--plan-width) !important;
}
@media only screen and (min-width: 1240px) {
    #regForm .plan_names {
        flex: 0 0 25% !important;
        max-width: var(--plan-width) !important;
    }
}
/* ======================= Plan Topper ======================= */

/* ======================= Plan Data ======================= */

/* ABC Attributes - We want to pull all we can for customizations but need to only show what we need */
div[abcname] {
	display:none;
}

/* Enrollment contains name, pretax value, tax, and total */

div[abcname="subTotal"]{
	display: block;
}

.sabasiccontainer {
    order: 4;
}

.sweticlubfee {
    order: 5;
	color: #fff;
    margin-top: auto;
    margin-bottom: 10px;
	display: flex;
	gap: 3px;
	font-size: 8px;
	line-height: 150%;
}

#regForm .sabasiclogocontainer {
    padding: 0;
    height: 20px;
}

/* ======================= Plan Name ======================= */
.sweti_join_now .plan-feature {
    height: auto;
    margin: 30px 0 15px;
    padding: 0px 10px;
    overflow: hidden;
    border: 1px solid;
    border-radius: 16px;
}

/* White description area below the image (plan list only, not the step 3-5 sidebar).
   !important needed: plugin's new_style_darkmode.css sets
   "div .sweti_join_now .plan-feature { background: none !important }" */
.sweti_join_now .plans_wrapper .plan-feature {
    border: none;
    border-radius: 20px;
    background: #fff !important;
}

#regForm.sweti_join_now {
    & .plan-feature {
        &::before {
            content: "";
            background-image: URL(/wp-content/uploads/2024/12/banner-img-march-1.png);
            background-size: contain;
            width: 100%;
            height: 225px; /* was 265px - image area shortened now that JOIN NOW sits below */
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 0;
			border-radius: 20px 20px 0 0; /* square bottom so image meets white area */
			background-repeat: no-repeat;
            background-size: cover;
        }
    }
}

#regForm.sweti_join_now {
    & .plan-feature {
        &::after {
            content: "";
            background: #94c8415e;
            position: absolute;
            width: 100%;
            height: 225px; /* was 265px - image area shortened now that JOIN NOW sits below */
            left: 0;
            right: 0;
            z-index: 1;
			top: 0;
			border-radius: 20px 20px 0 0;
        }
    }
}

#regForm.sweti_join_now {
    & .plan-feature {
        &:has([sweti_planname*="Qfit" i])::after {
            background: #000 !important;
            opacity: .3 !important; 
        }
    }
}

div .sweti_join_now .plan-feature {
	display: flex;
	flex-direction: column;
	padding:20px 0 0 0;
	/* Height fixed to fit all amenities - Tweak as needed */
	width: var(--plan-width);
	
	.plan-title {
		order: 1;
		background-color: transparent !important;
		padding: 5px;
		height: 120px;
		border-radius: 16px 16px 0 0;
	}

	.plan-title h3 {
		color:white;
		text-transform:uppercase;
		font-size: 32px !important;
		display:flex;
		flex-direction:column;
		letter-spacing:2px;
		line-height:1;
		position: relative;
        top: 8px;
		font-style: italic;
		z-index: 2;
	}
	
	/* Arizona clubs (e.g. Gilbert) name this fee "Enrollment Fees" (plural) in ABC */
	div[abcname="Enrollment Fee"], div[abcname="Enrollment Fees"] {
		display:flex;
		flex-direction:row;
		justify-content: center;
		gap: 6px;
		color:white;
		font-size: 12px !important;
		font-weight:normal;
		padding:0;
		order: 3;
		z-index: 2;
		align-items: baseline;
		position: relative;
		bottom: 24px;
	
		&::after{
		content:"ENROLLMENT";
		}
		
		[abcname="subTotal"] * {
			font-size: 12px !important;
		}
	}
	
	
	[abcname="subTotal"] .sabasic_cent{
		display:none;
	}
	
}

/* Plugin update (new_style_darkmode.css) added
   "div .sweti_join_now .plan-feature { padding: 0 !important }", which wiped the
   20px top padding above and shifted all card content up. Higher specificity restores it. */
#regForm .plan-feature {
	padding: 20px 0 0 0 !important;
}

.sweticlubfee {
	display: none;
}

.slashed {
    text-decoration: line-through;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    bottom: 88px;
    font-size: 14px !important;
    z-index: 99;
	font-family: 'Object Sans Regular', 'Object Sans', sans-serif !important;
}


/* ======================= Plan Price ======================= */
div .sweti_join_now div.plan-header {
    order: 2;
	display:flex;
	flex-direction: row;
	width:100%;
	color:white !important;
	border-radius:0;
	padding:10px;
	justify-content:center;
	margin-bottom:0!important;
	
	div.sabasic_Monthly_Rate, div.swetiScheduleAmount, div.swetiSchedulePreTaxAmount, p.Enrollment_Fee{
		display:none!important;
	}

	.sabasic_Monthly_Rate_Pretax {
		display: flex !important;
		justify-content:center;
		align-items: flex-start;
		color: white;
		line-height:1;
		font-family: var(--font-family-secondary);
		position: relative;
        bottom: 50px;
		z-index: 2;
	}
	
	/* Price number */

	.sabasic_dollarsign{
		font-size: 28px !important;
	}
	.sabasic_dollar{
		font-size: 28px !important;
		
	}
	.sabasic_cent{
        display: flex !important;
        font-size: 28px !important;
	}
	
	span.sabasic_cent::before {
    	content: '.';
	}
	
	.sabasic_cent::after {
		content: '/MONTHLY';
		font-size: 20px !important;
        position: relative;
        top: 5px;
		
	}
}

/*Best Value Call Outs*/	
.plan-feature:has([sweti_planname*="QFit"]) .plan-title h3::before {
    	content: 'Best Value';
    	font-size: 16px;
    	position: relative;
   		bottom: 14px;
		color: white;
		z-index: 2;
	}

.plan-feature:has([sweti_planname*="Premium"]) .plan-title h3::before {
    	content: 'Most Popular';
    	font-size: 16px;
    	position: relative;
   		bottom: 14px;
		color: white;
		z-index: 2;
	}

.plan-feature:has([sweti_planname*="Basic"]) .plan-title{
		position: relative;
		top: 20px;
}

/*Select Button*/
.select_button label {
    display: none !important;
}

.select_button.active::before {
    content: 'JOIN NOW';
    color: #fff; /* inverted: was #000 */
    position: relative;
    bottom: 62px; /* was 88px - button now sits in the white area under the description */
    font-size: 24px;
    background: #000; /* inverted: was #fff */
    padding: 10px 40px 10px 40px;
    border-radius: 10px;
    z-index: 99;
}

.select_button::before {
    content: 'JOIN NOW';
    color: #fff; /* inverted: was #000 */
    position: relative;
    bottom: 62px; /* was 88px - button now sits in the white area under the description */
    font-size: 24px;
    background: #000; /* inverted: was #fff */
    padding: 10px 40px 10px 40px;
    border-radius: 10px;
    z-index: 99;
}

.sweti_join_now .plan-items .select_button input[type="radio"] {
    z-index: 999;
    height: 275px;
}

/*Start Ptag Styling*/
.sabasiccontainer{
	min-height: auto;
}

/* Fix: the old rule had "width: 315px" with no semicolon, which silently killed
   both width and position, and the plugin's 12px left padding pushed the
   .slashed price ~6px right of center. Full-width + even padding centers it. */
#regForm .plans_wrapper .sabasiccontainer {
    min-height: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 16px 82px !important; /* bottom padding = room for JOIN NOW */
	background: transparent !important;
}

/* Plan description in the white area, above JOIN NOW - fixed height keeps all cards
   (and their JOIN NOW buttons) aligned whether the text is 1 or 2 lines */
#regForm .plans_wrapper .sabasiclogocontainer {
    height: 62px !important;
    margin-top: -40px !important; /* pull description up to the (shorter) image edge */
    padding-top: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#regForm .plans_wrapper .sabasiclogocontainer p {
    color: #000 !important;
    text-align: center !important;
    line-height: 1.4;
    padding: 0 !important;
}


/* Adjust attribute for custom text below amenities list */
/* Custom text at end of amenity listing */
/* .plan-feature:has([sweti_planname*="Gold"]) [sweticlubfeename]{
    display: none;
}

.plan-feature:has([sweti_planname*="Gold"]) .sweticlubfee::before{
    content: 'No annual membership fee';
    width: 100%;
} */

/* $0 annual fee displayed [sweticlubfeename*="default"] so using that as condition for no annual fee language */
/* .sweticlubfee:has(> div[sweticlubfeename="default"]) span {
    display:none;
}

.sweticlubfee:has(> div[sweticlubfeename="default"])::before {
    content: "No Annual Membership Fee";
	width:100%;
} */

/* How to add translation for pseudo elements */
/* html[lang="es"] .sweticlubfee:has(> div[sweticlubfeename="default"])::before {
    content: "Sin cuota anual de membresía";
	width:100%;
} */

.select_button{
	width: var(--plan-width);
	margin: 0 auto !important;
	border: none !important;
}

/* ======================= Alt 1 Plans Detail Start ======================= */
/* Will need logic added for the attribute name added for the alt design 
Preferred to target unique name they put in the plan name like "alt1" or "design2" */

/* div .sweti_join_now .plan-feature:has([sweti_planname*="Student"]) {
	background: #fff !important;
	color: #000;
}  */

/* ======================= STEP 3 CSS START ======================= */
/*#step3 .field-info, #step4 .field-info, #step5 .field-info{
	width:1080px;
}*/

div .sweti_join_now #step3 .plan-items::before,
div .sweti_join_now #step4 .plan-items::before,
div .sweti_join_now #step5 .plan-items::before{
    display: none;
}

/* Plan Display on Step 3 sidebar */
#step3 .plan-feature::before,
#step4 .plan-feature::before,
#step5 .plan-feature::before{
	content: '';
    position: absolute;
    top: -9px;
    left: -3px;
    width: 300px;
    height: 20px;
    background: var(--primary-color);
    clip-path: ellipse(60% 100% at bottom);
    border-left: 3px solid white;
    border-right: 3px solid white;
}

/* Plan on sidebar: field-info > aside > aside-inner > plan-items > new_details*/

div .sweti_join_now .plan-items {
    border-radius: unset !important;
}

.aside-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sweti_join_now .aside-inner .plan-items{
	overflow: hidden !important;
}
.sweti_join_now .aside-inner .new_details {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.new_details #plan_data_one,
.new_details #plan_data_two{
    background: unset;
}

#planDescription,
#planDescription2,
#planDescription3{
	position: relative;
}

#step3 .plan-feature,
#step4 .plan-feature,
#step5 .plan-feature{
    margin-top: 50px;
	position: relative;
	overflow: unset;
}
.frq_col {
    width: 345px;
}

/*#step3 .sabasiccontainer::after,
#step4 .sabasiccontainer::after,
#step5 .sabasiccontainer::after{
	bottom: 20px;
}

.frq_col span.payment{
	font-size: 22px !important;
}*/
div .sweti_join_now .plan-items>h3{
	    -webkit-text-stroke: 0px !important;
}
.plan_data { 
    .frq_col{
        .payment{
            span{
                font-size:28px!important;
            }
            
        }
    }
    .col_list{
        label, span{
            font-size:20px;
        }
        .due_date{
            label,span{
                font-size:20px;
            }
        }
        [abcdownpaymentname="Enrollment Fee"] label, [abcdownpaymentname="Enrollment Fee"] span{
                font-size:20px!important;
            }
        .annual_fee{
        display:flex;
        flex-direction:column;
        width:100%;
    }
    .annual_fee_label{
        display:none;
        .custom_col_list label.feeName_label {
            padding-right:10px!important;
            font-size:20px!important;
        } 
        span{
            padding-left:10px!important;
        }
    }    
    .annual_fee_details_label{
        display:flex;
        flex-direction:column;
        .sidebarFeeContainer{
            display:flex;
            justify-content:center;
            &:first-child{
                flex-direction:column;
                label{
                    text-align:center;
                    justify-content: center;
                    display: flex;
                    padding-right:0;
                    padding-bottom:10px;
                }
                span{
                    text-align:center;
                }
            }
            &:nth-child(2){
                display:none;
            }
        }
    }
    }
}
.error{
    color:#FF474D!important;
}
div#plan_data_one, div#plan_data_two{
    background:transparent!important;
}
.instructions, #authorizationagreement{
    color:black!important;
}
#signature-pad{
    label{
        color:black!important;
    }
}
.sideaddon{
    color:black!important;
    p {
        color:black!important;
    }
}
#regForm #step3 #planDescription,
#regForm #step4 #planDescription,
#regForm #step4 #planDescription2,
#regForm #step5 #planDescription,
#regForm #step5 #planDescription3{
    display: none !important;
}

#regForm .annual_fee_label {
    display: none: !important;
}

#regForm p.plan_subheading.addons_subheading {
    text-align: left;
    font-size: 20px !important;
    font-weight: 600;
}

#regForm strong.annual_payment .monthly_payment_pr {
    display: none !important;
}

div#contact_hide::before {
    content: "Emergency Contact Information:";
}

.et_builder_inner_content.has_et_pb_sticky {
    z-index: unset;
    height: 0 !important;
}

footer.et-l.et-l--footer {
    height: 0 !important;
}

.col_list.custom_col_list.annual_fee {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ======================= STEP 4 Start ======================= */
.sweti_join_now #step4 .info-form h3.plan_heading_h3.addons_heading:after {
    content: "Add Ons" !important;
}
div#plan_data_one {
	background: rgb(249 255 250 / 67%);
	font-weight: 700;
}

/* ======================= STEP 5 ======================= */
div#plan_data_two {
	background: rgb(249 255 250 / 67%);
	font-weight: 700;
}