/*
Theme Name: Member
Theme URI: https://bbbpos.com/
Author: BBBPOS
Description: Member portal and bilingual marketing theme for the BBBPOS hibachi catering operations platform.
Version: 0.0.7
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: member
*/
:root{--red:#9f241b;--red-dark:#721a14;--gold:#d0a04d;--ink:#1f1714;--muted:#71675f;--line:#e9dfd5;--cream:#f7f2ec;--white:#fff;--green:#176c3a;--navy:#17233c;--shadow:0 20px 55px rgba(53,35,19,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit}.site-wrap{max-width:1220px;margin:auto;padding:0 22px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.site-header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-brand{display:flex;align-items:center;gap:11px;text-decoration:none}.brand-mark{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,var(--red),var(--red-dark));color:#fff;font-size:21px;font-weight:950;box-shadow:0 8px 18px rgba(159,36,27,.25)}.site-brand strong{display:block;font-size:18px;letter-spacing:.01em}.site-brand small{display:block;color:var(--muted);font-size:12px}.site-nav{display:flex;gap:22px;align-items:center}.site-nav a{text-decoration:none;font-weight:800;font-size:14px}.site-nav .book-btn,.btn{background:var(--red);color:#fff;border-radius:11px;padding:11px 17px;text-decoration:none;font-weight:900;display:inline-block}.site-nav .book-btn:hover,.btn:hover{background:var(--red-dark)}.language-btn{border:1px solid var(--line);padding:7px 10px;border-radius:9px}.hero{background:radial-gradient(circle at 85% 8%,rgba(220,173,91,.52),transparent 31%),linear-gradient(135deg,#25130f,#7f2119 74%,#9f2c21);color:#fff;padding:92px 0 82px}.hero-grid{display:grid;grid-template-columns:1.16fr .84fr;gap:54px;align-items:center}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:950;color:#f2c977}.eyebrow.dark{color:var(--red)}.hero h1{font-size:60px;line-height:1.02;margin:13px 0 20px;max-width:790px;letter-spacing:-.035em}.hero p{font-size:19px;color:#f1ddd7;max-width:720px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:27px}.btn.secondary{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25)}.btn.light{background:#fff;color:var(--red)}.trust-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px;color:#f4dfd8;font-size:12px;font-weight:750}.platform-preview{background:#f9f6f2;border:1px solid rgba(255,255,255,.45);border-radius:24px;overflow:hidden;box-shadow:0 28px 70px rgba(0,0,0,.24);transform:rotate(1.2deg)}.preview-top{height:48px;background:#fff;border-bottom:1px solid #e5ddd5;display:flex;align-items:center;gap:7px;padding:0 15px;color:#3c332d;font-size:12px}.preview-top span{width:9px;height:9px;border-radius:50%;background:#d8d1cb}.preview-top span:first-child{background:#e36b5f}.preview-top span:nth-child(2){background:#e9bd54}.preview-top span:nth-child(3){background:#59b66f}.preview-top b{margin-left:8px}.preview-body{min-height:390px;display:grid;grid-template-columns:62px 1fr}.preview-nav{background:#211716;padding:18px 13px}.preview-nav i{display:block;height:30px;border-radius:8px;background:rgba(255,255,255,.10);margin-bottom:10px}.preview-nav i:first-child{background:var(--red)}.preview-main{padding:18px}.preview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.preview-stats span{background:#fff;border:1px solid #e7dfd7;border-radius:11px;padding:10px}.preview-stats b{display:block;font-size:9px;color:#756c65}.preview-stats strong{display:block;color:#2a211d;font-size:20px;margin-top:2px}.preview-calendar{display:grid;grid-template-columns:repeat(7,1fr);margin-top:12px;border-left:1px solid #e2d9d0;border-top:1px solid #e2d9d0}.preview-calendar span{height:54px;background:#fff;border-right:1px solid #e2d9d0;border-bottom:1px solid #e2d9d0;padding:5px;color:#675e57;font-size:10px}.preview-calendar span.busy:after{content:"";display:block;height:7px;border-radius:4px;background:#b2362a;margin-top:8px}.logo-strip{border-bottom:1px solid var(--line);background:#fff}.logo-strip .site-wrap{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#877c73;font-size:11px;letter-spacing:.13em;font-weight:900}.section{padding:82px 0}.section.alt{background:var(--cream)}.section-head{max-width:820px;margin:0 auto 40px;text-align:center}.section-head h2,.split-section h2{font-size:42px;line-height:1.14;margin:9px 0 13px;letter-spacing:-.025em}.section-head p,.lead{color:var(--muted);font-size:17px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{background:#fff;border:1px solid var(--line);border-radius:19px;padding:25px;box-shadow:0 14px 35px rgba(65,42,20,.05)}.feature .icon{font-size:27px}.feature h3{margin:12px 0 7px;font-size:19px}.feature p{color:var(--muted);font-size:14px}.split-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.check-list{display:grid;gap:12px;margin-top:25px}.check-list>div{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.check-list b{width:36px;height:36px;border-radius:10px;background:#f7e8df;color:var(--red);display:grid;place-items:center}.check-list strong,.check-list small{display:block}.check-list small{color:var(--muted);margin-top:3px}.dashboard-card,.language-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:var(--shadow)}.dashboard-title{display:flex;justify-content:space-between;gap:15px;align-items:start;border-bottom:1px solid var(--line);padding-bottom:16px}.dashboard-title small{font-weight:900;color:var(--red);letter-spacing:.1em}.dashboard-title h3{margin:3px 0 0}.status-chip{background:#e7f5ec;color:var(--green);padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.dashboard-customer{padding:19px 0}.dashboard-customer b,.dashboard-customer span{display:block}.dashboard-customer span{color:var(--muted);font-size:14px}.dashboard-progress>span{display:block;background:#eee7df;height:9px;border-radius:999px;overflow:hidden}.dashboard-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--green))}.dashboard-progress small{display:block;margin-top:7px;color:var(--muted)}.dashboard-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px}.dashboard-totals div{background:#faf7f3;border:1px solid var(--line);border-radius:11px;padding:11px}.dashboard-totals span,.dashboard-totals b{display:block}.dashboard-totals span{color:var(--muted);font-size:11px}.dashboard-alert{margin-top:16px;border-left:4px solid #c23b2f;background:#fff3f1;padding:12px;border-radius:9px;font-size:13px}.bilingual-section{background:#fff}.language-tabs{display:flex;gap:8px;margin-bottom:24px}.language-tabs span{padding:7px 11px;border:1px solid var(--line);border-radius:9px;font-size:12px;font-weight:900}.language-tabs .active{background:var(--ink);color:#fff;border-color:var(--ink)}.language-card h3{font-size:25px;margin:0 0 8px}.language-card p{color:var(--muted)}.language-card a{color:var(--red);font-weight:900;text-decoration:none}.cta{background:radial-gradient(circle at 85% 0,rgba(215,169,88,.38),transparent 31%),linear-gradient(135deg,#8f2119,#301411);border-radius:25px;color:#fff;padding:42px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{margin:5px 0 8px;font-size:36px;line-height:1.15}.cta p{color:#efdcd6;max-width:760px}.cta-actions{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:180px}.text-link{color:#fff;text-decoration:none;font-weight:850}.site-footer{background:#1e120f;color:#ead8d2;padding:36px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.content-area{max-width:1000px;margin:50px auto;padding:0 20px;min-height:50vh}.content-area h1{font-size:42px}.wp-block-button__link{background:var(--red)}
@media(max-width:960px){.hero-grid,.split-section{grid-template-columns:1fr}.hero h1{font-size:48px}.cards{grid-template-columns:1fr 1fr}.site-nav a:not(.book-btn):not(.language-btn){display:none}.platform-preview{transform:none}.cta{align-items:flex-start;flex-direction:column}.cta-actions{align-items:flex-start}.reverse-mobile>div:first-child{order:2}}
@media(max-width:620px){.site-wrap{padding:0 14px}.hero{padding:62px 0}.hero h1{font-size:38px}.hero p{font-size:17px}.section{padding:58px 0}.section-head h2,.split-section h2{font-size:32px}.cards{grid-template-columns:1fr}.preview-body{min-height:300px;grid-template-columns:46px 1fr}.preview-main{padding:10px}.preview-stats{grid-template-columns:1fr}.preview-stats span:nth-child(n+2){display:none}.preview-calendar span{height:42px}.dashboard-totals{grid-template-columns:1fr}.footer-inner{align-items:flex-start;flex-direction:column}.cta{padding:27px}.cta h2{font-size:29px}.site-brand small{display:none}.site-nav{gap:8px}.site-nav .book-btn{padding:9px 11px;font-size:12px}.language-btn{font-size:12px}}


/* v0.2.1: Apple-inspired BBBPOS marketing experience */
:root{--red:#0071e3;--red-dark:#0077ed;--gold:#0071e3;--ink:#1d1d1f;--muted:#6e6e73;--line:#d2d2d7;--cream:#f5f5f7;--white:#fff;--green:#248a3d;--navy:#1d1d1f;--shadow:0 14px 50px rgba(0,0,0,.07)}
body{background:#fff;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;line-height:1.47;letter-spacing:-.01em}
.site-wrap{max-width:1280px}.site-header{background:rgba(250,250,252,.86);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.08)}.site-header-inner{height:56px}.brand-mark{width:36px;height:36px;border-radius:11px;background:#1d1d1f;box-shadow:none;font-size:17px}.site-brand strong{font-size:17px;letter-spacing:-.025em}.site-brand small{color:#86868b}.site-nav{gap:24px}.site-nav a{font-size:12px;font-weight:500}.site-nav .book-btn,.btn{background:#0071e3;border-radius:980px;padding:10px 18px;font-weight:600}.site-nav .book-btn:hover,.btn:hover{background:#0077ed}.language-btn{border:0;background:#f2f2f7;border-radius:980px}
.hero{background:#f5f5f7;color:#1d1d1f;padding:96px 0 86px;overflow:hidden}.hero-grid{grid-template-columns:1fr;max-width:1080px;text-align:center}.hero-grid>div:first-child{max-width:980px;margin:auto}.eyebrow{color:#0071e3;font-size:12px;letter-spacing:.09em;font-weight:600}.hero h1{font-size:72px;line-height:.98;letter-spacing:-.055em;max-width:1050px;margin:16px auto 24px;font-weight:700}.hero p{font-size:23px;line-height:1.35;color:#6e6e73;max-width:850px;margin:auto}.hero-actions{justify-content:center}.btn.secondary{background:#fff;border:1px solid #d2d2d7;color:#0066cc}.btn.light{background:#fff;color:#0066cc}.trust-row{justify-content:center;color:#6e6e73;font-size:13px;font-weight:500}.platform-preview{margin:48px auto 0;max-width:1000px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:30px;box-shadow:0 30px 90px rgba(0,0,0,.13);transform:none}.preview-top{height:52px;background:#fbfbfd}.preview-body{min-height:430px;grid-template-columns:70px 1fr}.preview-nav{background:#1d1d1f}.preview-nav i:first-child{background:#0071e3}.preview-main{padding:22px}.preview-stats span{border:0;background:#f5f5f7;border-radius:18px;padding:14px}.preview-calendar{border-color:#e5e5ea}.preview-calendar span{border-color:#e5e5ea;height:58px}.preview-calendar span.busy:after{background:#0071e3}
.logo-strip{background:#fff;border-bottom:1px solid #e5e5ea}.logo-strip .site-wrap{min-height:76px;color:#86868b;font-size:11px;font-weight:600}.section{padding:112px 0}.section.alt{background:#f5f5f7}.section-head{max-width:900px;margin-bottom:56px}.section-head h2,.split-section h2{font-size:52px;line-height:1.04;letter-spacing:-.045em;font-weight:700}.section-head p,.lead{color:#6e6e73;font-size:19px;line-height:1.45}.cards{gap:22px}.feature{border:0;border-radius:28px;padding:32px;background:#f5f5f7;box-shadow:none}.section.alt .feature{background:#fff}.feature .icon{font-size:31px}.feature h3{font-size:22px;letter-spacing:-.025em}.feature p{color:#6e6e73;font-size:15px}.split-section{gap:80px}.check-list>div{border:0;border-radius:22px;padding:18px;background:#fff}.check-list b{background:#e8f2ff;color:#0066cc;border-radius:50%}.dashboard-card,.language-card{border:0;border-radius:30px;padding:32px;box-shadow:var(--shadow)}.dashboard-title{border-bottom-color:#e5e5ea}.dashboard-title small{color:#0071e3}.status-chip{background:#e8f7ed}.dashboard-progress>span{background:#e5e5ea}.dashboard-progress i{background:#0071e3}.dashboard-totals div{background:#f5f5f7;border:0;border-radius:16px}.dashboard-alert{border-left:0;background:#fff1f0;border-radius:16px}.language-tabs span{border:0;background:#f2f2f7;border-radius:980px}.language-tabs .active{background:#1d1d1f}.language-card a{color:#0066cc}.cta{background:#1d1d1f;border-radius:32px;padding:55px}.cta h2{font-size:44px;letter-spacing:-.04em}.cta p{color:#d2d2d7}.site-footer{background:#f5f5f7;color:#6e6e73;border-top:1px solid #e5e5ea}.text-link{color:#fff}.content-area h1{font-size:56px;letter-spacing:-.05em}.wp-block-button__link{background:#0071e3;border-radius:980px}
@media(max-width:960px){.hero h1{font-size:58px}.section-head h2,.split-section h2{font-size:44px}.section{padding:86px 0}}
@media(max-width:620px){.hero{padding:72px 0 60px}.hero h1{font-size:44px}.hero p{font-size:19px}.section{padding:68px 0}.section-head h2,.split-section h2{font-size:36px}.platform-preview{border-radius:22px}.cta{border-radius:24px}.cta h2{font-size:34px}}


/* v0.2.2: BBBPOS B + lightning brand mark */
.brand-mark{overflow:hidden;background:#050505!important;padding:0!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}
.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}


/* Member v0.0.3 — login-only public theme */
html,
body.member-login-only {
  margin: 0 !important;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 113, 227, .15), transparent 34%),
    linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%) !important;
}

body.member-login-only {
  min-height: 100vh;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

body.member-login-only .site-header,
body.member-login-only .site-footer,
body.member-login-only .entry-header,
body.member-login-only .page-header,
body.member-login-only nav,
body.member-login-only footer {
  display: none !important;
}

.member-login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.member-login-card {
  width: min(420px, 100%);
  padding: 40px;
  border: 1px solid #e5e5ea;
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .10);
  box-sizing: border-box;
}

.member-login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.member-login-logo img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.member-login-form p {
  margin: 0 0 18px;
}

.member-login-form label {
  display: block;
  margin-bottom: 7px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 750;
}

.member-login-form input[type="text"],
.member-login-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  box-sizing: border-box;
  outline: none;
}

.member-login-form input[type="text"]:focus,
.member-login-form input[type="password"]:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .13);
}

