html, body{
    scroll-behavior:auto !important;
}

.pagee{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    flex-direction: column;
    position: relative;
    margin-top: 2%;
}

.page{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 2%;
    flex-direction: column;
    position: relative;
}

@media screen and (max-width: 625px) {
    .page{
        padding-bottom:50px !important;
    }
}



/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
 input[type=number] {
    -moz-appearance: textfield;
} 

.brackets-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: fit-content;
    padding:150px 50px 50px 50px;
    flex-direction: column;
    margin-left:auto;
    margin-right: auto;
    width: fit-content;
    user-select: none;

}

.bracket-conwrapper{
    max-width: 100%;
    display: flex;
    justify-content: center;
}


.bracket-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-repeat: no-repeat;
    min-width: 750px;
}

.loser-brackets-container {
    display: flex;
    margin-top: 130px;
    justify-content: center;
    align-items: center;
    margin-right: 563px;
    position: relative;
}

.line{
    height: 4px;
}

.romb{
    transform: rotate(45deg);
    height: 6px;
    width: 6px;
    background-color: rgb(128, 128, 128);
    position: absolute;
    right:-12px;
    top:1px;
}


.odd-bracket .line-connector{
    border-top: 2px solid grey;
    border-right: 2px solid grey;
    position: absolute;
    width: 22px;
    height: 42px;
    right:-32px;
    top:3px
}

.even-bracket .line-connector{
    border-bottom: 2px solid grey;
    border-right: 2px solid grey;
    position: absolute;
    width: 22px;
    height: 50px;
    right:-32px;
    bottom:1px;
}

.backline-connector-loser-final{
    border-top: 2px solid grey;
    border-left: 2px solid grey;
    position: absolute;
    width: 22px;
    height: 50px;
    left:-28px;
    top:3px
}

.final8{
    height: 210px !important;
}

.final16{
    height: 500px !important;
}

.final32{
    height: 1060px !important;
}

.line-connector-loser-final{
    border-bottom: 2px solid grey;
    border-right: 2px solid grey;
    position: absolute;
    width: 27px;
    height: 210px;
    right:-37px;
    bottom:1px;
}


.round-2-brackets .odd-bracket .line-connector,
.round-2-brackets .even-bracket .line-connector{
    height: 96px;
}

.round-3-brackets .odd-bracket .line-connector,
.round-3-brackets .even-bracket .line-connector{
    height: 196px;
}


.round-4-brackets .odd-bracket .line-connector,
.round-4-brackets .even-bracket .line-connector{
    height: 377px;
}


.round-1-loser-brackets .line-connector-loser{
    border-top: 2px solid grey;
    position: absolute;
    right:-54px;
    top:3px;
    width: 46px;
}

.odd-bracket .line-connector-loser:not(.round-1-loser-brackets .line-connector-loser){
    border-top: 2px solid grey;
    border-right: 2px solid grey;
    position: absolute;
    width: 23px;
    height: 50px;
    right:-32px;
    top:3px
}

.even-bracket .line-connector-loser:not(.round-1-loser-brackets .line-connector-loser){
    border-bottom: 2px solid grey;
    border-right: 2px solid grey;
    position: absolute;
    width: 23px;
    height: 50px;
    right:-32px;
    bottom:1px;
}

.round-3-loser-brackets .line-connector-loser,
.round-5-loser-brackets .line-connector-loser,
.round-7-loser-brackets .line-connector-loser{
    border-right: none !important;
}

.round-4-loser-brackets .odd-bracket .line-connector-loser,
.round-4-loser-brackets .even-bracket .line-connector-loser{
    height: 85px !important;
}

.round-6-loser-brackets .odd-bracket .line-connector-loser,
.round-6-loser-brackets .even-bracket .line-connector-loser{
    height: 165px !important;
}

.line-connector-straight{
    border-top: 2px solid grey;
    position: absolute;
    right:-54px;
    top:3px;
    width: 46px;
}

