/* ── Football Club Subscriptions — Public Styles ── */
:root {
    --fcs-green: #1a7a4a;
    --fcs-green-light: #f0faf4;
    --fcs-orange: #e67e22;
    --fcs-red: #e74c3c;
    --fcs-blue: #3498db;
    --fcs-gray: #6b7280;
    --fcs-border: #e5e7eb;
    --fcs-shadow: 0 2px 12px rgba(0,0,0,.08);
    --fcs-radius: 10px;
}
/* ── Buttons ─────────────────────────────────────── */
.fcs-btn {
    display: inline-block;
    padding: 11px 22px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    text-align: center;
}
.fcs-btn-stripe { background: var(--fcs-green); color: #fff; }
.fcs-btn-stripe:hover { background: #155f39; color: #fff; transform: translateY(-1px); }
.fcs-btn-paypal { background: #003087; color: #fff; }
.fcs-btn-paypal:hover { background: #001f5b; }
.fcs-btn-danger { background: var(--fcs-red); color: #fff; }
.fcs-btn-danger:hover { background: #c0392b; }
.fcs-btn-outline { background: transparent; color: var(--fcs-green); border: 2px solid var(--fcs-green); }
.fcs-btn-outline:hover { background: var(--fcs-green); color: #fff; }
.fcs-btn-current { background: #d1fae5; color: var(--fcs-green); cursor: default; }
.fcs-btn-small { padding: 6px 14px; font-size: 13px; }
.fcs-btn-add-cart { background: var(--fcs-green); color: #fff; padding: 8px 16px; font-size: 14px; }
.fcs-btn-add-cart:hover { background: #155f39; }
/* ── Notices ─────────────────────────────────────── */
.fcs-notice { background: #fffbeb; border: 1px solid #fbbf24; padding: 14px 18px; border-radius: 6px; margin: 16px 0; }
.fcs-notice-warning { background: #fff7ed; border-color: var(--fcs-orange); }
.fcs-success-banner { background: #d1fae5; border: 1px solid var(--fcs-green); color: #065f46; padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-weight: 600; }
/* ── Status badges ───────────────────────────────── */
.fcs-status { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.fcs-status-active { background: #d1fae5; color: #065f46; }
.fcs-status-completed { background: #d1fae5; color: #065f46; }
.fcs-status-processing { background: #dbeafe; color: #1e40af; }
.fcs-status-pending { background: #fef3c7; color: #92400e; }
.fcs-status-cancelled { background: #fee2e2; color: #991b1b; }
.fcs-status-dispatched { background: #e0e7ff; color: #3730a3; }
.fcs-status-delivered { background: #d1fae5; color: #065f46; }
.fcs-status-payment_failed { background: #fee2e2; color: #991b1b; }
/* ── Membership Plans ────────────────────────────── */
.fcs-plans-wrap { max-width: 1100px; margin: 0 auto; padding: 20px 0; }
.fcs-billing-toggle { text-align: center; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 16px; }
.fcs-save-badge { background: var(--fcs-green); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 12px; font-style: normal; margin-left: 4px; }
.fcs-toggle { position: relative; display: inline-block; width: 52px; height: 28px; }
.fcs-toggle input { opacity: 0; width: 0; height: 0; }
.fcs-toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; border-radius: 28px; transition: .3s; }
.fcs-toggle-slider:before { content: ''; position: absolute; height: 20px; width: 20px; left: 4px; bottom: 4px; background: #fff; border-radius: 50%; transition: .3s; }
.fcs-toggle input:checked + .fcs-toggle-slider { background: var(--fcs-green); }
.fcs-toggle input:checked + .fcs-toggle-slider:before { transform: translateX(24px); }
.fcs-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.fcs-plan-card { background: #fff; border: 2px solid var(--fcs-border); border-radius: var(--fcs-radius); padding: 28px; position: relative; box-shadow: var(--fcs-shadow); transition: transform .2s, box-shadow .2s; }
.fcs-plan-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.fcs-plan-card.fcs-popular { border-color: var(--fcs-green); }
.fcs-popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--fcs-green); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fcs-plan-name { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: #111; }
.fcs-plan-desc { color: var(--fcs-gray); font-size: 14px; margin: 0 0 16px; min-height: 40px; }
.fcs-plan-price { margin: 0 0 20px; }
.fcs-plan-price strong { font-size: 32px; font-weight: 800; color: var(--fcs-green); }
.fcs-plan-price small { color: var(--fcs-gray); }
.fcs-plan-features { list-style: none; padding: 0; margin: 0 0 20px; }
.fcs-plan-features li { padding: 5px 0; font-size: 14px; color: #374151; display: flex; gap: 8px; }
.fcs-check { color: var(--fcs-green); font-weight: 700; }
.fcs-payment-options { display: flex; flex-direction: column; gap: 8px; }
/* ── Account Page ────────────────────────────────── */
.fcs-account-wrap { max-width: 900px; margin: 0 auto; }
.fcs-account-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--fcs-border); margin-bottom: 28px; flex-wrap: wrap; }
.fcs-tab-btn { background: none; border: none; padding: 12px 20px; font-size: 15px; cursor: pointer; color: var(--fcs-gray); border-bottom: 3px solid transparent; margin-bottom: -2px; font-weight: 500; transition: all .2s; }
.fcs-tab-btn.active, .fcs-tab-btn:hover { color: var(--fcs-green); border-bottom-color: var(--fcs-green); }
.fcs-tab-panel { display: none; }
.fcs-tab-panel.active { display: block; }
.fcs-membership-card { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; background: var(--fcs-green-light); border: 1px solid #a7f3d0; border-radius: var(--fcs-radius); padding: 24px; margin-bottom: 20px; }
.fcs-membership-badge { background: var(--fcs-green); color: #fff; border-radius: 8px; padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.fcs-badge-plan { font-size: 18px; font-weight: 700; }
.fcs-badge-status { font-size: 13px; margin-top: 4px; opacity: .85; }
.fcs-detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #d1fae5; font-size: 14px; }
.fcs-detail-row:last-child { border-bottom: none; }
.fcs-detail-row span { color: var(--fcs-gray); }
.fcs-features-list ul { list-style: none; padding: 0; margin: 8px 0 16px; }
.fcs-features-list li { padding: 4px 0; font-size: 13px; color: #374151; }
/* ── Tables ──────────────────────────────────────── */
.fcs-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.fcs-table th { background: var(--fcs-green); color: #fff; padding: 10px 14px; text-align: left; }
.fcs-table td { padding: 10px 14px; border-bottom: 1px solid var(--fcs-border); }
.fcs-table tr:hover td { background: #f9fafb; }
/* ── Profile form ────────────────────────────────── */
.fcs-profile-form { max-width: 500px; }
.fcs-form-row { margin-bottom: 16px; }
.fcs-form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: #374151; }
.fcs-form-row input,
.fcs-form-row select,
.fcs-form-row textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--fcs-border); border-radius: 6px; font-size: 15px; transition: border-color .2s; box-sizing: border-box; }
.fcs-form-row input:focus,
.fcs-form-row select:focus { border-color: var(--fcs-green); outline: none; box-shadow: 0 0 0 3px rgba(26,122,74,.1); }
#fcs-profile-msg { margin-top: 12px; padding: 10px 14px; border-radius: 6px; display: none; }
#fcs-profile-msg.success { background: #d1fae5; color: #065f46; display: block; }
#fcs-profile-msg.error { background: #fee2e2; color: #991b1b; display: block; }
/* ── Kit Shop ────────────────────────────────────── */
.fcs-shop-wrap { max-width: 1200px; margin: 0 auto; }
.fcs-shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.fcs-cart-toggle { background: var(--fcs-green); color: #fff; border: none; padding: 10px 20px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.fcs-cart-count { background: var(--fcs-red); color: #fff; border-radius: 50%; width: 22px; height: 22px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fcs-category-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.fcs-filter-btn { padding: 8px 18px; border: 2px solid var(--fcs-border); background: #fff; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all .2s; }
.fcs-filter-btn.active,
.fcs-filter-btn:hover { border-color: var(--fcs-green); background: var(--fcs-green); color: #fff; }
.fcs-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.fcs-product-card { background: #fff; border: 1px solid var(--fcs-border); border-radius: var(--fcs-radius); overflow: hidden; box-shadow: var(--fcs-shadow); transition: transform .2s; }
.fcs-product-card:hover { transform: translateY(-3px); }
.fcs-product-card[style*="none"] { display: none !important; }
.fcs-product-image { height: 160px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f3f4f6; }
.fcs-product-placeholder { font-size: 64px; }
.fcs-product-image img { width: 100%; height: 100%; object-fit: cover; }
.fcs-product-body { padding: 16px; }
.fcs-product-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--fcs-gray); }
.fcs-product-name { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.fcs-product-desc { font-size: 13px; color: var(--fcs-gray); margin: 0 0 12px; min-height: 36px; }
.fcs-product-footer { display: flex; flex-direction: column; gap: 8px; }
.fcs-product-price { font-size: 20px; font-weight: 800; color: var(--fcs-green); }
.fcs-size-select { width: 100%; padding: 7px 10px; border: 1px solid var(--fcs-border); border-radius: 6px; font-size: 14px; }
/* ── Cart sidebar ────────────────────────────────── */
.fcs-cart-bar { position: fixed; right: -380px; top: 0; height: 100vh; width: 360px; background: #fff; box-shadow: -4px 0 20px rgba(0,0,0,.12); z-index: 9999; transition: right .3s ease; display: flex; flex-direction: column; }
.fcs-cart-bar.open { right: 0; }
.fcs-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 9998; display: none; }
.fcs-cart-overlay.show { display: block; }
.fcs-cart-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--fcs-border); }
.fcs-cart-header h3 { margin: 0; font-size: 18px; }
#fcs-cart-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--fcs-gray); }
#fcs-cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.fcs-empty-cart { color: var(--fcs-gray); text-align: center; margin-top: 40px; }
.fcs-cart-footer { padding: 16px 20px; border-top: 1px solid var(--fcs-border); }
.fcs-cart-shipping,
.fcs-cart-total { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.fcs-cart-total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--fcs-border); margin-top: 6px; }
.fcs-cart-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.fcs-cart-item-info { flex: 1; }
.fcs-cart-item-name { font-weight: 600; font-size: 14px; }
.fcs-cart-item-sub { font-size: 12px; color: var(--fcs-gray); }
.fcs-cart-item-price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.fcs-cart-item-remove { background: none; border: none; color: var(--fcs-red); cursor: pointer; font-size: 18px; padding: 0; line-height: 1; }
.fcs-qty-control { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.fcs-qty-btn { background: var(--fcs-border); border: none; width: 22px; height: 22px; border-radius: 4px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.fcs-qty-val { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
/* ── Modal ───────────────────────────────────────── */
.fcs-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10000; display: none; align-items: center; justify-content: center; }
.fcs-modal.open { display: flex; }
.fcs-modal-inner { background: #fff; border-radius: var(--fcs-radius); padding: 32px; max-width: 480px; width: 90%; max-height: 90vh; overflow-y: auto; }
.fcs-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
/* ── Auth tabs ───────────────────────────────────── */
.fcs-auth-wrap { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--fcs-border); border-radius: var(--fcs-radius); padding: 32px; box-shadow: var(--fcs-shadow); }
.fcs-auth-tabs { border-bottom: 2px solid var(--fcs-border); margin-bottom: 24px; }
/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .fcs-plans-grid { grid-template-columns: 1fr; }
    .fcs-membership-card { grid-template-columns: 1fr; }
    .fcs-products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .fcs-cart-bar { width: 100%; right: -100%; }
    .fcs-account-tabs { gap: 0; }
    .fcs-tab-btn { font-size: 13px; padding: 10px 12px; }
}
/* ── Auto-pay toggle (join modal) ────────────────── */
.fcs-join-modal-inner { max-width: 520px; position: relative; }
.fcs-modal-x { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--fcs-gray); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.fcs-modal-x:hover { background: #f3f4f6; }
.fcs-auto-pay-toggle-wrap { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.fcs-auto-pay-option { border: 2px solid var(--fcs-border); border-radius: 10px; transition: border-color .2s, background .2s; overflow: hidden; }
.fcs-auto-pay-option:has(input:checked) { border-color: var(--fcs-green); background: var(--fcs-green-light); }
.fcs-auto-label { display: flex; align-items: flex-start; gap: 14px; padding: 16px; cursor: pointer; }
.fcs-auto-label input[type=radio] { margin-top: 4px; accent-color: var(--fcs-green); transform: scale(1.2); flex-shrink: 0; }
.fcs-auto-icon { font-size: 24px; flex-shrink: 0; line-height: 1.4; }
.fcs-auto-label strong { display: block; font-size: 15px; margin-bottom: 4px; }
.fcs-auto-label p { margin: 0; font-size: 13px; color: var(--fcs-gray); line-height: 1.5; }
.fcs-join-summary { display: flex; justify-content: space-between; align-items: center; background: #f9fafb; border: 1px solid var(--fcs-border); border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; font-size: 15px; }
.fcs-join-summary-plan { font-weight: 600; }
.fcs-join-summary-amount { font-size: 22px; font-weight: 800; color: var(--fcs-green); }
.fcs-auto-info { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 16px; }
.fcs-auto-info-auto { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.fcs-auto-info-manual { background: #fff7ed; color: #92400e; border: 1px solid #fed7aa; }
.fcs-info-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.fcs-payment-btns { display: flex; flex-direction: column; gap: 10px; }
/* ── Auto-pay badge + toggle on account page ─────── */
.fcs-autopay-control { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fcs-autopay-badge { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.fcs-autopay-on { background: #d1fae5; color: #065f46; }
.fcs-autopay-off { background: #fef3c7; color: #92400e; }
.fcs-btn-link { background: none; border: none; color: var(--fcs-green); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.fcs-btn-link:hover { color: #155f39; }
.fcs-autopay-info-box { grid-column: 1 / -1; padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-top: -12px; line-height: 1.6; }
.fcs-autopay-info-auto { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.fcs-autopay-info-manual { background: #fff7ed; color: #92400e; border: 1px solid #fed7aa; }