.hoverable-row td,.hoverable-ability{
  transition: 0.5s ease-in-out;
}
.hoverable-row:hover td,.hoverable-ability:hover{
    background-image: linear-gradient(to top, rgba(255,255,255,0.5), transparent);
    background-blend-mode: overlay; 
}

/* Collapse custom usando transform/opacity */
.detail-collapse {
    max-height: 0;          /* inicialmente escondido */
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    will-change: height, opacity, transform;
    transition: opacity 0.1s ease, transform 0.1s ease, max-height 0.1s ease;
}

/* Quando aberto */
.detail-collapse.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px; /* valor alto suficiente para o conteúdo */
}
.detail-content {
    contain: layout paint style;
}
/* Imagens dos Pokémons */
.pokemon-img {
    width: 70px;
    height: auto;
}

/* Sticky header duplo */
#table-wrapper{
    max-width: 100vw;
}
td {
  word-wrap:break-word;
  word-break:break-all;
}
@media (min-width:992px) {
    .second-sticky{
        position:sticky;
        top: 50px; /* ajuste para o tamanho do navbar superior */
        z-index: 1;
    }
}
.second-sticky{
    z-index: 1;
}

.type-normal { background-color: #a1a171; border-color:#78784e ; background-image: linear-gradient(0deg, #78784e 0%, #78784e 100%); background-origin: padding-box; }
.type-fogo { background-color: #ed7c2b; border-color: #b4530d; background-image: linear-gradient(0deg, #b4530d 0%, #b4530d 100%); background-origin: padding-box;  }
.type-agua { background-color: #3f71eb; border-color: #1753e3; background-image: linear-gradient(0deg, #1753e3 0%, #1753e3 100%); background-origin: padding-box;  }
.type-eletrico { background-color: #f7cf2d; border-color:#bf9a07; background-image: linear-gradient(0deg, #bf9a07 0%, #bf9a07 100%); background-origin: padding-box; }
.type-grama { background-color: #62af3b; border-color:#4a892b; background-image: linear-gradient(0deg, #4a892b 0%, #4a892b 100%); background-origin: padding-box;}
.type-gelo { background-color: #6fc8c8;border-color:#46b4b4; background-image: linear-gradient(0deg, #46b4b4 0%, #46b4b4 100%); background-origin: padding-box; }
.type-lutador { background-color: #be2f28;border-color: #82211b; background-image: linear-gradient(0deg, #82211b 0%, #82211b 100%); background-origin: padding-box; }
.type-veneno { background-color: #923a92;border-color:#652965; background-image: linear-gradient(0deg, #652965 0%, #652965 100%); background-origin: padding-box; }
.type-terra { background-color: #dfbd61;border-color:#a98523; background-image: linear-gradient(0deg, #a98523 0%, #a98523 100%); background-origin: padding-box; }
.type-voador { background-color: #a48ee9;border-color:#7762b6; background-image: linear-gradient(0deg, #7762b6 0%, #7762b6 100%); background-origin: padding-box; }
.type-psiquico { background-color: #f8497d;border-color:#d60945; background-image: linear-gradient(0deg, #d60945 0%, #d60945 100%); background-origin: padding-box; }
.type-inseto { background-color: #9aa91e;border-color:#616b13;background-image: linear-gradient(0deg, #616b13 0%, #616b13 100%); background-origin: padding-box; }
.type-pedra { background-color: #b39b37;border-color:#746523; background-image: linear-gradient(0deg, #746523 0%, #746523 100%); background-origin: padding-box; }
.type-fantasma { background-color: #6d5594;border-color:#413359; background-image: linear-gradient(0deg, #413359 0%, #413359 100%); background-origin: padding-box; }
.type-dragao { background-color: #6c32f7;border-color:#3d07c0; background-image: linear-gradient(0deg, #3d07c0 0%, #3d07c0 100%); background-origin: padding-box; }
.type-noturno { background-color: #6b5445;border-color:#362a23; background-image: linear-gradient(0deg, #362a23 0%, #362a23 100%); background-origin: padding-box; }
.type-aco { background-color: #b3b3cd;border-color:#7a7aa7; background-image: linear-gradient(0deg, #7a7aa7 0%, #7a7aa7 100%); background-origin: padding-box; }
.type-fada { background-color: #f980ff;border-color:#c0089b; background-image: linear-gradient(0deg, #c0089b 0%, #c0089b 100%); background-origin: padding-box; }
.type-label {
    padding: 0;
    border-style: solid;
    border-width: 1px;
    font-weight: bold;
    font-size: 0.9em;
    color: #fff; 
    text-shadow: 1px 1px 1px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width:70px;
    height:25px;
    box-sizing: border-box;
    background-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    background-blend-mode: overlay; 
}
.type-unique{
    border-radius: 4px;
}
.type-group{
  display: inline-flex;
}
.type-group .type-label:first-child {
    border-radius: 4px 0px 0px 4px;
    margin-right: 0px;
}
.type-group .type-label:last-child {
    border-radius: 0px 4px 4px 0px;
}



.pokemon-move{
    width: 40px;                  
    height: 40px;
    clip-path: inset(2px round 5px);
    display:block;
}
.pokemon-move-trash-overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: rgba(255,0,0,0.7);
}
.pokemon-move-trash-icon{
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.move-trash-overlay-trigger:hover .pokemon-move-trash-overlay{
    opacity: 1;
}

.move-physical{
    position:relative;
    display:inline-flex;
    margin-left:1.5px;
    margin-right:1.5px;
    width:40px;
    height:40px;
    border: 2px solid #fa5b19;
    border-radius:6.6px;
    overflow: hidden;              
    align-items: center;           
    justify-content: center; 
}
.move-special{
    position:relative;
    display:inline-flex;
    margin-left:1.5px;
    margin-right:1.5px;
    width:40px;
    height:40px;
    border: 2px solid #008cff;
    border-radius:6.6px;
    overflow: hidden;              
    align-items: center;           
    justify-content: center; 
}
.move-status{
    position:relative;
    display:inline-flex;
    margin-left:1.5px;
    margin-right:1.5px;
    width:40px;
    height:40px;
    border: 2px solid #cacecc;
    border-radius:6.6px;
    overflow: hidden;              
    align-items: center;           
    justify-content: center; 
}
.d-flex{
    display:flex;
    align-items: center;
    gap:5px;
}

.ability-icon{
    margin-right: 3px;
}

.autocomplete-menu{
    margin-top:36px;
}

.search-input{
    padding-left: 2.375rem;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23ccc%22%20class%3D%22bi%20bi-search%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001q.044.06.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1%201%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200%22%2F%3E%0A%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center left calc(0.375em + 0.375em);
}