

.toggle-button {
position: absolute;
top: 10px;
right: 10px;
z-index: 1000;
padding: 10px 15px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}

.toggle-button:hover {
background-color: #45a049;
}

.custom-tourney-wrapper {

display: flex;

flex-direction: column;

align-items: center;

}



.custom-player-card {

margin-bottom: 10px;

text-align: center;

}



.custom-player-name {

margin-top: 5px;

}



.custom-player-name a {

color: #ffffff;

text-decoration: none;

}



.custom-player-name a:hover {

text-decoration: underline;

}



.custom-player-outfit img {

max-width: 50px;

}

.custom-tourney-message {

margin-top: 20px;

font-size: 1.2em;

color: #ffffff;

text-align: center;

}

.highlight {
color: green;
font-weight: bold;
font-size: 12px;
}
.next-event-title {
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
text-align: center;
}

.custom-tourney-wrapper {
display:flex; justify-content:center; gap:12px; flex-wrap:wrap; padding:8px 0;
}
.custom-player-card {
background:#2c2f3a; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,0.2);
width:160px; padding:15px; text-align:center; color:#eee; font-family:sans-serif;
transition:transform .3s ease; cursor:pointer;
}
.custom-player-card:hover {
transform:translateY(-5px); box-shadow:0 6px 14px rgba(0,0,0,0.3);
}
.custom-player-name a {
color:#ffd966; font-weight:700; font-size:1.1em; text-decoration:none;
display:block; margin-bottom:10px;
}
.custom-player-name a:hover {
text-decoration:underline;
}
.custom-player-outfit {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 64px;      /* largura do container */
    min-height: 80px; /* altura mínima para que o rank não fique colado */
    margin-bottom: 10px;
}

/* Outfit */
.custom-player-outfit img.outfit-img {
    width: auto;   /* mantém proporção da imagem */
    height: auto;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    border: 2px solid #ffd966;
    background: #1e1f29;
    display: block;
}

/* Hakaishin Rank */
.custom-player-outfit img.rank-img {
    position: absolute;
    left: 50%;
    top: 0; /* começa no topo do container */
    transform: translateX(-50%);
    z-index: 10;
    width: 50%; /* metade da largura do container */
    height: auto;
}

.custom-player-elo {
font-size:1em; font-weight:600; color:#d1d1d1; background:#44475a;
padding:5px 8px; border-radius:8px; user-select:none;
}
.server-status {
display: flex;
justify-content: center; 
align-items: center;
height: 50%;  
text-align: center;
padding: 0 10px;
}

.status-wrapper {
position: relative;
display: flex;
flex-direction: column;
margin-top: 16px;
line-height: 1.3;
padding-right: 40px; 
}

.status-online {
color: green;
font-size: 18px;
margin-bottom: 2px;
}

.server-uptime {
color: gray;
font-size: 16px;
margin-bottom: 2px;
}


.player-count {
color: gray;
font-size: 16px;
position: absolute;
right: -70px;
top: 50%;
transform: translateY(-50%);
}


.status-offline {
color: red;
font-weight: bold;
font-size: 18px;
}

.container {
position: relative;  /* Establishes a positioning context */
}

.overlay {

position: absolute;

top: 0;

left: 0;

width: 100%;

height: 100%;

display: flex;

justify-content: center;

align-items: center;

transform: translateY(38.5%);  /* Move content up by 10% */

}

.overlay-right {
position: absolute;
top: 30px;
right: 15px;
width: 440px;
height: 230px;
display: flex;
justify-content: flex-end;
align-items: flex-start;
padding: 5px;
}

.bar-option {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    border: 2px solid #ccc; 
    border-radius: 6px;
    background-color: transparent;
    transition: all 0.2s;
}

.bar-option:hover {
    border-color: #c29cff; 
    background-color: transparent;
}

.bar-option input:checked + div {
    border: 2px solid #4CAF50; 
    background-color: transparent; 
}

.bar-option div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px;
}


.aura-option {
    display:inline-block;
    margin-right:10px;
    cursor:pointer;
    border:2px solid #ccc;
    border-radius:4px;
    padding:5px 8px;
    user-select:none;
    text-align:center;
}
.aura-option.selected {
    border-color:#4CAF50;
    background-color:#e6ffe6;
}



  /* Grid de personagens */
  .ts_Spells {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ts_Spells label {
    margin: 5px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
  }

  .ts_Spells .voc {
    display: none; /* esconde todos inicialmente */
  }

  .ts_Spells .voc.active {
    display: inline-block; /* mostra os filtrados */
  }

  .ts_Spells img {
    width: 70px;
    display: block;
    margin-bottom: 5px;
  }

  .ts_Spells span {
    font-size: 12px;
  }


.voc {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
    padding: 5px;
    border: 2px solid transparent;
    display:flex;
    flex-direction: column;
    align-items: center;
}

.voc:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.voc.selected {
    border: 2px solid #1E90FF;
    background-color: rgba(30, 144, 255, 0.1);
}

.voc input[type="radio"] {
    display: none; /* esconde o radio */
}



.filter-buttons {
    text-align: center;
    margin-bottom: 10px;
}

.filter-buttons button {
    margin-right: 5px;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: #fff;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}


.filter-buttons button.all {
    background-color: #6c757d;
}

.filter-buttons button.damage {
    background-color: #dc3545;
}

.filter-buttons button.heal {
    background-color: #28a745;
}

.filter-buttons button.support {
    background-color: #007bff;
}


.filter-buttons button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.bar-option div img,
.aura-option div img {
    transition: transform 0.2s ease-in-out;
}

.bar-option:hover div img,
.aura-option:hover div img {
    transform: scale(1.5); /* aumenta 50% o tamanho */
    z-index: 10;           /* fica na frente das outras imagens */
    position: relative;
}

.item-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.item-tooltip .tooltip-text {
    visibility: hidden;
    width: 180px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.item-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.item-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.voc-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.voc-tooltip .voc-tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #222;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px;
    position: absolute;
    bottom: 110%; /* 👈 agora o tooltip fica em cima */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.voc-tooltip .voc-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #222 transparent transparent transparent; /* seta pra baixo */
}

.voc-tooltip:hover .voc-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.transacao-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    overflow: visible;
}

.transacao-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.transacao-container {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.transacao-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    background-color: #2e2e2e;
    color: white;
    padding: 18px;
    border-radius: 10px;
}

.transacao-linha {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.transacao-linha:last-child { border-bottom: none; }

.transacao-label { color: #aaa; font-weight: bold; }
.transacao-valor { color: #fff; }


.status-aprovado, .status-pago, .status-success, .status-completed {
    color: #28a745;
    font-weight: bold;
}
.status-pendente { color: #ffcc00; font-weight: bold; }
.status-outros { color: #dc3545; font-weight: bold; }


.total-box {
    background-color:#198754;
    color:white;
    border-radius:8px;
    padding:12px;
    margin:12px auto;
    text-align:center;
    font-weight:bold;
    box-shadow:0 0 8px rgba(0,0,0,0.2);
    max-width: 480px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 20;
}
.carousel-btn:hover {
    background: rgba(255,255,255,0.25);
}
#prev-btn { left: -25px; } 
#next-btn { right: -25px; }

@media only screen and (max-width: 700px) {
    .transacao-wrapper {
        max-width: 95%;
    }
    #prev-btn { left: -20px; }
    #next-btn { right: -20px; }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}
.status-dot.online {
  background-color: #4caf50;
  animation: pulse 1.5s infinite;
}
.status-dot.offline {
  background-color: #f44336;
  box-shadow: 0 0 8px rgba(244, 67, 54, 0.6);
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}