.backline-romb:not(.round-1-brackets .backline-romb, .round-1-loser-brackets .backline-romb){
    transform: rotate(45deg);
    height: 6px;
    width: 6px;
    background-color: grey;
    position: absolute;
    left:-10px;
    top:1px;
}


.backline-connector:not(.round-1-brackets .backline-connector, .round-1-loser-brackets .backline-connector){
    border-top: 2px solid grey;
    position: absolute;
    left:-28px;
    top:3px;
    width: 23px;
}



@media only screen and (max-width: 840px) {

   .content{
        flex-direction: column;
        align-items: center;
        justify-content: flex-start !important;
   }

   .page{
    margin-top:54px;
   }
}


.bracket {
    color: var(--cloudy-white);
    border-collapse: collapse;
    border-spacing: 2px;
    min-width: 175px;
    height: 70px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    /* -webkit-box-shadow: 0px 0px 16px 0px rgb(122, 124, 141);
    -moz-box-shadow: 0px 0px 16px 0px rgb(122, 124, 141);
    box-shadow: 0px 0px 16px 0px rgb(122, 124, 141); */
}

.content{
    display:flex;
    justify-content: center;
    gap:24px;
    width: clamp(20rem, 95%, 2100px);
    position: relative;
    padding-bottom: 320px;

}



.round-1-brackets {
    display: flex;
    gap: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
}



.round-2-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 111px;
}

.round-3-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 309px;
}

.round-4-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 674px;
}

.round-5-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
}

.round-6-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
}


.bracket tr:nth-child(odd) {
    background-color: #242629;
    outline:1.5px solid #5f6160;
    border-radius: 4px 0 4px 0;
}

.team-list, .team-name {
    padding: 8px;
    min-width: 170px;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    color:#e1eef6;
    transition: all 50ms ease-in-out;
    color:var(--cloudy-white);
    font-weight: 500;
    font-size: 14px;
}

.team-list{
    padding: 8px 24px 8px 8px;
    width: 170px;
    max-width: unset !important;
    overflow: unset !important;
}

.TBD, .BYE{
    font-weight: 500;
    color: rgb(140, 140, 140);
}



.score {
    text-align: center;
    width: 32px;
    margin: 0px 4px 0px 0px;
}

.score span{
    color:rgb(219, 219, 219);
    background-color: var(--slate-steel);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    margin:3px;
    border-radius: 4px 0 4px 0;
}

#consolationRound {
    position: absolute;
    margin-top: 320px;
}


.error-message {
    color: white;
}

.page h1 {
    color: white;
    text-align: center;
}

.bracket tr {
    position: relative;
}

#firstplacetd {
    display: none;
    position: absolute;
}

#secondplacetd {
    display: none;
    position: absolute;
}

.firstplace,
.secondplace {
    position: absolute;
    background-color: #FFD700;
    color: black;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    left: 0px;
    top: 0;
    width: 90px;
    height: 35px;
    display: flex;
    padding-left: 10px;
    justify-content: start;
    align-items: center;
}

.secondplace {
    background-color: #a3a29a;
}

.score input {
    width: 16px;
    text-align: center;
}

.button-td {
    display: flex;
    justify-content: center;
    margin: 7px 0 0 7px;
    align-items: center;
    position: absolute;
}

.button-td button {
    padding:0;
}

.WorL {
    padding: 0px 5px 0px 5px;
    border:1.5px solid #5f6160;
    margin: 0;
    background-color: var(--deep-steel);
    position: absolute;
    left: 0px;
    top:-.5px;
    height: 35px;
    opacity: 1;
    display: flex;
    align-items: center;
    transition: all 150ms ease-in-out;
    border-radius: 7px 0px 0 7px;
    display:flex;
    justify-content: center;
    align-items: center;
    gap:5px;
}

.teamNameList {
    display: none;
    height: 20.43px;
    font-size: 14px;
    color: var(--cloudy-white);
    background-color: var(--deep-steel);
    border:1px solid var(--slate-steel);
    border-radius: 4px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    cursor: var(--custom-pointer);
}

.teamNameText {
    margin-left: 4px;
    margin-top: 1px;
    font-weight: 500;
}

