/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
  background: #f3f5f7;
  color: #111;
  overflow: hidden;
}

.app {
  display: flex;
  width: 100%;
  height: 100vh;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 0;
}
.sidebar {
  scrollbar-width: none;
}

.sidebar-title {
  font-size: 12px;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  margin: 14px 0 8px;
}

.sidebar-list,
.region-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li a,
.region-list li a {
  display: block;
  padding: 7px 8px;
  color: #111827;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.sidebar-list li a:hover,
.region-list li a:hover {
  background: #e8f5ee;
  color: #15803d;
}

.region {
  margin-bottom: 6px;
}

.region-header {
  cursor: pointer;
  padding: 7px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.region-header:hover {
  background: #f3f4f6;
}

.region-list {
  display: none;
  padding-left: 6px;
}

.region-list li a {
  font-size: 13px;
  padding: 5px 8px;
}

.content {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  background: #f3f5f7;
  overflow-y: auto;
  height: 100vh;
}

.league-title {
  margin: 6px 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.league-title span {
  font-size: 18px;
  color: #dc2626;
  margin-right: 6px;
}

.date-filter {
  display: flex;
  gap: 6px;
  margin: 10px 0 12px;
  flex-wrap: wrap;
}

.date-btn {
  border: 1px solid #d1d5db;
  padding: 6px 12px;
  background: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.date-btn:hover {
  background: #f3f4f6;
}

.date-btn.active {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

.date-picker {
  display: flex;
  gap: 6px;
  align-items: center;
}

.date-picker input {
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
}

.date-picker button {
  border: none;
  padding: 6px 14px;
  background: #15803d;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.date-picker button:hover {
  background: #166534;
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.tab {
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}

.tab:hover {
  background: #f3f4f6;
}

.tab.active {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.date-header {
  background: #e5e7eb;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 13px;
  margin: 12px 0 4px;
  border-left: 4px solid #15803d;
}

.match-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 10px;
}

.match-row:hover {
  background: #f9fafb;
}

.match-status {
  width: 56px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.match-status.live {
  color: #dc2626;
}

.match-status.ft {
  color: #374151;
}

.match-status.ns {
  color: #15803d;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.team {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 42%;
  font-size: 14px;
  font-weight: 600;
}

.team.right {
  justify-content: flex-end;
}

.team img {
  width: 20px;
  height: 20px;
}

.score {
  width: 80px;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  color: #111827;
}
