﻿/* Shared theme for the KKGO Mini Soccer site. Dark green, Plus Jakarta Sans. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d1018; --surface: #131720; --surface2: #191e2d;
  --border: #1e2d47; --accent: #3b82f6; --accent2: #60a5fa;
  --text: #e8eef5; --text2: #8a9bb8; --text3: #4a5a75;
  --radius: 14px;
  --warn: #fbbf24; --live: #f87171;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg); color: var(--text);
  min-height: 100vh; padding: 24px 16px; overflow-x: hidden;
  display: flex; justify-content: center;
}
body::before {
  content: ''; position: fixed; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.wrap { width: 100%; max-width: 960px; position: relative; z-index: 1; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 32px 28px;
  animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text2);
  text-decoration: none; font-size: 13px; margin-bottom: 18px; font-weight: 600;
}
.back-link:hover { color: var(--accent2); }
.logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.logo-text span { color: var(--accent); }
h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.subtitle { font-size: 14px; color: var(--text2); margin-bottom: 22px; line-height: 1.6; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge.belum { color: var(--text3); background: var(--bg); border: 1px solid var(--border); }
.badge.main { color: #040d1a; background: var(--live); }
.badge.selesai { color: var(--accent2); background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); }

.empty {
  text-align: center; padding: 40px 20px; color: var(--text3); font-size: 14px;
  border: 1.5px dashed var(--border); border-radius: var(--radius);
}
.loading { text-align: center; padding: 30px; color: var(--text2); font-size: 14px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

.alert { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 18px; line-height: 1.5; }
.alert.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5; }
.alert.ok { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25); color: var(--accent2); }
.alert.show { display: block; animation: fadeUp 0.3s ease; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  border: none; border-radius: var(--radius); color: #040d1a; text-decoration: none;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.btn:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: var(--surface2); color: var(--text2); box-shadow: none; border: 1px solid var(--border); }
.btn.ghost:hover:not(:disabled) { color: var(--accent2); }
.btn.danger { background: rgba(239,68,68,0.12); color: #fca5a5; box-shadow: none; border: 1px solid rgba(239,68,68,0.3); }

label { display: block; font-size: 12px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
input[type="text"], input[type="number"], input[type="datetime-local"], input[type="password"], textarea, select {
  width: 100%; background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px;
  padding: 11px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
input[type="datetime-local"] { color-scheme: dark; }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; cursor: pointer; background: var(--surface2); border: 1px solid var(--border); color: var(--text2); }
.tab.active { background: rgba(59,130,246,0.14); border-color: rgba(59,130,246,0.3); color: var(--accent2); }
