* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #000;
    font-size: 15px;
    line-height: 1.5;
  }
  
  .container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
  }
     /* Nav */
     .main-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 90px;
      padding: 20px 0;
      font-size: 13px;
  }
  /* Navbar Container */
  .navbar {
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  }
  
  /* Navbar Links */
  .navbar a {
  color: #333;
  text-decoration: none;
  padding: 10px 15px;
  }
  /* Styling for Main Nav */
  .main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  }
  
  .main-nav .logo{
    width:100px;
  }
  
  /* Logo */
  .logo {
    width: 120px;  /* Set logo width */
    height: auto;  /* Maintain aspect ratio */
    margin-right: 20px; /* Space between logo and menu */
  }
      /* Dropdown Menu */
      .dropdown {
        position: relative;
        display: inline-block;
      }
      .dropdown-content {
        display: none;
        position: absolute;
        min-width: 150px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
      }
      .dropdown-content a {
        color: #333;
        padding: 5px 10px;
        display: block;
        text-align: left;
      }
      .dropdown-content a:hover {
        background-color: #ced4da;
      }
      /* Show Dropdown on Hover */
      .dropdown:hover .dropdown-content {
        display: block;
      }
      /* Sub-Sub Menu for Link 1, Link 2, Link 3 */
      .dropdown-submenu {
        position: relative;
      }
      .dropdown-submenu .submenu-content {
        display: none;
        position: absolute;
        left: 100%;
        top: 0;
        background-color: white;
        min-width: 150px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
      }
      .dropdown-submenu:hover .submenu-content {
        display: block;
      }
      /* Responsive */
  @media (max-width: 600px) {
  .navbar {
  flex-direction: column;
  align-items: flex-start;
    }
  }
  .main-menu .menu-item {
    position: relative;
    display: inline-block;
  }
  .submenu,
  .dropdown-content,
  .submenu-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .menu-item:hover > .dropdown-content,
  .submenu-item:hover > .submenu-content {
    display: block;
  }
  .submenu a,
  .dropdown-content a,
  .submenu-content a {
    color: #333;
    padding: 5px 10px;
    display: block;
    text-decoration: none;
  }
  .submenu-item {
    display: block;
    text-align: left;
    padding: 5px 0;
  }
  /* Showcase */
  .showcase {
    width: 145vh;
    min-height: 100vh; /* Ensures the showcase fills the viewport */
    background-color: skyblue;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  .showcase h2, .showcase p {
    margin-bottom: 10px;
  }
  .showcase .btn {
    margin-top: 20px;
  }
  /* Footer */
  .footer {
    background: #f2f2f2;
    color: #616161;
    font-size: 12px;
    padding: 20px 0;
  }
  
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .footer div {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
  }
  
  .footer div i {
    margin-right: 10px;
  }
  
  .footer ul {
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer li {
    margin-right: 30px;
    margin-bottom: 20px;
  }
  
  @media(max-width: 700px) {
    .menu-btn {
      display: block;
    }
  
    .menu-btn:hover {
      opacity: 0.5;
    }
  
    .main-nav ul.right-menu {
      margin-right: 50px;
    }
  
    .main-nav ul.main-menu {
      display: block;
      position: absolute;
      top:0;
      left: 0;
      background: #f2f2f2;
      width: 50%;
      height: 100%;
      border-right: #ccc 1px solid;
      opacity: 0.9;
      padding: 30px;
      transform: translateX(-500px);
      transition: transform 0.5s ease-in-out;
    }
  
    .main-nav ul.main-menu li {
      padding: 10px;
      border-bottom: #ccc solid 1px;
      font-size: 14px;
    }
  
    .main-nav ul.main-menu li:last-child {
      border-bottom: 0;
    }
  
    .main-nav ul.main-menu.show {
      transform: translateX(-20px);
    }
  
    .home-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .xbox .content p {
      display: none;
    }
  
    .xbox .content h2 {
      margin-bottom: 20px;
    }
  
    .carbon .content {
      width: 85%;
    }
  
    .links .links-inner {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media(max-width: 500px) {
    .home-cards {
      grid-template-columns: 1fr;
    }
  
    .links .links-inner {
      grid-template-columns: 1fr;
    }
  
    .links .links-inner ul {
      margin-bottom: 20px;
    }
  }
  /*TABLE*/
  .table-container {
    width: 130vh;
    margin: 20px auto; /* Add some margin for spacing */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  }
  
  .table-wrapper {
    overflow-x: auto;
    overflow-y: auto; /* Prevent vertical scroll */
    width: 100%;
  }
  table {
    width: 400vh;
    border-collapse: collapse;
    table-layout: fixed; /* Fixed table layout */
    background-color: hsl(0, 0%, 100%);
  }
  thead {
    background-color: #245bff;
    color: rgb(131, 203, 255);
    font-weight: bold;
    text-align:center;
  }
  thead th {
    padding: 12px 15px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid #ffffff;
  }
  tbody tr {
    border-bottom: 1px solid #eee;
  }
  tbody tr:hover {
    background-color: #ffe7c5;
  }
  tbody td {
    padding: 12px 15px;
    text-align: center;
    white-space: nowrap;
  }
  
  /*part timeline*/
  .timeline-input {
    width: 95%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    background-color: #e0f7ff;
    color: #007bff;
  }
  
  .timeline-input:hover {
    background-color: #d0f0ff;
  }
  
  .flatpickr-calendar {
    z-index: 9999; /* Ensure the calendar appears above other elements */
  }
  
  .irata-level-label {
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  margin-top: 4px;
  }
  
  .Level-1 {
  background-color: #ffcc00;
  color: black;
  }
  .Level-2 {
  background-color: #ff9900;
  color: black;
  }
  .Level-3 {
  background-color: #ff6600;
  color: black;
  }
  .Admin {
  background-color: #cc0000;
  color: white;
  }
  
  /* Styles for fixed column */
  .fixed-column {
  position: sticky;
  left: 0;
  background-color: #ffffff;
  z-index: 2;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  }
  
  .fixed-column:hover{
  background-color: #f8cda7;
  }
  
  tbody td.fixed-column {
    font-weight: normal; /* Normal font weight for fixed column in body */
  }
  
  /*button add row*/
  .button-container {
    margin: 20px 0;
  }
  
  .add-row-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
  }
  
  .add-row-btn:hover {
    background-color: #0056b3;
  }
  
  .flatpickr-calendar {
    z-index: 9999; /* Ensure the calendar appears above other elements */
  }
  
  /* Modal styles ADD ROW */
  .modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
  }
  
  .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
  }
  
  .modal-header, .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-header {
    font-size: 1.25em;
    font-weight: bold;
  }
  
  .modal-footer {
    margin-top: 20px;
  }
  
  .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: black;
  }
  
  .modal input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .modal button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
  }
  
  .modal button:hover {
    background-color: #0056b3;
  }
  
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }
  
  @keyframes slideDown {
    from {
        transform: translateY(-50px);
    }
    to {
        transform: translateY(0);
    }
  }
  
    /* Modal styles UPLOAD FILE*/
    .modal1 {
        display: none; 
        position: fixed; 
        z-index: 9999; 
        padding-top: 100px; 
        left: 0;
        top: 0;
        width: 100%; 
        height: 100%; 
        overflow: auto;
        background-color: rgb(0,0,0); 
        background-color: rgba(0,0,0,0.4); 
      }
      
      .modal1-content {
        background-color: #fff;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 400px;
        border-radius: 8px;
      }
      
      .modal1-header, .modal-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      
      .modal1-header {
        font-size: 1.25em;
        font-weight: bold;
      }
      
      .modal1-footer {
        margin-top: 20px;
      }
      
      .close {
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
      }
      
      .close:hover,
      .close:focus {
        color: black;
      }
      
      .modal1 input {
        width: 100%;
        padding: 8px;
        margin: 5px 0;
        border: 1px solid #ccc;
        border-radius: 4px;
      }
      
      .modal1 button {
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        background-color: #007bff;
        color: #fff;
        cursor: pointer;
      }
      
      .modal1 button:hover {
        background-color: #0056b3;
      }
      
      @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
      }
      
      @keyframes slideDown {
        from {
            transform: translateY(-50px);
        }
        to {
            transform: translateY(0);
        }
      }
  /*status*/
  .status {
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    color: white;
}
.status.valid { background-color: #28a745; }
.status.remind { background-color: #ffc107; color: black; }
.status.expired { background-color: #dc3545; }

  /*progress*/
  .progress-bar-container {
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar {
    background-color: #28a745;
    height: 20px;
    text-align: center;
    color: white;
    line-height: 20px;
    white-space: nowrap;
}
  
  /*upload file*/
  .file-upload {
    position: relative;
    text-align: center;
  }
  .file-upload .upload-icon {
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
  }
  .file-icon {
    font-size: 24px;
    color: #dc3545;
    cursor: pointer;
    margin-right: 5px;
  }
  .file-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .file-container a {
    margin-right: 5px;
    margin-top: 5px;
  }
  .file-container img {
    width: 24px;
    height: 24px;
  }
  /* Modal Styles */
  /* Modal Styles */
  .uploadmodal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s;
  }
  
  .modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.4s ease;
  }
  
  .uploadmodal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  }
  
  .modal-header h2 {
  font-size: 1.5rem;
  margin: 0;
  color: #333;
  }
  
  .close {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s ease;
  }
  
  .close:hover {
  color: #ff0000;
  }
  
  .modal-content input[type="file"] {
  display: block;
  width: 80%;
  margin: 20px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  }
  
  .modal-content button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  }
  
  #saveBtn {
  background-color: #28a745;
  color: white;
  }
  
  #saveBtn:hover {
  background-color: #218838;
  }
  
  #closeBtn {
  background-color: #dc3545;
  color: white;
  }
  
  #closeBtn:hover {
  background-color: #c82333;
  }
  
  @keyframes fadeIn {
  from {
  opacity: 0;
  }
  to {
  opacity: 1;
  }
  }
  
  @keyframes slideDown {
  from {
  transform: translateY(-50px);
  }
  to {
  transform: translateY(0);
  }
  }