/* -----------------------------------------
   KLEUREN (Oranje uitshirt stijl)
----------------------------------------- */
:root {
  --blue-dark: #001A4D;
  --blue: #003B8E;
  --blue-light: #0A3FA3;

  --orange: #FF6A00;
  --orange-light: #FF8C32;

  --text-light: #e8ecf7;
  --text-muted: #9aa7c2;

  --card-dark: #0b1e3a;
  --card-border: rgba(255, 255, 255, 0.08);
}

/* -----------------------------------------
   BODY / ACHTERGROND
----------------------------------------- */
html, body {
  background: linear-gradient(180deg, var(--blue-dark), #000a1f);
  color: var(--text-light);
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

/* -----------------------------------------
   LAYOUT
----------------------------------------- */
.shell {
  display: flex;
  min-height: 100vh;
}

.content {
  flex: 1;
  padding: 30px;
  background: transparent !important;
}

/* -----------------------------------------
   SIDEBAR
----------------------------------------- */
.sidebar {
  width: 240px;
  background: linear-gradient(180deg, var(--blue-dark), #000f2b);
  padding: 20px;
  border-right: 2px solid var(--orange);
  color: var(--text-light);
}

.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--text-light);
  text-decoration: none;
}

.sidebar nav a {
  display: block;
  padding: 12px 10px;
  margin-bottom: 6px;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  transition: 0.2s;
}

.sidebar nav a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateX(4px);
}

/* -----------------------------------------
   HEADERS
----------------------------------------- */
.page-head h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.6);
  margin-bottom: 10px;
}

.page-head p {
  color: var(--text-muted);
  margin: 0;
}

/* -----------------------------------------
   CARDS
----------------------------------------- */
.card {
  background: var(--card-dark);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  color: var(--text-light);
}

/* -----------------------------------------
   MATCH ROWS
----------------------------------------- */
.match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.2s;
}

.match-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* -----------------------------------------
   INPUTS
----------------------------------------- */
input[type="number"] {
  width: 60px;
  padding: 8px;
  font-size: 18px;
  text-align: center;
  border-radius: 6px;
  border: 2px solid var(--blue-light);
  background: #102544;
  color: #fff;
  transition: 0.2s;
}

input[type="number"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.7);
  outline: none;
}

/* -----------------------------------------
   BUTTONS (ORANJE GLOW)
----------------------------------------- */
button,
input[type="submit"],
.btn,
.btn-primary {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.7);
  transition: 0.2s;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(255, 106, 0, 1);
  transform: translateY(-2px);
}

/* -----------------------------------------
   TABLES / RANKING
----------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-light);
}

table th {
  background: var(--blue-light);
  padding: 12px;
  text-align: left;
}

table td {
  padding: 10px;
  border-bottom: 1px solid var(--card-border);
}

table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* FIX: Match rows netjes in één lijn */
.match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.match-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Teamnamen links en rechts */
.match-row .team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

/* Score inputs in het midden */
.match-row .score {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Datum rechts */
.match-row .time {
  text-align: right;
  font-size: 14px;
  color: var(--text-muted);
}
