* {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax 00101 */
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1C1C1C;
}

.container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-top: 60px;
}

#stats{
    position: relative;
    width: 50%;
}
.stats-name{
    position: relative;
    background-color: #3d3d3dc2;
    color: #ffffff;
    padding: 10px;
    margin-top: 6px;
}

.stts{
    margin-bottom: 10px;
}

.stats-container{
    position: relative;
    background-color: #3d3d3dab;
    margin-top: 10px;
    padding: 10px;
    color: white;
    border-radius: 7px;
}

#event-title{
    color: rgb(219, 157, 24);
}

.tooltip {
    display: none; /* Inicialmente escondida */
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10;
    white-space: pre-line; /* Para permitir múltiplas linhas */
}

.name:hover .tooltip {
    display: block;
}

.stats-title{
    background-color: #5555558a;
    color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
    font-weight: 600;
}

#timer{
    font-size: 12px;
    color: #bdbdbd;
}

.stats-online{
    background-color: #4e7f4e;
    max-width: 100px;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}
.stats-offline{
    background-color: #7f4e4e;
    max-width: 100px;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}
.stats-tentative{
    background-color: #4e747f;
    max-width: 100px;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.groups {
    width: 85%;
}
.groups h2{
    color: #bfbfbf;
}

.pt-groups {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.group {
    color: #bfbfbf;
    padding: 13px;
    background-color: #3d3d3dab;
    border-radius: 4px;
}

.group-name {
    font-size: 12px;
}

.slot {
    position: relative;
    background-color: transparent;
    border: 1px solid #d1d1d152;
    min-height: 36px;
    margin-top: 5px;
    text-align: center;
    color: white;
}

.slot span {
    display: block;
    width: 100%;
    height: 36px;
    cursor: move;
    text-align: center;
    line-height: 35px;
    background-color: transparent !important;
}

.name-pool {
    width: 13%;
    max-height: 660px;
    padding: 10px;
    background-color: #3d3d3dab;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-left: 10px;
    margin-top: 35px;
}

.name-lists {
    max-height: 495px;
    overflow-y: auto;
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.name {
    padding: 10px;
    margin: 5px 0;
    background-color: #87CEFA;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.name:hover {
    background-color: #70B7E3;
    transform: scale(1.02);
}

.name.allocated {
    background-color: #FFD700;
}

.remove-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f9393930;
    color: white;
    border: none;
    padding: 2px 5px;
    font-size: 12px;
    cursor: pointer;
    height: 100%;
}

.textbox {
    width: 92%;
    height: 74px;
    resize: none;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #5d5d5d4a;
    color: white;
    border: 0;
}

.textbox:focus-visible{
    border: 0;
}

#search{
    position: relative;
    background-color: #5d5d5d4a;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    color: white;
}

input#search {
    width: 92%;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

input#search:focus {
    border-color: #464646;
    outline: none;
}

#color-menu {
    position: absolute;
    background: #434343e8;
    color: white;
    padding: 10px;
    display: none;
    z-index: 1000;
    width: 100px;
    text-align: center;
}

#color-menu div {
    padding: 5px;
    cursor: pointer;
    border-left: 1px solid #ffffff47;
    border-bottom: 1px solid #ffb67938;
    margin-bottom: 9px;
}

#color-menu div:hover{
    border-left: 1px solid #ffffff81;
    border-bottom: 1px solid #7eff795e;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f100;
}

::-webkit-scrollbar-thumb {
    background: #888; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}
#json-link{
    position: relative;
    background-color: #414141;
    border: 0;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    color: white;
}
#load-json{
    background-color: #818181a1;
    border: 0;
    color: white;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

#load-json:hover{
    background-color: #474747;
    transition: all 0.3s;
}
::placeholder {
    color: rgb(255, 255, 255);
    opacity: 1; /* Firefox */
  }

  .board-tab-button{
    background-color: #373737;
    color: white;
    border: 0;
    padding: 8px;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.3s;
  }
  .board-tab-button:hover{
    background-color: #5f5f5f;
    transition: all 0.3s;
  }
  
#add-board-tab{
    background-color: #575656;
    color: white;
    border: 0;
    padding: 8px;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s;
    display: none;
}

#add-board-tab:hover{
    background-color: #919191;
    color: white;
    border: 0;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.board-tab-button.active {
    background-color: #4CAF50; /* Cor verde de destaque */
    color: white;
    border-color: #4CAF50;
    font-weight: bold;
}


#context-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  #context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  #context-menu ul li {
    padding: 10px;
    cursor: pointer;
  }
  
  #context-menu ul li:hover {
    background-color: #f0f0f0;
  }
