/* ATF Platform — front-end components built on the existing ATF/Solace tokens. */
.atf-page{
	--atf-accent:#0e7a63;--atf-accent-strong:#0b6a56;--atf-surface:#f1f5f4;--atf-raised:#FFFFFF;
	--atf-text:#434346;--atf-muted:#59636A;--atf-heading:#142b36;--atf-border:#e1e7e6;
	--atf-radius:18px;--atf-radius-sm:10px;--atf-dur:160ms;--atf-ease:ease-out;
	width:100%;max-width:1180px;margin:0 auto;color:var(--atf-text);
	font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
	box-sizing:border-box;
}
.atf-page *,.atf-page *::before,.atf-page *::after{box-sizing:border-box}
.atf-page h2,.atf-page h3,.atf-page h4{font-family:Sora,"DM Sans",sans-serif;color:var(--atf-heading);line-height:1.15;margin:0 0 .5em}
.atf-page h2{font-size:clamp(28px,3.4vw,40px)}
.atf-page h3{font-size:clamp(20px,2.2vw,26px);margin-top:0}
.atf-page h4{font-size:18px}
.atf-page p{margin:0 0 1em}
.atf-page a{color:var(--atf-accent-strong)}
.atf-page a:hover{color:#122a63}
.atf-eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--atf-accent-strong);margin-bottom:8px}
.atf-lead{font-size:18px;line-height:1.5}
.atf-muted{color:var(--atf-muted)}
.atf-small{font-size:13px;line-height:1.5}
.atf-right{text-align:right}

/* headings block */
.atf-page-head{max-width:760px;margin:0 0 24px}
.atf-page-head h2{margin-bottom:10px}

/* cards and panels */
.atf-card,.atf-panel{background:var(--atf-raised);border:1px solid var(--atf-border);border-radius:var(--atf-radius);box-shadow:0 1px 2px rgba(9,9,9,.04);padding:28px}
.atf-panel{margin:0 0 20px}
.atf-narrow{max-width:560px;margin:0 auto}
.atf-muted-card{background:#F7FCFE}
.atf-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin:0 0 20px}

