/* FarClub 0.3 - intentionally quiet, Persian-first visual system */
.farclub-root,.farclub-admin{--fc-green:#214F3D;--fc-copper:#C7834B;--fc-cream:#F6F2E9;--fc-olive:#D8DFD1;--fc-charcoal:#242A26;--fc-border:#E4E7DF;--fc-muted:#78817A;color:var(--fc-charcoal);font-family:Vazirmatn,IRANSans,Tahoma,sans-serif;line-height:1.9;box-sizing:border-box}
.farclub-root *,.farclub-admin *{box-sizing:border-box}.farclub-root{max-width:1080px;margin:22px auto;font-size:14px}.fc-eyebrow{display:inline-block;direction:ltr;letter-spacing:.17em;font:700 10px/1.6 Arial,sans-serif;color:var(--fc-copper)}.fc-hero{background:var(--fc-green);color:#fff;border-radius:20px;padding:34px 40px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.fc-hero:after{content:'';position:absolute;width:330px;height:330px;border-radius:50%;border:1px solid rgba(255,255,255,.12);left:-130px;bottom:-260px;pointer-events:none}.fc-hero h2{font-size:clamp(23px,3vw,33px);font-weight:850;color:#fff;margin:7px 0 5px;line-height:1.6}.fc-hero p{color:#D8DFD1;margin:0}.fc-mark{height:82px;width:82px;border:1px solid rgba(255,255,255,.35);border-radius:22px;display:grid;place-items:center;font:800 46px/1 Georgia,serif;transform:rotate(-9deg);color:#fff;flex-shrink:0}.fc-mark span{position:absolute;font:24px Arial;color:var(--fc-copper);right:7px;top:0}.fc-customer-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:16px}.fc-stat{padding:22px 24px;border-radius:15px;background:#fff;border:1px solid var(--fc-border);min-height:122px}.fc-stat>span,.fc-stat>small{display:block;font-size:12px;color:var(--fc-muted)}.fc-stat>strong{display:block;color:var(--fc-green);font-size:27px;line-height:1.7;font-weight:850}.fc-stat>strong .woocommerce-Price-amount{font-size:27px;color:var(--fc-green)}.fc-stat-note{background:var(--fc-cream);border-color:transparent}.fc-stat-note>strong{font-size:21px}.fc-history{margin-top:30px;border:1px solid var(--fc-border);border-radius:16px;overflow:hidden;background:#fff}.fc-section-title{padding:23px 26px;display:flex;justify-content:space-between;gap:10px;align-items:center}.fc-section-title h3{font-size:19px;margin:3px 0;color:var(--fc-charcoal);font-weight:800}.fc-section-title>span{color:var(--fc-muted);font-size:12px}.fc-table-scroll{width:100%;overflow-x:auto}.fc-history table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}.fc-history th,.fc-history td{padding:13px 24px;border-top:1px solid var(--fc-border)}.fc-history th{background:#F8F9F5;color:#5C6860;font-size:12px}.fc-history td{font-size:13px}.fc-positive{color:#266949;font-weight:700}.fc-negative{color:#AE5148;font-weight:700}.fc-empty{text-align:center;color:#66766C;padding:36px;background:var(--fc-cream);border-radius:10px}.fc-empty a{color:var(--fc-green);font-weight:700}.fc-history .fc-empty{margin:0 18px 18px}.fc-helper{font-size:12px;color:#7B847D;margin:13px 3px}.farclub-inline-points{font-weight:800;color:var(--fc-green)}
.farclub-admin{max-width:1270px;margin:22px 0 45px 20px}.fc-admin-head{padding:27px 34px;border-radius:16px;background:var(--fc-green);color:#fff;margin-bottom:18px}.fc-admin-head h1{font-size:28px;color:#fff;font-weight:850;margin:6px 0}.fc-admin-head h1 small{font-size:14px;color:var(--fc-olive);font-weight:400;margin-right:12px}.fc-admin-head p{color:var(--fc-olive);margin:0}.fc-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.fc-metrics>div{background:#fff;border:1px solid var(--fc-border);border-radius:13px;padding:19px 21px}.fc-metrics span,.fc-metrics strong{display:block}.fc-metrics span{font-size:12px;color:#6D796F}.fc-metrics strong{font-size:24px;color:var(--fc-green)}.fc-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fc-panel{border:1px solid var(--fc-border);border-radius:15px;background:#fff;padding:23px;margin-bottom:18px}.fc-panel h2{font-size:18px;font-weight:800;color:var(--fc-green);margin:0 0 12px}.fc-panel p{color:#737B75}.fc-panel label{display:block;color:#34443A;font-size:13px;font-weight:650;margin-top:13px}.fc-panel label small{display:block;color:#89918B;font-size:11px;font-weight:400}.fc-panel input[type=number],.fc-panel input[type=text]{display:block;width:100%;max-width:100%;border-radius:9px;border:1px solid #CED7D0;background:#FCFDFC;margin:5px 0;padding:5px 11px;min-height:38px}.fc-panel input:focus{border-color:var(--fc-green);box-shadow:0 0 0 2px #D8DFD1}.fc-panel label.fc-check{display:flex;align-items:center;gap:8px}.fc-panel .button-primary{background:var(--fc-green);border-color:var(--fc-green)}.fc-panel .button-primary:hover{background:#173D2D;border-color:#173D2D}.fc-log{margin-top:2px}.fc-log th,.fc-log td{text-align:right;padding:10px 13px}.fc-footnote{color:#7C857D;font-size:12px}
@media(max-width:860px){.fc-customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-admin-grid{grid-template-columns:1fr}.fc-hero{padding:25px}.fc-mark{width:64px;height:64px;font-size:36px}}
@media(max-width:560px){.farclub-root{margin:10px 0}.fc-hero{padding:23px;border-radius:15px}.fc-hero h2{font-size:23px}.fc-mark{display:none}.fc-customer-stats{grid-template-columns:1fr;gap:9px}.fc-stat{padding:16px 19px;min-height:0}.fc-history{margin-top:18px}.fc-section-title{padding:15px}.fc-history td,.fc-history th{padding:10px 14px}.farclub-admin{margin-left:0}.fc-metrics{gap:8px}.fc-metrics strong{font-size:19px}.fc-admin-head{padding:22px}.fc-admin-head h1{font-size:24px}.fc-panel{padding:17px}}

/* Prevent iOS input focus zoom; keep focus indication accessible. */
@media (max-width: 767px) {
  .farclub-admin input[type="number"],
  .farclub-admin input[type="text"],
  .farclub-root input,
  .farclub-root select,
  .farclub-root textarea { font-size: 16px; }
}
.farclub-root a:focus-visible,
.farclub-admin a:focus-visible,
.farclub-admin button:focus-visible,
.farclub-admin input:focus-visible { outline: 2px solid #C7834B; outline-offset: 3px; }

.farclub-admin .fc-customers-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.farclub-admin .fc-customers-search label{width:100%;font-weight:700}.farclub-admin .fc-customers-search input[type=search]{flex:1;min-width:200px;max-width:420px;min-height:42px;font-size:16px}.farclub-admin .fc-pagination{padding:18px 0 4px;display:flex;gap:8px;justify-content:center}.farclub-admin .fc-pagination .page-numbers{padding:8px 12px;border-radius:7px;background:#f6f2e9;text-decoration:none}.farclub-admin .fc-pagination .current{background:#214f3d;color:#fff}

/* FarClub membership & loyalty tiers */
.fc-membership{display:grid;grid-template-columns:1fr 1.2fr;gap:16px;margin:17px 0 0}
.fc-membership-card,.fc-membership-progress{border:1px solid var(--fc-border);border-radius:17px;padding:24px 28px;min-width:0}
.fc-membership-card{background:var(--fc-cream);position:relative;overflow:hidden}
.fc-membership-card:after{content:"F";position:absolute;left:15px;bottom:-48px;font:900 160px Georgia,serif;opacity:.045;pointer-events:none}
.fc-membership h3{margin:7px 0 11px;font-size:20px;color:var(--fc-green);font-weight:800}
.fc-membership p{margin:7px 0;font-size:13px;color:#596C60}
.fc-membership-card p b{font:800 14px Arial,sans-serif;letter-spacing:.09em;color:var(--fc-green)}
.fc-level{display:inline-flex;align-items:center;gap:8px;border-radius:50px;padding:5px 15px;background:#fff;color:var(--fc-green);border:1px solid #E0E5DA}
.fc-level:before{content:"";width:9px;height:9px;background:var(--fc-level-color);border-radius:50%}
.fc-membership-progress{background:#fff}
.fc-progress{height:10px;background:#E5E8E0;border-radius:50px;overflow:hidden;margin:21px 0 8px}
.fc-progress>span{display:block;height:100%;background:var(--fc-green);border-radius:50px;transition:width .3s ease}
.fc-membership-progress small{color:#647268;font-size:12px}
.fc-tiers-form .fc-tier-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.fc-tiers-form .fc-tier-entry{border:1px solid var(--fc-border);border-radius:12px;padding:15px;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.fc-tier-dot{display:inline-block;flex-shrink:0;width:10px;height:10px;border-radius:50%}
.fc-tiers-form .fc-tier-entry>span:nth-child(2){font-weight:800}
.fc-tiers-form .fc-tier-entry input{margin:0!important;width:100%;font-variant-numeric:tabular-nums}
.fc-tiers-form .fc-tier-entry small{width:100%}
.fc-tiers .fc-note{font-size:12px;color:#737E75}
@media(max-width:900px){.fc-tiers-form .fc-tier-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.fc-membership{grid-template-columns:1fr}.fc-membership-card,.fc-membership-progress{padding:21px}.fc-tiers-form .fc-tier-fields{grid-template-columns:1fr}}

/* Referral invitations: warm, low-noise layout */
.farclub-root .fc-referral{margin-top:18px;display:grid;grid-template-columns:.95fr 1.25fr;gap:18px;padding:24px;background:#f6f2e9;border:1px solid #e9e3d5;border-radius:17px}
.fc-referral h3{font-weight:850;font-size:19px;color:#214f3d;margin:5px 0 8px}
.fc-referral p{font-size:13px;color:#536258;margin:7px 0}
.fc-referral-muted{display:block;font-size:12px;color:#8c6537;margin-top:16px}
.fc-referral-actions label{display:block;font-size:12px;font-weight:750;color:#425a48;margin-bottom:5px}
.fc-referral-actions strong{direction:ltr;display:inline-block;letter-spacing:.04em;color:#214f3d;font-family:Arial,sans-serif}
.fc-referral-actions>small{font-size:12px;color:#62766b}
.fc-referral-link{display:flex;gap:8px;align-items:stretch}
.fc-referral-link input{flex:1;min-width:0;border:1px solid #d5d8cb;border-radius:10px;background:#fff;padding:10px;font:12px Arial,sans-serif;text-align:left;direction:ltr}
.fc-referral-link .fc-copy-button{background:#214f3d;color:#fff;border:0;border-radius:9px;padding:9px 17px;white-space:nowrap;font-family:inherit;font-size:13px;cursor:pointer}
.fc-referral-link .fc-copy-button:hover{background:#173b2b}
.fc-referral-link .fc-copy-button:focus-visible{outline:3px solid #c7834b;outline-offset:2px}
.fc-referral-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fc-referrals-admin .fc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.farclub-root .fc-referral{grid-template-columns:1fr;padding:18px}.fc-referral-settings-grid{grid-template-columns:1fr}}
@media(max-width:480px){.fc-referral-link{flex-direction:column}.fc-referral-link input,.fc-referral-link .fc-copy-button{width:100%;font-size:16px}}

.fc-referral-log th,.fc-referral-log td{text-align:right;vertical-align:middle;padding:11px 13px}
.fc-referral-status{display:inline-flex;align-items:center;border-radius:100px;padding:4px 10px;background:#f3ead5;color:#8d692e;font-size:12px;white-space:nowrap}
.fc-referral-status--awarded{background:#e5f1e8;color:#256143}
.fc-referral-status--reversed{background:#fbe7e4;color:#a64b3e}
.fc-directory-pages{display:flex;align-items:center;justify-content:center;gap:13px;margin:19px 0 0}
.fc-customer-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}
.fc-customer-search label{width:100%;font-weight:700}
.fc-customer-search input[type=search]{flex:1;min-height:43px;min-width:220px;max-width:450px;font-size:16px;border-radius:9px}
.fc-directory-summary{font-size:12px;color:#69796c;margin-bottom:8px}
.fc-directory th,.fc-directory td{text-align:right;vertical-align:middle;padding:11px}
.fc-customer-email{display:block;font:12px Arial,sans-serif;color:#7c8880;direction:ltr;text-align:right}
.fc-directory-tier{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.fc-directory-tier i{display:block;width:10px;height:10px;border-radius:50%}
@media(max-width:520px){.fc-customer-search input[type=search]{min-width:100%;max-width:none}.fc-customer-search .button{min-height:39px}}

.fc-registration-warning{border-right:3px solid #c7834b;background:#fcf6ea;padding:12px 15px;border-radius:9px;color:#6c5334!important;font-size:13px}.fc-registration-warning a{color:#214f3d;font-weight:750;text-decoration:underline}

/* FarClub reward exchange - understated, Persian-first retail surfaces */
.fc-rewards{margin-top:28px;border:1px solid var(--fc-border);border-radius:18px;overflow:hidden;background:#fff;padding:0 0 24px}
.fc-rewards>.fc-section-title{padding:24px 28px 17px}
.fc-rewards-note{margin:0 25px 18px;padding:11px 14px;border-right:3px solid var(--fc-copper);border-radius:8px;background:#fbf4e8;color:#7b613f;font-size:12px}
.fc-rewards>.fc-empty{margin:0 24px}
.fc-reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 24px}
.fc-reward-card{display:flex;flex-direction:column;min-width:0;padding:20px 19px 17px;background:#f8f9f6;border:1px solid #e7e9e2;border-radius:14px}
.fc-reward-mark{height:43px;width:43px;display:grid;place-items:center;background:#dbe8dd;border-radius:11px;color:#214f3d;font-size:24px;margin-bottom:13px}
.fc-reward-card h4{margin:0;font-size:17px;font-weight:850;color:#214f3d}
.fc-reward-card p{margin:8px 0 14px;min-height:43px;font-size:12px;color:#657268}
.fc-reward-pricing{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;margin:auto 0 15px}
.fc-reward-pricing strong{font-size:18px;color:#214f3d}
.fc-reward-pricing>span{color:#805e36;font-size:12px;background:#f2e9db;border-radius:40px;padding:2px 10px}
.fc-reward-button{display:block;width:100%;border:0;border-radius:9px;background:#214f3d;color:#fff;font-family:inherit;font-size:13px;font-weight:750;min-height:40px;cursor:pointer}
.fc-reward-button:disabled{background:#e0e4dc;color:#859087;cursor:not-allowed}
.fc-reward-button:focus-visible{outline:3px solid var(--fc-copper);outline-offset:2px}
.fc-reward-claims{border-top:1px solid var(--fc-border);margin:24px 24px 0;padding-top:16px}
.fc-reward-claims h4{font-size:16px;margin:0 0 13px;color:#214f3d}
.fc-reward-claims table{width:100%;border-collapse:collapse}
.fc-reward-claims td,.fc-reward-claims th{padding:9px 11px;border-bottom:1px solid #e7e9e2;text-align:right;font-size:13px}
.fc-reward-claims code{display:inline-block;direction:ltr;background:#f2f4ee;border-radius:6px;padding:4px 8px;font-size:12px}
.fc-reward-feedback{margin:18px 0;padding:12px 16px;background:#f3f5ee;border-right:3px solid #214f3d;border-radius:9px;font-size:13px}
.fc-reward-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.fc-rewards-admin .fc-log th,.fc-rewards-admin table td{vertical-align:middle;text-align:right;padding:12px}
@media(max-width:950px){.fc-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fc-reward-grid{grid-template-columns:1fr;margin:0 13px}.fc-rewards>.fc-section-title{padding:20px 17px}.fc-reward-card{padding:16px}.fc-reward-claims{margin:20px 14px 0}.fc-reward-create-grid{grid-template-columns:1fr}}

/* Account missions */
.fc-missions{border:1px solid var(--fc-border);border-radius:18px;background:#fff;margin:23px 0 0;padding:0 0 23px}
.fc-missions>.fc-section-title{padding:24px 26px 15px}
.fc-missions .fc-reward-feedback{margin:0 23px 15px}
.fc-missions .fc-rewards-note{margin:0 23px 15px}
.fc-mission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 23px}
.fc-mission{min-width:0;border:1px solid #e7e9e2;background:#fafbf8;border-radius:14px;padding:20px;display:grid;grid-template-columns:auto 1fr;gap:12px 14px;align-items:start}
.fc-mission-icon{height:43px;width:43px;background:#edf0e7;border-radius:12px;color:#214f3d;display:grid;place-items:center;font-size:24px}
.fc-mission-main h4{font-size:17px;font-weight:820;color:#214f3d;margin:0 0 7px}
.fc-mission-main p{font-size:12px;color:#67786b;margin:0 0 8px;line-height:1.85}
.fc-mission-main span{display:inline-block;font-size:12px;font-weight:800;color:#946a35}
.fc-mission form{grid-column:1/-1;margin:1px 0 0}
.fc-mission button{width:100%;min-height:40px;border:0;border-radius:9px;background:#214f3d;color:#fff;font-family:inherit;font-weight:700;cursor:pointer}
.fc-mission button:disabled{background:#e2e6df;color:#8b958c;cursor:not-allowed}
.fc-mission button:focus-visible{outline:3px solid #c7834b;outline-offset:2px}
.fc-mission-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
@media(max-width:720px){.fc-mission-grid{grid-template-columns:1fr;margin:0 13px}.fc-missions>.fc-section-title{padding:19px 15px}.fc-mission-settings{grid-template-columns:1fr}}

/* FarClub campaign and draw surfaces */
.fc-raffles{margin:23px 0 0;background:#fff;border:1px solid #dfe7da;border-radius:17px;padding:23px}
.fc-raffle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.fc-raffle-card{background:#f6f2e9;border:1px solid #e8e1d4;border-radius:14px;padding:19px;min-width:0}
.fc-raffle-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.fc-raffle-top span{font-size:12px;color:#846636}
.fc-raffle-top strong{display:inline-block;font-size:12px;border-radius:20px;padding:5px 11px;color:#214f3d;background:#dde8d9}
.fc-raffle-card h4{font-size:18px;font-weight:850;color:#214f3d;margin:14px 0 10px}
.fc-raffle-card p{font-size:12px;color:#647568;line-height:1.9;margin:4px 0}
.fc-raffle-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 19px}
.fc-raffle-form label{display:flex;flex-direction:column;gap:7px;font-weight:700}
.fc-raffle-form input{width:100%;font-size:16px}
.fc-raffles-admin table th,.fc-raffles-admin table td{text-align:right;vertical-align:top;padding:11px}
.fc-raffles-admin table form{margin:0}
.fc-raffles-admin table details summary{cursor:pointer;color:#214f3d;margin-top:9px}
@media(max-width:900px){.fc-raffle-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fc-raffles{padding:16px}.fc-raffle-grid,.fc-raffle-form{grid-template-columns:1fr}}

/* FarClub cashback wallet; consistent with olive/copper membership theme */
.fc-wallet-usage{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:17px;align-items:center;margin:18px 0 0;border:1px solid #D6E2D6;background:#F0F5ED;border-radius:15px;padding:20px 23px}
.fc-wallet-usage-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:13px;background:#214F3D;color:#F6F2E9;font-size:29px}
.fc-wallet-usage h3{color:#214F3D;font-size:19px;font-weight:820;margin:4px 0 5px}
.fc-wallet-usage p{font-size:12px;color:#53675B;margin:0;line-height:1.8}
.fc-wallet-usage-total{display:flex;flex-direction:column;text-align:left;gap:3px;white-space:nowrap;padding-right:18px;border-right:1px solid #D2DFD0}
.fc-wallet-usage-total small{color:#67796D;font-size:12px}
.fc-wallet-usage-total strong{font-size:20px;color:#214F3D}
.fc-wallet-admin .fc-table-scroll th,.fc-wallet-admin .fc-table-scroll td{padding:12px;text-align:right}
@media(max-width:680px){.fc-wallet-usage{grid-template-columns:42px minmax(0,1fr);padding:17px;gap:13px}.fc-wallet-usage-icon{width:40px;height:40px;font-size:23px}.fc-wallet-usage-total{grid-column:1/-1;border-right:0;border-top:1px solid #d2dfd0;padding:12px 0 0;text-align:right}.fc-wallet-usage-total strong{font-size:19px}}

/* FarClub SMS: quiet Persian-first notification workspace */
.fc-sms-admin .fc-admin-head{margin-bottom:22px}
.fc-sms-admin .fc-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.fc-sms-admin .fc-sms-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:18px 0}
.fc-sms-admin .fc-sms-fields label,
.fc-sms-admin .fc-sms-event label,
.fc-sms-admin .fc-sms-test label{display:flex;flex-direction:column;gap:7px;color:#304b39;font-weight:700;font-size:13px}
.fc-sms-admin input[type=text],.fc-sms-admin input[type=password],
.fc-sms-admin input[type=tel],.fc-sms-admin select,.fc-sms-admin textarea{width:100%;min-width:0;max-width:100%;padding:9px 12px;min-height:42px;line-height:1.7;border:1px solid #d8e1d6;border-radius:9px;background:#fff;color:#263b2c;font-size:16px;box-sizing:border-box}
.fc-sms-admin input:focus-visible,.fc-sms-admin select:focus-visible,.fc-sms-admin textarea:focus-visible{outline:2px solid #ba8246;outline-offset:2px}
.fc-sms-admin .fc-sms-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:22px 0}
.fc-sms-admin .fc-sms-event{border:1px solid #dfe7dc;background:#f8faf7;border-radius:13px;padding:17px}
.fc-sms-admin .fc-sms-event-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.fc-sms-admin .fc-sms-event-heading>strong{font-size:15px;color:#214f3d}
.fc-sms-admin .fc-sms-event .fc-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;white-space:nowrap;font-weight:600}
.fc-sms-admin .fc-sms-event-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px}
.fc-sms-admin .fc-sms-event textarea{resize:vertical;min-height:80px}
.fc-sms-admin .fc-sms-test{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px}
.fc-sms-admin .fc-sms-test .button{min-height:42px;white-space:nowrap}
.fc-sms-admin .fc-sms-feedback{border-right:3px solid #214f3d;border-radius:9px;background:#eff4eb;color:#214f3d;padding:13px 16px;margin:0 0 20px;font-size:13px}
.fc-sms-admin table th,.fc-sms-admin table td{text-align:right;vertical-align:middle;padding:11px}
.fc-sms-status{display:inline-flex;border-radius:30px;padding:4px 10px;background:#e6e8e2;color:#4a5b4f;font-size:12px}
.fc-sms-status--sent{background:#dceee3;color:#236347}
.fc-sms-status--failed{background:#f6e6e2;color:#a54b3e}
.fc-sms-status--pending{background:#f4ecd9;color:#866735}
.fc-sms-status--sending{background:#e4ecf5;color:#3f6689}
@media(max-width:950px){.fc-sms-admin .fc-sms-events{grid-template-columns:1fr}.fc-sms-admin .fc-sms-test{grid-template-columns:1fr 1fr}.fc-sms-admin .fc-sms-test button{grid-column:1/-1}}
@media(max-width:650px){.fc-sms-admin .fc-sms-fields,.fc-sms-admin .fc-sms-test,.fc-sms-admin .fc-metrics{grid-template-columns:1fr}.fc-sms-admin .fc-sms-event-heading{align-items:flex-start;flex-direction:column}.fc-sms-admin .fc-sms-fields{gap:10px}}

/* ============================================================
   FarClub Studio 0.8.1 — editorial Persian UI direction
   Forest / parchment / brass. Zero external design dependencies.
   Scoped to .farclub-admin and .farclub-root only.
   ============================================================ */
@font-face {
  font-family: "FarClub Vazirmatn";
  src: url("./fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.farclub-admin,
.farclub-root {
  --fc-green: #193f32;
  --fc-green-deep: #16382e;
  --fc-copper: #be8450;
  --fc-cream: #f5f1e9;
  --fc-olive: #dbe4d7;
  --fc-charcoal: #1e2922;
  --fc-border: #e2e8df;
  --fc-muted: #68776d;
  --fc-surface: #fff;
  font-family: "FarClub Vazirmatn", Tahoma, sans-serif !important;
  color: var(--fc-charcoal);
  direction: rtl;
  line-height: 1.85;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.farclub-admin *, .farclub-root * { box-sizing: border-box; }
.farclub-admin :is(button, input, select, textarea, option, .button, .button-primary, a),
.farclub-root :is(button, input, select, textarea, option, a) {
  font-family: inherit !important;
}
.farclub-admin .fc-icon, .farclub-root .fc-icon {
  display: inline-block;
  width: 20px; height: 20px;
  flex: 0 0 auto;
  vertical-align: middle;
  pointer-events: none;
}
.farclub-admin button:focus-visible, .farclub-admin a:focus-visible,
.farclub-root button:focus-visible, .farclub-root a:focus-visible,
.farclub-admin input:focus-visible, .farclub-root input:focus-visible,
.farclub-admin textarea:focus-visible, .farclub-admin select:focus-visible {
  outline: 3px solid #c59057 !important;
  outline-offset: 3px;
}

/* WordPress admin: a branded workspace, not a boilerplate form */
.farclub-admin {
  width: auto;
  max-width: 1350px;
  margin: 19px 0 65px 20px;
  padding: 0 4px 20px;
  font-size: 13px;
}
.farclub-admin .fc-admin-head {
  background: #193d31;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(239,226,194,.095) 1px, transparent 1.3px);
  background-size: 22px 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 23px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  padding: 34px 40px;
  margin-bottom: 12px;
  isolation: isolate;
  box-shadow: 0 15px 38px rgba(15,49,32,.10);
}
.farclub-admin .fc-admin-head:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -55px; top: -88px;
  width: 330px; height: 330px;
  border-radius: 50%;
  border: 1px solid rgba(216,196,159,.28);
  box-shadow: 0 0 0 38px rgba(255,255,255,.025),
              0 0 0 83px rgba(255,255,255,.02);
  pointer-events: none;
}
.farclub-admin .fc-admin-head:after {
  content: "";
  width: 5px; height: 57px;
  border-radius: 3px;
  position: absolute;
  right: 0; top: 35px;
  background: #c69058;
}
.farclub-admin .fc-admin-head .fc-eyebrow {
  display: inline-flex; align-items: center;
  color: #d4ad7a; font-size: 10px;
  letter-spacing: .2em;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(233,218,180,.3);
}
.farclub-admin .fc-admin-head h1 {
  color: #fff !important; font-size: clamp(25px, 2.55vw, 34px);
  font-weight: 880; line-height: 1.5; margin: 11px 0 8px;
  letter-spacing: -.5px;
}
.farclub-admin .fc-admin-head h1 small {
  display: inline-block;
  font-weight: 400; font-size: 13px;
  color: #d4e0d4;
  background: rgba(235,244,228,.085);
  border: 1px solid rgba(233,243,236,.12);
  border-radius: 24px;
  padding: 4px 13px;
  vertical-align: middle;
  margin: 0 14px 0 0;
}
.farclub-admin .fc-admin-head p {
  max-width: 690px;
  font-size: 13px; color: #cedbcc;
  margin: 0;
}
.farclub-admin .fc-studio-brand {
  position: absolute;
  direction: ltr;
  left: 34px; top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8f4ed;
}
.farclub-admin .fc-studio-symbol {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid rgba(226,205,171,.52);
  border-radius: 15px;
  color: #cfa475; transform: rotate(-8deg);
  background: rgba(230,201,166,.075);
}
.farclub-admin .fc-studio-symbol .fc-icon { width: 26px; height: 26px; }
.farclub-admin .fc-studio-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.farclub-admin .fc-studio-brand-text strong {
  font: 800 17px/1.3 Arial,sans-serif; letter-spacing: .1em;
}
.farclub-admin .fc-studio-brand-text small {
  color: #c7b9a4; font: 400 10px/1.3 Arial,sans-serif; letter-spacing: .08em;
}
/* Smart segmented navigation, available on every FarClub admin page */
.farclub-admin .fc-studio-nav {
  display: flex; gap: 5px; align-items: center;
  overflow-x: auto;
  scrollbar-width: thin; scrollbar-color: #aabbb0 transparent;
  background: #fff;
  border: 1px solid #e0e6dd;
  border-radius: 16px;
  padding: 7px;
  margin: 0 0 22px;
  box-shadow: 0 7px 24px rgba(28,54,39,.035);
}
.farclub-admin .fc-studio-nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 41px;
  flex: 0 0 auto;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  color: #516356;
  font-size: 12px; font-weight: 730;
  transition: background .14s ease, color .14s ease;
}
.farclub-admin .fc-studio-nav-link .fc-icon { width: 17px; height: 17px; }
.farclub-admin .fc-studio-nav-link:hover { background: #f4f7f2; color: #194334; }
.farclub-admin .fc-studio-nav-link.is-current {
  background: #204a38; color: #fff; box-shadow: 0 4px 11px rgba(27,76,50,.12);
}
.farclub-admin .fc-studio-nav-link.is-current:hover { background: #204a38; color:#fff; }

/* Summary tiles: one strong data anchor, intentional rhythm */
.farclub-admin .fc-metrics {
  gap: 13px; margin-bottom: 23px;
}
.farclub-admin .fc-metrics > .fc-metric-tile {
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 22px 21px;
  min-height: 145px;
  border-radius: 15px;
  border: 1px solid #e0e5dc;
  background: #fff;
  box-shadow: 0 4px 16px rgba(27,48,29,.025);
}
.farclub-admin .fc-metrics > .fc-metric-tile:first-child {
  background: #edece2;
  border-color: #e8e5d6;
}
.farclub-admin .fc-metrics > .fc-metric-tile:after {
  content: "";
  position: absolute; right: 21px; bottom: 0;
  width: 36px; height: 3px; border-radius: 3px 3px 0 0;
  background: #bb8757; opacity: .8;
}
.farclub-admin .fc-metric-icon {
  display: grid !important; width: 19px; height: 19px;
  color: #99734d; margin-bottom: 12px;
}
.farclub-admin .fc-metric-label {
  color: #617467; font-size: 11px; font-weight: 640;
  margin: 0 0 8px;
}
.farclub-admin .fc-metric-tile > strong {
  color: #183e30; font-size: clamp(21px, 2vw, 26px);
  line-height: 1.55; letter-spacing: -.4px;
  font-weight: 870;
  overflow-wrap: anywhere;
}
.farclub-admin .fc-metric-tile .woocommerce-Price-amount {
  color: inherit !important; font-size: inherit !important;
}

/* Editorial panel composition */
.farclub-admin .fc-panel {
  min-width: 0;
  border: 1px solid #dfe7dc;
  box-shadow: 0 3px 13px rgba(28,57,39,.025);
  border-radius: 17px;
  padding: 24px 25px 26px;
  margin-bottom: 17px;
  background: #fff;
}
.farclub-admin .fc-panel h2 {
  color: #204735;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.65;
  margin: 0 0 20px;
}
.farclub-admin .fc-panel-heading {
  display: flex; gap: 10px; align-items: center;
}
.farclub-admin .fc-panel-heading > .fc-icon {
  width: 37px; height: 37px; padding: 9px;
  border-radius: 11px;
  color: #285841; background: #eaf1e8;
}
.farclub-admin .fc-panel p {
  color: #6b796f; font-size: 12px; line-height: 1.95;
}
.farclub-admin .fc-admin-grid { gap: 16px; }
.farclub-admin .fc-panel label {
  display: block;
  font-size: 12px;
  font-weight: 730;
  margin: 13px 0 0;
  color: #354d3b;
}
.farclub-admin .fc-panel label small, .farclub-admin .fc-panel .description {
  color: #819086; font-size: 11px; line-height: 1.8; margin-top: 3px;
}
.farclub-admin .fc-panel :is(input[type="text"], input[type="number"],
  input[type="search"],input[type="email"],input[type="tel"],
  input[type="password"],input[type="date"],input[type="datetime-local"],
  select,textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #d6dfd5;
  color: #23392a;
  background: #fcfdfa;
  border-radius: 10px;
  margin: 7px 0 3px;
  padding: 9px 12px;
  min-height: 45px;
  height: auto;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.farclub-admin .fc-panel :is(input, select, textarea):focus {
  border-color: #789d81; box-shadow: 0 0 0 3px rgba(64,111,74,.085);
}
.farclub-admin .fc-panel textarea { min-height: 88px; resize: vertical; }
.farclub-admin .fc-panel input[disabled] {
  background: #f2f4ef; color: #7f8d83;
}
.farclub-admin .fc-panel input[type="checkbox"] {
  border: 1px solid #a8c1ad;
  border-radius: 5px;
  box-shadow: none;
  accent-color: #204b39;
}
.farclub-admin .fc-panel .fc-check {
  display: flex;
  flex-direction: row; align-items: center;
  gap: 9px; margin: 12px 0;
  padding: 9px 0;
  color: #244432;
}
.farclub-admin .fc-panel .fc-check input[type="checkbox"] { margin: 0; }
.farclub-admin .fc-panel p.submit {
  margin: 17px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.farclub-admin .fc-panel :is(.button,.button-primary),
.farclub-admin .fc-studio-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px !important;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 12px !important;
  line-height: 1.5;
  font-weight: 750 !important;
  text-decoration: none;
  box-shadow: none !important;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.farclub-admin .fc-panel .button-primary,
.farclub-admin .fc-panel .fc-studio-primary {
  background: #204a37 !important;
  border-color: #204a37 !important;
  color: #fff !important;
}
.farclub-admin .fc-panel .button-primary:hover {
  background: #163e2d !important; border-color: #163e2d !important;
}
.farclub-admin .fc-panel .button-secondary {
  background: #f4f6f0; border-color: #d5dfd4; color: #24533b;
}
.farclub-admin .fc-panel .button-secondary:hover {
  background: #eaf0e5; border-color: #b8ceba; color: #184531;
}

/* Tables / logs: tidy line-height, no ragged admin defaults */
.farclub-admin .fc-table-scroll {
  max-width: 100%;
  border: 1px solid #e5ece3;
  border-radius: 11px;
  overflow: auto;
  scrollbar-width: thin;
}
.farclub-admin .fc-table-scroll table,
.farclub-admin .fc-panel table.widefat {
  width: 100%; border-collapse: collapse; border: 0;
  background: #fff;
  box-shadow: none;
  font-size: 12px;
  white-space: normal;
}
.farclub-admin .fc-table-scroll th,
.farclub-admin .fc-table-scroll table.widefat th {
  padding: 12px 14px !important;
  background: #edf3ec;
  color: #536c59;
  border: 0;
  border-bottom: 1px solid #dce6db;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: middle;
}
.farclub-admin .fc-table-scroll td,
.farclub-admin .fc-table-scroll table.widefat td {
  padding: 14px 14px !important;
  color: #405247;
  border-bottom: 1px solid #edf0ea;
  border-top: 0;
  line-height: 1.75;
  vertical-align: middle;
  text-align: right;
}
.farclub-admin .fc-table-scroll tbody tr:last-child td { border-bottom: 0; }
.farclub-admin .fc-table-scroll table.striped>tbody>:nth-child(odd) { background: #fff; }
.farclub-admin .fc-table-scroll table.striped>tbody>:nth-child(even) { background: #fafbf9; }
.farclub-admin .fc-table-scroll tbody tr:hover td { background: #f3f7f0; }
.farclub-admin .fc-table-scroll td strong { color: #1b4432; }
.farclub-admin .fc-table-scroll td a { color: #286246; text-decoration: none; }
.farclub-admin .fc-table-scroll td a:hover { text-decoration: underline; }
.farclub-admin .fc-table-scroll table .button { white-space: nowrap; }

/* Membership editor */
.farclub-admin .fc-tiers-form .fc-tier-fields { gap: 12px; }
.farclub-admin .fc-tiers-form .fc-tier-entry {
  background: #f6f8f3;
  border: 1px solid #e2e8df;
  border-radius: 13px;
  align-content: start;
  padding: 18px;
  gap: 10px;
}
.farclub-admin .fc-tiers-form .fc-tier-entry:nth-child(3) { background:#f9f6ed; }
.farclub-admin .fc-tiers-form .fc-tier-entry:nth-child(4) { background:#eef2ef; }
.farclub-admin .fc-tier-dot { width: 11px; height: 11px; box-shadow: 0 0 0 4px #fff; }
.farclub-admin .fc-tiers-form .fc-tier-entry input {
  background: #fff !important; font-size: 15px !important; font-weight: 800;
}
.farclub-admin .fc-tiers .fc-note { color: #778479; font-size: 12px; }

/* Dedicated admin SMS settings; pleasant density */
.farclub-admin.fc-sms-admin .fc-sms-event {
  background: #f7f9f5;
  border-color: #e0e7dd;
  padding: 19px 20px 21px;
  border-radius: 13px;
}
.farclub-admin.fc-sms-admin .fc-sms-event-heading {
  border-bottom: 1px solid #e1e8df;
  padding-bottom: 12px;
  margin-bottom: 13px;
}
.farclub-admin.fc-sms-admin .fc-sms-event-heading > strong {
  color: #204b39; font-size: 14px;
}
.farclub-admin.fc-sms-admin .fc-panel .fc-sms-event label {
  font-size: 12px; margin-top: 10px;
}
.farclub-admin.fc-sms-admin .fc-sms-fields { gap: 13px 18px; }
.farclub-admin.fc-sms-admin .fc-sms-event-grid { gap: 7px; }
.farclub-admin.fc-sms-admin .fc-sms-status {
  font-size: 11px; font-weight: 800;
}

/* Customer app: a meaningful member home rather than repeated cards */
.farclub-root {
  width: 100%;
  max-width: 1130px;
  margin: 22px auto 45px;
  font-size: 14px;
}
.farclub-root .fc-hero {
  position: relative;
  min-height: 266px;
  padding: 42px 46px 61px;
  border-radius: 24px;
  border: 1px solid rgba(250,243,229,.13);
  background: #193f32;
  background-image: radial-gradient(circle at 1px 1px, rgba(239,232,204,.1) 1px, transparent 1.3px);
  background-size: 24px 24px;
  box-shadow: 0 19px 38px rgba(21,59,35,.12);
  isolation: isolate;
  gap: 22px;
}
.farclub-root .fc-hero:after {
  width: 350px; height: 350px;
  border: 1px solid rgba(211,180,126,.26);
  box-shadow: 0 0 0 44px rgba(249,238,216,.028), 0 0 0 88px rgba(249,238,216,.018);
  left: -118px; bottom: -235px;
  z-index: -1;
}
.farclub-root .fc-hero .fc-eyebrow { color: #cda474; letter-spacing: .2em; }
.farclub-root .fc-hero h2 {
  font-size: clamp(26px, 3.2vw, 39px);
  color: #fff;
  line-height: 1.55;
  margin: 12px 0 5px;
  font-weight: 875;
}
.farclub-root .fc-hero p {
  color: #dbe9d9; font-size: 13px;
  line-height: 1.95; margin: 0;
}
.farclub-root .fc-mark {
  display: grid;
  place-items: center;
  width: 124px; height: 124px;
  flex: 0 0 124px;
  border-radius: 29px;
  background: rgba(253,248,236,.06);
  border: 1px solid rgba(239,220,187,.44);
  transform: rotate(-9deg);
  box-shadow: inset 0 0 0 9px rgba(253,247,237,.035);
}
.farclub-root .fc-mark .fc-icon {
  width: 65px; height: 65px;
  color: #e1be8a; stroke-width: 1.25;
}
.farclub-root .fc-hero-proof {
  display: inline-flex;
  gap: 7px; align-items: center;
  color: #dce8d5;
  border: 1px solid rgba(238,238,228,.16);
  border-radius: 25px;
  padding: 7px 12px;
  background: rgba(255,255,255,.06);
  margin-top: 16px;
  font-size: 11px;
}
.farclub-root .fc-hero-proof .fc-icon { width: 15px; height: 15px; color: #c9a777; }
.farclub-root .fc-customer-stats {
  position: relative; z-index: 1;
  margin: -28px 20px 23px;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 13px;
}
.farclub-root .fc-stat {
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  padding: 26px 24px 23px;
  min-height: 164px;
  border: 1px solid #e4e8de;
  border-radius: 16px;
  box-shadow: 0 11px 24px rgba(23,52,37,.055);
  background: #fff;
}
.farclub-root .fc-stat-note {
  background: #f5f1e8;
  border-color: #eee7da;
}
.farclub-root .fc-stat-icon {
  color: #a77745;
  width: 22px; height: 22px;
  margin-bottom: 10px;
}
.farclub-root .fc-stat > span {
  color: #65766a;
  font-size: 12px;
  font-weight: 600;
}
.farclub-root .fc-stat > strong {
  color: #193f32;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 870; line-height: 1.7;
  overflow-wrap: anywhere;
}
.farclub-root .fc-stat > strong .woocommerce-Price-amount {
  color: inherit; font-size: inherit;
}
.farclub-root .fc-stat small {
  color: #8a948c; font-size: 11px;
}
.farclub-root .fc-wallet-usage {
  margin-top: 0;
  border-radius: 16px;
  border: 1px solid #e0e8dd;
  background: #eef4ec;
  padding: 22px 26px;
}
.farclub-root .fc-wallet-usage-icon {
  border-radius: 12px;
  width: 49px; height: 49px;
}
.farclub-root .fc-wallet-usage-icon svg { width: 25px; height: 25px; }
.farclub-root .fc-wallet-usage h3 { font-size: 18px; margin: 4px 0 5px; }
.farclub-root .fc-wallet-usage-total strong { color: #214936; }
.farclub-root .fc-membership { gap: 16px; margin-top: 16px; }
.farclub-root .fc-membership-card {
  position: relative; isolation: isolate;
  overflow: hidden;
  background: #244635;
  border: 1px solid #244b38;
  border-radius: 18px;
  min-height: 232px;
  padding: 29px 32px;
  color: #f8f6f0;
}
.farclub-root .fc-membership-card:before {
  content: ""; pointer-events: none;
  position: absolute; z-index: -1;
  width: 260px; height: 260px;
  border: 1px solid rgba(223,196,147,.27);
  border-radius: 50%;
  left: -95px; bottom: -144px;
  box-shadow: 0 0 0 36px rgba(229,207,175,.025);
}
.farclub-root .fc-membership-card:after { content: none; }
.farclub-root .fc-membership-card .fc-eyebrow { color: #d6ae77; }
.farclub-root .fc-membership-card h3 { color: #fff; font-size: 20px; font-weight: 840; }
.farclub-root .fc-membership-card p { color: #d6e3d8; margin-top: 15px; }
.farclub-root .fc-membership-card p b { color: #f5ebd4; }
.farclub-root .fc-membership-card .fc-level {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(235,229,215,.18);
  color: #fff; font-weight: 800;
  padding: 5px 15px;
}
.farclub-root .fc-membership-seal {
  width: 56px; height: 56px;
  position: absolute; left: 27px; top: 27px;
  color: #dab27a;
  border: 1px solid rgba(232,212,180,.35);
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(248,234,204,.05);
}
.farclub-root .fc-membership-seal .fc-icon { width: 28px; height: 28px; }
.farclub-root .fc-membership-progress {
  border: 1px solid #e3e9e1;
  border-radius: 18px;
  background: #fff;
  min-height: 232px;
  padding: 28px 31px;
}
.farclub-root .fc-membership-progress h3 { font-size: 20px; font-weight: 845; margin: 9px 0; }
.farclub-root .fc-membership-progress p { color: #617364; line-height: 2; }
.farclub-root .fc-progress {
  margin-top: 25px;
  height: 9px; background: #e6ebe2;
}
.farclub-root .fc-progress > span { background: #be8750; }
.farclub-root .fc-referral {
  position: relative; overflow: hidden;
  gap: 27px;
  border-radius: 18px;
  border: 1px solid #ebe3d4;
  background: #f8f5ee;
  padding: 29px 31px;
}
.farclub-root .fc-referral-sign {
  width: 34px; height: 34px;
  color: #af7f4c;
  margin-bottom: 10px;
}
.farclub-root .fc-referral-copy h3 { font-size: 20px; line-height: 1.7; }
.farclub-root .fc-referral-copy p { line-height: 2; }
.farclub-root .fc-referral-actions {
  border: 1px solid #ebe4d8;
  border-radius: 13px;
  padding: 16px;
  background: #fff;
  min-width: 0;
}
.farclub-root .fc-referral-link { gap: 9px; }
.farclub-root .fc-referral-link input {
  padding: 11px;
  border: 1px solid #d9e0d6;
  background: #fafbf8;
  min-height: 45px;
  border-radius: 9px;
}
.farclub-root .fc-referral-link .fc-copy-button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px;
  min-height: 45px;
  font-weight: 750;
}
.farclub-root .fc-copy-button .fc-icon { width: 16px; height: 16px; }
.farclub-root :is(.fc-missions,.fc-rewards,.fc-history,.fc-raffles) {
  border: 1px solid #e1e9df;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgba(25,55,35,.022);
}
.farclub-root .fc-section-title { gap: 16px; }
.farclub-root .fc-section-title h3 {
  display: flex; gap: 10px; align-items: center;
  font-size: 21px; color: #214836;
  font-weight: 840; line-height: 1.6;
}
.farclub-root .fc-section-title h3 .fc-icon {
  color: #9a6d43; width: 20px; height: 20px;
}
.farclub-root .fc-mission {
  border-radius: 12px; background:#fafbf8; border-color:#e3e9e0;
}
.farclub-root .fc-mission-icon {
  background: #e5ece2; color: #1d4c35;
}
.farclub-root .fc-mission-icon svg { width: 23px; height: 23px; }
.farclub-root .fc-reward-card {
  border: 1px solid #e3e8de; border-radius: 13px; background:#fbfcf9;
}
.farclub-root .fc-reward-mark {
  background:#e8ede4;
  color:#34563b;
}
.farclub-root .fc-reward-mark svg { width: 23px; height: 23px; }
.farclub-root :is(.fc-history,.fc-reward-claims) table {
  border-collapse: collapse;
}
.farclub-root .fc-history th, .farclub-root .fc-reward-claims th {
  background: #edf2eb; border-color: #e1e9df;
  color: #536957; font-weight: 800; font-size: 11px;
}
.farclub-root .fc-history td, .farclub-root .fc-reward-claims td {
  color: #52645a; border-color: #eef0e9;
}
.farclub-root .fc-helper {
  color: #667a6b; font-size: 11px; line-height: 1.8;
}
.farclub-root .fc-empty {
  margin: 10px 0; padding: 33px 20px;
  border: 1px dashed #cddcce;
  border-radius: 12px;
  background: #f5f8f3; color: #5f7163;
}
/* Fine-grained responsiveness across admin and account */
@media (max-width: 1100px) {
  .farclub-admin .fc-studio-nav-link { padding: 9px 12px; }
  .farclub-admin .fc-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .farclub-admin .fc-admin-head { padding: 29px 30px; }
  .farclub-admin .fc-studio-brand { left: 22px; }
  .farclub-root .fc-customer-stats { margin-left: 12px; margin-right: 12px; }
  .farclub-root .fc-hero { padding: 36px 35px 59px; }
}
@media (max-width: 780px) {
  .farclub-admin { margin-left: 0; padding-right: 4px; padding-left: 4px; }
  .farclub-admin .fc-admin-head {
    min-height: 170px;
    padding: 26px 25px;
  }
  .farclub-admin .fc-studio-brand {
    left: 16px; top: 20px;
    transform: scale(.8); transform-origin: top left;
  }
  .farclub-admin .fc-admin-head h1 { padding-left: 70px; font-size: 25px; }
  .farclub-admin .fc-panel { padding: 20px; }
  .farclub-root .fc-referral, .farclub-root .fc-membership {
    grid-template-columns: 1fr;
  }
  .farclub-root .fc-referral { gap: 16px; }
}
@media (max-width: 610px) {
  .farclub-admin .fc-admin-head {
    min-height: 0; padding: 26px 19px 24px; border-radius: 17px;
    background-size: 20px 20px;
  }
  .farclub-admin .fc-admin-head h1 {
    font-size: 24px; line-height: 1.5; margin-top: 17px;
    padding-left: 0;
  }
  .farclub-admin .fc-admin-head h1 small {
    font-size: 11px; padding: 3px 8px;
  }
  .farclub-admin .fc-studio-brand { position: static; transform:none; margin-top:17px; }
  .farclub-admin .fc-studio-symbol { width: 39px; height: 39px; }
  .farclub-admin .fc-studio-symbol .fc-icon { width: 21px; height: 21px; }
  .farclub-admin .fc-studio-nav { border-radius: 12px; margin-bottom: 15px; }
  .farclub-admin .fc-studio-nav-link { padding: 9px 12px; font-size: 11px; }
  .farclub-admin .fc-metrics { gap: 9px; margin-bottom: 17px; }
  .farclub-admin .fc-metrics > .fc-metric-tile {
    padding: 16px 14px; min-height: 125px;
  }
  .farclub-admin .fc-metric-label { font-size: 10px; }
  .farclub-admin .fc-metric-tile > strong { font-size: 20px; }
  .farclub-admin .fc-panel { padding: 18px 15px; border-radius: 13px; }
  .farclub-admin .fc-panel h2 { font-size: 17px; }
  .farclub-admin .fc-admin-grid { grid-template-columns: 1fr; }
  .farclub-root { margin: 11px 0 30px; }
  .farclub-root .fc-hero {
    display: flex; padding: 27px 23px 44px; min-height: 0;
    border-radius: 19px;
  }
  .farclub-root .fc-hero h2 { font-size: 27px; }
  .farclub-root .fc-hero p { font-size: 12px; }
  .farclub-root .fc-mark { width: 64px; height: 64px; flex-basis: 64px; border-radius: 18px; }
  .farclub-root .fc-mark .fc-icon { width: 32px; height: 32px; }
  .farclub-root .fc-customer-stats {
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px;
    margin: -22px 10px 18px;
  }
  .farclub-root .fc-stat { padding: 18px 15px; min-height: 136px; }
  .farclub-root .fc-stat:last-child { grid-column: 1 / -1; min-height: 0; }
  .farclub-root .fc-stat > strong { font-size: 22px; }
  .farclub-root .fc-referral { padding: 20px 16px; }
  .farclub-root .fc-wallet-usage { padding: 18px 16px; }
  .farclub-root .fc-membership-card,.farclub-root .fc-membership-progress { padding: 22px 20px; }
  .farclub-root .fc-section-title h3 { font-size: 18px; }
}
@media (max-width: 390px) {
  .farclub-admin .fc-metrics { grid-template-columns: 1fr; }
  .farclub-root .fc-hero { display: block; }
  .farclub-root .fc-mark { display: none; }
  .farclub-root .fc-customer-stats { grid-template-columns: 1fr; }
  .farclub-root .fc-stat:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .farclub-admin *, .farclub-root * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Public FarClub landing: editorial members' club, never an empty login box */
.farclub-root.fc-onboarding {
  max-width: 1180px;
}
.farclub-root.fc-onboarding .fc-onboard-hero {
  min-height: 390px;
  padding: 54px 57px 61px;
  align-items: center;
}
.farclub-root.fc-onboarding .fc-onboard-lead { position: relative; z-index: 1; max-width: 620px; }
.farclub-root.fc-onboarding .fc-onboard-hero h2 {
  font-size: clamp(31px, 4vw, 51px);
  line-height: 1.55;
  letter-spacing: -.8px;
  max-width: 630px;
  margin: 14px 0 13px;
}
.farclub-root.fc-onboarding .fc-onboard-hero h2 .fc-onboard-accent {
  display: block;
  color: #dfbc88;
}
.farclub-root.fc-onboarding .fc-onboard-hero p {
  font-size: 14px; line-height: 2.1; max-width: 530px;
}
.farclub-root.fc-onboarding .fc-onboard-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 15px;
  margin-top: 26px;
}
.farclub-root.fc-onboarding .fc-onboard-button {
  display: inline-flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 51px;
  padding: 10px 19px;
  border-radius: 9px;
  border: 1px solid #e2b980;
  background: #d2a16a;
  color: #1e392c !important;
  font-size: 13px; font-weight: 850;
  text-decoration: none !important;
  transition: background .16s ease, transform .16s ease;
}
.farclub-root.fc-onboarding .fc-onboard-button:hover {
  background: #e5b986; transform: translateY(-1px);
}
.farclub-root.fc-onboarding .fc-onboard-button span { font-size: 20px; }
.farclub-root.fc-onboarding .fc-onboard-subnote {
  color: #bbcfc1; font-size: 11px;
}
.farclub-root.fc-onboarding .fc-onboard-emblem {
  position: relative;
  flex: 0 0 250px; width: 250px; height: 250px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 1px solid rgba(215,192,155,.44);
  border-radius: 50%;
  box-shadow: 0 0 0 19px rgba(253,238,205,.018), 0 0 0 52px rgba(253,238,205,.012);
  transform: rotate(-13deg);
  color: #dfbd8b;
}
.farclub-root.fc-onboarding .fc-onboard-emblem:before,
.farclub-root.fc-onboarding .fc-onboard-emblem:after {
  content: ""; position: absolute;
  height: 12px; width: 12px;
  border: 1px solid #d1af7b;
  border-radius: 50%;
  top: 23px; right: 36px;
  background: #1d4535;
}
.farclub-root.fc-onboarding .fc-onboard-emblem:after {
  width: 6px; height: 6px;
  top: auto; right: auto; bottom: 27px; left: 33px;
}
.farclub-root.fc-onboarding .fc-onboard-emblem-inner {
  font: 800 111px/.95 Georgia,serif;
  letter-spacing: -.12em;
  position: relative;
  padding-left: 15px;
}
.farclub-root.fc-onboarding .fc-onboard-emblem-inner span {
  font: 400 27px/1 Georgia,serif;
  position: absolute; top: 0; left: -11px;
}
.farclub-root.fc-onboarding .fc-onboard-emblem small {
  font: 600 9px/1.5 Arial,sans-serif;
  letter-spacing: .27em; margin-top: 16px;
}
.farclub-root.fc-onboarding .fc-onboard-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  border: 1px solid #e1e7de;
  border-radius: 17px;
  background: #fff;
  margin: -20px 28px 24px;
  box-shadow: 0 10px 30px rgba(27,57,37,.055);
  overflow: hidden;
}
.farclub-root.fc-onboarding .fc-onboard-step {
  display: flex; gap: 16px; padding: 24px 23px;
  align-items: flex-start;
  min-width: 0;
}
.farclub-root.fc-onboarding .fc-onboard-step + .fc-onboard-step {
  border-right: 1px solid #e7ebe3;
}
.farclub-root.fc-onboarding .fc-onboard-index {
  font: 800 20px/1.4 Georgia,serif;
  color: #b78d59;
}
.farclub-root.fc-onboarding .fc-onboard-step h3 {
  margin: 0 0 6px; color: #204835; font-weight: 860;
  font-size: 17px; line-height: 1.7;
}
.farclub-root.fc-onboarding .fc-onboard-step p {
  color: #6e7d6f; font-size: 11px; line-height: 1.95; margin: 0;
}
.farclub-root.fc-onboarding .fc-onboard-bottom {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 18px; align-items: stretch;
  margin-top: 20px;
}
.farclub-root.fc-onboarding .fc-onboard-explainer {
  padding: 43px 38px;
  border-radius: 17px;
  background: #f7f6f0;
  border: 1px solid #ebeae0;
  display: flex; flex-direction: column;
  justify-content: center;
}
.farclub-root.fc-onboarding .fc-onboard-explainer h3 {
  color: #1e4634; margin: 12px 0 9px;
  font-size: clamp(21px,2.3vw,28px); line-height: 1.65; font-weight: 850;
}
.farclub-root.fc-onboarding .fc-onboard-explainer p {
  max-width: 560px; color: #617366;
  line-height: 2.15; font-size: 13px; margin: 0 0 20px;
}
.farclub-root.fc-onboarding .fc-onboard-textlink {
  display: inline-flex; gap: 10px; align-items: center; align-self: flex-start;
  border-bottom: 1px solid #a77a48; padding-bottom: 6px;
  text-decoration: none !important; color: #1e4933 !important;
  font-size: 13px; font-weight: 840;
}
.farclub-root.fc-onboarding .fc-onboard-textlink:hover { color: #946734 !important; }
.farclub-root.fc-onboarding .fc-onboard-preview {
  display: flex; flex-direction: column; position: relative;
  isolation: isolate; overflow: hidden;
  padding: 31px; min-height: 250px;
  background: #d9e4d7;
  border: 1px solid #d5e0d3;
  border-radius: 17px;
  color: #204734;
}
.farclub-root.fc-onboarding .fc-onboard-preview:before {
  content: ""; position: absolute; z-index: -1;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(37,84,56,.2);
  top: -131px; left: -135px;
  box-shadow: 0 0 0 36px rgba(42,92,58,.035),0 0 0 78px rgba(42,92,58,.028);
}
.farclub-root.fc-onboarding .fc-onboard-preview .fc-eyebrow { color: #6e8459; font-size: 10px; }
.farclub-root.fc-onboarding .fc-onboard-preview-title {
  color: #224b37; font-size: 18px; font-weight: 840;
  margin: 10px 0;
}
.farclub-root.fc-onboarding .fc-onboard-preview-symbol {
  margin: auto 0; text-align: center; color: #9a845b;
  font: 80px/1 Georgia,serif;
}
.farclub-root.fc-onboarding .fc-onboard-preview-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 9px; border-top: 1px solid #bdcbbc; padding-top: 14px;
}
.farclub-root.fc-onboarding .fc-onboard-preview-foot strong { font: 800 13px Arial,sans-serif;letter-spacing:.15em; }
.farclub-root.fc-onboarding .fc-onboard-preview-foot small { font-size: 11px; color:#66836c; }
@media(max-width:920px) {
  .farclub-root.fc-onboarding .fc-onboard-hero { padding: 40px 35px 56px; min-height: 335px; }
  .farclub-root.fc-onboarding .fc-onboard-emblem { width: 178px; height: 178px; flex-basis: 178px; }
  .farclub-root.fc-onboarding .fc-onboard-emblem-inner { font-size: 78px; }
  .farclub-root.fc-onboarding .fc-onboard-step { padding: 18px 15px; gap: 9px; }
}
@media(max-width:720px) {
  .farclub-root.fc-onboarding .fc-onboard-hero { min-height: 0; padding: 30px 25px 53px; }
  .farclub-root.fc-onboarding .fc-onboard-emblem { display: none; }
  .farclub-root.fc-onboarding .fc-onboard-hero h2 { font-size: clamp(27px,6vw,37px); }
  .farclub-root.fc-onboarding .fc-onboard-steps { grid-template-columns: 1fr; margin: -17px 13px 17px; }
  .farclub-root.fc-onboarding .fc-onboard-step { padding: 15px 20px; }
  .farclub-root.fc-onboarding .fc-onboard-step + .fc-onboard-step { border-right: 0; border-top: 1px solid #e7ebe3; }
  .farclub-root.fc-onboarding .fc-onboard-bottom { grid-template-columns: 1fr; gap: 13px; }
  .farclub-root.fc-onboarding .fc-onboard-explainer { padding: 30px 23px; }
  .farclub-root.fc-onboarding .fc-onboard-preview { min-height: 215px; }
}
@media(max-width:430px) {
  .farclub-root.fc-onboarding .fc-onboard-hero { padding: 27px 20px 49px; }
  .farclub-root.fc-onboarding .fc-onboard-hero h2 { font-size: 27px; }
  .farclub-root.fc-onboarding .fc-onboard-button { width: 100%; }
  .farclub-root.fc-onboarding .fc-onboard-actions { gap: 8px; }
}
/* Operations index: compact editorial shortcuts, not another KPI row */
.farclub-admin .fc-studio-workflows {
  border: 1px solid #e4e5d9;
  border-radius: 18px;
  margin: 0 0 20px;
  background: #f7f6ef;
  overflow: hidden;
}
.farclub-admin .fc-studio-workflows-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 22px 24px 14px;
}
.farclub-admin .fc-studio-workflows-head h2 {
  margin: 4px 0 0;
  font-size: 20px; font-weight: 860;
  color: #214536;
}
.farclub-admin .fc-studio-workflows-head p {
  color: #788175;
  font-size: 12px;
  margin: 0 0 3px;
}
.farclub-admin .fc-studio-workflows-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-top: 1px solid #e6e5da;
}
.farclub-admin .fc-studio-workflow {
  min-width: 0;
  display: flex;
  align-items: center; gap: 12px;
  text-decoration: none !important;
  padding: 20px 16px;
  transition: background .14s ease;
}
.farclub-admin .fc-studio-workflow + .fc-studio-workflow {
  border-right: 1px solid #e6e5da;
}
.farclub-admin .fc-studio-workflow:hover { background: #eff0e6; }
.farclub-admin .fc-studio-workflow-mark {
  display: grid; place-items: center;
  flex: 0 0 39px;
  width: 39px; height: 39px;
  background: #e2e9dc;
  border-radius: 11px;
  color: #285b3d;
}
.farclub-admin .fc-studio-workflow-mark .fc-icon { width: 19px; height: 19px; }
.farclub-admin .fc-studio-workflow-copy {
  min-width: 0;
  display: flex; flex-direction: column;
  gap: 2px;
}
.farclub-admin .fc-studio-workflow-copy strong {
  color: #284937; font-size: 13px; font-weight: 820;
}
.farclub-admin .fc-studio-workflow-copy small {
  color: #768272; font-size: 10px; line-height: 1.7;
}
.farclub-admin .fc-studio-workflow-arrow {
  color: #9d7b4e;
  margin-right: auto;
  width: 15px; height: 15px;
  transform: rotate(180deg);
  transition: transform .14s ease;
}
.farclub-admin .fc-studio-workflow:hover .fc-studio-workflow-arrow { transform: rotate(180deg) translateX(-3px); }
@media(max-width:1100px){
  .farclub-admin .fc-studio-workflows-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .farclub-admin .fc-studio-workflow:nth-child(3) { border-right: 0; }
  .farclub-admin .fc-studio-workflow:nth-child(n+3) { border-top: 1px solid #e6e5da; }
}
@media(max-width:560px){
  .farclub-admin .fc-studio-workflows-head { padding: 19px 17px 12px; display: block; }
  .farclub-admin .fc-studio-workflows-head p { margin-top: 6px; }
  .farclub-admin .fc-studio-workflows-grid { grid-template-columns: 1fr; }
  .farclub-admin .fc-studio-workflow + .fc-studio-workflow { border-top: 1px solid #e6e5da; border-right: 0; }
  .farclub-admin .fc-studio-workflow { padding: 14px 16px; }
}
/* Last-mile mobile readability: Safari must not zoom on input focus. */
@media(max-width:767px){
  .farclub-admin .fc-panel :is(input[type=text], input[type=number],
    input[type=search], input[type=email], input[type=tel],
    input[type=password], input[type=date], input[type=datetime-local],
    select, textarea),
  .farclub-root :is(input[type=text],input[type=number],input[type=search],
    input[type=email],input[type=tel],input[type=password],select,textarea) {
    font-size: 16px !important;
  }
}

/* Gutenberg demo only: hide the duplicate stock post heading, retain club content. */
body.page .wp-block-group:has(> .wp-block-post-content > .farclub-root) > .wp-block-post-title {
  display: none;
}
body.page .wp-block-group:has(> .wp-block-post-content > .farclub-root) {
  padding-top: clamp(14px, 2vw, 30px) !important;
}
body.page .wp-block-post-content:has(> .farclub-root) > .farclub-root {
  width: 100%;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* FarClub-only admin: no third-party WordPress notices above its header.
   Inline feedback belonging to FarClub remains visible in its own panels. */
body.farclub-clean-header #wpbody-content > .notice,
body.farclub-clean-header #wpbody-content > .updated,
body.farclub-clean-header #wpbody-content > .error,
body.farclub-clean-header #wpbody-content > .update-nag,
body.farclub-clean-header #wpbody-content > #message,
body.farclub-clean-header #wpbody-content > .woocommerce-message,
body.farclub-clean-header #wpbody-content > .woocommerce-error {
  display: none !important;
}
body.farclub-clean-header .farclub-admin .fc-notice-dock {
  display: none !important;
}

/* Screenshot workspace — demo accounts stay distinguishable from actual sales. */
.farclub-admin.fc-demo-admin .fc-demo-controls{margin-bottom:22px}
.farclub-admin .fc-demo-banner{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;
  margin:17px 0;padding:13px 17px;border:1px solid #eadabe;
  border-radius:11px;background:#fbf5e9;color:#775c36;font-size:12px;
}
.farclub-admin .fc-demo-banner strong{font-weight:850;color:#79572e}
.farclub-admin .fc-demo-member-picker{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.farclub-admin .fc-demo-member-picker label{margin:0!important;white-space:nowrap}
.farclub-admin .fc-demo-member-picker select{
  flex:1 1 230px;max-width:440px;min-width:180px;margin:0!important;
}
.farclub-admin .fc-demo-member-picker button{flex:0 0 auto}
.farclub-admin .fc-demo-cleaner{margin:0;padding-top:10px}
.farclub-admin .fc-demo-cleaner button{color:#925a4b;border-color:#e1c5bd}
.farclub-admin.fc-demo-admin > .farclub-root{max-width:1100px;margin:26px 0 50px}
.farclub-admin .fc-demo-chip{
  display:inline-flex;align-items:center;vertical-align:middle;margin-right:8px;
  padding:2px 8px;border-radius:20px;border:1px solid #ead8b9;
  background:#f9f2e5;color:#8a6537;font-size:10px;font-weight:750;
}
@media(max-width:650px){
 .farclub-admin .fc-demo-member-picker{align-items:stretch}
 .farclub-admin .fc-demo-member-picker select{max-width:none}
 .farclub-admin.fc-demo-admin > .farclub-root{margin:20px 0}
}
