/* FUTCoinTR core components — mobile-first, theme-agnostic. */
.fct { --fct-fg: #111827; --fct-muted: #4b5563; --fct-line: #d1d5db; --fct-accent: #0b5fff; --fct-bg: #fff; --fct-warn-bg: #fff7e6; color: var(--fct-fg); font-size: 16px; line-height: 1.5; }
@media (prefers-color-scheme: dark) { .fct { --fct-fg: #f3f4f6; --fct-muted: #9ca3af; --fct-line: #374151; --fct-accent: #6ea0ff; --fct-bg: #111827; --fct-warn-bg: #3b2f14; } }
.fct h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.fct-notice, .fct-warn { background: var(--fct-warn-bg); border-left: 4px solid #f59e0b; padding: .6rem .8rem; margin: .5rem 0 1rem; border-radius: 4px; }
.fct-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 640px) { .fct-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fct-opt { min-height: 48px; padding: .6rem; border: 1px solid var(--fct-line); background: var(--fct-bg); color: var(--fct-fg); border-radius: 8px; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; }
.fct-opt.is-active { border-color: var(--fct-accent); box-shadow: 0 0 0 2px var(--fct-accent) inset; }
.fct-opt:focus-visible, .fct-btn:focus-visible { outline: 3px solid var(--fct-accent); outline-offset: 2px; }
.fct-coins { font-weight: 600; }
.fct-promo { font-size: .75rem; color: var(--fct-muted); }
.fct-summary { font-size: 1.05rem; font-weight: 600; margin: .5rem 0; }
.fct-btn { min-height: 48px; width: 100%; padding: .7rem 1rem; border: 0; border-radius: 8px; background: var(--fct-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media (min-width: 640px) { .fct-btn { width: auto; } }
.fct-btn[disabled] { opacity: .5; cursor: not-allowed; }
.fct-btn-secondary { background: transparent; color: var(--fct-accent); border: 1px solid var(--fct-accent); }
.fct-btn-small { min-height: 36px; padding: .3rem .7rem; width: auto; }
.fct-msg { min-height: 1.5em; color: var(--fct-muted); }
.fct-error { color: #dc2626; }
.fct label { display: block; margin: .6rem 0; }
.fct input, .fct select, .fct textarea { display: block; width: 100%; box-sizing: border-box; min-height: 44px; padding: .5rem; border: 1px solid var(--fct-line); border-radius: 6px; background: var(--fct-bg); color: var(--fct-fg); font: inherit; }
.fct table, .fct-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; display: block; overflow-x: auto; }
.fct th, .fct td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--fct-line); white-space: nowrap; }
.fct-small { font-size: .85rem; color: var(--fct-muted); }
/* Platform tabs (price table). Without JS the tablist stays hidden and all sections are listed. */
.fct-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .75rem; border-bottom: 1px solid var(--fct-line); }
.fct-tabs[hidden] { display: none; }
.fct-tab { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--fct-line); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--fct-bg); color: var(--fct-fg); font: inherit; cursor: pointer; }
.fct-tab[aria-selected="true"] { border-color: var(--fct-accent); box-shadow: 0 -3px 0 var(--fct-accent) inset; font-weight: 600; }
.fct-tab:focus-visible { outline: 3px solid var(--fct-accent); outline-offset: 2px; }
.fct-tabpanel.is-tabbed > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fct th[scope="row"] { font-weight: 600; }
a.fct-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; box-sizing: border-box; }
.fct-cta-row { margin: .75rem 0; }
.fct-updated { margin-top: .25rem; }
/* Waitlist */
.fct-waitlist:focus { outline: none; }
.fct-consent { display: flex; gap: .6rem; align-items: flex-start; margin: .8rem 0; }
.fct .fct-consent input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; flex: 0 0 auto; margin: .15rem 0 0; padding: 0; }
.fct .fct-consent label { margin: 0; font-size: .95rem; }
.fct-consent a { color: var(--fct-accent); }
.fct-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Free tools (vergi / FC Points / coin hesaplayıcı) */
.fct-tool { margin: 1rem 0 1.5rem; }
.fct-tool fieldset { border: 1px solid var(--fct-line); border-radius: 8px; padding: .4rem 1rem .6rem; margin: .8rem 0; }
.fct-tool legend { font-weight: 600; padding: 0 .3rem; }
.fct-tool output { display: block; min-height: 1.5em; }
.fct-tool caption { text-align: left; padding: .25rem 0; }
.fct-tool [hidden] { display: none !important; }
/* Trade cards (two-way: "Bize Sat" / "Satın Al"). Theme tokens with safe fallbacks. */
.fct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fct-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 700px) { .fct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fct-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fct-card { border: 1px solid var(--fct-line); border-radius: 12px; padding: .8rem; background: var(--fct-bg); min-width: 0; }
.fct-card-title { font-size: 1.05rem; margin: 0 0 .4rem; overflow-wrap: anywhere; }
.fct-qty { display: flex; align-items: center; gap: .4rem; margin: .3rem 0 .6rem; flex-wrap: wrap; }
.fct-qty-btn { width: 44px; height: 44px; border: 1px solid var(--fct-line); border-radius: 8px; background: var(--fct-bg); color: var(--fct-fg); font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.fct-qty-btn[disabled] { opacity: .4; cursor: not-allowed; }
.fct-qty-btn:focus-visible { outline: 3px solid var(--fct-accent); outline-offset: 2px; }
.fct-qty-val { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.1rem; }
.fct-card-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.fct-col { display: flex; flex-direction: column; gap: .3rem; min-width: 0; padding: .5rem; border-radius: 8px; border: 1px solid var(--fct-line); }
.fct-col-label { font-size: .8rem; color: var(--fct-muted); text-transform: uppercase; letter-spacing: .04em; }
.fct-col-price { font-size: 1.05rem; overflow-wrap: anywhere; }
.fct-card .fct-btn { width: 100%; min-height: 44px; padding: .55rem .5rem; }
.fct-btn-gold { background: var(--gold, #F5B83D); color: var(--on-gold, #1a1204); }
.fct-btn-mint { background: var(--mint, #07F468); color: var(--on-mint, #151616); }
.fct-card-closed { margin: .6rem 0 0; font-size: .9rem; color: var(--fct-muted); }
.fct-card-closed a { display: inline-flex; min-height: 44px; align-items: center; }
.fct-trade-forms { margin-top: 1rem; }
.fct-trade-forms .fct-form { border: 1px solid var(--fct-line); border-radius: 12px; padding: .8rem 1rem; margin: .75rem 0; }
.fct-trade [hidden], .fct-countdown [hidden] { display: none !important; }
/* Countdown to the announced opening time */
.fct-countdown { margin: .75rem 0; }
.fct-cd-title { margin: .25rem 0 .5rem; font-weight: 600; }
.fct-cd-grid { display: flex; gap: .5rem; flex-wrap: wrap; }
.fct-cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: .4rem .5rem; border: 1px solid var(--fct-line); border-radius: 8px; }
.fct-cd-unit b { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.fct-cd-unit small { font-size: .75rem; color: var(--fct-muted); }
/* Order / sell detail pages */
.fct-dl { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .35rem .75rem; margin: .5rem 0 1rem; }
.fct-dl dt { color: var(--fct-muted); }
.fct-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .fct-dl { grid-template-columns: minmax(0, 1fr); } .fct-dl dd { margin-bottom: .4rem; } }
.fct-bank { border: 2px solid var(--mint, #07F468); border-radius: 12px; padding: .8rem 1rem; margin: 1rem 0; }
.fct-iban { font-size: 1rem; letter-spacing: .02em; overflow-wrap: anywhere; }
.fct-timeline { padding-left: 1.2rem; }
.fct-timeline li { margin: .25rem 0; }
.fct-was { color: var(--fct-muted); font-size: .85rem; font-weight: 400; margin-right: .25rem; }
.fct-promo-notice { border-left-color: var(--fct-accent); }
.fct-facts { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .25rem; }
.fct-compare { width: 100%; border-collapse: collapse; }
.fct-compare th, .fct-compare td { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid var(--fct-line); white-space: nowrap; }
.fct-compare-us { background: rgba(7, 244, 104, .12); box-shadow: inset 4px 0 0 #07F468; }
.fct-compare-us th, .fct-compare-us td { font-weight: 700; }
.fct-badge-cheapest { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 999px; background: #07F468; color: #151616; font-size: .72rem; font-weight: 800; vertical-align: middle; }
.fct-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fct-compare-wrap .fct-scroll table { display: table; }
