/* <!-- Course: SENG 513 --> 
<!-- Date: Nov 10, 2023 --> 
<!-- Assignment 3 -->
<!-- Name: Kai Ho Chak --> 
<!-- UCID: 30147119 --> */

/* Ranking Session */
.rankContainer {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  /* max-width: 2000px; */
  height: calc(100vh - 70px);
  margin: 20px;
  margin-top: 60px;
  /* overflow: hidden; */
}

.rankingBoard {
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-height: 40vh;
  width: 100%;
  background-color: #252525;
}

.rating {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  border: 0.5px solid #000;
  border-radius: 15px;
  padding : 20px;
  background-color: #EBEAEA;
}

.ratingData {
  font-family: 'Black Han Sans', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.ratingDataName {
  padding: 20px;
  font-size: 35px;
}

.ratingDataValue {
  padding: 40px;
  font-size: 60px;
  border: 0.5px solid #000; 
  border-radius: 15px;
  background-color: white; 
  box-shadow: 5px 5px 5px rgba(53, 53, 53, 0.5);
}

.ratingTable {
  width: 90%;
  padding: 10px;
}

.ratingTable td {
  padding: 5px;
}

/* Queue */
.queue-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  max-height: 240px;
  width: 30%;
  background-color: white;
}

.queue-items {
  overflow-y: auto;
}

.queue-items > :first-child{
  color: #1c1c1c;
  background-color: #A8F5DB;
}

.queue-item {
  padding-block: 10px;
  padding-inline: 10px;
  height: auto;
  width: auto;
  font-weight: 500;
  border: 0.5px solid #1c1c1c;
}


.queue-input {
  padding-block: 10px;
  padding-inline: 10px;
  height: auto;
  width: auto;
  border: 0.5px solid #1c1c1c;
}

.queue-add-button {
  padding-block: 10px;
  padding-inline: 10px;
  height: auto;
  width: auto;
  text-align: start;
  border: 0.5px solid #1c1c1c;
  background-color: #EBEAEA;
  color:#1c1c1c;
  font-family: 'Noto Sans Display', sans-serif;
  font-weight: 400;
}

/* Ranking List */
.ranking {
  flex-basis: 60%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 100%;
  align-items: center;
  border: 0.5px solid #000;
  border-radius: 15px;
  padding : 30px;
  background-color: #EBEAEA;
  font-size: 20px;
  font-weight: 300;
}

.rankingList {
  width: 90%;
  font-family: 'Noto Sans Display', sans-serif;
  font-weight: 500;
  border-collapse: collapse;
  border: none; 
  box-shadow: 5px 5px 5px rgba(53, 53, 53, 0.5);

}

.rankingList th {
  text-align: start;
  padding: 8px;
} 

.rankingList td{
  text-align: start;
  border: 1px solid #000;
  padding: 8px;

} 

.rankingList th:first-child,
.rankingList td:first-child {
  border-left: none; /* Remove left border for the first column */
}

.rankingList th:last-child,
.rankingList td:last-child {
  border-right: none; /* Remove right border for the last column */
}

/* Define the width for each column */
.rankingList th:nth-child(1),
.rankingList td:nth-child(1) {
    width: 25%; /* First column takes 20% of the table width */
}

.rankingList th:nth-child(2),
.rankingList td:nth-child(2) {
    width: 60%; /* Second column takes 40% of the table width */
}

.rankingList th:nth-child(3),
.rankingList td:nth-child(3) {
    width: 15%; /* Third column takes 30% of the table width */
}

/* memberBoard */
.memberContainer {
  width: 100%;
  height: 20vh;
  background-color: #252525;
}

.memberBoard {
display: flex;
flex-direction: column;
height: auto;
  border-radius: 15px;
  border: 0.5px solid #1c1c1c;
  background-color: #EBEAEA;
  padding: 20px;
}

.currentRate {
  display: flex;
  flex-direction: row; 
  justify-content: center;
  align-items: center;
  padding: 10px;
  padding-bottom: 20px;
}

.currentRating {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  font-size: 30px;
  padding: 20px;
  gap: 20px;
  width: 50vw;
  height: auto;
}

.input-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: auto;
  gap: 30px;
}

.input-container input {
  width: auto; 
  padding: 10px; 
  background-color: #EBEAEA;
  font-size: 40px; 
  border: 2px solid #333; 
  border-radius: 20px; 
  color: #333; 
  outline: none; 
}

.input-container input::placeholder {
  color: #999; 
}


#ratingSlider {
  width: 100%; 
  height: 20px; 
  background-color: #EBEAEA;
  border: none;
  border-radius: 5px; 
}

#ratingSlider::-webkit-slider-thumb {
  width: 20px; 
  height: 20px;
  background-color: #333;
  border: none; 
  border-radius: 50%;
  cursor: pointer; 
}

.currentRatingValue {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  font-size: 60px;
  padding: 30px;
  gap: 20px;
}

.waitlistRater {
  display: flex;
  flex-direction: row; 
  justify-content: center;
}

.member {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 10px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  background-color: #EBEAEA;
  font-size: 20px;
  font-weight: 300;
}

.memberImg {
  width: 70px;
  height: 70px;
  display: flex;
  margin: 0px;
  flex-direction: column; 
  justify-content: center;
  text-align: center;
  font-size: 15px;
  border-radius: 50%; 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
}

.currentRater .memberImg {
  width: 90px;
  height: 90px;
  display: flex;
  margin: 0px;
  flex-direction: column; 
  justify-content: center;
  text-align: center;
  border: 5px solid #A8F5DB;
  font-size: 30px;
  font-weight: 800;
  background-color: #A8F5DB;
  color: #1c1c1c;
}

.currentRater .memberName {
  font-size: 25px;
  font-weight: 600;
  color: black;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 999; 
}

.highlighted {
  position: relative;
  z-index: 1000; 
}

.centered-ratingCard {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: 70%;
  height: 70%;
  border-radius: 10px;
  background-color: #EBEAEA;
}

.nextButton {
  font-size: large;
  width: 100px;
  height: 50px;
  border-radius: 15px;
  background-color: #EBEAEA;
}

.buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  gap: 40px;
}

.endButton {
  font-size: large;
  width: 100px;
  height: 50px;
  border-radius: 15px;
  background-color: #EBEAEA;
}

.additem-input-container
{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: auto;
  gap: 10px;
}
.additem-input-container input {
  width: auto; 
  height: 30px;
  padding: 10px; 
  background-color: #ffffff;
  font-size: 20px; 
  border-radius: 20px; 
  color: #333; 
  outline: none; 
}

.additem-input-container input::placeholder {
  color: #999; 
}

.license {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  height: 0px;
  width: auto;
}

.license a {
  text-decoration: none;
  color: #333;
  font-size: 10px;
  font-weight: 200;
}