@charset "UTF-8";
/**
 * Bootstrap 5.3 – Variabili SCSS di base
 * @see https://getbootstrap.com/docs/5.3/customize/sass/
 */
/* ----------------------------------------------------------
 * SPACING
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * COLOR SYSTEM
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BODY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TYPOGRAPHY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * LINK
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BORDER RADIUS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * ACCORDION
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TABS
 * ---------------------------------------------------------- */
section.block__tournament-brackets {
  background-color: #011620;
  color: white;
  position: relative;
}
section.block__tournament-brackets .bracket-tabs-container {
  position: sticky;
  top: 126px;
  z-index: 10;
  background-color: #011620;
  overflow-x: hidden;
}
section.block__tournament-brackets .bracket-tabs-container .bracket-tabs-header {
  padding: 0 1.125rem;
  width: max-content;
}
section.block__tournament-brackets .bracket-tabs-container .bracket-tabs-header .bracket-tab {
  flex: 0 0 280px;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 40px;
}
section.block__tournament-brackets .bracket-tabs-container .bracket-tabs-header .bracket-tab:last-child {
  margin-right: 0;
}
section.block__tournament-brackets .bracket-scroll-area {
  overflow-x: auto;
  padding: 1.125rem;
  scrollbar-width: thin;
  scrollbar-color: #d4ff00 #011620;
}
section.block__tournament-brackets .bracket-scroll-area::-webkit-scrollbar {
  height: 8px;
}
section.block__tournament-brackets .bracket-scroll-area::-webkit-scrollbar-thumb {
  background-color: #d4ff00;
  border-radius: 4px;
}
section.block__tournament-brackets .bracket-tree {
  min-height: 800px;
}
section.block__tournament-brackets .bracket-column {
  flex: 0 0 280px;
  margin-right: 40px;
  position: relative;
}
section.block__tournament-brackets .bracket-column:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}
section.block__tournament-brackets .bracket-column:first-child .match-wrapper::before {
  display: none;
}
section.block__tournament-brackets .bracket-column:last-child .match-wrapper::after {
  display: none;
}
section.block__tournament-brackets .match-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 10px 0;
}
section.block__tournament-brackets .match-wrapper::before {
  content: "";
  position: absolute;
  left: -1.125rem;
  top: 50%;
  width: 1.125rem;
  height: 1px;
  background-color: #64748b;
}
section.block__tournament-brackets .match-wrapper:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: -1.125rem;
  top: 50%;
  width: 1.125rem;
  height: 50%;
  border-top: 1px solid #64748b;
  border-right: 1px solid #64748b;
  box-sizing: border-box;
}
section.block__tournament-brackets .match-wrapper:nth-child(even)::after {
  content: "";
  position: absolute;
  right: -1.125rem;
  bottom: 50%;
  width: 1.125rem;
  height: 50%;
  border-bottom: 1px solid #64748b;
  border-right: 1px solid #64748b;
  box-sizing: border-box;
}
section.block__tournament-brackets .match-wrapper:only-child::after {
  content: "";
  position: absolute;
  right: -1.125rem;
  top: 50%;
  width: 1.125rem;
  height: 1px;
  border: none;
  background-color: #64748b;
}
section.block__tournament-brackets .match-box {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
}
section.block__tournament-brackets .match-box .player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  color: #011620;
  font-size: 13px;
  border-bottom: 1px solid #e2e8f0;
}
section.block__tournament-brackets .match-box .player:last-child {
  border-bottom: none;
}
section.block__tournament-brackets .match-box .player.is-winner {
  background-color: #d4ff00;
  font-weight: bold;
}
section.block__tournament-brackets .match-box .player .player-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
section.block__tournament-brackets .match-box .player .player-info .flag {
  display: inline-block;
  width: 16px;
  height: 12px;
  background-color: #ccc;
}
section.block__tournament-brackets .match-box .player .player-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 11px;
}
section.block__tournament-brackets .match-box .player .player-meta .win-icon {
  color: #011620;
  font-size: 10px;
}
section.block__tournament-brackets.is-admin .bracket-tabs-container {
  position: relative;
  top: auto;
  z-index: 1;
  margin-bottom: 20px;
}