/* theme.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif; /* Updated font */
    line-height: 1.6;
    color: #333;
    background: #f4f4f9; /* Light gray background */
    /* height: 100vh;  Removed fixed height */
    overflow: hidden;  /* Prevent body scrolling - was auto */
  }
  
  header {
    background: #f0f4f8; /* Light gray header background */
    padding: 0; /* Removed padding from header */
  }
  
  table {
      border-collapse: collapse;
      width: 90%;
      max-width: 1200px;
      background-color: #fff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      overflow: hidden;
      margin: 9px auto;
  }
  
  th, td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #ddd;
  }
  
  th {
      background-color: #007BFF;
      color: white;
      text-transform: uppercase;
      font-size: 14px;
      cursor: pointer;
  }
  
  th.sortable:hover {
      background-color: #0056b3;
  }
  
  tr:hover {
      background-color: #f1f1f1;
  }
  
  td {
      font-size: 14px;
      color: #333;
  }
  
  /* New Styles for Auth Page */
  
  .container {
      width: 90%;
      max-width: 600px;
      margin: 20px auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
  }
  
  .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.4);
  }
  
  .modal-content {
      background-color: #fefefe;
      margin: 15% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 80%;
      max-width: 400px;
      border-radius: 10px;
      position: relative;
  }
  
  .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
  }
  
  html, body {
    height: 100%;
    margin: 0;
  }

/* Styles for the loading timer */
#loadingTimer {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff; /* Match background color */
    color: #333; /* Match text color */
    padding: 10px; /* Match padding */
    border-radius: 10px; /* Match border-radius */
    font-size: 14px; /* Match font size */
    z-index: 1000; /* Ensure it's on top */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}