.submit-btn {
    opacity: 0;
    pointer-events: none;
    background-color: transparent;
    margin-left: 0px;
    border: none;
    cursor: var(--custom-pointer);
    position: absolute;
    left: 0;
    transition: all 150ms ease-in-out;
    transform: scale(.9);
    filter:brightness(.75);
}

#rerollForm{
    margin:0;
}

.submit-btn img {
    width: 20px;
    filter: saturate(2);
}

.edit-btn:disabled{
    cursor:not-allowed;
    filter:brightness(.3);
}

.submit-btn:hover,
.edit-btn:hover:not(:disabled) {
    transform: scale(1.1);
    filter:brightness(1);
}


.edit-btn {
    border: none;
    border-radius: 3px;
    cursor: var(--custom-pointer);
    background-color: transparent;
    color: red;
    transition: all 150ms ease-in-out;
    transform: scale(.9);
    filter:brightness(.75);
}

.edit-btn img {
    width: 20px;
}

input[type="number"] {
    border: none;
    padding: 3px;
    width: 28px;
    height: 28px;
    border-radius: 4px 0 4px 0;
    outline: 0;
    font-weight: 500;
    color:var(--cloudy-white);
    font-size:16px;
    margin-right: 3px;
    font-family: Montserrat;
    background: var(--slate-steel);
}

input[type="number"]:disabled{
    filter:brightness(.8);
}

#bracketLines {
    position: absolute;

    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.round-1-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 10px;
}

.round-2-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 10px;
}

.round-3-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 89px;
}

.round-4-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 89px;
}

.round-5-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 250px;
}

.round-6-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
    gap: 250px
}

.round-7-loser-brackets,
.round-8-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;

}




.round-9-loser-brackets {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 280px;
}

.tournament_bracket-wrapper {
    max-width: 100%;
    border-radius: 14px;
    height: fit-content;
    border:1px solid var(--translucid-light);
    background-color: var(--translucid-dark);
    overflow-y: hidden;
    overflow-x: auto;
    cursor: grab;
}

.bracket-informations{
    background: linear-gradient(45deg, rgba(32,34,39,1) 0%, rgba(38,40,46,1) 50%, rgba(31,33,40,1) 100%);
    position: absolute;
    border-radius: 10px 10px 0 0;
    display: flex;
    box-sizing: border-box;
    padding:12px;
    justify-content: space-between;
    border-bottom: 1px solid var(--translucid-light);
    width: 350px;
}

.bracket-informations button{
    border:none;
    background-color: transparent;
    padding:0;
    margin:0;
    cursor: var(--custom-pointer);
}

.bracket-informations img{
    height: 24px;
    width: 24px;
    transition:all 250ms ease-in-out;
    filter: brightness(.9);
}

.tooltip-container.tooltip-right,
.tooltip-container.tooltip-left{
    display: flex;
    justify-content: center;
    align-items: center;
}


#fsb:hover{
    transform: scale(1.05);
    filter: brightness(1);
}

#ufsb:hover{
    transform: scale(.95);
    filter: brightness(1);
}

.tournament_bracket-wrapper.dragging {
    cursor: grabbing;
}


.highlight{
    background-color: #d8971f;
}

.quit p {
    font-family: Montserrat;
    font-size: 20px;
    margin: 5px;
    font-weight: 500;
}

.inv-more-players-btn,
.modify-tourney-btn {
    padding: 8px 16px 6px 16px !important;
    width: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    color: white !important;
    transition: all 150ms ease-in-out;
    gap: 10px;
}

.inv-more-players-btn img,
.modify-tourney-btn img {
    width: 24px;
}

.modify-tourney-btn {
    background-color: rgb(0, 153, 255) !important;
    box-shadow: 0 0.3rem rgb(0, 124, 207);
}

.modify-tourney-btn:hover {
    background-color: rgb(0, 140, 255) !important;
}

.inv-more-players-btn {
    background-color: #3d4149 !important;
    width: 130px;
    margin-left: 10px;
    box-shadow: 0 0.3rem rgb(41, 43, 53);
}

