/* FrontidaMazi Connect v0.1.0 — scoped, compatible with WoodMart/Elementor */
.fmm-wrap,.fmm-hero{--fmm-forest:#346d60;--fmm-deep:#245247;--fmm-sage:#eaf1ed;--fmm-sand:#f8f5ee;--fmm-peach:#c58a6f;--fmm-ink:#243631;--fmm-border:#e1e7e0;color:var(--fmm-ink);font-size:16px;line-height:1.6;font-family:inherit}
.fmm-wrap{max-width:1120px;margin:30px auto 65px;padding:0 16px;box-sizing:border-box}
.fmm-wrap *,.fmm-hero *{box-sizing:border-box}
.fmm-head{margin:0 0 26px;padding-bottom:18px;border-bottom:1px solid var(--fmm-border)}
.fmm-head h2{font-size:clamp(26px,3.5vw,38px);line-height:1.25;letter-spacing:-.03em;margin:0 0 9px;color:var(--fmm-deep);font-weight:700}
.fmm-head p{font-size:16px;color:#61716b;margin:0;max-width:780px}
.fmm-wrap h3{font-size:22px;line-height:1.3;color:var(--fmm-forest);font-weight:700;margin:26px 0 13px}
.fmm-form{padding:22px;background:#fff;border:1px solid var(--fmm-border);border-radius:18px;box-shadow:0 4px 18px rgba(28,59,48,.035);display:grid;gap:20px}
.fmm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fmm-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:15px;font-weight:600}
.fmm-field span{color:#344942}.fmm-field b{color:#bd6c52}
.fmm-wrap input[type="text"],.fmm-wrap input[type="password"],.fmm-wrap input[type="email"],.fmm-wrap input[type="tel"],.fmm-wrap input[type="time"],.fmm-wrap input[type="number"],.fmm-wrap input[type="search"],.fmm-wrap textarea,.fmm-wrap select{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd7ce;border-radius:9px;background:#fff;color:#233831;font:inherit;font-size:16px;outline-offset:3px;box-shadow:none;max-width:100%}
.fmm-wrap textarea{min-height:100px;resize:vertical}
.fmm-wrap :is(input,textarea,select):focus-visible{outline:2px solid var(--fmm-forest);border-color:var(--fmm-forest)}
.fmm-wrap :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--fmm-forest);width:17px;height:17px;flex:0 0 17px;margin:2px 0 0}
.fmm-fieldset{border:1px solid var(--fmm-border);border-radius:13px;margin:0;padding:14px 16px 15px;min-width:0;background:#fff}
.fmm-fieldset legend{width:auto;font-size:16px;font-weight:700;padding:0 8px;color:#315a4e}
.fmm-services{display:grid;gap:15px}
.fmm-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.fmm-check,.fmm-choice label{display:flex;align-items:flex-start;gap:9px;font-size:15px;font-weight:400;line-height:1.4;cursor:pointer;margin:0;color:#2b4039}
.fmm-choice{display:flex;flex-wrap:wrap;gap:16px 25px}
.fmm-btn,.fmm-wrap button.fmm-btn,.fmm-hero a.fmm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 21px;border-radius:9px;background:var(--fmm-forest);border:1px solid var(--fmm-forest);color:#fff!important;font-family:inherit;font-size:15px;font-weight:700;text-align:center;text-decoration:none!important;line-height:1.3;cursor:pointer;transition:background .15s,border-color .15s;box-shadow:none}
.fmm-btn:hover,.fmm-wrap button.fmm-btn:hover{background:var(--fmm-deep);border-color:var(--fmm-deep);color:#fff!important}
.fmm-btn.fmm-outline{background:transparent;color:var(--fmm-forest)!important}
.fmm-btn.fmm-outline:hover{background:var(--fmm-sage)}
.fmm-btn.fmm-light{background:var(--fmm-sage);color:var(--fmm-deep)!important;border-color:var(--fmm-sage)}
.fmm-btn.fmm-light:hover{background:#dce8df}
.fmm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}
.fmm-small{font-size:14px!important;line-height:1.5;color:#596d65}
.fmm-warning{border:1px solid #e7d9b7;border-radius:10px;background:#fffaf0;padding:12px 15px;color:#76592c;font-size:14px}
.fmm-notice{padding:13px 16px;margin:12px 0 24px;border-radius:10px;border:1px solid}
.fmm-notice.fmm-ok{background:#edf7f0;color:#2a6941;border-color:#badcc5}
.fmm-notice.fmm-error{background:#fff2ed;color:#9a452e;border-color:#e4b7a4}
.fmm-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.fmm-search{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;background:var(--fmm-sand);border:1px solid #e9e5da;border-radius:15px;padding:17px;margin-bottom:18px}
.fmm-count{margin:0 0 14px;color:#5a6e65;font-size:14px}
.fmm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fmm-card{border:1px solid var(--fmm-border);border-radius:15px;padding:20px;background:#fff;box-shadow:0 3px 18px rgba(35,63,49,.045);min-width:0}
.fmm-card-top{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;margin-bottom:15px;flex-wrap:wrap}.fmm-card-head{display:flex;align-items:center;gap:14px;min-width:0}.fmm-card-ident{min-width:0}
.fmm-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--fmm-forest)}
.fmm-card h3{font-size:21px;margin:5px 0 4px;line-height:1.3;color:var(--fmm-ink)}
.fmm-card p{margin:7px 0;font-size:15px}
.fmm-chip{font-size:11px;border:1px solid #c9e4d6;background:#eef7ef;color:#36724e;padding:5px 8px;border-radius:99px;white-space:nowrap}
.fmm-avatar{width:72px;height:72px;flex:0 0 72px;border-radius:50%;display:grid;place-items:center;border:1px solid #d6e4dc;background:linear-gradient(145deg,#f0f6f1,#fcfdfb);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.fmm-avatar span{font-size:36px;line-height:1}.fmm-avatar-male{background:linear-gradient(145deg,#eaf2fb,#f9fcff);border-color:#d6e2f0}.fmm-avatar-female{background:linear-gradient(145deg,#fbeef2,#fffafc);border-color:#efd7df}.fmm-avatar-neutral{background:linear-gradient(145deg,#eef1f2,#fbfcfc)}
.fmm-tags{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 15px}
.fmm-tag{font-size:12px;background:#f2f5f0;padding:5px 9px;border-radius:999px;color:#416455}
.fmm-desc{white-space:pre-line;color:#465e53;overflow-wrap:anywhere}
.fmm-contact{margin-top:15px;padding:12px;border-radius:10px;background:var(--fmm-sand);border:1px solid #e8e5d8}
.fmm-contact summary{color:var(--fmm-forest);font-size:14px;font-weight:700;cursor:pointer;list-style-position:inside}
.fmm-contact form{display:grid;gap:11px;margin:14px 0 0}
.fmm-contact .fmm-btn{justify-self:start}
.fmm-empty{background:var(--fmm-sand);padding:25px;border-radius:12px;grid-column:1/-1}
.fmm-pagination{display:flex;gap:7px;justify-content:center;margin:24px auto}
.fmm-pagination a{display:grid;place-items:center;min-width:35px;min-height:35px;padding:4px;border:1px solid var(--fmm-border);border-radius:8px;color:var(--fmm-forest);text-decoration:none!important}
.fmm-pagination a[aria-current]{background:var(--fmm-forest);color:#fff}
.fmm-account-items{display:grid;gap:10px}
.fmm-account-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid var(--fmm-border);border-radius:11px}
.fmm-account-item p{margin:4px 0 0}
.fmm-message{border:1px solid var(--fmm-border);border-radius:12px;padding:14px 16px;margin-bottom:12px;overflow-wrap:anywhere}
.fmm-message>p{margin:6px 0}
.fmm-hero{margin:24px 0;border-radius:26px;padding:clamp(30px,6vw,75px);background:linear-gradient(115deg,#e7eee6 0%,#faf7ee 62%,#f3e6db 100%);text-align:center;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.fmm-hero h1{font-size:clamp(28px,4.5vw,52px);line-height:1.15;color:var(--fmm-deep);margin:0;max-width:810px;letter-spacing:-.035em}
.fmm-hero p{font-size:clamp(16px,1.7vw,19px);line-height:1.65;max-width:710px;margin:0;color:#4f685c}
.fmm-hero .fmm-actions{justify-content:center}
.fmm-wrap #loginform{max-width:480px;border:1px solid var(--fmm-border);padding:25px;border-radius:15px;background:#fff}
.fmm-wrap #loginform p{display:flex;flex-direction:column;gap:6px}
.fmm-wrap #loginform p.login-remember{display:block}
.fmm-wrap #loginform input[type="submit"]{background:var(--fmm-forest);border:0;color:#fff;padding:10px 25px;border-radius:8px;cursor:pointer}
@media(max-width:780px){.fmm-grid,.fmm-cards{grid-template-columns:1fr}.fmm-search{grid-template-columns:1fr}.fmm-check-grid{grid-template-columns:1fr}.fmm-form{padding:17px}.fmm-wrap{margin:20px auto 45px}.fmm-card{padding:17px}.fmm-hero{border-radius:17px}.fmm-head h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.fmm-btn{transition:none}}

/* v0.2.0 — homepage + guided matching. Everything scoped to the plugin. */
.fmm-home{--fmm-forest:#346d60;--fmm-deep:#245247;--fmm-sage:#eaf1ed;--fmm-sand:#f8f5ee;--fmm-peach:#c58a6f;--fmm-ink:#243631;--fmm-border:#e1e7e0;color:var(--fmm-ink);font:inherit;font-size:16px;line-height:1.65;max-width:1320px;margin:0 auto 70px;padding:0 16px}
.fmm-home *, .fmm-home *::before, .fmm-home *::after{box-sizing:border-box}
.fmm-home :is(h1,h2,h3,p,ul){margin-top:0}
.fmm-home .fmm-hero{margin:26px 0 36px;position:relative;isolation:isolate;overflow:hidden;padding:clamp(42px,7vw,90px) clamp(24px,6vw,70px);border:1px solid #e2e9df;background:radial-gradient(circle at 6% 20%,rgba(216,233,210,.65),transparent 36%),radial-gradient(circle at 95% 92%,rgba(249,218,196,.65),transparent 38%),linear-gradient(115deg,#ecf4eb,#fbf8f1);min-height:420px}
.fmm-home .fmm-hero::before,.fmm-home .fmm-hero::after{content:"";position:absolute;z-index:-1;width:300px;height:300px;border:1px solid rgba(85,131,112,.13);border-radius:50%;pointer-events:none}
.fmm-home .fmm-hero::before{top:-170px;right:-85px}.fmm-home .fmm-hero::after{bottom:-240px;left:-90px;width:420px;height:420px}
.fmm-home .fmm-hero h1{font-size:clamp(32px,5vw,60px);max-width:850px;line-height:1.15}
.fmm-home .fmm-hero p{max-width:745px;font-size:clamp(16px,1.65vw,19px);line-height:1.65}
.fmm-home .fmm-hero .fmm-actions{margin:8px 0 2px}
.fmm-home .fmm-btn{min-height:48px;padding:12px 22px;text-decoration:none!important}
.fmm-hero-fine{font-size:13px;color:#5a766a;margin-top:4px}
.fmm-home-section{padding:50px 0}
.fmm-section-head{text-align:center;max-width:790px;margin:0 auto 27px}
.fmm-section-head h2,.fmm-home-cta h2{font-weight:750;color:var(--fmm-deep);font-size:clamp(27px,3vw,39px);line-height:1.22;letter-spacing:-.03em;margin:6px 0 12px}
.fmm-section-head p{font-size:16px;color:#62736b;margin:0}
.fmm-path-grid,.fmm-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.fmm-path-card{background:#fff;border:1px solid var(--fmm-border);border-radius:22px;padding:clamp(24px,3.1vw,38px);box-shadow:0 12px 35px rgba(24,52,42,.06);display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.fmm-path-family{background:linear-gradient(145deg,#f4f8f1 0%,#fff 62%)}
.fmm-path-caregiver{background:linear-gradient(145deg,#fbf3eb 0%,#fff 62%)}
.fmm-path-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#dfece2;color:#316d58;font-size:35px;line-height:1;margin-bottom:17px}
.fmm-path-caregiver .fmm-path-icon{background:#fae6da;color:#a5694d}
.fmm-path-card h3{font-size:27px;line-height:1.2;color:var(--fmm-deep);margin:0 0 12px}
.fmm-path-card p{font-size:16px;color:#5a6c63;line-height:1.7;margin-bottom:16px}
.fmm-path-card ul{padding:0 0 0 20px;margin:0 0 24px;color:#445b50;line-height:1.8}
.fmm-path-card .fmm-btn{margin-top:auto}
.fmm-home-soft{border-radius:26px;background:#f8f8f4;padding:44px clamp(18px,3vw,38px)}
.fmm-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.fmm-service-tile{border:1px solid #e6eae2;border-radius:17px;padding:22px 19px;background:#fff;min-width:0}
.fmm-service-icon{display:grid;place-items:center;font-size:27px;width:47px;height:47px;border-radius:13px;background:#e9f2eb;color:#36725b;margin-bottom:17px}
.fmm-service-tile h3{font-size:18px;line-height:1.35;color:#315d4f;margin:0 0 9px}
.fmm-service-tile p{color:#5a6d62;font-size:14px;line-height:1.6;margin:0}
.fmm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fmm-step{padding:25px 24px;background:#fff;border:1px solid var(--fmm-border);border-radius:17px;min-width:0}
.fmm-step-num{color:#bd866a;font-size:30px;letter-spacing:-.05em;font-weight:800;display:block;margin-bottom:10px}
.fmm-step h3{font-size:20px;color:var(--fmm-deep);line-height:1.3;margin:0 0 10px}
.fmm-step p{color:#5a6e64;font-size:15px;line-height:1.65;margin:0}
.fmm-home-cta{display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:24px;background:#e9f0e8;padding:clamp(26px,4vw,55px);margin-top:16px}
.fmm-home-cta>div:first-child{max-width:720px}
.fmm-home-cta h2{margin:5px 0 8px}
.fmm-home-cta p{color:#556f62;font-size:16px;margin:0}
.fmm-home-cta .fmm-actions{justify-content:flex-end;min-width:230px}
.fmm-home-disclaimer{margin:21px 0 0!important;text-align:center;font-size:13px!important;color:#66786f;line-height:1.7}
.fmm-search{grid-template-columns:1fr 1fr 1fr auto}
.fmm-match-chooser{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:15px}
.fmm-match-chooser a{border:1px solid var(--fmm-border);border-radius:9px;padding:7px 11px;font-size:13px;text-decoration:none!important}
.fmm-match-chooser a[aria-current]{background:var(--fmm-sage);border-color:#9ebfad;color:var(--fmm-deep);font-weight:700}
.fmm-match-intro{border-radius:13px;background:#f7f8f3;padding:15px 19px;margin:15px 0 22px}
.fmm-match-intro .fmm-tags{margin:8px 0}
.fmm-matched-card{min-width:0}
.fmm-matched-card .fmm-card{border-radius:0 0 15px 15px;border-top:0;min-height:100%}
.fmm-match-label{background:#e9f1eb;border:1px solid #d6e6d8;border-radius:15px 15px 0 0;font-size:13px;font-weight:700;color:#2b634b;padding:9px 15px}
.fmm-account-links{display:flex;flex-wrap:wrap;gap:12px;font-size:14px}
@media(max-width:960px){.fmm-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fmm-home-cta{flex-direction:column;align-items:flex-start}.fmm-home-cta .fmm-actions{justify-content:flex-start}.fmm-search{grid-template-columns:repeat(2,minmax(0,1fr))}.fmm-search .fmm-btn{align-self:end}}
@media(max-width:640px){.fmm-home{padding:0 12px}.fmm-home .fmm-hero{min-height:auto;padding:40px 21px;margin-top:16px}.fmm-home .fmm-hero h1{font-size:33px}.fmm-home .fmm-hero .fmm-actions{width:100%}.fmm-home .fmm-hero .fmm-btn{width:100%}.fmm-home-section{padding:34px 0}.fmm-path-grid,.fmm-service-grid,.fmm-steps{grid-template-columns:1fr}.fmm-home-soft{padding:30px 17px}.fmm-path-card{padding:24px}.fmm-search{grid-template-columns:1fr}.fmm-match-chooser{align-items:stretch}.fmm-home-cta .fmm-actions{width:100%}.fmm-home-cta .fmm-btn{width:100%}}

/* v0.3.0 — account verification, request lifecycle. */
.fmm-inline-form{display:inline-flex;align-items:center;margin:0}
.fmm-text-button{padding:0;border:0;background:none;color:var(--fmm-forest);font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.fmm-text-button:hover{color:var(--fmm-deep)}
.fmm-warning .fmm-inline-form{margin-top:10px}
.fmm-account-links .fmm-inline-form{flex:0 0 auto}

/* v0.3.1 — caregiver age-group filter, preserving WoodMart styles. */
.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:repeat(4,minmax(0,1fr)) auto}
.fmm-wrap .fmm-search.fmm-search-age>.fmm-btn{white-space:nowrap}
@media(max-width:1060px){.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:repeat(2,minmax(0,1fr))}.fmm-wrap .fmm-search.fmm-search-age>.fmm-btn{grid-column:1/-1}}
@media(max-width:780px){.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:1fr}}

/* v0.3.2 — fixed Evia region and searchable locality dropdown. */
.fmm-wrap input[name="region"][readonly]{background:#eef3ee;color:#375449;cursor:not-allowed;font-weight:700}
.fmm-wrap .fmm-locality-picker .fmm-locality-filter{min-height:40px;background:#fafcf9;margin-bottom:2px}
.fmm-wrap .fmm-locality-picker .fmm-locality-select{min-height:46px}
.fmm-wrap .fmm-locality-picker .fmm-small{font-weight:400}

/* v0.3.3 — caregiver languages, optional country and radius; responsive filters. */
.fmm-wrap .fmm-language-grid{margin-top:10px}
.fmm-wrap .fmm-language-grid .fmm-check{min-height:34px}
.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:repeat(5,minmax(0,1fr)) auto}
@media(max-width:1200px){.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:repeat(3,minmax(0,1fr))}.fmm-wrap .fmm-search.fmm-search-age>.fmm-btn{grid-column:1/-1}}
@media(max-width:850px){.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fmm-wrap .fmm-search.fmm-search-age{grid-template-columns:1fr}}


/* v0.3.6 — compact caregiver cards and dedicated full profile */
.fmm-wrap .fmm-card-more{margin:16px 0 0}
.fmm-wrap .fmm-card-more .fmm-btn{gap:10px}
.fmm-wrap .fmm-profile-detail{max-width:870px;margin:0 auto}
.fmm-wrap .fmm-profile-detail .fmm-card{padding:clamp(20px,3vw,36px);box-shadow:0 7px 24px rgba(35,63,49,.065)}
.fmm-wrap .fmm-profile-back{max-width:870px;margin:20px auto}
@media(max-width:620px){.fmm-wrap .fmm-card-more .fmm-btn{width:100%}.fmm-wrap .fmm-profile-detail .fmm-card{padding:18px}}
