/* ============================================================
   FCL Team Registration Form — Stylesheet
   Founders Champions League © 2025
   ============================================================ */

/* ── WRAP ── */
.fcl-wrap { max-width: 860px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1A1A1A; }
.fcl-wrap *, .fcl-wrap *::before, .fcl-wrap *::after { box-sizing: border-box; }

/* ── HEADER ── */
.fcl-header { background: #036773; border-radius: 12px; padding: 28px 32px; margin-bottom: 20px; display: flex; align-items: center; gap: 20px; }
.fcl-header-logo { width: 76px; height: 76px; border-radius: 10px; background: rgba(255,255,255,.13); border: 1.5px dashed rgba(255,255,255,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; flex-shrink: 0; }
.fcl-header-logo img { width: 100%; height: 100%; object-fit: contain; }
.fcl-logo-init { display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.fcl-logo-init span { font-size: 10px; color: rgba(255,255,255,.6); text-align: center; }
.fcl-header-text { flex: 1; }
.fcl-header-tag { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.fcl-header-title { font-size: 22px; font-weight: 600; color: #fff; margin: 0 0 3px; }
.fcl-header-sub { font-size: 13px; color: rgba(255,255,255,.65); margin: 0; }

/* ── PROGRESS ── */
.fcl-progress-wrap { margin-bottom: 16px; }
.fcl-progress-top { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 6px; }
.fcl-progress-track { height: 6px; background: #E8E8E8; border-radius: 3px; overflow: hidden; }
.fcl-progress-fill { height: 100%; background: #036773; border-radius: 3px; transition: width .35s ease; }

/* ── REQUIRED NOTE ── */
.fcl-req-note { font-size: 11px; color: #888; margin: 0 0 14px; }
.fcl-req { color: #E24B4A; }
.fcl-req-gold { color: #F5A623; }
.fcl-req-th { color: rgba(255,255,255,.7); }

/* ── SECTION CARD ── */
.fcl-section { background: #fff; border: 0.5px solid rgba(0,0,0,.1); border-radius: 12px; padding: 20px 22px; margin-bottom: 16px; }
.fcl-section-captain { background: #036773; }
.fcl-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 0.5px solid rgba(0,0,0,.08); }
.fcl-section-captain .fcl-section-head { border-bottom-color: rgba(255,255,255,.18); }
.fcl-section-num { width: 26px; height: 26px; border-radius: 50%; background: #036773; color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fcl-section-captain .fcl-section-num { background: rgba(255,255,255,.2); }
.fcl-section-title { font-size: 15px; font-weight: 600; color: #1A1A1A; }
.fcl-section-sub { font-size: 12px; color: #888; margin-left: auto; }
.fcl-divider { height: 1px; background: rgba(0,0,0,.07); margin: 16px 0; }

/* ── GRIDS ── */
.fcl-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fcl-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.fcl-full { grid-column: 1 / -1; }
@media (max-width: 640px) {
    .fcl-grid-2, .fcl-grid-3 { grid-template-columns: 1fr; }
}

/* ── FIELD ── */
.fcl-field { display: flex; flex-direction: column; gap: 5px; }
.fcl-field label { font-size: 11px; font-weight: 600; color: #555; letter-spacing: .03em; }
.fcl-field label small { font-weight: 400; color: #999; }
.fcl-field input,
.fcl-field select,
.fcl-field textarea { font-family: inherit; font-size: 13px; padding: 8px 11px; border: 0.5px solid rgba(0,0,0,.18); border-radius: 8px; background: #fff; color: #1A1A1A; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; }
.fcl-field input:focus,
.fcl-field select:focus,
.fcl-field textarea:focus { border-color: #036773; box-shadow: 0 0 0 3px rgba(3,103,115,.1); }
.fcl-field textarea { height: 72px; resize: vertical; }
.fcl-field.fcl-field-error input,
.fcl-field.fcl-field-error select { border-color: #E24B4A; }

/* ── CAPTAIN DARK FIELDS ── */
.fcl-field-dark label { color: rgba(255,255,255,.7); }
.fcl-field-dark input,
.fcl-field-dark select { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.fcl-field-dark input::placeholder { color: rgba(255,255,255,.35); }
.fcl-field-dark input:focus,
.fcl-field-dark select:focus { border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.fcl-field-dark select option { background: #024d5a; color: #fff; }
.fcl-captain-note { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; background: rgba(255,255,255,.08); border-radius: 8px; padding: 10px 13px; margin-top: 14px; }

/* ── LOGO UPLOAD ── */
.fcl-logo-drop { border: 1.5px dashed rgba(0,0,0,.18); border-radius: 10px; padding: 28px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; position: relative; overflow: hidden; }
.fcl-logo-drop:hover { border-color: #036773; background: #F0FAFB; }
.fcl-logo-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.fcl-logo-drop-inner { pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #888; }
.fcl-logo-drop-inner svg { color: #aaa; }
.fcl-logo-drop-inner strong { font-size: 13px; font-weight: 600; color: #333; }
.fcl-logo-drop-inner span { font-size: 12px; }
.fcl-logo-drop-preview { display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.fcl-logo-drop-preview img { max-height: 80px; max-width: 180px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; padding: 6px; }
.fcl-logo-filename { font-size: 12px; color: #666; }
.fcl-success-text { font-size: 12px; color: #34B44A; font-weight: 600; }

/* ── PLAYER TABLE ── */
.fcl-table-wrap { overflow-x: auto; border-radius: 10px; border: 0.5px solid rgba(0,0,0,.1); }
.fcl-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fcl-table thead tr { background: #036773; }
.fcl-table thead th { color: rgba(255,255,255,.85); font-size: 11px; font-weight: 600; padding: 10px 8px; text-align: left; letter-spacing: .03em; white-space: nowrap; }
.fcl-table thead th:first-child { border-radius: 10px 0 0 0; }
.fcl-table thead th:last-child { border-radius: 0 10px 0 0; }
.fcl-table tbody tr { border-bottom: 0.5px solid rgba(0,0,0,.07); transition: background .1s; }
.fcl-table tbody tr:last-child { border-bottom: none; }
.fcl-table tbody tr:hover td { background: #F5FBFC; }
.fcl-table tbody tr.fcl-captain-row td { background: #E8F7EC; }
.fcl-table tbody tr.fcl-captain-row:hover td { background: #D5F0DC; }
.fcl-table tbody tr.fcl-extra-row td { background: #FAFAFA; }
.fcl-table td { padding: 5px 6px; vertical-align: middle; }
.fcl-player-num { width: 30px; height: 30px; border-radius: 50%; background: #036773; color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.fcl-player-num.is-cap { background: #34B44A; }
.fcl-player-num.is-extra { background: #C0C0C0; }
.fcl-table input,
.fcl-table select { font-family: inherit; font-size: 12px; padding: 6px 8px; border: 0.5px solid rgba(0,0,0,.15); border-radius: 6px; background: #fff; color: #1A1A1A; width: 100%; outline: none; transition: border-color .15s; }
.fcl-table input:focus,
.fcl-table select:focus { border-color: #036773; }
.fcl-shirt-input { width: 52px !important; text-align: center; font-weight: 600; }
.fcl-table .readonly-input { background: #F0FAFB !important; color: #036773 !important; font-weight: 500; cursor: default; }
.col-num { width: 42px; }
.col-shirt { width: 72px; }
.col-name { min-width: 155px; }
.col-desig { min-width: 145px; }
.col-size { width: 80px; }
.col-role { min-width: 110px; }
.fcl-cap-badge { display: inline-block; font-size: 10px; background: #34B44A; color: #fff; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
.fcl-extra-badge { display: inline-block; font-size: 10px; background: #E8E8E8; color: #666; padding: 2px 8px; border-radius: 12px; }
.fcl-table-note { font-size: 11px; color: #888; margin-top: 8px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.fcl-dot-green { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #34B44A; flex-shrink: 0; }
.fcl-dot-gray  { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #C0C0C0; flex-shrink: 0; }

/* ── FEE BOX ── */
.fcl-fee-box { background: #F5FBFC; border: 0.5px solid rgba(3,103,115,.2); border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fcl-fee-label { font-size: 14px; font-weight: 600; color: #1A1A1A; }
.fcl-fee-sub { font-size: 11px; color: #888; margin-top: 2px; }
.fcl-fee-amount { font-size: 24px; font-weight: 700; color: #036773; }
.fcl-info-box { background: #E8F7EC; border-left: 3px solid #34B44A; padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 12px; color: #0F6E56; line-height: 1.6; }

/* ── ERROR ── */
.fcl-error-msg { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #B91C1C; margin-bottom: 14px; }

/* ── SUBMIT ── */
.fcl-submit-btn { width: 100%; background: #036773; color: #fff; border: none; padding: 14px; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: .02em; transition: background .2s; }
.fcl-submit-btn:hover { background: #025560; }
.fcl-submit-btn:disabled { background: #aaa; cursor: not-allowed; }
.fcl-disclaimer { font-size: 11px; color: #999; text-align: center; margin-top: 10px; line-height: 1.5; }

/* ── SUCCESS ── */
.fcl-success { background: #fff; border: 0.5px solid rgba(0,0,0,.1); border-radius: 12px; padding: 48px 32px; text-align: center; }
.fcl-success-icon { width: 60px; height: 60px; border-radius: 50%; background: #E8F7EC; color: #34B44A; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.fcl-success-title { font-size: 22px; font-weight: 600; color: #1A1A1A; margin: 0 0 8px; }
.fcl-success-body { font-size: 14px; color: #555; line-height: 1.7; max-width: 460px; margin: 0 auto 16px; }
.fcl-success-ref { display: inline-block; background: #F0FAFB; border: 1px solid rgba(3,103,115,.2); border-radius: 8px; padding: 10px 20px; font-size: 15px; font-weight: 700; color: #036773; letter-spacing: .05em; }

/* ── SUCCESS SCREEN — ENHANCED ── */
.fcl-success { background: #fff; border: 0.5px solid rgba(0,0,0,.1); border-radius: 12px; padding: 44px 32px 36px; text-align: center; }

.fcl-success-checkwrap { margin: 0 auto 20px; width: 60px; height: 60px; }
.fcl-success-check { width: 60px; height: 60px; }
.fcl-check-circle { stroke-dasharray: 166; stroke-dashoffset: 166; animation: fcl-circle-draw .6s ease forwards; }
.fcl-check-tick   { stroke-dasharray: 48;  stroke-dashoffset: 48;  animation: fcl-tick-draw .4s ease .55s forwards; }
@keyframes fcl-circle-draw { to { stroke-dashoffset: 0; } }
@keyframes fcl-tick-draw   { to { stroke-dashoffset: 0; } }

.fcl-success-badge { display: inline-block; background: #E8F7EC; color: #0F6E56; font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 20px; letter-spacing: .06em; margin-bottom: 12px; }
.fcl-success-title { font-size: 28px; font-weight: 600; color: #1A1A1A; margin: 0 0 8px; }
.fcl-success-sub   { font-size: 14px; color: #555; line-height: 1.6; max-width: 440px; margin: 0 auto 24px; }

.fcl-success-card { background: #F8F9FA; border: 0.5px solid rgba(0,0,0,.1); border-radius: 10px; padding: 4px 0; max-width: 420px; margin: 0 auto 24px; text-align: left; }
.fcl-success-row  { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 0.5px solid rgba(0,0,0,.07); }
.fcl-last-row { border-bottom: none; }
.fcl-success-label { font-size: 12px; color: #888; }
.fcl-success-val   { font-size: 13px; font-weight: 500; color: #1A1A1A; text-align: right; }
.fcl-id-highlight  { color: #036773; font-size: 14px; font-weight: 700; letter-spacing: .04em; }

.fcl-success-steps { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto 24px; text-align: left; }
.fcl-success-step  { display: flex; align-items: flex-start; gap: 12px; }
.fcl-step-num      { width: 26px; height: 26px; border-radius: 50%; background: #036773; color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fcl-step-green    { background: #34B44A; }
.fcl-step-text     { font-size: 13px; color: #444; line-height: 1.6; }
.fcl-step-text strong { color: #1A1A1A; }

.fcl-success-footer { font-size: 11px; color: #aaa; line-height: 1.6; max-width: 380px; margin: 0 auto; }
