/*text/css*/
.toppers-test-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  border: 15px solid #ddd;
  border-radius: 12px;
  min-height: 500px;
}
.tool-box, .control-box {
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  background: #7A85C1;  
}
#quiz-box {min-height: 400px; background: #eee;}
/* Save button*/
.safe-btn, .back-btn {background: #fff; color: #34699A; font-weight: 600; 
    border: 1px solid #FFBC4C; border-radius: 10px; padding: 5px 15px; cursor:pointer;
     transition: background-color 0.5s ease, transform 0.4s ease;
}
.safe-btn { background-image: radial-gradient(at center top, white, orange);}
.safe-btn:hover {  
  background-image: radial-gradient(at center top, white, #3396D3);
  transform: scale(1.02);
  padding: 5px 16px;
  color: #fff;
}
.back-btn {color: #fff; background-image: radial-gradient(at center top, white, #E45A92);}
.back-btn:hover {background-image: radial-gradient(at center top, white, #3A6F43); color: #8C00FF;padding: 5px 16px; transform: scale(1.02);}
/* Network Light Internet Connections */
#online, #offline {
    display: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
   
    border: 2px solid #fff;
    box-shadow: 2px 2px 5px #777;08CB01
}
.online {
    background-image: radial-gradient(circle at bottom center, #fff, #08CB01, #93DA97); 
}
.activa {
    background-image: radial-gradient(circle at top center, #fff, #08CB00, #93DA97); 
}
.offline {
    background-image: radial-gradient(circle at top center, #fff, red, #FFE100); 
}
.reactive {
    background-image: radial-gradient(circle at right center, #fff, #FF0800, #FFE100); 
}
/*Timer Box*/
#timer-tool-box, #network-box, #switchBox {background: #FDE7B3; width: 33.30%; border: 2px solid #fefefe; border-radius: 10px; display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 4px 10px;}
#netbox {}
#timeBox {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
    padding: 4px;
    border: 1px solid #ddd;
  }
  
#pauseBtn {border: 1px solid green; background: #A4DD00; color:#fff; padding: 4px 10px; border-radius: 8px; cursor: pointer;}
#pauseBtn:hover {background: #98CD00;border: 2px solid green; }
.progress {height:10px; background:#e9eefb; border-radius:6px; margin-top:2px; overflow:hidden}
.progress > div{height:100%; width:0%; border-right: 5px solid red;}
/* Display questions*/
.question-box {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 700px;
  width: 100%;
  height: 50vh;
  margin: auto;
}

.question {
  display: flex;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
}
.question p {  font-size: 16px; font-weight: 700;}
.option {
  display: block;
  background: #F9F5F0;
  margin: 4px 0;
  padding: 5px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.option:hover {
  background: #e0ebff;
}

input[type="radio"] {
  margin-right: 10px;
  transform: scale(1.2);
}
#quizZone {  position: relative; padding:20px; background: lightblue;}
#quizWrapper {position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #000; display: block; z-index: 501;}
.disabled {
  background: #ddd;
  opacity: 0.9;
  cursor: not-allowed !important;
}
#reviewMessage {
  position: absolute;
  bottom: -100px; /* hide initially */
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.5s ease; /* smooth animation */
  font-size: 16px;
}
#reviewMessage.show {
  bottom: 50px; /* slide up */
  opacity: 1;
}