/* =============================
   Global Reset & Base Styles
   ============================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
  }
  
  /* =============================
     Container Styles
     ============================= */
  .login-container {
    width: 90%;
    max-width: 400px;
    margin: 80px auto;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #001f3f; /* Navy blue */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .login-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #001f3f; /* Navy blue */
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
  }
  
  .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* =============================
     Button Styles
     ============================= */
  .btn {
    width: 100%;
    padding: 10px;
    background-color: #001f3f; /* Navy blue */
    border: none;
    color: #ffeb99; /* Light yellow */
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .btn:hover {
    background-color: #001431;
  }
  
  /* =============================
     Modal Styles
     ============================= */
  .modal {
    display: block; /* Shown by default (JS can hide) */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #001f3f;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
  }
  
  .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: black;
  }
  
  /* =============================
     Desktop Menu Styles
     ============================= */
  @media (min-width: 768px) {
    .menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 200px;
      height: 100%;
      background-color: #001f3f; /* Navy blue */
      padding: 20px;
    }
    .menu ul {
      list-style: none;
    }
    .menu ul li {
      margin-bottom: 15px;
    }
    .menu ul li a {
      display: flex;
      align-items: center;
      color: #ffeb99; /* Light yellow */
      text-decoration: none;
      font-weight: bold;
      padding: 10px;
      border-radius: 4px;
      transition: background-color 0.2s ease;
    }
    .menu ul li a:hover {
      background-color: rgba(255, 235, 153, 0.2);
    }
    /* Spacing between icon and text */
    .menu-icon {
      margin-right: 8px;
      display: flex;
      align-items: center;
    }
    .content {
      margin-left: 240px; /* room for the menu */
      padding: 20px;
    }
  }
  
  /* =============================
     Mobile Menu Styles
     ============================= */
  @media (max-width: 767px) {
    .menu {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #001f3f; /* Navy blue */
    }
    .menu ul {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      justify-content: space-around;
      align-items: center;
    }
    .menu ul li {
      flex: 1;
    }
    .menu ul li a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 12px 0;  /* Taller button for easier tapping */
      text-decoration: none;
      color: #ffeb99; /* Light yellow */
    }
    /* Increase the icon size for mobile devices */
    .menu-icon svg {
      width: 28px;
      height: 28px;
      margin-bottom: 4px;
    }
    .menu-text {
      font-size: 12px;
    }
    /* Reserve space at the bottom for menu */
    .content {
      margin-bottom: 60px;
      padding: 20px;
    }
  }

/* Transaction Table Styles */
.transactions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.transactions-table th,
.transactions-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.transactions-table th {
  background-color: #001f3f; /* Navy blue for header */
  color: #ffeb99;           /* Light yellow for text */
}

.transactions-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.transactions-table tr:hover {
  background-color: #e6e6e6;
}