.inv-more-players-btn:hover {
    background-color: #484d57 !important;
}

.quit{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.quit button{
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-family: Montserrat;
    font-weight: 500;
    padding:4px 24px 4px 24px;
    border:none;
    margin-top:5px;
    width: 100%;
    color:var(--cloudy-white);
    border-radius:4px;
    cursor: var(--custom-pointer);
    transition: all 150ms ease-in-out;
    gap:5px;
    background-color: var(--main-green);
}

.disabled {
    filter:brightness(.5);
    cursor: not-allowed !important;
}

.quit button:hover{
    background-color: var(--main-green-hover);
}

.disabled:hover {
    filter:brightness(.5);
}


.disabled:active {
    transform: scale(1) !important;
}

.quit button img {
    margin-top: 0px !important;
    width:20px !important;
}

.lds-ring {
   display: none;
    width: 22px;
    height: 22px;
    position: absolute;
    right:31px;
    bottom:32px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    margin: 0px;

    border: 2px solid #dfdfdf;
    border-radius: 50%;
    
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--cloudy-white) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.playersHeader{
    font-weight: 600;
    text-align: center;
}


.team-members{
    display:none;
    height: 32px;
}


.team-members td{
    padding:5px;
}

.team-members a{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    gap:4px;
    font-size:14px;
    margin-left:15px;
    white-space: nowrap;
    color:var(--cloudy-white);
}

.tlhBtns{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
}

#refresh-time{
    color:gray;
    font-size:12px;
    font-family: Montserrat;
}

#refresh-time span{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:4px;
}

#refresh-time span img{
    height: 12px;
    width: 12px;;
}

.tlhBtns button{
    font-family: Montserrat;
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    height: 36px;
    border:1px solid rgb(66, 66, 66);
    cursor: var(--custom-pointer);
    transition: all 100ms ease-in-out;
    color:var(--cloudy-white);
    background-color: var(--translucid-dark);
    border-radius: 8px;
    font-weight: 400;
    gap:8px;
    font-size:17px;
}

.tlhBtns button:hover{
    border-color:gray;
}

.tlhBtns button img{
    height: 14px;
    width: 14px;
}

.tlhBtns button:disabled{
    color:gray;
    border:none;
}

.tlhBtns button:disabled img{
    filter:brightness(.5);
}

.pfp img{
    border-radius: 100%;
    height: 16px !important;
    width: 16px;
}

.pfp{
    display:flex;
    border-radius: 100%;
}


.podium-wrapper{
    display:flex;
    justify-content: center;
    align-items: flex-end;
    gap:20px;
    margin:64px 0 64px 0;
}

.podiumNames{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    gap:4px;
    margin-bottom:6px;
}

.podiumNames img{
    height: 20px;
    border-radius: 100%;
}

.podiumNames a{
    text-decoration: none;
    font-weight: 600;
    color:var(--cloudy-white);
}

#firstPlace{
    height: 200px;
    width: 180px;
    background-color: rgb(28, 29, 31);
    border: 1px solid #ffc61a;
    border-top:6px solid #ffc61a;
    border-radius: 4px;
    position: relative;
    -webkit-box-shadow: 0px 4px 12px -7px rgba(255, 198, 26, 1);
    -moz-box-shadow: 0px 4px 12px -7px rgba(255, 198, 26, 1);
    box-shadow: 0px 4px 12px -7px rgba(255, 198, 26, 1);
    
}

hr{
    margin:3px 0 6px 0;
    border:none;
    height: 1px;
    background-color: #7a829293;
    border-radius: 4px;
}

#secondPlace{
    height: 160px;
    width: 180px;
    border: 1px solid #a3a3a3;
    border-top: 6px solid #a3a3a3;
    background-color: rgb(28, 29, 31);
    border-radius: 4px;
    position: relative;
}


#thirdPlace {
    height: 120px;
    width: 180px;
    background-color: rgb(28, 29, 31);
    border: 1px solid #A17652;
    border-top: 6px solid #A17652;
    border-radius: 4px;
    position: relative;
}