.member-login-form .login-remember {
  display: none !important;
}

.member-login-form .login-submit {
  margin-top: 8px;
  margin-bottom: 0;
}

.member-login-form .button-primary {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: #0071e3;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 113, 227, .25);
}

.member-login-form .button-primary:hover {
  background: #0077ed;
}

.member-login-error {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f0;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.member-login-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  background: #0071e3;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 560px) {
  .member-login-screen {
    padding: 12px;
  }

  .member-login-card {
    padding: 30px 22px;
    border-radius: 22px;
  }
}


/* Member v0.0.6 — customer branding above login */
.member-customer-brand {
  margin: 0 0 26px;
  padding: 0 0 24px;
  text-align: center;
  border-bottom: 1px solid #e5e5ea;
}

.member-customer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.member-customer-logo img {
  display: block;
  width: auto;
  max-width: 170px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}

.member-customer-name {
  margin: 0;
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.member-customer-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}

.member-customer-contact a {
  color: #0066cc;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.member-customer-contact a:hover {
  text-decoration: underline;
}

.member-customer-address {
  margin-top: 10px;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.45;
}

.member-login-logo--bbbpos {
  margin-bottom: 24px;
}

.member-login-logo--bbbpos img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

@media (max-width: 560px) {
  .member-customer-name { font-size: 21px; }
  .member-customer-logo img { max-width: 145px; max-height: 76px; }
  .member-customer-contact { flex-direction: column; gap: 5px; }
}


