/* Estilo do input */
#searchInput {
    width: 280px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

/* Efeito de hover */
#searchInput:hover {
    border-color: #007BFF;
    /* Cor da borda ao passar o mouse */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    /* Sombra ao passar o mouse */
}

/* Estilo do input focado */
#searchInput:focus {
    outline: none;
    /* Remove o outline padrão do navegador */
    border-color: #007BFF;
    /* Cor da borda ao focar */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    /* Sombra ao focar */
}

/* Estilo do tooltip */
.tooltipSearch {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    z-index: 1000;
}

.tooltipTable {
    display: none;
    position: absolute;
    top: 100%;
    left: -190px;
    width: 340px;
    padding: 10px;
    transform: translateY(10px);
    /* Adiciona um pequeno deslocamento para melhor visualização */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    z-index: 1000;
}

/* Mostrar o tooltip ao passar o mouse no input */
#searchInput:hover+.tooltipSearch {
    display: block;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}


h1 {
    text-align: center;
    margin-bottom: 20px;
}

.search-container {
    position: relative;
    /*    display: inline-block;
    width: 280px; */
    margin-bottom: 20px;
    margin-top: 20px;
    /*               flex: 1;*/
    display: flex;
    align-items: center;
}

.search-container input {
    style="position: relative; 
display: inline-block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

table {
    width: 1%;
    max-width: 1200px;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

th,
td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #1565C0;
    color: white;
}

tr:nth-child(even):not(.posicao-1) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

.status-classificado {
    background-color: green;
    color: white;
}

.status-desclassificado {
    background-color: red;
    color: white;
}

.posicao-1 {
    background-color: gold !important;
    font-weight: bold;
}

.posicao-1 td {
    /*            color: black;*/
}

.hide_td {
    display: none;
}

/* Estilo do tooltip na tabela */
.status-desclassificado {
    position: relative;
    cursor: pointer;
    /* Adiciona um cursor para indicar que há interação */
}

.status-desclassificado:hover .tooltipTable {
    display: block;
}

/* Estilo do footer */
footer {
    margin: 40px 0;
    /* Adiciona espaçamento acima e abaixo do footer */
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
}

.header {
    height: auto;
    min-height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.download-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.download-button:hover {
    background-color: #45a049;
}

.download-button i {
    margin-right: 8px;
}

.pdf-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    margin-left: 10px;
}

.pdf-button:hover {
    background-color: #45a049;
}

.pdf-button i {
    margin-right: 8px;
}

/*Header Animation*/
        .container {
            text-align: center;
            width: 90%;
            max-width: 1200px;
        }

        .main-text {
            font-size: clamp(2em, 5vw, 4em);
            font-weight: bold;
            color: #0056b3;
            text-shadow: 0 0 10px #4d94ff, 0 0 20px #4d94ff, 0 0 30px #4d94ff;
            animation: glow 2s ease-in-out infinite alternate;
            margin-bottom: 20px;
        }

        .race-container {
            position: relative;
            width: 100%;
        }

        .race-track {
            height: 80px;
            background-color: #333;
            position: relative;
            overflow: hidden;
        }

        .lane {
            position: absolute;
            width: 100%;
            height: 40px;
            background-color: #444;
        }

        .lane:nth-child(1) { top: 0; }
        .lane:nth-child(2) { top: 40px; }

        .lane::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 2px;
            background: repeating-linear-gradient(
                90deg,
                #fff,
                #fff 20px,
                transparent 20px,
                transparent 40px
            );
        }

        .car {
            font-size: 1.5em;
            position: absolute;
            transform: scaleX(-1);
            animation: drive linear;
            z-index: 3;
        }

        .sub-text {
            font-size: clamp(1em, 3vw, 1.5em);
            color: #0056b3;
            letter-spacing: 2px;
            margin-top: 10px;
        }

        .fade {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100px;
            z-index: 2;
            pointer-events: none;
        }

        .fade-left {
            left: 0;
            background: linear-gradient(to right, #f3f4f5, transparent);
        }

        .fade-right {
            right: 0;
            background: linear-gradient(to left, #f3f4f5, transparent);
        }

        @keyframes glow {
            from { text-shadow: 0 0 10px #4d94ff, 0 0 20px #4d94ff, 0 0 30px #4d94ff; }
            to { text-shadow: 0 0 20px #4d94ff, 0 0 30px #4d94ff, 0 0 40px #4d94ff; }
        }

        @keyframes drive {
            0% { left: -50px; opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { left: calc(100% + 50px); opacity: 0; }
        }

        .main-text span {
            display: inline-block;
            animation: wave 2s ease-in-out infinite;
        }

        @keyframes wave {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .main-text span:nth-child(2) { animation-delay: 0.1s; }
        .main-text span:nth-child(3) { animation-delay: 0.2s; }
        .main-text span:nth-child(4) { animation-delay: 0.3s; }
        .main-text span:nth-child(5) { animation-delay: 0.4s; }
        .main-text span:nth-child(6) { animation-delay: 0.5s; }
        .main-text span:nth-child(7) { animation-delay: 0.6s; }
        .main-text span:nth-child(8) { animation-delay: 0.7s; }
        .main-text span:nth-child(9) { animation-delay: 0.8s; }
        .main-text span:nth-child(10) { animation-delay: 0.9s; }
        .main-text span:nth-child(11) { animation-delay: 1s; }
        .main-text span:nth-child(12) { animation-delay: 1.1s; }
        .main-text span:nth-child(13) { animation-delay: 1.2s; }

        @media (max-width: 600px) {
            .race-track {
                height: 60px;
            }
            .lane {
                height: 30px;
            }
            .lane:nth-child(2) { top: 30px; }
            .car {
                font-size: 1.2em;
            }
            .fade {
                width: 50px;
            }
        }