/* Global Styles */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Arial', Helvetica, sans-serif;
      font-size: 12px;
      line-height: 1.6;
      color: black;
  }
  
  body {
      background-color: #9a0808;
      color: #333;
  }
  
  /* Wrapper */
  .wrapper {
      padding: 2%;
      max-width: 1200px;
      margin: 0 auto;
  }
  
  /* Text Alignment */
  .text-center {
      text-align: center;
      margin-bottom: 20px;
  }
  
  .clear {
      clear: both;
  }
  
  /* Tables */
  .table-full {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 1px;
  }
  
  .table-30 {
      width: 30%;
  }
  
  table tr th, table tr td {
      padding: 12px;
      border: 1px solid #ddd;
      text-align: left;
  }
  
  table tr th {
      background-color: #f4f4f4;
      font-weight: bold;
  }
  
  /* Buttons */
 /* General Button Styles */
.btn {
      display: inline-block;
      padding: 10px 70px;
      font-size: 14px;
      font-weight: bold;
      color: #881212;
      text-decoration: none;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  

  .btn-search {
      background: linear-gradient(45deg, #5cb85c, #4caf50);
      text-decoration: none;
  }
  
  
  .btn-search:hover {
      background: linear-gradient(45deg, #4caf50, #43a047);
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Add Admin Button */
  .btn-addadmin {
      background: linear-gradient(45deg, #5cb85c, #4caf50);
      text-decoration: none;
  }


  .btn-addadmin2 {
      background: linear-gradient(45deg, #aab0aa, #ebedeb);
      text-decoration: none;
  }
  
  .btn-addadmin:hover {
      background: linear-gradient(45deg, #4caf50, #43a047);
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }

  .btn-reset {
    background: linear-gradient(45deg, #393a39, #565f56);
}

.btn-reset:hover {
    background: linear-gradient(45deg, #c3eec4, #c2ecc4);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

  
  /* Change Password Button */
  .btn-changepwd {
      display: inline-block;
      padding: 10px 20px;
      color: #0b0769;
      text-decoration: none;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-changepwd:hover {
      background: linear-gradient(45deg, #f39c12, #e67e22);
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Update Admin Button */
  .btn-updateadmin {
      display: inline-block;
      padding: 10px 20px;
      color: #0b0c0a;
      text-decoration: none;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-updateadmin:hover {
      background: linear-gradient(45deg, #0056b3, #003f88);
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Delete Admin Button */
  .btn-deleteadmin {
      display: inline-block;
      padding: 10px 20px;
      color: #691207;
      text-decoration: none;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .btn-deleteadmin:hover {
      background: linear-gradient(45deg, #c9302c, #a52a2a);
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }
  
  
  .btn-back {
      display: inline-block;
      padding: 10px 15px;
      background-color: #3498db;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s ease;
  }
  
  
  
  .btn-back:hover {
      background-color: #31b0d5;
  }

  .btn-back-nd {
    display: inline-block;
    padding: 10px 15px;
    background-color: #34db90;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}



.btn-back-nd:hover {
    background-color: #319ed5;
}
  
  
  /* Main Content */
  .main-content {
      background-color: #fff;
      padding: 10px 10px;
      margin: 20px 0;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .col-4 {
      width: calc(25% - 2%);
      background-color: #f9f9f9;
      margin: 1%;
      padding: 20px;
      float: left;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .col-4:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Footer Styles */
  .footer {
      background-color: #222;
      color: #ddd;
      padding: 20px 0;
      text-align: center;
      margin-top: 20px;
  }
  
  .footer a {
      color: #f4d03f;
      text-decoration: none;
  }
  
  .footer a:hover {
      color: #f1c40f;
  }

/* ================= MENU ================= */
.menu {
    background-color: #333;
    padding: 10px 0;
    border-bottom: 3px solid #f4f4f4;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links li a:hover {
    background-color: #575757;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hamburger {
        display: block;
        text-align: left;
        padding: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
    }

    .nav-links li {
        margin: 0;
        border-bottom: 1px solid #555;
    }

    .nav-links li a {
        padding: 12px;
        display: block;
        text-align: left;
    }

    .nav-links.show {
        display: flex;
    }
    
    
     table.table-full th,
  table.table-full td {
    font-size: 12px;
    padding: 6px;
  }

  .btn-back,
  .btn-reset,
  .btn-addadmin {
    width: 100%;
text-align: center;
  }
}
  
  
  
          .session-message {
            position: absolute;
            top: 12px;
            right: 10px;
            color: white;
            border-radius: 5px;
            font-family: 'Arial', sans-serif;
            font-size: 9px;
            
        }

.logout-button {
            position: absolute;
            top: 38px;
            right: 10px;
            background-color: #d9534f;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-family: 'Arial', sans-serif;
            font-size: 10px;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease;
        }


        .logout-button:hover {
            background-color: #c9302c;
        }
        
        

        .date-time {
            position: absolute;
            top: 22px;
            right: 10px;
            color: white;
            border-radius: 5px;
            font-family: 'Arial', sans-serif;
            font-size: 9px;
        }

        .tblcat {
            width: 100%;
            border-collapse: collapse;
            background-color: transparent; /* Ensures transparency */
        }
        
        .tblcat th, 
        .tblcat td {
            border: 1px solid #fff(255, 255, 255, 0.5); /* Semi-transparent border */
            padding: 10px;
            text-align: center;
            color: rgb(90, 4, 4); /* Adjust text color for visibility */
        }
        
        .tblcat th {
            background-color: #fff(0, 0, 0, 0.3); /* Light transparent background for headers */
        }
        
        .tblcat tr:nth-child(even) {
            background-color: #fff(255, 255, 255, 0.1); /* Light transparency for even rows */
        }
        
        .tblcat tr:hover {
            background-color: #fff(255, 255, 255, 0.2); /* Slightly more visible hover effect */
        }
        
          
