/* FOURMI THINK — Clube do Barbeiro (plano mensal). O diálogo #bclub-dialog herda o visual de barber-services.css. */
:root{--bclub-navy:#0d1b2e;--bclub-navy2:#16263d;--bclub-brass:#d4a853;--bclub-brass2:#e8c77d;--bclub-cta:#f0c13a;--bclub-cta2:#e2ae2a;--bclub-paper:#fffdf8;--bclub-cream:#f5f1e8;--bclub-line:#e7dfcd;--bclub-ink:#14201b;--bclub-muted:#5f6b66;--bclub-soft:#e6ebf2;--bclub-tag:#f8edd2;--bclub-gold-ink:#8a6410;--bclub-ok:#1f7a50;--bclub-late:#a8392b}
.bclub-card svg,.bclub-appt svg,.bclub-home svg,#bclub-dialog .bclub-link svg,#bclub-dialog .bclub-ghost svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Planos */
#bclub-dialog .bclub-plans{display:flex;flex-direction:column;gap:10px}
#bclub-dialog .bclub-plan{display:flex;flex-direction:column;gap:6px;width:100%;padding:14px;border:0;border-radius:18px;background:linear-gradient(150deg,var(--bclub-navy2),var(--bclub-navy));color:var(--bclub-paper);text-align:left;cursor:pointer}
#bclub-dialog .bclub-plan.is-paused{opacity:.55}
#bclub-dialog .bclub-plan-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
#bclub-dialog .bclub-plan-top strong{min-width:0;font-size:1rem;overflow-wrap:anywhere}
#bclub-dialog .bclub-price{flex:none;color:var(--bclub-brass2);font-family:Literata,Georgia,serif;font-size:1.3rem;font-weight:700;font-variant-numeric:tabular-nums}
#bclub-dialog .bclub-price small{margin-left:2px;color:rgba(255,253,248,.7);font-family:inherit;font-size:.7rem;font-weight:600}
#bclub-dialog .bclub-plan-sub{color:rgba(255,253,248,.78);font-size:.82rem}
#bclub-dialog .bclub-chips{display:flex;flex-wrap:wrap;gap:6px}
#bclub-dialog .bclub-chips span{padding:4px 9px;border-radius:999px;background:rgba(232,199,125,.16);color:var(--bclub-brass2);font-size:.72rem;font-weight:700}
#bclub-dialog .bclub-link{display:flex;gap:12px;padding:14px;border:1.5px dashed #d8ccb0;border-radius:18px;background:transparent;color:var(--bclub-ink)}
#bclub-dialog .bclub-link-ic{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:var(--bclub-soft);color:var(--bclub-navy)}
#bclub-dialog .bclub-link>div{min-width:0;display:flex;flex-direction:column;gap:4px}
#bclub-dialog .bclub-link p{display:flex;align-items:center;gap:8px;margin:0;font-size:.92rem}
#bclub-dialog .bclub-link em{padding:2px 8px;border-radius:999px;background:var(--bclub-tag);color:var(--bclub-gold-ink);font-size:.68rem;font-style:normal;font-weight:800}
#bclub-dialog .bclub-link code{color:var(--bclub-navy);font-size:.8rem;font-weight:700;overflow-wrap:anywhere}
#bclub-dialog .bclub-link small{color:var(--bclub-muted);font-size:.78rem;line-height:1.4}

/* Editor do plano e entrada no Clube */
#bclub-dialog .bclub-seg{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:14px;background:#ebe5d8}
#bclub-dialog .bclub-seg button{min-height:40px;border:0;border-radius:11px;background:transparent;color:var(--bclub-muted);font-size:.88rem;font-weight:750;cursor:pointer}
#bclub-dialog .bclub-seg button.active{background:var(--bclub-paper);color:var(--bclub-navy);box-shadow:0 1px 4px rgba(13,27,46,.15)}
#bclub-dialog .bclub-svcs,#bclub-dialog .bclub-chips-row{display:flex;flex-wrap:wrap;gap:7px}
#bclub-dialog :is(.bclub-svc,.bclub-chip){min-height:40px;padding:8px 13px;border:1.5px solid var(--bclub-line);border-radius:999px;background:var(--bclub-paper);color:var(--bclub-ink);font-size:.85rem;font-weight:750;cursor:pointer}
#bclub-dialog :is(.bclub-svc,.bclub-chip).active{border-color:var(--bclub-navy);background:var(--bclub-navy);color:var(--bclub-paper)}
#bclub-dialog .bclub-help{margin:-4px 2px 0;color:var(--bclub-muted);font-size:.78rem}
#bclub-dialog .bclub-picks{display:flex;flex-direction:column;gap:8px}
#bclub-dialog .bclub-pick{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1.5px solid var(--bclub-line);border-radius:16px;background:var(--bclub-paper);color:var(--bclub-ink);text-align:left;cursor:pointer}
#bclub-dialog .bclub-pick i{width:20px;height:20px;flex:none;border:2px solid #c9c1ae;border-radius:50%}
#bclub-dialog .bclub-pick.active{border-color:var(--bclub-navy);box-shadow:inset 0 0 0 1px var(--bclub-navy)}
#bclub-dialog .bclub-pick.active i{border:6px solid var(--bclub-navy)}
#bclub-dialog .bclub-pick span{flex:1;min-width:0}
#bclub-dialog .bclub-pick strong{display:block;font-size:.95rem}
#bclub-dialog .bclub-pick small{color:var(--bclub-muted);font-size:.78rem}
#bclub-dialog .bclub-pick b{flex:none;color:var(--bclub-navy);font-family:Literata,Georgia,serif;font-size:1.05rem}
#bclub-dialog .bclub-ghost{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;border:1.5px dashed #d8ccb0;border-radius:16px;background:transparent;color:var(--bclub-navy);font-weight:800;cursor:pointer}
#bclub-dialog .bclub-sum{margin:0;padding:11px 12px;border-radius:14px;background:#efe9dc;color:var(--bclub-ink);font-size:.86rem;line-height:1.45}

/* Botões e selos comuns */
.bclub-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;border:0;border-radius:12px;font:inherit;font-size:.8rem;font-weight:800;text-decoration:none;cursor:pointer}
.bclub-btn.is-dark{background:var(--bclub-navy);color:var(--bclub-paper)}
.bclub-btn.is-gold{background:linear-gradient(180deg,var(--bclub-cta),var(--bclub-cta2));color:var(--bclub-navy)}
.bclub-btn.is-soft{background:var(--bclub-soft);color:var(--bclub-navy)}
.bclub-btn.is-line{border:1.5px solid var(--bclub-line);background:var(--bclub-paper);color:var(--bclub-ink)}
.bclub-btn:focus-visible{outline:3px solid var(--bclub-brass);outline-offset:2px}
.bclub-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:999px;font-size:.7rem;font-weight:800;white-space:nowrap}
.bclub-badge svg{width:13px;height:13px}
.bclub-badge.is-gold{background:var(--bclub-tag);color:var(--bclub-gold-ink)}
.bclub-badge.is-ok{background:#dcefe4;color:var(--bclub-ok)}
.bclub-badge.is-late{background:#f6dcd6;color:var(--bclub-late)}
.bclub-dots{display:flex;gap:5px}
.bclub-dots i{flex:1;height:8px;border-radius:999px;background:#e9e1cf}
.bclub-dots i.is-used{background:var(--bclub-navy)}
.bclub-dots i.is-now{background:var(--bclub-brass)}
.bclub-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.bclub-how{color:var(--bclub-muted);font-size:.78rem;font-weight:700}
.bcl-club{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:var(--bclub-tag);color:var(--bclub-gold-ink);font-size:.64rem;font-weight:800;letter-spacing:.02em;vertical-align:2px}

/* Ficha do cliente */
.bclub-card-host{margin:0 0 14px}
.bclub-card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1.5px solid var(--bclub-brass);border-radius:18px;background:#fffaf0;color:var(--bclub-ink)}
.bclub-card small{color:var(--bclub-muted);font-size:.8rem}
.bclub-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.bclub-card-title{font-family:Literata,Georgia,serif;font-size:1.15rem;color:var(--bclub-navy)}
.bclub-card .bclub-end{color:var(--bclub-late);font-weight:700}
.bclub-card .bclub-actions{margin-top:4px}
.bclub-card.is-join{flex-direction:row;align-items:center;gap:12px;border-style:dashed;background:var(--bclub-paper)}
.bclub-card.is-join>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.bclub-card-ic{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:var(--bclub-tag);color:var(--bclub-gold-ink)}
@media (max-width:440px){.bclub-card.is-join{flex-wrap:wrap}.bclub-card.is-join>div{flex:1 1 120px}.bclub-card.is-join .bclub-btn{width:100%}}

/* Novo atendimento */
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on.bclub-on :is(.bf-price,.money-input,label[for="appointment-amount"]){display:none!important}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt{order:10;display:flex;flex-direction:column;gap:6px;margin:0 0 12px;padding:14px;border:1.5px solid var(--bclub-brass);border-radius:18px;background:#fffaf0;color:var(--bclub-ink)}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt strong{font-family:Literata,Georgia,serif;font-size:1.35rem;color:var(--bclub-navy)}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt small{color:var(--bclub-muted);font-size:.8rem}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt .bclub-btn{align-self:flex-start;margin-top:2px}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt.is-note{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border-style:dashed;font-size:.84rem;font-weight:700}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt.is-note>span{flex:1;min-width:0}
body:is([data-profession="barber"],[data-profession="other"]) #appointment-dialog.bf-on .bclub-appt.is-note svg{color:var(--bclub-gold-ink)}

/* Início */
.bclub-home{margin:0 0 16px;padding:14px;border:1px solid var(--bclub-line);border-radius:20px;background:var(--bclub-paper);color:var(--bclub-ink)}
.bclub-home-head{display:flex;align-items:center;gap:8px;margin-bottom:6px;color:var(--bclub-gold-ink)}
.bclub-home-head h2{margin:0;color:var(--bclub-ink);font-size:1rem}
.bclub-home-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 10px;padding:10px 0;border-top:1px solid var(--bclub-line)}
.bclub-home-head+.bclub-home-row{border-top:0}
.bclub-home-who{min-width:0}
.bclub-home-who strong{display:block;font-size:.92rem}
.bclub-home-who small{color:var(--bclub-muted);font-size:.78rem}
.bclub-home-row .bclub-actions{grid-column:1/-1}

/* Clube na agenda (2026-10-22): selo Club no nome, avatar marinho com aro latão e "Corte Club 2/4" no lugar do pagamento. */
.club-tag{display:inline-flex;align-items:center;gap:3px;margin-left:6px;padding:1px 7px 1px 5px;border-radius:999px;background:#f8edd2;color:#8a6410;font-style:normal;font-size:.62rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;vertical-align:2px;white-space:nowrap}
.club-tag::before{content:"";width:10px;height:10px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E") center/contain no-repeat}
#workspace:is([data-profession="barber"],[data-profession="other"]) .barber-timeline-item.is-club .barber-timeline-avatar{background:#0d1b2e;box-shadow:0 0 0 2px #d4a853}
#workspace:is([data-profession="barber"],[data-profession="other"]) .barber-timeline-item.is-club .barber-timeline-avatar>span{color:#e8c77d}
.barber-timeline-status small.payment-club{color:#0d1b2e;font-weight:800}
.tap-badge.is-pay-club{background:#0d1b2e;color:#e8c77d}
.tap-body .club-tag{margin-left:5px}
/* Entrar no Clube: o que passa para o Club e o que continua pendente */
.bclub-move{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px;padding:12px;border:1px solid #e7dfcd;border-radius:16px;background:#fffdf8}
.bclub-move.is-gold{border-color:#d4a853;background:linear-gradient(180deg,#fff8e6,#fffdf8)}
.bclub-move-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#0d1b2e;font-size:.9rem}
.bclub-move-top em{font-style:normal;font-family:Literata,Georgia,serif;font-weight:700;font-size:1.02rem;white-space:nowrap}
.bclub-move>small{color:#5f6b66;font-size:.78rem;line-height:1.35}
.bclub-move-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:.82rem}
.bclub-move-row span{font-weight:700;color:#0d1b2e;font-variant-numeric:tabular-nums}
.bclub-move-row s{overflow:hidden;color:#5f6b66;text-overflow:ellipsis;white-space:nowrap}
.bclub-move-row b{color:#8a6410;font-size:.76rem;white-space:nowrap}
/* Semana/Dia (grade): coroa do Club no canto do bloco */
.bg-card .bg-club{display:inline-block;width:12px;height:12px;border-radius:50%;background:#d4a853 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d1b2e'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E") center/8px no-repeat;box-shadow:0 0 0 1.5px rgba(255,255,255,.85)}
.sg-block.bg-card.is-club{outline:2px solid #d4a853;outline-offset:-2px}
.tap-wk-item.is-club{outline:2px solid #d4a853;outline-offset:-2px}
