 .dropdown:hover>.dropdown-menu {
     display: block;
     margin-top: 0;
 }

 /* Submenu container */
 .dropdown-submenu {
     position: relative;
 }

 /* Hide submenus by default (appear to the right) */
 .dropdown-submenu>.dropdown-menu {
     display: none;
     position: absolute;
     top: 0;
     left: 100%;
     margin-top: -1px;
     z-index: 1000;
 }

 /* Show submenu only when hovering parent */
 .dropdown-submenu:hover>.dropdown-menu,
 .dropdown-submenu:focus-within>.dropdown-menu {
     display: block;
 }

 /* ===== Link spacing & look ===== */
 .dropdown-menu li a {
     padding: 10px 15px;
     display: block;
     width: 100%;
     color: #000;
     text-decoration: none;
     line-height: 1.2;
     position: relative;
     font-weight: 500;
 }

 .dropdown-menu li a:hover {
     background-color: #f1f1f1;
 }

 /* Navbar reset */
 nav.navbar {
     padding: 0 !important;
 }

 nav.navbar ul {
     padding: 0;
     margin: 0;
 }

 nav.navbar ul li {
     padding: 0;
     margin: 0;
     list-style: none;
 }

 nav.navbar ul li a {
     padding: 0;
     margin: 0;
     display: inline-block;
 }

 /* Submenu inside dropdown */
 nav.navbar ul li .dropdown-menu li {
     padding: 0;
     margin: 0;
     list-style: none;
 }

 nav.navbar ul li .dropdown-menu li a {
     padding: 10px 20px;
     display: block;
     width: 100%;
 }

 /* Font sizing */
 .dropdown-toggle {
     font-size: 14px;
     cursor: pointer;
 }

 .nav-link {
     font-size: 18px;
 }

 .dropdown-menu {
     font-size: 15px;
     min-width: 180px;
 }

 /* ===========================
   SUBMENU ARROW STYLE
   =========================== */

 /* Reserve space for arrow */
 .dropdown-submenu>a {
     position: relative;
     padding-right: 28px;
     /* space for arrow */
     display: block;
     color: inherit;
 }

 /* Default arrow: ">" (bold, dark black) */
 .dropdown-submenu>a::after {
     content: "\276F";
     /* Unicode heavy right-pointing angle quote › */
     position: absolute;
     right: 10px;
     top: 50%;
     transform: translateY(-50%);
     font-size: 14px;
     font-weight: bold;
     color: #000;
     transition: transform 0.2s ease, content 0.2s ease;
     pointer-events: none;
 }

 /* When submenu is open (hover/focus), show "v" */
 .dropdown-submenu:hover>a::after,
 .dropdown-submenu:focus-within>a::after {
     content: "\25BC";
     /* ▼ black down-pointing triangle */
     font-size: 13px;
     font-weight: bold;
     color: #000;
 }

 /* ===========================
   MOBILE VIEW
   =========================== */
 @media (max-width: 600px) {
     .dropdown-submenu>.dropdown-menu {
         left: 0;
         top: 100%;
         margin-top: 0;
     }

     /* Down arrow by default in mobile */
     .dropdown-submenu>a::after {
         content: "\25BC";
         /* ▼ */
         right: 12px;
     }
 }

 /* Container styles */
 .container1 {
     width: 100%;
     padding-right: 15px;
     padding-left: 15px;
     margin-right: auto;
     margin-left: auto;
 }


 /* Table styles */
 table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 10px;
     /* Add some space above the table */
 }

 th,
 td {
     border: 2px solid black;
     /* Apply border to table cells */
     padding: 2%;
     text-align: left;
     font-size: 20px;
     padding: 8px;
     /* Add padding to table cells */
 }

 th {
     background-color: #f2f2f2;
 }




 .line-container {
     display: flex;
     justify-content: space-between;
     /* Align items horizontally */
 }

 .container1 h6 {
     display: inline-block;
     margin: 0;
     /* Remove default margin */
     width: 30%;
     /* Adjust width as needed */
     text-align: center;
     /* Center-align the content */
 }

 #button {
     text-align: center;
 }



 @media print {
     body * {
         visibility: hidden;
     }

     .container1,
     .container1 * {
         visibility: visible;
     }

     .container1 {
         width: 95%;
         text-align: left;
         position: absolute;
         top: 0;
         left: 0;
     }


 }


 #overlay {
     position: fixed;
     display: none;
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.5);
     z-index: 2;
     cursor: pointer;
 }

 #text {
     position: absolute;
     top: 50%;
     left: 50%;
     font-size: 50px;
     color: white;
     transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
 }

 .sidebar-brand-text {
     font-size: 18px;
     font-weight: bold;
 }

 .img-profile {
     width: 40px;
     height: 40px;
     padding: 0px;
 }

 #wrapper {
     display: flex;
 }

 #sidebar {
     width: 23%;
     background-color: #fff;
     /* White background */
     height: 100vh;
     /* Full height */
     border-right: 1px solid #ddd;
     /* Light gray border on the right */
     padding-top: 20px;
     /* Add some padding at the top */
 }

 #sidebar .nav-item {
     padding: 10px 15px;
     /* Padding for the items */
 }

 #sidebar .nav-item:hover {
     background-color: #f8f9fa;
     /* Light gray background on hover */
 }

 #sidebar .nav-link1 {
     color: #333;
     /* Dark color for the links */
 }

 #sidebar .nav-link1:hover {
     color: #555;
     /* Darker color on hover */
 }

 #content-wrapper {
     flex: 1;
 }

 #sidebar {
     width: 23%;
     background-color: #fff;
     /* White background */
     height: 100%;
     /* Full height */
     border-right: 1px solid #ddd;
     /* Light gray border on the right */
     padding-top: 20px;
     /* Add some padding at the top */
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
     /* Add shadow effect */
 }

 .nav-item {
     margin-bottom: 0px;
     /* Add some space between items */
 }

 .nav-link1 {
     display: block;
     /* Display as block elements */
     padding: 10px 15px;
     /* Add padding */
     text-decoration: none;
     /* Remove underline */
     color: #333;
     /* Dark color for the links */
     background-color: #f8f9fa;
     /* Light gray background */
     border: 1px solid #ccc;
     /* Light gray border */
     border-radius: 5px;
     /* Rounded corners */
 }

 .nav-link1:hover {
     background-color: #e9ecef;
     /* Lighter gray background on hover */
     border-color: #bbb;
     /* Lighter gray border on hover */
 }

 .sidebar-heading {
     text-align: center;
     /* Center the heading */
 }



 .collapsed .nav-link1 span {
     display: none;
 }


 /* Add this CSS to rotate the icon when collapsed */
 .collapsed #sidebarCollapse .fa-angle-left {
     transform: rotate(180deg);
 }

 /* Adjusted Textarea styles */
 .dwsRemarkTextArea {
     width: 100%;
     min-width: 150px;
     height: 150px;
     /* Adjust the height as needed */
     resize: vertical;
     /* Allow vertical resizing */
 }


 #partsRequired {
     text-align: left;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     border: 1px solid #ccc;
     /* Add border */
     padding: 10px;
     /* Add padding */
     border-radius: 5px;
     /* Add border-radius for rounded corners */
     background-color: #fff;
     /* Add background color */
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     /* Add box shadow for paper-like effect */
 }

 .scroll-to-top {
     position: fixed;
     bottom: 50px;
     right: 30px;
     display: block;
     /* Ensure the button is initially visible */
     width: 40px;
     height: 40px;
     background-color: #007bff;
     color: #fff;
     border-radius: 50%;
     text-align: center;
     line-height: 40px;
     font-size: 18px;
     z-index: 999;
     transition: background-color 0.3s ease-in-out;
 }

 .scroll-to-top:hover {
     background-color: #0056b3;
     cursor: pointer;
 }

 .container {
     max-width: 100%;
     text-align: center;
     margin: 0 auto;
     padding: 20px;
     border: 1px solid #ccc;
     border-radius: 5px;
     background-color: #f9f9f9;
 }

 @keyframes slideIn {
     0% {
         right: -300px;
         opacity: 0;
         transform: scale(0.8);
     }

     50% {
         opacity: 1;
         transform: scale(1.05);
     }

     100% {
         right: 20px;
         transform: scale(1);
     }
 }

 @keyframes glowEffect {
     0% {
         box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
     }

     50% {
         box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
     }

     100% {
         box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
     }
 }

 .notification-popup {
     position: fixed;
     top: 50%;
     right: -300px;
     transform: translateY(-50%);
     width: 280px;
     background: linear-gradient(135deg, #2ecc71, #27ae60);
     color: white;
     padding: 15px;
     border-radius: 10px;
     font-family: Arial, sans-serif;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
     display: flex;
     align-items: center;
     font-size: 16px;
     z-index: 1000;
     animation: glowEffect 1.5s infinite;
 }

 .notification-popup i {
     margin-right: 12px;
     font-size: 22px;
     animation: shakeBell 1s infinite alternate;
 }

 .close-btn {
     margin-left: auto;
     cursor: pointer;
     font-weight: bold;
     padding: 5px;
     transition: color 0.3s ease;
 }

 .close-btn:hover {
     color: #ffdddd;
 }

 /* Bell Shake Animation */
 @keyframes shakeBell {
     0% {
         transform: rotate(0deg);
     }

     25% {
         transform: rotate(-15deg);
     }

     50% {
         transform: rotate(15deg);
     }

     75% {
         transform: rotate(-10deg);
     }

     100% {
         transform: rotate(10deg);
     }
 }

 #loadingOverlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     /* Semi-transparent background */
     z-index: 1000;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
     color: white;
     font-size: 18px;
 }

 /* Spinner Animation */
 .loading-spinner {
     width: 50px;
     height: 50px;
     border: 5px solid white;
     border-top: 5px solid transparent;
     border-radius: 50%;
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 #loader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0.9);
     z-index: 9999;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .loader-icon {
     border: 6px solid #f3f3f3;
     border-top: 6px solid #3498db;
     border-radius: 50%;
     width: 50px;
     height: 50px;
     animation: spin 1s linear infinite;
 }

 #loading {
     display: none;
     margin-top: 30px;
     display: flex;
     flex-direction: column;
     align-items: center;
     /* Centers content horizontally */
     justify-content: center;
     /* Vertically if needed */
     width: 100%;
 }