/* OFQM — My Account: Register (left) + Login (right). Brand-matched, responsive. */
.ofqm-auth-shell{max-width:1080px;margin:0 auto;padding:34px 18px 66px;font-family:"Inter",system-ui,-apple-system,sans-serif;}
.ofqm-auth-intro{text-align:center;margin-bottom:30px;}
.ofqm-auth-intro .ofqm-eyebrow{display:inline-block;font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:12px;color:var(--ofqm-red,#c40000);background:rgba(196,0,0,.08);padding:6px 14px;border-radius:999px;margin-bottom:14px;}
.ofqm-auth-intro h1{font-family:"Plus Jakarta Sans",sans-serif;font-weight:900;font-size:clamp(26px,4vw,40px);line-height:1.12;margin:0 0 10px;color:#141414;}
.ofqm-auth-intro h1 .accent{color:var(--ofqm-red,#c40000);}
.ofqm-auth-intro p{color:#5b5b5b;font-size:15px;margin:0;}
.ofqm-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch;}
.ofqm-auth-grid.ofqm-single{grid-template-columns:minmax(0,460px);justify-content:center;}
.ofqm-auth-card{background:#fff;border:1px solid #ececec;border-radius:20px;padding:30px 28px 32px;box-shadow:0 10px 30px rgba(20,20,20,.06);position:relative;overflow:hidden;display:flex;flex-direction:column;}
.ofqm-auth-card::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;}
.ofqm-card-register::before{background:var(--ofqm-red,#c40000);}
.ofqm-card-login::before{background:var(--ofqm-green,#1f8f3a);}
.ofqm-auth-head{display:flex;align-items:center;gap:14px;margin-bottom:22px;}
.ofqm-auth-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:14px;font-size:20px;color:#fff;}
.ofqm-auth-icon.reg{background:var(--ofqm-red,#c40000);}
.ofqm-auth-icon.login{background:var(--ofqm-green,#1f8f3a);}
.ofqm-auth-head h2{font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:22px;margin:0;color:#161616;}
.ofqm-auth-head p{margin:2px 0 0;font-size:13.5px;color:#7a7a7a;}
.ofqm-field{margin:0 0 16px;display:flex;flex-direction:column;}
.ofqm-field label{font-size:13px;font-weight:600;color:#3a3a3a;margin-bottom:7px;}
.ofqm-field .req{color:var(--ofqm-red,#c40000);}
.ofqm-auth-card .input-text{width:100%;padding:13px 15px;border:1.5px solid #e3e3e3;border-radius:12px;font-size:15px;font-family:"Inter",sans-serif;background:#fafafa;transition:border-color .15s,box-shadow .15s,background .15s;box-sizing:border-box;}
.ofqm-auth-card .input-text:focus{outline:none;border-color:var(--ofqm-red,#c40000);background:#fff;box-shadow:0 0 0 4px rgba(196,0,0,.10);}
.ofqm-card-login .input-text:focus{border-color:var(--ofqm-green,#1f8f3a);box-shadow:0 0 0 4px rgba(31,143,58,.12);}
.ofqm-note{font-size:13px;color:#7a7a7a;margin:0 0 16px;}
.ofqm-auth-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 18px;flex-wrap:wrap;}
.ofqm-remember{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#4a4a4a;cursor:pointer;margin:0;}
.ofqm-remember input{width:16px;height:16px;accent-color:var(--ofqm-green,#1f8f3a);}
.ofqm-lost{font-size:13.5px;color:var(--ofqm-green,#1f8f3a);text-decoration:none;font-weight:600;}
.ofqm-lost:hover{text-decoration:underline;}
.ofqm-auth-btn{margin-top:auto;width:100%;border:none;border-radius:12px;padding:14px 18px;font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:15.5px;color:#fff;cursor:pointer;transition:transform .12s ease,filter .15s ease,box-shadow .15s ease;}
.ofqm-auth-btn.btn-register{background:var(--ofqm-red,#c40000);box-shadow:0 8px 18px rgba(196,0,0,.22);}
.ofqm-auth-btn.btn-login{background:var(--ofqm-green,#1f8f3a);box-shadow:0 8px 18px rgba(31,143,58,.22);}
.ofqm-auth-btn:hover{filter:brightness(1.05);transform:translateY(-1px);}
.ofqm-auth-btn:active{transform:translateY(0);}
.woocommerce-account .woocommerce-notices-wrapper{max-width:1080px;margin:0 auto;padding:0 18px;}
@media (max-width:860px){.ofqm-auth-grid{grid-template-columns:1fr;}.ofqm-auth-card{padding:26px 20px 28px;border-radius:16px;}.ofqm-auth-intro{margin-bottom:22px;}}
@media (max-width:420px){.ofqm-auth-shell{padding:22px 12px 48px;}.ofqm-auth-head h2{font-size:20px;}}


/* ===== Logged-in Dashboard ===== */
.ofqm-dash-hello{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #eee;}
.ofqm-dash-eyebrow{font-family:"Plus Jakarta Sans",sans-serif;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ofqm-green,#1f8f3a);}
.ofqm-dash-name{font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:26px;margin:4px 0 0;color:#161616;line-height:1.1;}
.ofqm-dash-logout{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--ofqm-red,#c40000)!important;text-decoration:none!important;border:1.5px solid rgba(196,0,0,.25);padding:9px 16px;border-radius:10px;transition:background .15s,border-color .15s;}
.ofqm-dash-logout:hover{background:rgba(196,0,0,.06);border-color:var(--ofqm-red,#c40000);}
.ofqm-dash-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.ofqm-dash-tile{position:relative;display:flex;flex-direction:column;gap:3px;background:#fafafa;border:1px solid #ececec;border-radius:16px;padding:20px 20px 22px;text-decoration:none!important;transition:transform .14s ease,box-shadow .15s ease,border-color .15s ease;overflow:hidden;}
.ofqm-dash-tile:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(20,20,20,.08);border-color:#e0e0e0;}
.ofqm-dash-ic{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:var(--ofqm-red,#c40000);color:#fff;font-size:19px;margin-bottom:12px;}
.ofqm-dash-tile:nth-child(2) .ofqm-dash-ic{background:var(--ofqm-green,#1f8f3a);}
.ofqm-dash-tile:nth-child(3) .ofqm-dash-ic{background:#161616;}
.ofqm-dash-tile:nth-child(4) .ofqm-dash-ic{background:var(--ofqm-green,#1f8f3a);}
.ofqm-dash-tt{font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:16px;color:#161616!important;}
.ofqm-dash-ts{font-size:13px;color:#7a7a7a!important;}
.ofqm-dash-arrow{position:absolute;top:20px;right:18px;color:#c9c9c9;font-size:14px;transition:transform .15s,color .15s;}
.ofqm-dash-tile:hover .ofqm-dash-arrow{color:var(--ofqm-red,#c40000);transform:translateX(3px);}

/* Dashboard + nav responsiveness */
@media (max-width:860px){
	.ofqm-account-grid{grid-template-columns:1fr!important;gap:18px!important;}
	.woocommerce-MyAccount-navigation{position:static!important;top:auto!important;}
	.woocommerce-MyAccount-navigation ul{flex-direction:row!important;flex-wrap:nowrap;overflow-x:auto;gap:8px!important;padding-bottom:4px!important;-webkit-overflow-scrolling:touch;}
	.woocommerce-MyAccount-navigation ul li a{white-space:nowrap;}
	.ofqm-dash-grid{grid-template-columns:1fr;}
}
@media (max-width:480px){
	.ofqm-dash-name{font-size:22px;}
	.ofqm-dash-hello{gap:10px;}
}


/* ===== Sidebar nav (authoritative — wins over any stale shop.css) ===== */
.woocommerce-account .woocommerce-MyAccount-navigation{background:#fff;border:1px solid #ececec;border-radius:14px;padding:12px;box-shadow:0 4px 14px rgba(20,20,20,.05);position:sticky;top:90px;}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:4px;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li{list-style:none!important;margin:0!important;padding:0!important;width:100%;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a{display:flex!important;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:11px 14px;border-radius:9px;color:#2a2a2a!important;text-decoration:none!important;font-family:"Inter",sans-serif;font-weight:600;font-size:14px;white-space:nowrap;border:none!important;transition:background .18s,color .18s;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{background:#f5f2ec!important;color:var(--ofqm-red,#c40000)!important;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{background:var(--ofqm-red,#c40000)!important;color:#fff!important;box-shadow:0 8px 18px -8px rgba(196,0,0,.45);}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before{font-family:"Font Awesome 6 Free";font-weight:900;font-size:14px;width:18px;display:inline-block;text-align:center;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li--dashboard a::before{content:"\f3fd";}
.woocommerce-account .woocommerce-MyAccount-navigation ul li--orders a::before{content:"\f291";}
.woocommerce-account .woocommerce-MyAccount-navigation ul li--downloads a::before{content:"\f019";}
.woocommerce-account .woocommerce-MyAccount-navigation ul li--edit-address a::before{content:"\f3c5";}
.woocommerce-account .woocommerce-MyAccount-navigation ul li--edit-account a::before{content:"\f007";}
.woocommerce-account .woocommerce-MyAccount-navigation ul li--customer-logout a::before{content:"\f2f5";}
@media (max-width:860px){
	.woocommerce-account .woocommerce-MyAccount-navigation{position:static;top:auto;}
	.woocommerce-account .woocommerce-MyAccount-navigation ul{flex-direction:row!important;flex-wrap:nowrap;overflow-x:auto;gap:8px!important;-webkit-overflow-scrolling:touch;}
	.woocommerce-account .woocommerce-MyAccount-navigation ul li{width:auto;}
}