/* RESET GERAL */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    font-size:16px;
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f9;
    color:#333;
    line-height:1.5;
    width:100%;
    overflow-x:hidden;
}


/* ========================= */
/* MENU */
/* ========================= */


nav{
    width:100%;
    background-color:rgb(5,102,212);
    padding:15px 20px;
    display:flex;
    justify-content:center;
}


nav ul{

    width:100%;
    max-width:1400px;

    list-style:none;

    display:flex;
    justify-content:center;
    align-items:center;

    gap:clamp(15px,3vw,40px);

    flex-wrap:wrap;
}


nav a{
    text-decoration:none;
    color:inherit;
}


nav li{

    color:black;

    font-family:Georgia,'Times New Roman',Times,serif;

    font-size:clamp(15px,2vw,18px);

    cursor:pointer;

    position:relative;

    padding:5px 0;

    transition:.3s ease;

}


nav li::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-5px;

    width:0%;

    height:2px;

    background:yellow;

    transition:.3s ease;

}


nav li:hover{

    color:yellow;

}


nav li:hover::after{

    width:100%;

}



/* ========================= */
/* TITULO */
/* ========================= */


h1{

    text-align:center;

    color:#1565c0;

    font-family:'Times New Roman',Times,serif;

    font-size:clamp(2rem,5vw,3rem);

    margin:25px 10px;

}



/* ========================= */
/* CONTAINER PRINCIPAL */
/* ========================= */


.container{

    width:100%;

    max-width:1600px;

    margin:auto;

    padding:

    clamp(15px,3vw,40px);

}



/* ========================= */
/* TABELAS */
/* ========================= */


table{

    width:100%;

    border-collapse:collapse;

    background:white;

    margin-bottom:35px;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

}


thead th{

    background:#0566d4;

    color:white;

    padding:14px;

    font-size:clamp(.85rem,2vw,1rem);

}


tbody td{

    padding:12px;

    text-align:center;

    border-bottom:1px solid #ddd;

    font-size:clamp(.85rem,2vw,1rem);

}



tbody tr:nth-child(even){

    background:#f8fafc;

}


tbody tr:hover{

    background:#e3f2fd;

}



.lider{

    background:#d9ffd9 !important;

    font-weight:bold;

}



.posicao{

    font-weight:bold;

}



/* ========================= */
/* SCROLL PARA TABELAS GRANDES */
/* ========================= */


.table-responsive{

    width:100%;

    overflow-x:auto;

}



/* ========================= */
/* CARDS E CONTEÚDOS */
/* ========================= */


.card{

    width:100%;

    background:white;

    border-radius:18px;

    border:1px solid #ddd;

    overflow:hidden;

    margin-bottom:25px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

}


.topo{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 20px;

    background:#f8fafc;

}


.times{

    display:flex;

    justify-content:space-around;

    align-items:center;

    gap:20px;

    padding:25px;

}


.time{

    flex:1;

    text-align:center;

    font-weight:bold;

    font-size:clamp(1rem,3vw,1.4rem);

    overflow-wrap:anywhere;

}


.x{

    font-size:1.8rem;

    font-weight:bold;

    color:#e53935;

}



/* ========================= */
/* CATEGORIAS */
/* ========================= */


.categorias{

    display:flex;

    gap:12px;

    overflow-x:auto;

    padding-bottom:10px;

}


.categorias button{

    flex-shrink:0;

    padding:10px 20px;

    border-radius:50px;

    border:1px solid #ddd;

    background:white;

    cursor:pointer;

    font-weight:bold;

}


.categorias button:hover,
.ativo{

    background:#1976d2 !important;

    color:white;

}



/* ========================= */
/* STATUS */
/* ========================= */


.status{

    padding:8px 20px;

    border-radius:30px;

    font-weight:bold;

}


.Agendado{

    background:#fff3cd;

    color:#856404;

}


.Finalizado{

    background:#d4edda;

    color:#155724;

}



/* ========================= */
/* TABLETS */
/* ========================= */


@media(max-width:900px){


    nav ul{

        gap:20px;

    }


    .container{

        padding:20px 15px;

    }


}



/* ========================= */
/* CELULAR */
/* ========================= */


@media(max-width:600px){


    nav{

        padding:12px;

    }


    nav ul{

        flex-direction:column;

        gap:12px;

    }



    table{

        font-size:.85rem;

    }



    thead th,
    tbody td{

        padding:8px 5px;

    }



    .times{

        flex-direction:column;

    }



    .topo{

        flex-direction:column;

        gap:8px;

        text-align:center;

    }


}



/* ========================= */
/* TELAS GRANDES */
/* ========================= */


@media(min-width:1600px){


    .container{

        max-width:1800px;

    }


}