/* GKFC Core — Frontend base styles */
.gkfc-el-fan-login { max-width: 480px; margin: 0 auto; }
.gkfc-el-fan-login__heading { text-align: center; margin-bottom: 1rem; }
.gkfc-el-login-prompt { text-align: center; padding: 2rem 1rem; border: 1px dashed #ddd; border-radius: 8px; }
.gkfc-el-fan-dashboard { }
.gkfc-el-fan-dashboard .gkfc-dashboard-profile { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 1.25rem; display: flex; flex-direction: column; gap: 4px; }
.gkfc-el-fan-dashboard .gkfc-dashboard-avatar { border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.gkfc-el-fan-dashboard .gkfc-dashboard-section { margin-top: 1.25rem; }
.gkfc-el-fan-dashboard .gkfc-dashboard-activity { list-style: none; margin: 0; padding: 0; }
.gkfc-el-fan-dashboard .gkfc-dashboard-activity li { padding: 8px 0; border-bottom: 1px solid #f1f1f1; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.gkfc-el-fan-dashboard .gkfc-dashboard-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }

.gkfc-el-leaderboard table { width: 100%; border-collapse: collapse; }
.gkfc-el-leaderboard th, .gkfc-el-leaderboard td { padding: 8px 12px; text-align: left; border-bottom: 1px solid #eee; }
.gkfc-el-leaderboard .gkfc-rank { font-weight: 700; }
.gkfc-el-leaderboard .gkfc-rank-avatar { border-radius: 50%; vertical-align: middle; }
.gkfc-el-leaderboard .gkfc-rank-up { color: #2e7d32; font-size: 12px; }
.gkfc-el-leaderboard .gkfc-rank-down { color: #c62828; font-size: 12px; }

.gkfc-el-match-schedule .gkfc-match-list { list-style: none; margin: 0; padding: 0; }
.gkfc-el-match-schedule .gkfc-match-item { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; border-bottom: 1px solid #eee; align-items: baseline; }
.gkfc-el-match-schedule .gkfc-match-date { font-weight: 700; }
.gkfc-el-match-schedule .gkfc-match-venue { color: #666; font-size: 13px; }

.gkfc-el-ticket-status .gkfc-ticket-list { list-style: none; margin: 0; padding: 0; }
.gkfc-el-ticket-status .gkfc-ticket-item { border: 1px solid #eee; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.gkfc-el-ticket-status .gkfc-ticket-item > * { display: block; margin-bottom: 4px; }
.gkfc-el-ticket-status .gkfc-ticket-status { text-transform: uppercase; font-size: 12px; font-weight: 700; }
.gkfc-el-ticket-status .gkfc-ticket-status--active { color: #2e7d32; }
.gkfc-el-ticket-status .gkfc-ticket-status--entered { color: #1565c0; }
.gkfc-el-ticket-status .gkfc-ticket-status--pending { color: #b8860b; }
.gkfc-el-ticket-status .gkfc-ticket-qr img { margin-top: 8px; }

.gkfc-el-quiz .gkfc-quiz-questions { list-style: none; margin: 0; padding: 0; }
.gkfc-el-quiz .gkfc-quiz-question { padding: 12px 0; border-bottom: 1px solid #eee; }
.gkfc-el-quiz .gkfc-quiz-options { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.gkfc-el-quiz .gkfc-quiz-msg { min-height: 1.2em; font-weight: 600; }
.gkfc-el-quiz .gkfc-quiz-msg.is-error { color: #c62828; }
.gkfc-el-quiz .gkfc-quiz-msg.is-ok { color: #2e7d32; }

.gkfc-el-challenges .gkfc-challenge-list { list-style: none; margin: 0; padding: 0; }
.gkfc-el-challenges .gkfc-challenge { border: 1px solid #eee; border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.gkfc-el-challenges .gkfc-challenge-meta { display: flex; gap: 12px; font-size: 13px; color: #666; }
.gkfc-el-challenges .gkfc-challenge-progress { height: 8px; background: #f1f1f1; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.gkfc-el-challenges .gkfc-challenge-progress__bar { display: block; height: 100%; background: #1a5632; transition: width .3s ease; }
.gkfc-el-challenges .gkfc-challenge-state { font-size: 13px; color: #2e7d32; font-weight: 600; }

.gkfc-el-rewards .gkfc-reward-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gkfc-el-rewards .gkfc-reward { border: 1px solid #eee; border-radius: 8px; padding: 12px; text-align: center; }
.gkfc-el-rewards .gkfc-reward-image { max-width: 100%; height: auto; border-radius: 6px; }
.gkfc-el-rewards .gkfc-reward-cost { display: block; font-weight: 700; margin: 8px 0; }
.gkfc-el-rewards .gkfc-reward-soldout { color: #c62828; font-size: 13px; }

.gkfc-el-passport .gkfc-passport-stamps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.gkfc-el-passport.gkfc-el-passport--list .gkfc-passport-stamps { flex-direction: column; }
.gkfc-el-passport .gkfc-passport-stamp { border: 1px solid #ddd; border-radius: 8px; padding: 12px; min-width: 140px; display: flex; flex-direction: column; gap: 4px; }
.gkfc-el-passport .gkfc-passport-type { text-transform: uppercase; font-size: 11px; letter-spacing: 1px; color: #666; }
.gkfc-el-passport .gkfc-passport-title { font-weight: 700; }
.gkfc-el-passport .gkfc-passport-date { font-size: 12px; color: #888; }

.gkfc-el-football-schools-registration .gkfc-fs-form { max-width: 560px; }
.gkfc-el-football-schools-registration .gkfc-fs-field { margin: 0 0 12px; }
.gkfc-el-football-schools-registration .gkfc-fs-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.gkfc-el-football-schools-registration .gkfc-fs-field input,
.gkfc-el-football-schools-registration .gkfc-fs-field select { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; }
.gkfc-el-football-schools-registration .gkfc-req { color: #c62828; }
.gkfc-el-football-schools-registration .gkfc-fs-msg { min-height: 1.2em; font-weight: 600; }

.gkfc-btn { display: inline-block; padding: 10px 18px; background: #7a0019; color: #fff; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; }
.gkfc-btn:hover, .gkfc-btn:focus { background: #5e0013; color: #fff; }
.gkfc-btn:disabled { opacity: .6; cursor: not-allowed; }
.gkfc-el-empty { color: #666; font-style: italic; }
.gkfc-el-placeholder { padding: 1.5rem; text-align: center; border: 1px dashed #ccc; color: #888; }