.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
div#myModal {
    width: 100%;
    max-width: 100%!important;
}
input#submit_button {
    background-color: #b9b9b9;
}


  /* #fiveMinuteWarning {
  background-color: #d9534f; 
  color: #fff;               
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  margin-left: 10px;
  } */

.assessment-menu {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 5px 16px; /* reduced spacing */
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1%;
}

.menu-left,
.menu-center,
.menu-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Time Label & Timer */
#timer-label {
  font-size: 12px;
  color: #333;
  margin-bottom: 2px;
  display: block;
  line-height: 1;
}

#timer {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  line-height: 2;
}

/* Warning text */
#fiveMinuteWarning {
  color: #d9534f;
  font-weight: bold;
  font-size: 13px;
}

/* Finish Button */
#submit_button {
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#submit_button:hover {
  background-color: #c82333;
}

/* Fullscreen Toggle Buttons */
#increaseHeightBtn,
#decreaseHeightBtn {
  background: #e0e0e0;
  border: none;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#increaseHeightBtn svg,
#decreaseHeightBtn svg {
  stroke: #333;
  transition: stroke 0.3s ease;
}

#increaseHeightBtn:hover,
#decreaseHeightBtn:hover {
  background: #2c3e50;
}

#increaseHeightBtn:hover svg,
#decreaseHeightBtn:hover svg {
  stroke: white;
}
.timer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

#timer-label {
  font-size: 13px; /* slightly larger for readability */
  color: #2c3e50;  /* deeper slate gray for subtlety */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 1px;
}

#timer {
  font-size: 22px;
  font-weight: 500;
  color: #000; 
  letter-spacing: 0.5px;
}
/* Optional: Responsive fallback */
@media (max-width: 600px) {
  .assessment-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .menu-right {
    flex-wrap: wrap;
    gap: 6px;
  }
}

.rescueButton {
    background:#ffc107;
    padding:8px 14px;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-weight:600;
}