/* Mobile Warning */
#mobile-warning {
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    padding: 20px;
    background-color: rgba(255, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-sizing: border-box;
}

#mobile-warning .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
/* Mobile Warning: END */

/* Rotate Message  */

.rotate-message {
    color: #f7c340; 
    font-size: 1.2em;
    text-align: center;
    margin: 10px 0;
    display: none; 
  }
  
  .gif {
    display: none;
    margin-left: auto;
    margin-right: auto;
    cursor: grab;
    height: 400px;
  }
  
  @media only screen and (max-width: 768px) {
    #resultTable {
      display: none;
    }
  
    .rotate-message, .gif {
      display: block;
    }
    div {
      display: none;
    }
  }
/* Rotate Message: END  */

/* FOR HSC AND SSC */
  .hovered {
    background-color: #555 !important;
  }
  
  .clicked {
    background-color: #963232 !important;
  }
  
  .name-cell, .institute-cell {
    min-width: 150px;
  }
  
  .fixed-cell {
    width: 75px; 
  }
  
  #resultTable tr:nth-child(even) {
    background-color: #0d3b38;
  }
  .page-button, .go-button {
    background-color: #333; 
    border: 1px solid #444; 
    color: #e7e7e7;
    cursor: pointer;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
  }
  
  .page-button:hover, .go-button:hover {
    background-color: #555;
  }
  
  .page-button:disabled {
    color: #666;
    cursor: not-allowed;
    background-color: #2d2d2d;
  }
  
  #paginationTop, #paginationBottom {
    text-align: center;
    margin: 10px 0;
  }
  
  .made-by {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
    text-decoration: underline;
  }
  
  #subjectButton {
    background-color: #f7c340;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
  }
  
  #subjectButton:hover {
    background-color: #c40808;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  #subjectMenu {
    position: absolute;
    /* top: 80px;
    left: 20px; */
    background-color: #000000bf;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 20px;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .subjectOption {
    background-color: #333;
    border: none;
    color: #e7e7e7;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
    margin: 10px;
  }
  
  .subjectOption:hover {
    background-color: #f90c0c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  #currentSubject {
    margin-left: 10px;
    font-size: 1.5em; 
    font-weight: bold; 
    color: #f7c340;
    text-shadow: 2px 2px 4px #000;
  }

   /* FOR HSC AND SSC: END  */