.score-winner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 5px;
    background-color: green;
    font-weight: 600;
    color: white
}

.score-loser {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 5px;
    background-color: red;
    font-weight: 600;
    color: white;
}



.stage-item {
    position: absolute;
    top: 0px;
    left: 0px;
}



.upper-bracket::before {
    content: "Upper bracket";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.lower-bracket::before {
    content: "Lower bracket";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.round-1::before {
    content: attr(data-label);
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.round-2::before {
    content: attr(data-label);
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.round-3::before {
    content: "Round 3";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.semi-final::before {
    content: "1/2";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.quater-final::before {
    content: "1/4";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.grandfinal::before {
    content: "Grandfinal";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}


.final::before {
    content: attr(data-label);
    position: absolute;
    top: 205px;
    /* left: 3px; */
    color: black;
}

.final-football-shooter::before {
    content: attr(data-label);
    position: absolute;
    top: 75px;
    color: black;
}

.final-hockey::before {
    content: attr(data-label);
    position: absolute;
    top: 5px;
    color: black;
}

.grand-final::before {
    content: attr(data-label);
    position: absolute;
    top: 390px;
    /* left: 3px; */
    color: black;
}

.deciding-game::before {
    content: "Deciding-game";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}

.bronze::before {
    content: "Bronze";
    position: absolute;
    top: 5px;
    left: 3px;
    color: black;
}


.table-bracket {
    min-width: 1000px;
}

.theme {
    height: 100%;
    width: 100%;
}

.bracket {
    margin: 5px;
    width: 1040px;
}

.bracket-hockey {
    width: 1640px;
}

.bracket {
    display: flex;
    flex-direction: row;
    position: relative;
}

.column {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-around;
    align-content: center;
}

.match {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 300px;
    max-width: 300px;
    margin: 12px 24px 12px 0;
}

.match .match-top {
    border-radius: 2px 2px 0 0;
}

.match .match-bottom {
    border-radius: 0 0 2px 2px;
}

.match .team {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 10px 15px;
}

.match .team .score {
    margin-left: auto;
}

.match .team:first-child {
    margin-bottom: -1px;
}

.match-lines {
    display: block;
    position: absolute;
    top: 50%;
    bottom: 0;
    margin-top: 0px;
    right: -1px;
}

.match-lines .line {
    background: black;
    position: absolute;
}

.match-lines .line.one {
    height: 1px;
    width: 12px;
}

.match-lines .line.two {
    height: 130%;
    width: 1px;
    left: 11px;
}

.match-lines.alt {
    left: -12px;
}

.match:nth-child(even) .match-lines .line.two {
    transform: translate(0, -100%);
}

.column:first-child .match-lines.alt {
    display: none;
}

.column:last-child .match-lines {
    display: none;
}

.column:last-child .match-lines.alt {
    display: block;
}

.column:nth-child(2) .match-lines .line.two {
    height: 124px;
}

.column:nth-child(3) .match-lines .line.two {
    height: 175px;
}

.column:nth-child(4) .match-lines .line.two {
    height: 262px;
}

.column:nth-child(5) .match-lines .line.two {
    height: 349px;
}

.name {
    font-size: 0.8rem;
    color: black;
}

.disable-image .image,
.disable-seed .seed,
.disable-name .name,
.disable-score .score {
    display: none !important;
}

.disable-borders {
    border-width: 0px !important;
}

.disable-borders .team {
    border-width: 0px !important;
}

.disable-seperator .match-top {
    border-bottom: 0px !important;
}

.disable-seperator .match-bottom {
    border-top: 0px !important;
}

.disable-seperator .team:first-child {
    margin-bottom: 0px;
}

.match {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-info {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.team-info {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.team-info:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.team-info img {
    transition: transform 0.2s ease;
}

.team-info:hover img {
    transform: scale(1.05);
}

.team-info img {
    width: 49px;
    height: 55px;
    object-fit: contain
}


.team-anim {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease;
}

.team-link:hover .team-anim {
    transform: scale(1.1);
    filter: brightness(1.2);
    color: #ffc107;
}


.match-cell>a::after {
    content: none;
}


.match-cell {
    cursor: pointer;
}


.match-cell a.match-full-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.match-cell .team-link {
    position: relative;
    z-index: 2;
}

.football-bracket-container {
    height: 500px;
}

.bronze-in-third-column {
    bottom: 40px;
    right: 250px
}

.football-bronze {
    right: 250px;
    bottom: -100px;
}

.shooter-bronze {
    right: 510px;
    bottom: -150px;
}

.bracket-match__number {
    position: absolute;
    top: -25px;
    left: 0px;
    font-size: 0.8rem;
    color: #000000;
}

.score-not-started {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 5px;
    background-color: #e1e1e1;
    font-weight: 600;
    color: white;
}

.team-link-rounds {
    z-index: 3;
    max-width: 200px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.team-link-rounds:hover {
    background-color: #f5f5f5;
}

.match-link-all-size {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.column:nth-child(3) .match-lines .line.line-upper {
 height: 63px;
}
.match-lines .line-upper {
    top: -62px;
}


.column:nth-child(3) .match-lines .line.line-super-upper {
 height: 63px;
}
.match-lines .line-super-upper {
    top: -62px;
}

.column:nth-child(4) .match-lines .line.line-super-upper {
    top: -260px;
  height: 260px;
}

.srtaight-line {
  position: absolute;
  top: 54.5%;
  height: 1px;
  width: 254px;
  background-color: #000;
}

.just-bottom-line {
  position: absolute;
  top: 54.5%;
  right: 11px;
  width: 1px;
  height: 130px;
  background-color: #000;
}

.match-lines .line.line-some-longer {
    width: 24px;
}

.column-just-straight-line {
    width: 264px;
}

.hockey_deciding-game {
    top: 50px;
    right:47px;
}



.column:nth-child(5) .match-lines .line.before-deciding {
  height: 50px;
}


.bracket-table-rounds {
    min-width:1000px
}
