﻿/****************************************/
/* TRAVELCASH START                     */
/****************************************/

.custom-modal-header {
    background-color: #343a40;
    ;
    color: white;
}

/* ATK - Search */
@media (max-width: 1254px) {
    .advanced-search-text, .new-user-text {
        display: none;
    }

    .advanced-search-icon, .new-user-icon {
        display: inline;
    }
}

@media (min-width: 1255px) {
    .advanced-search-icon, .new-user-icon {
        display: none;
    }

    .advanced-search-text, .new-user-text {
        display: inline;
    }
}
/* ATK - Search - END */


.TC_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* fundo preto transparente */
    display: none; /* inicialmente oculta */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* valor alto para garantir que fique na frente */
}

.TC_overlay-img {
    position: absolute; /* Posição absoluta para ficar acima do texto */
    top: 50%; /* Ajuste a posição verticalmente */
    left: 50%; /* Ajuste a posição horizontalmente */
    transform: translate(-50%, -50%); /* Centralize a imagem */
    width: 50px; /* ajuste o tamanho da imagem conforme necessário */
    /* max-height: 80%; /* ajuste o tamanho da imagem conforme necessário */
}



@keyframes fadeLoop {
    0% {
        opacity: 0; /* Inicia com opacidade 0 */
    }

    50% {
        opacity: 1; /* Atinge opacidade máxima */
    }

    100% {
        opacity: 0; /* Retorna à opacidade 0 */
    }
}

.animation__fade-loop {
    animation: fadeLoop 2s infinite; /* Animação de 3 segundos em loop */
}

/* Estilo para o botão de refresh */
.refresh-button {
    position: absolute;
    top: 10px; /* Distância do topo */
    right: 10px; /* Distância da direita */
    background-color: red; /* Cor de fundo */
    color: white; /* Cor do texto */
    padding: 8px 16px; /* Espaçamento interno */
    border: none; /* Sem borda */
    border-radius: 4px; /* Borda arredondada */
    cursor: pointer; /* Cursor de ponteiro */
}

    .refresh-button:hover {
        background-color: darkred; /* Altera a cor de fundo ao passar o mouse */
    }


.card {
    border-radius: 8px;
}

.card-header {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.carrossel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: auto;
    background-color: transparent;
}

.carrossel {
    display: flex;
    transition: transform 0.5s ease;
    padding: 10px;
    width: calc(25% * 8);
}

.cardNoticia {
    box-sizing: border-box;
    margin: 10px;
    height: auto;
    width: 25%;
    background: rgba(0, 0, 0, 0.5);
    background-image: url('../img/home/noticia.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

    .cardNoticia:hover {
        transform: scale(1.1);
    }

.anterior, .proximo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: black;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anterior {
    left: 0;
}

.proximo {
    right: 0;
}

.item2 {
    position: relative;
    height: 250px;
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

item2 h3, .item2 p {
    text-align: center;
    align-items: flex-end;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.item2 h3 {
    flex: 1;
    font-size: 24px;
    display: flex;
    justify-content: center;
}

.item2 p {
    flex: 1;
    font-size: 16px;
    display: flex;
    justify-content: center;
}


/* Container das moedas para não atrapalhar o layout central */
.coin-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Não bloqueia cliques */
    z-index: 9999;
}

/* Estilo da Moeda */
.mario-coin {
    position: absolute;
    width: 20px;
    border-radius: 100%;
    height: 25px;
    background-color: #ffd700;
    border: 2px solid #b8860b;
    background: linear-gradient(to right, #ffd700, #fff, #ffd700);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    animation: jump-and-fade 0.8s ease-out forwards;
}

    /* Detalhe da moeda (o tracinho do meio) */
    .mario-coin::after {
        content: '';
        position: absolute;
        left: 45%;
        top: 20%;
        width: 2px;
        height: 60%;
        background-color: #b8860b;
    }

/* Animação estilo Mario */
@keyframes jump-and-fade {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(var(--x-move), -100px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(var(--x-move), -150px) scale(0.8);
        opacity: 0;
    }
}




/* Gira a seta quando o colapso está aberto */
tr[aria-expanded="true"] .transition-icon {
    transform: rotate(90deg);
}

.transition-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Evita que o checkbox dispare o colapso ao ser clicado */
.cliente-checkbox {
    position: relative;
    z-index: 10;
}

.fa-clock-o:before {
    content: "\f017";
}