.podium{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.podium>img{
    height: 32px;
}

#fptn, #sptn, #tptn{
    font-family: Montserrat;
    font-size:24px;
    font-weight: 600;
    text-align:center;
    margin-top:5px;
    margin-bottom: 3px;
}

#fptn{
    color:#ffc61a;
}

#sptn{
    color: #c4c4c4;
}

#tptn{
    color: #A17652;
}

.teamMembers{
    font-family: Montserrat;
    color:white;
    padding:8px;
}



/* TOURNAMENT MANAGE BRACKET CSS */


.box-radio{
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    padding:3px;
    font-family: Montserrat;
    width: 22px;
    font-weight: 500;
    color: var(--cloudy-white);
    filter:brightness(.5);
    cursor: var(--custom-pointer);
    transform:scale(.9);
    transition:all 150ms ease-in-out;
    user-select: none;
}

.box-radio:hover{
    transform:scale(.95);
    filter:brightness(.75);
}

input[type="radio"]{
    display: none;
}

input[type="radio"]:checked + .box-radio {
    filter:brightness(1);
    transform:scale(1);
}

img{
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}


.captions{
    color:#c3cac9;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    font-family: Montserrat;
    font-weight: 500;
    position: absolute;
    top:-64px;
    text-align: center;
    box-sizing: border-box;
    padding:6px;
    width: 210px;
}

.legend{
    font-family: Montserrat;
    color:var(--cloudy-white);
    display:flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap:5px;
    font-size: 14px;
    margin-top:16px;
    background: var(--translucid-dark);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--translucid-light);
}

.legend-element{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:5px;
}

.legend-elements_wrapper{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:20px;
    border-top:1px solid #32353d;
    padding-top:8px;
}

.legend-color{
    height: 14px;
    width: 14px;
    border-radius:2px;
}

.ongoing{
    background-color:#f6a105;
}

.win{
    background-color: var(--main-green);
}

.loss{
    background-color: var(--crimson-red);
}

.team-nr-td{
    text-align: center;
    width: 20px !important;
}

.td-wrapper{
    font-family: Montserrat;
    min-width: 200px;
    color:var(--cloudy-white);
}

.td-header{
    font-size:22px;
    box-sizing: border-box;
    padding:8px 8px 4px 10px;
    background-color: #242629;
    line-height: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap:5px;
    border-radius: 6px 6px 0 0;
}

.td-header img{
    height: 22px;
    width: 22px;
}

.td-wrapper table{
    border-collapse: collapse;
}


.td-wrapper th{
    color:grey;
    font-weight: 500;
    font-size:12px;
    padding:2px;
}

.showDetails{
    cursor: var(--custom-pointer);
    position: relative;
}

.spacer{
    height: 10px;
}

.even, .odd{
    background-color: var(--dark-gunmetal);
    border:1px solid var(--slate-steel);
}


.peven:first-child{
    border-top:none;
}

.peven {
    background-color: #16171b;
    border-top:none;
    border:1px solid var(--slate-steel);
}

.podd {
    background-color: #16171b;
    border-top:none;
    border:1px solid var(--slate-steel);
}


.plusandminus {
    position: absolute;
    right: 5px;
    bottom: 8px;
    user-select: none;
    display: flex;
}

.plusandminus img {
    width: 18px;
    transition:transform 100ms ease-in-out;
}


.bracket-loading-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color:var(--cloudy-white);
    font-family: Montserrat;
    width: 750px;
    padding:20px 0px 60px 0px;
}

