.score-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0c5df4;
    color: white;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }
  #fullscreenModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  #fullscreenModal, #warningModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .modal-content {
    background: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }

  .modal-content h2 {
    margin-bottom: 1rem;
    color: #333;
  }

  .modal-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
  }

  .modal-content button {
    background-color: #1897f1;
    border: none;
    color: white;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .modal-content button:hover {
    background-color: #0d7acc;
  }

  #quiz img {
max-width: 100%;
height: auto;
display: block;
border-radius: 8px; /* optional for rounded images */
}

  .navbar-title {
    font-weight: bold;
  }

  .navbar-score span {
    font-weight: 600;
  }

  body {
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    background-color: aliceblue;
    margin-top: 0px;
    padding-top: 0;
  }
  #quiz {
max-width: 1000px;
margin: 0 auto;
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
  .question {
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
  }

  .options {
    margin-left: 20px;
    white-space: pre-wrap; /* Keeps the formatting */
  }

  .result {
    margin-top: 10px;
    font-weight: bold;
  }

  .correct {
    color: green;
  }

  .incorrect {
    color: red;
  }

  button {
    margin-top: 10px;
    background-color: rgb(8, 136, 248);
    padding: 5px;
    color: aliceblue;
    border: 2px solid rgb(12, 147, 243);
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
  }

  button:hover {
    box-shadow: 0 0px 15px 0 blue, 0 0px 15px 0 blue;
  }

  button:disabled {
    opacity: 1;
    /* Remove fading */
    cursor: default;
    /* Normal arrow cursor */
    background-color: inherit;
    /* Keep original bg */
    color: inherit;
    /* Keep original text color */
    pointer-events: none;
  }
  .correctcls{
    border:none;
    border-radius: 50px;
    background-color: rgb(70, 239, 70);
    padding: 8px;
  }
  .incorrectcls{
    border:none;
    border-radius: 50px;
    background-color: rgb(246, 71, 71);
    padding: 8px;
  }