@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
/* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}*/
body {
  background: #990073;
  /* position: relative; */
  
  /* Disable right-click context menu */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
} 

/* Disable user interaction with specific elements */
.no-interaction {
    pointer-events: none;
}


::selection {
  color: #fff;
  background: #990073;
}

.start_btn,
.info_box,
.quiz_box,
.result_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.start_btn button {
  font-size: 25px;
  font-weight: 500;
  color: #990073;
  padding: 15px 30px;
  outline: none;
  border: none;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.info_box {
  width: 540px;
  background: #fff;
  border-radius: 5px;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.info_box .info-title {
  height: 60px;
  width: 100%;
 /* border-bottom: 1px solid lightgrey;*/
  display: flex;
  align-items: center;
  /*padding: 0 30px;*/
  border-radius: 5px 5px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.info_box .info-list {
  padding: 15px 30px;
}

.info_box .info-list .info {
  margin: 5px 0;
  font-size: 17px;
}

.info_box .info-list .info span {
  font-weight: 600;
  color: #990073;
}
.info_box .buttons {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 30px;
  float: left;
  /*border-top: 1px solid lightgrey;*/
}
.info_box .buttons button {
  margin: 0 5px;
  height: 40px;
  width: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 5px;
 /* border: 1px solid #990073;*/
  transition: all 0.3s ease;
}

.quiz_box {
  width: 550px;
  background: #fff;
  border-radius: 5px;
  margin-left: 0;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.quiz_box header {
  position: relative;
  z-index: 2;
  height: 70px;
  padding: 0 30px;
  background: #fff;
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
}

.quiz_box header .title {
  font-size: 20px;
  font-weight: 600;
}

.quiz_box header .timer {
  color: #990073;
  background: #cce5ff;
  /*border: 1px solid #b8daff;*/
  height: 45px;
  /*padding: 0 8px;*/
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 145px;
}

.quiz_box header .timer .time_left_txt {
  font-weight: 400;
  font-size: 17px;
  user-select: none;
}

.quiz_box header .timer .timer_sec {
  font-size: 18px;
  font-weight: 500;
  height: 30px;
  width: 45px;
  color: #fff;
  border-radius: 5px;
  line-height: 30px;
  text-align: center;
  background: #343a40;
 /* border: 1px solid #343a40;*/
  user-select: none;
}

.quiz_box header .time_line {
  position: absolute;
  bottom: 1px;
  left: 1px;
  height: 3px;
  background: #990073;
}

section {
  padding: 25px 30px 20px 30px;
  background: #fff;
}

section .que_text {
  font-size: 25px;
  font-weight: 600;
}

section .option_list {
  padding: 20px 1px;
  display: block;
}

section .option_list .option {
  background: aliceblue;
  border: 1px solid #84c5fe;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 17px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section .option_list .option:last-child {
  margin-bottom: 1px;
}

section .option_list .option:hover {
  color: #990073;
  background: #cce5ff;
  border: 1px solid #b8daff;
}

section .option_list .option.correct {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}

section .option_list .option.incorrect {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}

section .option_list .option.disabled {
  pointer-events: none;
}

section .option_list .option .icon {
  height: 26px;
  width: 26px;
  /*border: 2px solid transparent;*/
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  pointer-events: none;
  transition: all 0.3s ease;
  line-height: 24px;
}
.option_list .option .icon.tick {
  color: #23903c;
  border-color: #23903c;
  background: #d4edda;
}

.option_list .option .icon.cross {
  color: #a42834;
  background: #f8d7da;
  border-color: #a42834;
}

footer {
  height: 60px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*border-top: 1px solid lightgrey;*/
}

footer .total_que span {
  display: flex;
  user-select: none;
}

footer .total_que span p {
  font-weight: 500;
  padding: 0 5px;
}

footer .total_que span p:first-child {
  padding-left: 0px;
}

footer button {
  height: 40px;
  padding: 0 13px;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  border: none;
  outline: none;
  color: #fff;
  border-radius: 5px;
  background: #990073;
  /*border: 1px solid #990073;*/
  line-height: 10px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

footer button:hover {
  background: #990073;
}

footer .show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.result_box {
  background: #fff;
  border-radius: 5px;
  display: flex;
  /*padding: 25px 30px;*/
  width: 450px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.result_box .icon {
  font-size: 100px;
  color: #990073;
  margin-bottom: 10px;
}

.result_box .complete_text {
  font-size: 20px;
  font-weight: 500;
}

.result_box .wait_text {
  font-size: 24px;
  font-weight: 500;
}

.result_box .score_text span {
  display: flex;
  margin: 10px 0;
  font-size: 18px;
  font-weight: 500;
}

.result_box .score_text span p {
  padding: 0 4px;
  font-weight: 600;
}

.result_box .buttons {
  display: flex;
  margin: 20px 0;
}

.result_box .buttons button {
  margin: 0 10px;
  height: 45px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 5px;
  /*border: 1px solid #990073;*/
  transition: all 0.3s ease;
}

.buttons button.restart {
  color: #fff;
  background: #990073;
}

.buttons button.restart:hover {
  background: #990073;
}

.buttons button.quit {
  color: #990073;
  background: #fff;
}

.buttons button.quit:hover {
  color: #fff;
  background: #990073;
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.show-modal {
  font-size: 2rem;
  font-weight: 600;
  padding: 1.75rem 3.5rem;
  margin: 5rem 2rem;
  border: none;
  background-color: #fff;
  color: #444;
  border-radius: 10rem;
  cursor: pointer;
}

.hidden {
  display: none;
}



.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);*/
  z-index: 5;
}

.modal h1 {
  text-align: center;
  color: #990073;
}

.modal table,
.modal th,
.modal td {
  border: 2px solid rgb(80, 78, 78);
  border-collapse: collapse;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 400;
}

.modal th,
.modal td {
  padding: 15px;

}

table {
  width: 100%;
}


.camera{
  margin-left: 0px;
  margin-top: 100px;
	width: 200px;
	height: 175px;
}

#videoElement {
	width: 200px;
	height: 175px;
	border: 1px solid black;
  /* mirrored selfie camera 
   transform: rotateY(180deg);
  -webkit-transfo1m:rotateY(180deg); */
}
#videoContainer {
                    position: relative; /* Container for video and canvas */
                    width: 200px; /* Match video width */
                    height: 175px; /* Match video height */
                    border: 1px solid black;
                }
/* .like {
  border: none;
  box-shadow: none;
  font-size: 22px;
  padding: 20px;
  cursor: pointer;
  border-radius: 12px;
  position: absolute;
  bottom: 50px;
  right: 50px;
} */
#overlayCanvas {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    pointer-events: none; /* Allow clicks to pass through */
                }
                #captureCanvas {
                    display: none; /* Hide the canvas used for capturing */
                }
        #processedVideo {
            width: 2px;
            height: 2px;
           border: 1px solid red;
        }
		 #myImage {
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
	
		
	
                #canvas {
                    display: none; /* Hide the canvas, it's just for capturing */
                }
  #map-iframe,#mapFrame {
                    width: 560px;
                    height: 315px;
                    border: 1px solid #000000;
                    
                }
