*{
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

.buttonContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    gap: 10px;
}
.mainContainerDiv {
  background-color: #FBFBFB;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  padding-top: 40px;
  padding-bottom: 60px;
}

.mainContainer {
  width: 80%;
  margin: 0 auto;
}

.headingBox h1, h2{
  color:#00BDBA;
  font-weight: 700;
}

.headingBox p{
  color: #292929;
  font-weight: 500;
}



.generateDashboardBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


button {
  box-shadow:inset 0px 1px 0px 0px #eaac79;
	background:linear-gradient(to bottom, #e58a40 5%, #FC7000 100%);
	background-color:#FC7000;
	border-radius:6px;
	border:1px solid #FC7000;
  font-weight: 600;
	cursor:pointer;
	color:#ffffff;
  padding: 10px 24px;
}
button:hover {
	background:linear-gradient(to bottom, #378de5 5%, #79bbff 100%);
	background-color:#378de5;
}
button:active {
	position:relative;
	top:1px;
}

.generateDashboardBtn button{
  
  width: 200px;
  height: 80px;
  border-radius: 20px;

}

.hidden{
    display: none !important;
}

#reportsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.clickable {
  cursor: pointer;
}

#ranking-container{
  max-height: 260px;
  overflow-y: auto; 

}

#ranking-container tr{
  height: 35px;
  cursor: pointer;
}

thead tr {
cursor: auto !important;
}

.userDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    border: 2px solid #e2e2e2;
    max-height: 400px;
    overflow-y: auto; 
    border-radius: 10px;
}

thead th { 
    position: sticky; 
    top: 0; 
  } 

  table { 
    border-collapse: collapse;         
    width: 100%; 
  } 


.userBiggerDiv{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    
  }

tr {
    text-align: center;
}

td {
    text-align: left;
    padding:2px 20px;
   
}
th {
    background: #79bbff;
    padding:0px 20px;
}

.user-table{
thead tr th{
    font-size: 110%;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}
}


/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #79bbff;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
    border-radius: 20px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 20px;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #79bbff;
    border-radius: 10px;
    border: 3px solid #ffffff;
  }


  #ranking-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


.user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.user:hover {
    background-color: #f9f9f9;
}

.user .name {
    flex-basis: 60%;
    font-weight: bold;
}

.user .completed-courses {
    margin-left: 20px;
    color: #163a5d;
}


/* CODIGO REFERENTE AS ABAS */

.user-tabs {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.user-tabs li {
  cursor: pointer;
  padding: 8px;
  
  border: 1px solid #FC7000;
  color: #FC7000;
  font-weight: 400;
  border-radius: 5px;
  text-align: center;
 text-overflow: ellipsis;
 font-size: 80%;
 overflow: hidden;
white-space: nowrap;
  max-width: 160px;
  min-width: 160px;
  height: 38px;
}

.user-tabs li.active {
  background-color: #FC7000;
  color: white;
}

.user-tables{
  width: 95%;
}

.user-tables .userBiggerDiv {
  display: none;
}

.user-tables .userBiggerDiv:not(.hidden) {
  display: block;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  
}

.user-table th, .user-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.user-table th {
  background-color: #E2FFFA;
}

hr.rounded {
  border-top: 5px solid #e2e2e2;
  border-radius: 5px;
  margin: 30px 0px;
}

.headingBox2{
  padding: 20px 0px;

}

.headingBox3{
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
}

.filterBtnGroup{
display: flex;
gap: 10px;
align-items: center;
}

.orderBtnGroup {
  
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

select#options{
  border-radius: 5px;
  height: 35px;
  text-align: center;
}

.userTitleDiv{
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.spinner {
  position: relative;
  width: 15.7px;
  height: 15.7px;
  margin-bottom: 30px;
}

.spinner div {
  animation: spinner-4t3wzl 1.875s infinite backwards;
  background-color: #474bff;
  border-radius: 50%;
  height: 100%;
  position: absolute;
  width: 100%;
}

.spinner div:nth-child(1) {
  animation-delay: 0.15s;
  background-color: rgba(71,75,255,0.9);
}

.spinner div:nth-child(2) {
  animation-delay: 0.3s;
  background-color: rgba(71,75,255,0.8);
}

.spinner div:nth-child(3) {
  animation-delay: 0.45s;
  background-color: rgba(71,75,255,0.7);
}

.spinner div:nth-child(4) {
  animation-delay: 0.6s;
  background-color: rgba(71,75,255,0.6);
}

.spinner div:nth-child(5) {
  animation-delay: 0.75s;
  background-color: rgba(71,75,255,0.5);
}

@keyframes spinner-4t3wzl {
  0% {
     transform: rotate(0deg) translateY(-200%);
  }

  60%, 100% {
     transform: rotate(360deg) translateY(-200%);
  }
}

#loadingIndicator{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-direction: column;
  margin-top: 50px;
}

#loadingIndicator h3{
  color:#00BDBA;
  font-weight: 700;
}

.selectedBtn {
  background: #378de5;
}

.userSelect {
  height: 40px;
  width: 300px;
  border-radius: 7px;
  padding: 10px;
}