/* FMGuru – Il mio account (snippet 118922) */
.fmg-acc{--n:#102236;--b:#075FFF;--t:#40536D;--m:#6B7785;--bd:#E6E9ED;--bg:#F7F9FC;--bs:#EDF4FF;--bb:#DCE6F5;--r:#E52B36;--g:#12805C;color:var(--t);font-size:16px;line-height:1.55}
.fmg-acc *{box-sizing:border-box}
.fmg-acc h2,.fmg-acc h3{color:var(--n);margin:0;letter-spacing:-.01em}
.fmg-acc a{text-decoration:none}
.fmg-acc-kick{margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--b)}

/* Intestazione */
.fmg-acc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.fmg-acc-head h2{font-size:32px;font-weight:800;line-height:1.15}
.fmg-acc-who{margin:0;font-size:14px;color:var(--m)}

/* Riprendi da qui */
.fmg-acc-resume{display:flex;gap:22px;align-items:center;padding:22px;border-radius:12px;background:linear-gradient(135deg,#102236,#25374A);color:#DCE6F5;margin:0 0 18px}
.fmg-acc-resume-img{flex:0 0 42%;max-width:260px;border-radius:8px;overflow:hidden;display:block;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.fmg-acc-resume-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.fmg-acc-resume-body{flex:1;min-width:0}
.fmg-acc-resume .fmg-acc-kick{color:#8FB4FF}
.fmg-acc-resume h3{color:#fff;font-size:21px;line-height:1.3;margin:0 0 14px}
.fmg-acc-resume-meta{margin:8px 0 16px;font-size:14px;color:#DCE6F5}
.fmg-acc-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.fmg-acc-bar span{display:block;height:100%;min-width:4px;border-radius:99px;background:#4C8DFF}
.fmg-acc-bar.is-sm{height:5px;background:var(--bd)}
.fmg-acc-bar.is-sm span{background:var(--b)}

/* Bottoni */
.fmg-acc-btn{display:inline-block;padding:11px 20px;border-radius:6px;background:var(--b);color:#fff!important;font-size:15px;font-weight:700;line-height:1.2;transition:background .15s}
.fmg-acc-btn:hover{background:var(--n)}
.fmg-acc-btn.is-light{background:#fff;color:var(--n)!important}
.fmg-acc-btn.is-light:hover{background:var(--bs)}

/* Coaching */
.fmg-acc-coach{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid var(--bb);border-radius:10px;background:var(--bs);margin:0 0 18px}
.fmg-acc-coach p{margin:0;font-size:14px}
.fmg-acc-coach .fmg-acc-coach-t{font-size:17px;font-weight:700;color:var(--n);margin:0 0 2px}

/* Sezioni */
.fmg-acc-sec{margin:30px 0 0}
.fmg-acc-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 14px}
.fmg-acc-sec-head h2{font-size:24px;font-weight:800}
.fmg-acc-sec-head > a{font-size:14px;font-weight:700;color:var(--b);white-space:nowrap}

/* I tuoi corsi */
.fmg-acc-courses,.fmg-acc-orders{list-style:none;margin:0;padding:0;border:1px solid var(--bd);border-radius:10px;overflow:hidden;background:#fff}
.fmg-acc-courses li{display:flex;align-items:center;gap:14px;padding:12px 16px;border-top:1px solid var(--bd);margin:0}
.fmg-acc-courses li:first-child{border-top:0}
.fmg-acc-c-img{flex:0 0 64px;height:40px;border-radius:6px;overflow:hidden;background:var(--bs);display:block}
.fmg-acc-c-img img{width:100%;height:100%;object-fit:cover;display:block}
.fmg-acc-c-body{flex:1;min-width:0}
.fmg-acc-c-title{display:block;color:var(--n)!important;font-weight:700;font-size:15px;line-height:1.35;margin:0 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fmg-acc-c-title:hover{color:var(--b)!important}
.fmg-acc-c-pct{flex:0 0 auto;font-size:13px;font-weight:700;color:var(--m);min-width:44px;text-align:right}

/* Per te */
.fmg-acc-offers{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.fmg-acc-offer{display:flex;flex-direction:column;background:#fff;border:1px solid var(--bd);border-top:5px solid var(--b);border-radius:10px;overflow:hidden}
.fmg-acc-offer.is-green{border-top-color:var(--g)}
.fmg-acc-offer.is-red{border-top-color:var(--r)}
.fmg-acc-offer.is-navy{border-top-color:var(--n)}
.fmg-acc-offer-img{display:block;background:var(--bs)}
.fmg-acc-offer-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.fmg-acc-offer-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 20px 20px;flex:1}
.fmg-acc-offer-kick{margin:0;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--b)}
.is-green .fmg-acc-offer-kick{color:var(--g)}
.is-red .fmg-acc-offer-kick{color:var(--r)}
.is-navy .fmg-acc-offer-kick{color:var(--n)}
.fmg-acc-offer h3{font-size:18px;font-weight:700;line-height:1.3}
.fmg-acc-offer-text{margin:0;font-size:14.5px}
.fmg-acc-offer-list{margin:0;padding:0 0 0 18px;font-size:14.5px}
.fmg-acc-offer-list li{margin:2px 0}
.fmg-acc-offer-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:auto;padding-top:4px}
.fmg-acc-offer .fmg-acc-btn{margin-top:6px}
.fmg-acc-offer-meta + .fmg-acc-btn{margin-top:4px}
.fmg-acc-offer-body > .fmg-acc-btn:only-of-type{margin-top:auto}
.fmg-acc-price del{color:var(--m);font-size:14px}
.fmg-acc-price b{color:var(--n);font-size:20px;font-weight:800}
.fmg-acc-price small{color:var(--m);font-size:12px}
.fmg-acc-free{font-weight:800;color:var(--g)}
.fmg-acc-cd{font-size:13px;font-weight:700;color:var(--r)}
.fmg-acc-cd:empty{display:none}
.fmg-acc-events{list-style:none;margin:2px 0 0;padding:0;width:100%}
.fmg-acc-events li{display:flex;gap:12px;padding:10px 0;border-top:1px solid var(--bd);margin:0}
.fmg-acc-events li:first-child{border-top:0;padding-top:2px}
.fmg-acc-ev-when{flex:0 0 74px;font-size:13px;font-weight:800;color:var(--n);text-transform:uppercase;line-height:1.3}
.fmg-acc-ev-what{display:flex;flex-direction:column;font-size:14.5px;line-height:1.4}
.fmg-acc-ev-what b{color:var(--n)}
.fmg-acc-ev-what small{color:var(--m);font-size:13px}
.fmg-acc-ev-what a{font-size:14px;font-weight:700;color:var(--b);margin-top:3px}

/* Ordini */
.fmg-acc-orders li{border-top:1px solid var(--bd);margin:0}
.fmg-acc-orders li:first-child{border-top:0}
.fmg-acc-orders a{display:grid;grid-template-columns:1fr auto auto;grid-template-areas:"n p t" "d p t";gap:2px 14px;align-items:center;padding:12px 16px;color:var(--t)}
.fmg-acc-orders a:hover{background:var(--bg)}
.fmg-acc-o-n{grid-area:n;font-weight:700;color:var(--n);font-size:15px}
.fmg-acc-o-d{grid-area:d;font-size:13px;color:var(--m)}
.fmg-acc-o-t{grid-area:t;font-weight:700;color:var(--n);font-size:15px;text-align:right}
.fmg-acc-pill{grid-area:p;font-size:12px;font-weight:700;padding:3px 10px;border-radius:99px;background:var(--bg);color:var(--m);border:1px solid var(--bd)}
.fmg-acc-pill.is-completed{background:#E8F5EF;color:var(--g);border-color:#CDE9DC}
.fmg-acc-pill.is-processing,.fmg-acc-pill.is-on-hold{background:var(--bs);color:var(--b);border-color:var(--bb)}
.fmg-acc-pill.is-cancelled,.fmg-acc-pill.is-failed,.fmg-acc-pill.is-refunded{background:#FDECEC;color:var(--r);border-color:#F7CFD1}

/* Scheda I miei corsi */
.fmg-acc-corsi .fmg-acc-sec-head{margin-bottom:18px}
.fmg-acc-corsi .fmg-acc-sec-head h2{font-size:28px}

/* Mobile */
@media (max-width:640px){
	.fmg-acc-head h2{font-size:27px}
	.fmg-acc-resume{flex-direction:column;align-items:stretch;padding:18px;gap:16px}
	.fmg-acc-resume-img{flex:none;max-width:none}
	.fmg-acc-coach{flex-direction:column;align-items:flex-start}
	.fmg-acc-sec-head h2{font-size:21px}
	.fmg-acc-offers{grid-template-columns:1fr}
	.fmg-acc-courses li{padding:12px}
	.fmg-acc-c-img{flex-basis:52px;height:34px}
	.fmg-acc-orders a{grid-template-columns:1fr auto;grid-template-areas:"n t" "d p"}
	.fmg-acc-pill{justify-self:end}
}

/* Icona voce di menu I miei corsi (bb-icons book-open) */
.woocommerce-MyAccount-navigation-link--i-miei-corsi a:before{content:"\e96f"}

/* Pagina d'accesso (ospiti) */
.fmg-login{max-width:1040px;margin:0 auto}
.fmg-login-hero{text-align:center;margin:8px auto 28px;max-width:680px}
.fmg-login-hero h2{font-size:36px;font-weight:800;line-height:1.15;margin:0 0 10px}
.fmg-login-lead{margin:0;font-size:18px;font-weight:600;color:var(--t)}
.fmg-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.fmg-login-grid.is-single{grid-template-columns:minmax(0,480px);justify-content:center}
.fmg-login-card{background:#fff;border:1px solid var(--bd);border-top:5px solid var(--n);border-radius:10px;padding:28px 30px 30px;box-shadow:0 4px 18px rgba(16,34,54,.05)}
.fmg-login-card.is-reg{border-top-color:var(--b)}
.fmg-login-card h3{font-size:24px;font-weight:800;margin:0 0 18px}
.fmg-login .form-row{margin:0 0 14px;padding:0}
.fmg-login label{display:block;font-size:14px;font-weight:700;color:var(--n);margin:0 0 6px}
.fmg-login input.input-text{width:100%;height:46px;padding:10px 14px;border:1px solid var(--bd);border-radius:6px;font-size:16px;background:#fff;box-shadow:none}
.fmg-login input.input-text:focus{border-color:var(--b);outline:0;box-shadow:0 0 0 3px rgba(7,95,255,.15)}
.fmg-login .required{color:var(--r);border:0;text-decoration:none}
.fmg-login-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:2px 0 18px}
.fmg-login .fmg-login-remember{display:flex;align-items:center;gap:8px;margin:0;font-weight:600;color:var(--t);cursor:pointer}
.fmg-login .fmg-login-remember input{margin:0;width:16px;height:16px}
.fmg-login-lost{font-size:14px;font-weight:700;color:var(--b)}
.fmg-login .fmg-login-submit{width:100%;text-align:center;border:0;padding:14px 24px;font-size:16px;cursor:pointer}
.fmg-login-note{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--bd);font-size:14px;color:var(--m)}
.fmg-login-hint{margin:-4px 0 14px;font-size:14px;color:var(--m)}
.fmg-login-benefits{list-style:none;margin:0 0 22px;padding:16px 18px;background:var(--bs);border:1px solid var(--bb);border-radius:8px}
.fmg-login-benefits li{position:relative;margin:0 0 8px;padding-left:26px;font-size:15px;line-height:1.45}
.fmg-login-benefits li:last-child{margin-bottom:0}
.fmg-login-benefits li:before{content:"✓";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:var(--b);color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center}
.fmg-login-benefits strong{color:var(--n)}
.fmg-login .fmg-reg-extra{margin:4px 0 14px!important}
.fmg-login .fmg-reg-news label{font-size:14px;font-weight:400!important;color:var(--t)}
.fmg-login .woocommerce-privacy-policy-text p{font-size:13px;color:var(--m);margin:0 0 16px}
@media (max-width:860px){
	.fmg-login-grid{grid-template-columns:1fr}
	.fmg-login-hero h2{font-size:28px}
	.fmg-login-lead{font-size:16px}
	.fmg-login-card{padding:22px 20px 24px}
}
/* Pagina d'accesso: neutralizza lo stile moduli del tema */
.fmg-login .fmg-login-card form.login,.fmg-login .fmg-login-card form.register{border:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
.fmg-login .fmg-login-card input.input-text{height:46px!important;padding:10px 14px!important;font-size:16px!important;border-radius:6px!important}
.fmg-login .fmg-login-card button.fmg-login-submit{height:auto!important;min-height:50px;padding:14px 24px!important;font-size:16px!important;font-weight:700!important;border-radius:6px!important;line-height:1.2!important}
.fmg-login .fmg-login-card button.fmg-login-submit:hover{background:var(--n)!important}
/* Quiz */
.fmg-acc-q-sum{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.fmg-acc-q-pick{display:flex;gap:20px;align-items:center;padding:20px;border:1px solid var(--bb);border-left:5px solid var(--b);border-radius:10px;background:var(--bs);margin:0 0 14px}
.fmg-acc-q-img{flex:0 0 150px;border-radius:8px;overflow:hidden;display:block;background:#fff}
.fmg-acc-q-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.fmg-acc-q-pick-body{flex:1;min-width:0}
.fmg-acc-q-pick h3{font-size:19px;font-weight:700;line-height:1.3;margin:0 0 6px}
.fmg-acc-q-pick p{margin:0 0 12px;font-size:15px}
.fmg-acc-q-pick .fmg-acc-kick{margin:0 0 4px}
.fmg-acc-q-done{margin:0 0 14px;padding:14px 18px;border-radius:10px;background:#E8F5EF;color:var(--g);font-weight:700}
.fmg-acc-q-list .fmg-acc-o-d b{color:var(--b);font-weight:700}
@media (max-width:640px){
	.fmg-acc-q-pick{flex-direction:column;align-items:stretch;gap:14px}
	.fmg-acc-q-img{flex:none}
}
/* Registrazione unica */
.fmg-login-names{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.fmg-login-card#registrati{scroll-margin-top:110px}
@media (max-width:480px){.fmg-login-names{grid-template-columns:1fr}}

/* Promemoria di studio */
.fmg-acc-nudge{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin:0 0 16px;border-radius:10px;border:1px solid var(--bb);border-left:5px solid var(--b);background:var(--bs)}
.fmg-acc-nudge p{margin:0;font-size:15.5px;color:var(--n)}
.fmg-acc-nudge.is-green{border-left-color:var(--g);background:#E8F5EF;border-color:#CDE9DC}
.fmg-acc-nudge.is-red{border-left-color:var(--r);background:#FDF1F1;border-color:#F7CFD1}
.fmg-acc-nudge .fmg-acc-btn{flex:0 0 auto}
@media (max-width:640px){.fmg-acc-nudge{flex-direction:column;align-items:flex-start}}
