@import url("matrix-theme.css");

/* Tournament dashboard */
.wrapper {
  max-width: 420px;
  align-items: stretch;
  padding: 12px;
}

.list-items {
  width: 100%;
  align-items: stretch;
}

.match-item-container {
  padding: 12px;
}

.match-teams-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  border: 1px solid var(--matrix-border);
  background: var(--matrix-black);
  padding: 8px;
}

.match-team-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 32px;
}

.match-flag {
  width: 36px !important;
  height: 24px !important;
  object-fit: contain;
  border: 1px solid var(--matrix-border);
  background: var(--matrix-panel);
}

.match-team-name {
  font-size: 0.8rem;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: left;
}

.match-vs-row {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  opacity: 0.65;
  padding: 2px 0;
}

.match-item .match-bet-btn,
.match-item .match-action {
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  padding: 9px 12px;
  font-size: 0.75rem;
  box-shadow: none;
  border-radius: 0;
}

.match-item .match-action {
  display: block;
  text-align: center;
}

.match-item-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--matrix-border);
  font-size: 0.75rem;
  opacity: 0.9;
}

.match-bets-count {
  white-space: nowrap;
}

.wrapper > .button {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  box-shadow: none;
}
