@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Roboto:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital@0;1&family=IBM+Plex+Sans+Condensed:ital@0;1&family=IBM+Plex+Sans:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&family=IBM+Plex+Serif:ital@0;1&display=swap');
html {
  font-size: 100%;
  height: 100%;
}

body {
  /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  margin: auto;
  max-width: 38rem;
  padding: 2rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  */
  font-family: 'Roboto', serif;
  background-color: #f3f5f9;
  color: #454545;
  padding: 20px;

  height: 100%;
  margin: 0;

  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: linear-gradient(135deg, #1C66CA, #219653);
}

.title-container, .main-container {
  width: 96vw;
  /* max-width: 1200px; */
  margin: auto;
}

.title-container {
  min-height: 60px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px 20px 0px 0px;
  color: #FFFFFF;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  padding: 10px 20px;
}
.main-container {
  min-height: calc(100vh - 90px);
  background-color: #FFFFFF;
  padding: 30px;
  color: #454545;
  margin-bottom: 0px;
  border-radius: 0px;
  /*
  min-height: calc(96vh - 80px);
  border-radius: 0px 0px 20px 20px;
  margin-bottom: 20px;
  */
}

.q_title {
  font-size: 32px;
}
.q_player {
  font-size: 24px;
  margin-top: 9px;
}

.btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 0.3rem;
  letter-spacing: 1px;
}

#btn_reset {
  letter-spacing: 0px;
  padding: 0.25rem .5rem;
}
#qno, #question_text, #answer_text {
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-size: 2rem;
}

#display_topics {
  cursor: pointer;
}

.list-group, .list-group-item {
  display: inline-block;
} 

.list-group-item {
  font-size: 1.3rem;
  margin: 5px;
}


.packetName {
  font-weight: 400;
  font-size: 1.5rem;
  color: #999999;
}



b {
  font-weight: 600;
}

.btn-outline-primary {
  color: #355ee8;
  border-color: #355ee8;
}


.badge-info {
  font-weight: normal;
  color: #fff;
  background-color: #6c757d;
}
.badge-pill {
  padding-right: 1em;
  padding-left: 1em;
  border-radius: 10rem;
}

.btn-outline-secondary {
  border: 0px;
}

.topic-name {
  font-weight: 300;
}

.player-info h4 {
    background: #ffc107;
    display: inline-block;
    padding: 8px 24px;
    border-radius: 48px;
}

#view_scores {
  background-color: #FFFFFF;
}



.team-score {
  margin: 20px;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #20c997;
  margin-bottom: 50px;
  background-color: #FFF;
}
.team-score h1, .player-score h1 {
  color: #20c997;
}

.player-name {
  text-align: left;
}

.btn-outline-primary {
  background-color: #FFFFFF;
}

audio, video {
  margin-top: 50px;
  width: 400px;
}

#question_media img {
  margin-top: 20px;
  max-width: 100%;
}
#answer_text img {
  margin-top: 20px;
  max-width: 60%;
}

.mystery-bag {
  opacity: 0.3; 
  cursor: not-allowed;
}

.topic-item {
  color: #355ee8;
  border: 1px solid #355ee8;
  margin: 12px;
  padding: 20px;
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  font-weight: 300;
  font-size: 1.8rem;
}

.topic-item:hover {
  background-color: #355ee8;
  color: #FFFFFF;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: all 0.5s ease;
}

.topic-item-completed {
  color: #999999;
  border: 1px solid #999999;
  margin: 12px;
  padding: 20px;
  text-align: center;
  background-color: #EEEEEE;
  opacity: 1.0; 
  cursor: not-allowed;
  border-radius: 12px;
  font-weight: 300;
  font-size: 1.8rem;

  /*background-color: "#EEEEEE";
  color: "#999999";
  border: 1px solid #999999;
  cursor: "not-allowed";
  margin: 30px;
  padding: 20px;
  text-align: center;*/
}

#players_lst, #list_all_topics {
  padding: 10px;
}

.input-group {
  max-width: 80%;
  font-size: 2rem;
  margin-top: 40px;
}

.input-group .input-group-text {
  font-size: 1.5rem;
  font-weight: 300;
}
.input-group input {
  font-size: 1.5rem;
  font-weight: 300;
}

.toss {
  background-image: url('./fontawesome/icons/coin-toss.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80px;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border: 0px;
  border-radius: 10px;
}

.toss:hover {
  background-image: url('./fontawesome/icons/coin-toss_white.png');
  background-color: #0d6efd;
}
.toss:active {
  background-color: #0a53be;
}

.timer svg {
  width: 48px;
  height: 48px !important;
}

#btn_wrong svg, #btn_correct svg {
  width: 64px;
  height: 64px !important;
}
#btn_ofs svg, #btn_cfs svg {
  width: 24px;
  height: 24px !important;
  margin-top: -5px;
}

/*
#btn_answer svg {
  width: 48px;
  height: 48px !important;
}
*/

#btn_wrong, #btn_correct {
  color: #AAAAAA;
  background-color: #f3f5f9;
  border: 0px;
  padding-top: 10px;
  border-radius: 10px;
}
#btn_wrong:hover {
  color: #FFFFFF;
  background-color: #dc3545;
}
#btn_correct:hover {
  color: #FFFFFF;
  background-color: #198754;
}
/*
#btn_answer {
  color: #FFFFFF;
  background-color: #0d6efd;
  border: 0px;
  padding-top: 10px;
  border-radius: 10px;
}
#btn_answer:hover {
  background-color: #0a53be;
}
*/

td {
  border-color: rgba(0,0,0,0.3);
}

.team_player_dd {
  margin-bottom: 0px !important;
}

/* Global Score Modal Styles */
.team-score-summary {
  background: linear-gradient(135deg, #1C66CA, #219653);
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-name {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.team-total-score {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

.team-breakdown {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.team-breakdown h4 {
  color: #355ee8;
  font-weight: 500;
}

.team-breakdown .table {
  margin-bottom: 0;
}

.team-breakdown .table th {
  background-color: #355ee8;
  color: white;
  border: none;
  font-weight: 500;
}

.team-breakdown .table td {
  padding: 0.5rem !important;
  border-color: #dee2e6;
}

#globalScoreBtn {
  transition: all 0.3s ease;
}

#globalScoreBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Simple Image Maximization Styles */
img[data-maximizable="true"] {
  cursor: pointer;
  transition: transform 0.2s ease;
}

img[data-maximizable="true"]:hover {
  transform: scale(1.02);
}

#imageMaxModal .btn-close:hover {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* Zoom Slider Styles */
#zoomSlider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
}

#zoomSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  border: 2px solid white;
}

#zoomSlider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  border: 2px solid white;
  box-sizing: border-box;
}