/* Member v0.0.7 — company-logo-first login experience */
body.member-login-only {
  background:
    radial-gradient(circle at 16% 0%, rgba(0,113,227,.14), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(88,86,214,.10), transparent 34%),
    #f5f5f7 !important;
}
.member-login-screen { padding: clamp(16px, 4vw, 40px); }
.member-login-card {
  width: min(460px, 100%);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 80px rgba(0,0,0,.10);
  backdrop-filter: saturate(180%) blur(18px);
}
.member-customer-brand {
  margin-bottom: 24px;
  padding-bottom: 22px;
}
.member-primary-company-logo { margin-bottom: 16px; }
.member-primary-company-logo img {
  width: auto;
  max-width: min(230px, 76vw);
  height: auto;
  max-height: 122px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: none;
}
.member-customer-name { font-size: clamp(23px, 5vw, 29px); }
.member-customer-contact { gap: 7px 10px; }
.member-customer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2f2f7;
  color: #0066cc;
  font-size: 12px;
  line-height: 1.2;
}
.member-customer-address { color:#86868b; }
.member-login-intro { margin: 0 0 22px; text-align: left; }
.member-login-kicker {
  display:block;
  margin-bottom:6px;
  color:#0071e3;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}
.member-login-intro h2 {
  margin:0;
  color:#1d1d1f;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.035em;
}
.member-login-intro p {
  margin:8px 0 0;
  color:#6e6e73;
  font-size:13px;
  line-height:1.45;
}
.member-login-form input[type="text"],
.member-login-form input[type="password"] {
  min-height: 52px;
  border-radius: 15px;
  background: #fbfbfd;
}
.member-login-form .button-primary,
.member-login-open {
  min-height: 52px;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(0,113,227,.20);
}
@media (max-width:560px) {
  .member-login-card { padding: 26px 20px; border-radius:24px; }
  .member-customer-contact { flex-direction: row; }
  .member-customer-contact a { max-width:100%; overflow-wrap:anywhere; }
  .member-primary-company-logo img { max-height:96px; }
}