/* buttons */
.atf-btn{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;
	background:var(--atf-accent);color:#fff;border:1px solid var(--atf-accent);border-radius:var(--atf-radius-sm);
	padding:12px 22px;font:600 15px/1.2 "DM Sans",sans-serif;text-decoration:none;cursor:pointer;
	transition:background var(--atf-dur) var(--atf-ease),transform var(--atf-dur) var(--atf-ease),box-shadow var(--atf-dur) var(--atf-ease);
}
.atf-btn:hover{background:var(--atf-accent-strong);border-color:var(--atf-accent-strong);color:#fff;transform:translateY(-1px)}
.atf-btn:active{background:#075445;border-color:#075445;color:#fff;transform:none}
.atf-btn:focus-visible{outline:3px solid rgba(14,122,99,.4);outline-offset:2px}
.atf-btn:disabled,.atf-btn[aria-disabled="true"],.atf-btn.is-disabled{background:#f1f4f3;border-color:#dfe5e3;color:#7b8a92;cursor:not-allowed;box-shadow:none;transform:none}
.atf-btn--ghost{background:#fff;color:var(--atf-heading);border-color:var(--atf-border)}
.atf-btn--ghost:hover,.atf-btn--ghost:focus-visible{background:#eaf4ef;color:var(--atf-heading);border-color:#d3e8df;transform:none}
.atf-btn--ghost:active{background:#d3e8df;border-color:#d3e8df;color:var(--atf-heading)}
.atf-btn--block{width:100%}
.atf-link{background:none;border:0;padding:0;font:600 14px/1.2 "DM Sans",sans-serif;color:var(--atf-accent-strong);text-decoration:underline;cursor:pointer}
.atf-link--danger{color:#9E1B1B}

/* forms */
.atf-form{display:grid;gap:16px;margin:0}
.atf-form--inline{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:4px}
.atf-form--wide{max-width:760px}
.atf-field{display:block;margin:0}
.atf-field>span,.atf-field>legend{display:block;font-weight:600;font-size:14px;color:var(--atf-heading);margin-bottom:6px}
.atf-field small{display:block;margin-top:5px;color:var(--atf-muted);font-size:12px}
.atf-field input[type=text],.atf-field input[type=email],.atf-field input[type=password],.atf-field input[type=tel],.atf-field input[type=number],.atf-field input[type=date],.atf-field input[type=time],.atf-field input[type=url],.atf-field input[type=search],.atf-field select,.atf-field textarea,.atf-input{
	width:100%;background:#fff;border:1px solid var(--atf-border);border-radius:3px;padding:11px 12px;
	font:400 16px/1.4 "DM Sans",sans-serif;color:var(--atf-text);min-height:44px;
	transition:border-color var(--atf-dur) var(--atf-ease),box-shadow var(--atf-dur) var(--atf-ease);
}
.atf-field textarea{min-height:110px}
.atf-field input:focus,.atf-field select:focus,.atf-field textarea:focus,.atf-input:focus{
	outline:none;border-color:var(--atf-accent-strong);box-shadow:0 0 0 3px rgba(42,212,189,.35)
}
.atf-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;cursor:pointer}
.atf-check input{margin-top:3px;width:18px;height:18px;accent-color:var(--atf-accent-strong);flex:none}
.atf-radios label{display:inline-flex;gap:8px;align-items:center;margin-right:16px;font-weight:500}
.atf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* auth */
.atf-auth-wrap{padding:16px 0 32px}
.atf-auth-wrap .atf-card{padding:32px}

/* booking */
.atf-book-head{max-width:760px;margin-bottom:24px}
.atf-wizard{background:#fff;border:1px solid var(--atf-border);border-radius:var(--atf-radius);padding:28px;box-shadow:0 1px 2px rgba(9,9,9,.04)}
.atf-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 24px;flex-wrap:wrap}
.atf-steps li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--atf-muted);padding:6px 10px;border-radius:999px;border:1px solid transparent}
.atf-steps li span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--atf-surface);color:var(--atf-heading);font-weight:700;font-size:12px}
.atf-steps li.is-current{border-color:#d3e8df;background:#eaf4ef;color:var(--atf-heading)}
.atf-steps li.is-current span{background:var(--atf-accent);color:#fff}
.atf-step{padding-top:4px}
.atf-step[hidden]{display:none}
.atf-step-actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}
.atf-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:8px}
.atf-choice{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--atf-border);border-radius:14px;padding:16px;cursor:pointer;background:#fff;transition:border-color var(--atf-dur) var(--atf-ease),background var(--atf-dur) var(--atf-ease)}
.atf-choice:hover{border-color:var(--atf-accent-strong)}
.atf-choice input{margin-top:4px;accent-color:var(--atf-accent-strong)}
.atf-choice strong{display:block;color:var(--atf-heading);font-size:15px}
.atf-choice small{display:block;color:var(--atf-muted);margin-top:2px;line-height:1.4}
.atf-choice:has(input:checked){border-color:var(--atf-accent);background:#eaf4ef;box-shadow:0 0 0 1px var(--atf-accent) inset}
.atf-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:8px;margin-top:12px}
.atf-slot{position:relative}
.atf-slot input{position:absolute;opacity:0;inset:0;cursor:pointer}
.atf-slot span{display:block;text-align:center;border:1px solid var(--atf-border);border-radius:10px;padding:10px 6px;font-weight:600;font-size:14px;background:#fff;transition:all var(--atf-dur) var(--atf-ease)}
.atf-slot input:checked+span{background:#eaf4ef;color:#075445;border-color:var(--atf-accent);box-shadow:0 0 0 1px var(--atf-accent) inset}
.atf-slot input:focus-visible+span{outline:3px solid var(--atf-accent);outline-offset:2px}
.atf-review{border:1px solid var(--atf-border);border-radius:14px;padding:18px;background:#F9FDFF}
.atf-review dl{display:grid;grid-template-columns:160px 1fr;gap:8px 16px;margin:0}
.atf-review dt{color:var(--atf-muted);font-size:14px}
.atf-review dd{margin:0;font-weight:600;color:var(--atf-heading);font-size:14px}

/* notices */
.atf-notice{border-radius:12px;padding:14px 16px;margin:0 0 16px;border:1px solid var(--atf-border);background:var(--atf-surface);font-size:14px}
.atf-notice p:last-child{margin-bottom:0}
.atf-notice--info{border-left:4px solid var(--atf-accent-strong)}
.atf-notice--success{border-left:4px solid #1b7a4b;background:#F2FBF6}
.atf-notice--warn{border-left:4px solid #B26A00;background:#FFF9EE}
.atf-notice--error{border-left:4px solid #9E1B1B;background:#FFF5F5}

/* flashes */
.atf-flashes{display:grid;gap:8px;margin:0 0 20px}
.atf-flash{border-radius:12px;padding:12px 16px;font-size:14px;border:1px solid var(--atf-border);background:#fff}
.atf-flash--success{background:#F2FBF6;border-color:#BFE3CE;color:#155C39}
.atf-flash--error{background:#FFF5F5;border-color:#EFC3C3;color:#7C1414}
.atf-flash--info{background:#F5FBFF;border-color:#C7E3F2;color:#12425C}

/* tables */
.atf-table-wrap{overflow-x:auto;margin:0 -4px}
.atf-table{width:100%;border-collapse:collapse;font-size:14px}
.atf-table th,.atf-table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--atf-border);vertical-align:top}
.atf-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--atf-muted);font-weight:700}
.atf-table tbody tr:hover{background:#FAFDFF}
.atf-table .atf-total td{font-weight:700;border-bottom:0;color:var(--atf-heading)}
.atf-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.atf-inline-form{display:inline-flex;align-items:center;gap:6px;margin:0}
.atf-input--sm{min-height:34px!important;padding:6px 8px!important;font-size:13px!important;max-width:210px}

/* badges */
.atf-badge{display:inline-block;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;line-height:1.3;background:var(--atf-surface);color:var(--atf-heading);border:1px solid var(--atf-border);white-space:nowrap}
.atf-badge--confirmed,.atf-badge--paid,.atf-badge--active{background:#EAF8F0;border-color:#BFE3CE;color:#155C39}
.atf-badge--pending_payment,.atf-badge--pending,.atf-badge--awaiting_verification,.atf-badge--requested{background:#FFF7E6;border-color:#F0DBAF;color:#7A4B00}
.atf-badge--cancelled,.atf-badge--failed,.atf-badge--expired,.atf-badge--refunded,.atf-badge--no_show{background:#FFF1F1;border-color:#EFC3C3;color:#7C1414}
.atf-badge--completed{background:#EFF9FE;border-color:#C7E3F2;color:#12425C}

/* account */
.atf-account-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.atf-account-head h2{margin-bottom:4px}
.atf-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--atf-border);margin:0 0 20px;padding:0}
.atf-tabs a{display:inline-block;padding:10px 14px;border-bottom:2px solid transparent;text-decoration:none;color:var(--atf-muted);font-weight:600;font-size:14px}
.atf-tabs a:hover{color:var(--atf-heading)}
.atf-tabs a.is-active{border-bottom-color:var(--atf-accent);color:var(--atf-accent-strong)}
.atf-empty{border:1px dashed var(--atf-border);border-radius:14px;padding:24px;background:#FBFEFF;color:var(--atf-muted)}
.atf-list{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:8px}
.atf-list li{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--atf-border);flex-wrap:wrap}
.atf-list li:last-child{border-bottom:0}
.atf-progress{height:8px;border-radius:999px;background:var(--atf-surface);overflow:hidden;margin:10px 0 6px}
.atf-progress span{display:block;height:100%;background:var(--atf-accent);transition:width .4s var(--atf-ease)}
.atf-course-mini{display:flex;flex-direction:column;align-items:flex-start}
.atf-course-mini .atf-btn{margin-top:auto}

/* directory */
.atf-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin:0 0 24px;padding:16px;background:#fff;border:1px solid var(--atf-border);border-radius:14px}
.atf-filters .atf-field{min-width:180px;flex:1}
.atf-filters .atf-btn{flex:none}
.atf-tutor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.atf-tutor-card{display:flex;flex-direction:column;align-items:flex-start}
.atf-tutor-card .atf-btn{margin-top:auto}
.atf-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--atf-surface);border:1px solid var(--atf-border);font-family:Sora,sans-serif;font-weight:700;color:var(--atf-heading);margin-bottom:12px}
.atf-tags{font-size:13px;color:var(--atf-accent-strong);font-weight:600}
.atf-profile{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.atf-service-list{list-style:none;padding:0;margin:0;display:grid;gap:0}
.atf-service-list li{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--atf-border);flex-wrap:wrap}
.atf-service-list li:last-child{border-bottom:0}
.atf-service-list small{color:var(--atf-muted)}

/* courses */
.atf-course-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.atf-course-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.atf-course-card h3,.atf-course-card p,.atf-course-card .atf-btn{margin-left:20px;margin-right:20px}
.atf-course-card h3{margin-top:18px}
.atf-course-card .atf-btn{margin-bottom:20px;margin-top:auto;align-self:flex-start}
.atf-course-thumb{aspect-ratio:16/9;overflow:hidden;background:var(--atf-surface)}
.atf-course-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.atf-course-purchase{margin-top:20px;padding-top:18px;border-top:1px solid var(--atf-border)}
.atf-course-price{font-family:Sora,sans-serif;font-size:26px;font-weight:700;color:var(--atf-heading);margin:0 0 12px}
.atf-course-purchase .atf-btn{width:100%}

/* checkout */
.atf-checkout-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
.atf-pay-options{display:grid;gap:16px;margin-top:18px}
.atf-manual{border:1px solid var(--atf-border);border-radius:14px;padding:18px;background:#FBFEFF}
.atf-instructions{background:#fff;border:1px solid var(--atf-border);border-radius:10px;padding:12px;font-size:14px;margin-bottom:12px}
.atf-steps-list{padding-left:20px;margin:0 0 12px}
.atf-steps-list li{margin-bottom:8px}

/* availability */
.atf-avail-rows{display:grid;gap:8px;margin:0 0 16px}
.atf-avail-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.atf-avail-row select,.atf-avail-row input{border:1px solid var(--atf-border);border-radius:3px;padding:8px;font-size:14px;background:#fff;min-height:38px}

/* contact */
.atf-contact-form{max-width:640px}

/* responsive */
@media (max-width:960px){
	.atf-profile,.atf-checkout-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
	.atf-card,.atf-panel,.atf-wizard{padding:20px}
	.atf-page h2{font-size:28px}
	.atf-steps{gap:4px}
	.atf-steps li{font-size:12px;padding:4px 8px}
	.atf-steps li span{width:20px;height:20px}
	.atf-table th:nth-child(n+4),.atf-table td:nth-child(n+4){font-size:13px}
	.atf-review dl{grid-template-columns:1fr}
	.atf-checkout-grid,.atf-cards,.atf-tutor-grid{grid-template-columns:1fr}
	.atf-account-head{flex-direction:column}
	.atf-btn{width:100%}
	.atf-step-actions .atf-btn,.atf-filters .atf-btn,.atf-inline-form .atf-btn{width:auto}
}
@media (prefers-reduced-motion:reduce){
	.atf-page *,.atf-page *::before,.atf-page *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* Theme header: signed-in users get account/logout links in the menu instead of
   the guest Log in / Register buttons. */
body.atf-logged-in .builder-item--button_base,
body.atf-logged-in .builder-item--button_base2{display:none}
.atf-nav-logout a{color:#9E1B1B!important}

/* Reversible hide for legacy blocks that cannot be verified or that advertise retired services. */
.atf-hide{display:none!important}


/* If scripting is unavailable, never leave Elementor animation blocks hidden. */
@media (scripting: none){.elementor-invisible{visibility:visible!important;opacity:1!important}}


/* Elementor image-carousel slides must not widen the document. */
.elementor-image-carousel-wrapper,.elementor-widget-image-carousel .swiper{overflow:hidden!important}


/* Platform pages need the wide content container; the theme's default 992px page shell is too narrow for booking, catalog and dashboard layouts. */
body.atf-platform-page .container-page .boxes-content{max-width:1240px}
body.atf-platform-page .the-content{max-width:none}
.atf-page h1.atf-h1{font-family:Sora,"DM Sans",sans-serif;color:var(--atf-heading);line-height:1.1;margin:0 0 .5em;font-size:clamp(30px,3.4vw,44px)}


/* Policy and FAQ pages */
.atf-legal{max-width:880px}
.atf-legal h2{font-size:24px;margin-top:0}
.atf-legal ul{padding-left:22px;margin:0 0 1em}
.atf-legal li{margin-bottom:6px}
.atf-faq{border-bottom:1px solid var(--atf-border);padding:12px 0}
.atf-faq:last-child{border-bottom:0}
.atf-faq summary{cursor:pointer;font-weight:600;color:var(--atf-heading);font-size:16px}
.atf-faq summary:focus-visible{outline:3px solid var(--atf-accent);outline-offset:2px}
.atf-faq p{margin:10px 0 4px;color:var(--atf-text)}


/* Platform pages carry their own H1; hide the theme title band to avoid a duplicate heading and dead space. */
body.atf-platform-page .boxes-header{display:none}
body.atf-platform-page .container-page{padding-top:28px}


/* Guest login button: readable on the transparent header over the hero artwork. */
.builder-item--button_base2 .button{background:#fff!important;color:#222527!important;border:1px solid #D8D8E6!important;border-radius:10px!important;padding:10px 18px!important}
.builder-item--button_base2 .button:hover{background:#EFF9FE!important;color:#1C3B88!important}


/* Document-level guard against carousel slide overflow on the home page. */
body{overflow-x:clip}
.swiper{overflow:hidden!important}
.item--inner.builder-item--button_base2 .button{background:#fff!important;color:#222527!important;border:1px solid #D8D8E6!important;border-radius:10px!important;padding:10px 18px!important}
.item--inner.builder-item--button_base2 .button:hover{background:#EFF9FE!important;color:#1C3B88!important}


html{overflow-x:hidden}


/* Mobile header: keep the logo and menu button, move account actions into the menu. */
@media (min-width:769px){.atf-mobile-only{display:none!important}}
@media (max-width:768px){
 body .builder-item--button_base,body .builder-item--button_base2{display:none!important}
 .solace-site-logo{max-width:140px!important;height:auto!important}
}


/* Dense desktop nav: keep all primary items on one line without changing the typeface. */
@media (min-width:992px){.builder-item--primary-menu{--spacing:10px!important;--font-size:14px!important}}



/* Release 15: collapsible subject groups in application and profile forms. */
.atf-subject-group { border: 1px solid #e1e7e6; border-radius: 10px; padding: 10px 14px; margin: 0 0 10px; background: #fff; }
.atf-subject-group > summary { cursor: pointer; padding: 2px 0; }
.atf-subject-group > summary:focus-visible { outline: 3px solid rgba(14,122,99,.45); outline-offset: 2px; border-radius: 6px; }
.atf-subject-group[open] > summary { margin-bottom: 8px; border-bottom: 1px solid #edf1f1; padding-bottom: 8px; }
.atf-subject-group .atf-check { display: inline-flex; margin: 0 16px 6px 0; }
.atf-price-live { margin: 6px 0 0; font-weight: 600; color: #075445; font-size: .95rem; }
.atf-price-live:empty { display: none; }