.loader {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    margin:15px auto;
    position: relative;
    color: #acacac;
    box-sizing: border-box;
    animation: animloader 2s linear infinite;
  }
  
  @keyframes animloader {
    0% {
      box-shadow: 14px 0 0 -2px,  38px 0 0 -2px,  -14px 0 0 -2px,  -38px 0 0 -2px;
    }
    25% {
      box-shadow: 14px 0 0 -2px,  38px 0 0 -2px,  -14px 0 0 -2px,  -38px 0 0 2px;
    }
    50% {
      box-shadow: 14px 0 0 -2px,  38px 0 0 -2px,  -14px 0 0 2px,  -38px 0 0 -2px;
    }
    75% {
      box-shadow: 14px 0 0 2px,  38px 0 0 -2px,  -14px 0 0 -2px,  -38px 0 0 -2px;
    }
    100% {
      box-shadow: 14px 0 0 -2px,  38px 0 0 2px,  -14px 0 0 -2px,  -38px 0 0 -2px;
    }
  }

  .bracket-not-ready{
    border:1px solid var(--slate-steel);
    box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.22);
    padding:40px;
    color:var(--cloudy-white);
    font-family: Montserrat;
    text-align: center;
    border-radius: 6px;
    background-color: var(--deep-steel);
  }

  .bracket-number{
    position: absolute;
    left:-26px;
    top:16px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#5f6160;
    font-size:12px;
  }

  .round-1-loser-brackets .bracket-number,
  .round-1-brackets .bracket-number{
    top:25px;
  }

  .bracket-prompts{
    color:rgb(140, 140, 140);
  }

  .dimmed{
    opacity:.3;
  }
  
  .popup-button.go-back:hover{
    background-color:#292d3170 !important;;
  }

  .popup-button.confirm{
    background-color:var(--crimson-red);
  }

  .popup-button.reroll{
    background-color:var(--azure-blue);
  }

  .popup-button.reroll:disabled{
    filter:brightness(.75);
    cursor:not-allowed;
  }
  
  #rrLeft{
    display: flex;
    align-items: center;
    gap:5px;
  }

  #rrLeft img{
    height: 16px;
  }


  .final-result-wrapper{
    display: flex;
    justify-content: space-between;
    gap:24px;
    font-family: Montserrat;
    margin:0px 0 32px 0;
  }

  .podium-card{
    width: 100%;
    height: auto; /* This!! */
    padding:20px;
    background-color: var(--translucid-dark);
    border:5px solid var(--translucid-light);
    display: flex;
    flex-direction: column;
    gap:16px;
    min-height: 132px;
    min-width: 200px;
    position: relative;
  }

  .firstPlace{
    border-top-color:#ffd90093;
  }

  .secondPlace{
    border-top-color:#c0c0c096;
  }

  .thirdPlace{
    border-top-color:#f4a5609a;
  }

  .podium-place{
    display: flex;
    gap:16px;
    align-items: center;
    justify-content: center;
  }

  .podium-place img{
    height: 75px;
  }

  .ex-aequo{
    border-bottom: 2px dashed var(--slate-steel);
    padding: 5px 0;
    font-weight: 700;
  }

  .final-result-wrapper .team-name{
    font-weight: 600;
    font-size:17px;
    border-bottom: 2px dashed var(--slate-steel);
    padding:4px 0;
    transition:all 100ms ease-in-out;
  }

  .final-result-wrapper .team-name.highlight{
    background-color: unset;
    border-bottom-color:#d8971f;
    color:#d8971f;
  }

  .players-list{
    display: flex;
    flex-direction: column;
    gap:8px;
    margin-left:9px;
  }


  .player-profile{
    height: 28px;
    width: 28px;
    background-size: 100%;
    border-radius: 100%;
    background-position: center;
  }

  .player-profile-link{
    display: flex;
    align-items: center;
    gap:5px;
    white-space: nowrap;
    color:var(--cloudy-white);
    text-decoration: none;
  }

  .players-list a{
    font-weight: 600;
  }

  .final-result-wrapper .team-wrapper{
    display: flex;
    flex-direction: column;
    gap:8px;
  }

  .team-wrapper .players-list{
    margin-left:0;
  }


  .ex-aequo-tooltip {
    position: relative;
    display: inline-block;
}

.ex-aequo-tooltip .tooltip-content {
    display: none;
    position: absolute;
    background-color: var(--translucid-dark);
    border: 1px solid var(--translucid-light);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 10px;
    z-index: 1;
    width: 200px; /* Można dostosować rozmiar */
    top: 31px; /* Można dostosować położenie */
    left: 0;
    flex-direction: column;
    gap:10px;
    max-height: 200px;
    overflow: auto;
}