#mapFrame2 {
                    width: 90%;
                    height: 90%;
                    border: 1px solid #000000;
                    
                }

                #map-container {
            width: 100%;
            height: 500px; /* Adjust as needed */
        }
        
#warningMessage {
            color: red;
            font-weight: bold;
            margin-top: 20px;
        }
        #counter {
            font-size: 1.2em;
            margin-top: 10px;
        }
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
  .fixed-width {
    width: 125px; /* Set a fixed width in pixels */
    /*padding: 8px; *//* Add some padding for better appearance */
    /*border: 1px solid #ccc;*/ /* Add a border */
    border-radius: 4px; /* Rounded corners */
    /*box-sizing: border-box; /* Important: padding and border are included in the 250px width */
  }

  /* Style for inputs with class "responsive-width" */
  .responsive-width {
    width: 100%; /* Take up 100% of its parent container's width */
    max-width: 400px; /* But don't grow beyond 400px */
    /*padding: 10px;*/
    margin-top: 10px;
    /*border: 2px solid #007bff;*/
   /* box-sizing: border-box;*/
  }


/* GEMTS visual countdown progress bar */
.quiz_box header {
  flex-wrap: wrap;
}
.quiz_box header .time_line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #007bff;
  width: 100%;
  transition: width 0.25s linear, background-color 0.3s ease;
}
.exam-progress-wrap {
  width: 100%;
  padding: 8px 16px 12px;
  box-sizing: border-box;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.exam-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
  font-weight: 600;
}
.exam-progress-track {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.exam-progress-bar {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.35s linear, background 0.4s ease;
}
.exam-progress-bar.warn {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.exam-progress-bar.danger {
  background: linear-gradient(90deg, #ef4444, #f87171);
  animation: examPulse 1s ease-in-out infinite;
}
@keyframes examPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.quiz_box header .timer.timer-warn {
  background: #f59e0b;
}
.quiz_box header .timer.timer-danger {
  background: #dc2626;
}
