body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7fb;
  color: #111827;
}
* {
  box-sizing: border-box;
}
.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}
aside {
  background: #0b1220;
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.ball {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.ball img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
aside h1 {
  margin: 0;
  font-size: 26px;
}
aside p {
  color: #d1d5db;
  margin: 2px 0 0;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
}
aside button {
  background: transparent;
  color: white;
  text-align: left;
}
aside button.active,
aside button:hover {
  background: rgba(236, 72, 153, 0.25);
}
main {
  padding: 28px;
}
.hidden {
  display: none !important;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.panel,
.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}
.compact {
  padding: 16px;
  margin-bottom: 18px;
}
.compact h3 {
  margin: 0 0 10px;
}
.login {
  max-width: 440px;
  margin: 50px auto;
  display: grid;
  gap: 12px;
}
.muted {
  color: #6b7280;
}
.small {
  font-size: 13px;
  margin: 8px 0 0;
}
.eyebrow {
  margin: 0 0 5px;
  color: #ec4899;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.topbar h2 {
  margin: 0;
  font-size: 34px;
}
.live {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-sizing: border-box;
  margin: 6px 0;
  background: white;
}
.field-label {
  font-size: 12px;
  font-weight: 900;
  color: #6b7280;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}
form button,
#signInBtn,
.tool-buttons button {
  background: #ec4899;
  color: white;
  width: 100%;
  margin-top: 8px;
}
button.secondary {
  background: #e5e7eb;
  color: #111827;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.card span {
  color: #6b7280;
}
.card strong {
  display: block;
  font-size: 30px;
  margin-top: 8px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 18px;
  align-items: start;
}
.toolbar,
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 12px;
  margin-bottom: 14px;
}
.toolbar {
  grid-template-columns: 1fr 220px;
}
.item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.item-title {
  font-weight: 900;
}
.item-meta {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.edit {
  background: #dbeafe;
  color: #1d4ed8;
}
.delete {
  background: #fee2e2;
  color: #dc2626;
}
.status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 900;
  font-size: 12px;
  background: #eef2ff;
  color: #3730a3;
}
.status.Final {
  background: #dcfce7;
  color: #166534;
}
.status.Postponed,
.status.RainOut {
  background: #fef3c7;
  color: #92400e;
}
.status.Cancelled {
  background: #fee2e2;
  color: #991b1b;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}
th,
td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
}
.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.team-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
  background: #f3f4f6;
}
.mini-list .mini {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.mini-list .mini:last-child {
  border-bottom: 0;
}
.tool-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tag {
  display: inline-block;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 3px 8px;
  margin-right: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #374151;
}
@media (max-width: 950px) {
  .app {
    grid-template-columns: 1fr;
  }
  .cards,
  .grid,
  .dashboard-grid,
  .toolbar,
  .tool-buttons,
  .filter-grid {
    grid-template-columns: 1fr;
  }
  main {
    padding: 16px;
  }
  .topbar {
    display: block;
  }
}
.login-container {
  width: 400px;
  margin: 100px auto;
  padding: 40px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.login-container h1 {
  margin-bottom: 10px;
}

.login-container h2 {
  margin-bottom: 25px;
  font-size: 20px;
  color: #666;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 16px;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.login-container button:hover {
  background: #c2185b;
}

#errorMessage {
  color: red;
  margin-top: 15px;
}
/* Floating notifications */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast.success {
  background: #166534;
}

.toast.error {
  background: #b91c1c;
}

.toast.info {
  background: #1d4ed8;
}

@media (max-width: 600px) {
  .toast {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}
.quick-actions {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.quick-actions h3 {
  margin: 0 0 16px;
}

.quick-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-action-buttons button {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: #ec4899;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.quick-action-buttons button:hover {
  background: #db2777;
  transform: translateY(-2px);
}
.toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}