.ex-aequo-tooltip:hover .tooltip-content {
    display: flex;
}

.ex-aequo-tooltip-text {
    display: block;
    cursor: var(--custom-pointer);
    font-weight: 600;
    padding:5px;
    border-bottom :2px dotted var(--slate-steel);
    color: var(--azure-blue); /* Można dostosować stylowanie napisu */
}

.url-copied{
    background-color: var(--main-green) !important;
    box-sizing: border-box !important;
    border:1px solid var(--main-green-hover) !important;
}

.please-notes{
    font-weight: 500;
    padding:12px 16px;
    font-family: Montserrat;
    background-color: var(--mellow-yellow);
    max-width: 700px;
    margin:0 20px;
    border-radius: 6px;
    margin-top:-10px;
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap:16px;
    font-size:14px;
}

.please-notes svg{
    height: auto;
    width: 45px;
}


.password-box{
    padding:24px;
    background-color: var(--translucid-dark);
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    color:var(--cloudy-white);
    border:1px solid var(--translucid-light);
    font-family: Montserrat;
    border-radius: 10px;
}

.password-box h2{
    font-weight: 400;
    margin:0;
    display: flex;
    align-items: center;
    gap:5px;
}

.password-box h2 svg{
    height: auto;
    width: 20px;
    padding-top: 3px;
}

.password-box p{
    margin:5px 0;
}

.password-box input{
    border-radius: 6px;
    outline:1.5px solid #35373b;
    padding:12px 20px;
    background-color: var(--translucid-dark);
    border:none;
    color:var(--cloudy-white);
    transition:outline 125ms ease-in-out;
    font-size:16px;
    width: 400px;
    font-family: Montserrat;
}

.password-box input:hover{
    outline:1.5px solid var(--main-green);
}

.password-box input:focus{
    outline:2.5px solid var(--main-green-hover);
}

.enter-password-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.enter-password-wrapper span{
    color: var(--crimson-red);
}

.password-box button{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5px;
    background: linear-gradient(45deg, rgba(34,197,94, 1) 30%, rgba(22, 135, 163, 1) 100%);
    color:var(--cloudy-white);
    font-family: Montserrat;
    border:none;
    padding:10px 20px;
    width: fit-content;
    border-radius: 32px;
    font-size:16px;
    cursor: var(--custom-pointer);
    transition: all 150ms ease-in-out;
    margin-top: 8px;
}

.password-box button svg{
    height: 20px;
    width: auto;
}

.password-box  button:hover{
    transform: translateY(-3px);
    box-shadow: 0px 5px 5px 0px rgba(23, 201, 23, 0.24);
}

.password-box  button:active{
    transform:scale(.98);
}

#auto-refresh{
    display: none;
  }

  #auto-refresh-label{
    text-decoration: none;
    color:var(--cloudy-white);
    background-color: var(--translucid-dark);
    border:1px solid rgb(66, 66, 66);
    border-radius: 6px;
    padding:8px;
    box-sizing: border-box;
    transition: all 100ms ease-in-out;
    display:flex;
    align-items: center;
    justify-content: center;
    gap:8px;
    font-size:16px;
    font-weight: 400;
    user-select: none;
    cursor: var(--custom-pointer);
    font-family: Montserrat;
    position: relative;
  }

  #auto-refresh-label span{
    content:'';
    height: 2px;
    width: 0px;
    background-color: var(--main-green);
    position: absolute;
    left:1px;
    bottom:0;
    border-radius: 0 0 1px 1px;
  }

  #auto-refresh-label svg{
    height: 14px;
    width: 14px;
  }


  #auto-refresh:checked + #auto-refresh-label svg g{
    stroke:var(--main-green)
  }

  #auto-refresh:checked + #auto-refresh-label span{
    animation: auto-refresh-loader 60s linear infinite;
  }

  @keyframes auto-refresh-loader {
        from{
            width: 0;
        }
        to{
            width: 98.5%;
        }
  } 
