

 /* style for invoice generate styles */
 @font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
 }
 /* body {
       background-color: #F8F9FA;
       margin: 0;
       padding: 20px;
      
   } */
   .invoice-container {
    
       max-width: 900px;
       background: white;
       padding: 20px;
       border-radius: 8px;
       margin-top: 10px;
       margin-left: 30px;
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   }
   .download-colorchanger {
        width: 100%; /* Make it fluid for smaller screens */
       max-width: 300px;
       gap: 20px;
       max-height: 400px;
       background: white;
       padding: 20px;
       border-radius: 8px;
       align-items: center;
       margin-top: 20px;
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
       display: flex;
       flex-direction: column;
   }
   .picker-buttons {
       display: flex;
       gap: 10px;
       justify-content: center;
       margin-top: 10px;
   }

   #colorPickerContainer {
       margin-top: 10px;
       gap: 10px;
       width: fit-content;
       height: fit-content;
   }
   .applycolor {
       display: flex;
       gap: 10px;
       margin-top: 20px;
       background-color: #5c9017;
       color: ffffff;margin-top: 5px;
       background: #6ea81a;
       color: white;
       border: none;
       padding: 5px;
       cursor: pointer;
       border-radius: 5px;
       display: block;
       text-align: center;
       margin-bottom: 5px;
   }
   .cancel {
       display: flex;
       gap: 10px;
       margin-top: 20px;
       background-color: #5c9017;
       color: ffffff;margin-top: 5px;
       background: #6ea81a;
       color: white;
       border: none;
       padding: 5px;
       cursor: pointer;
       border-radius: 5px;
       display: block;
       text-align: center;
       margin-bottom: 5px;
   }
   .main {
       display: flex;
       justify-content: space-around;
       margin-top: 20px;
       font-family: 'Inter';
   }
   .button {
       display: block;
       gap: 20px;
       text-wrap: nowrap;
       justify-content: center;
       align-items: center;
       margin-top: 20px;
   }
   .body-header {
       display: flex;
       justify-content: space-between;
       align-items: center;

       width: 100%;
       margin: 0 auto;
       padding: 10px 0;
   }
   .body-header h2 {
       margin: 0;
       flex: 1;
       text-align: left;
       padding-left: 4px;

   }
   .invoice-number {
       text-align: left;
       width: 100%;
       margin-top: 5px;
       padding: 8px;
       color: black;
       border: 1px solid #ccc;
       border-radius: 4px;
       font-size: 16px;
       width: 112px; /* Adjust width as needed */
   }
   .upload-logo {
       width: 120px;
       height: 120px;
       background: #e9ecef;
       display: flex;
       align-items: center;
       justify-content: center;
       border-radius: 5px;
       cursor: pointer;
       overflow: hidden;
       position: relative;
       /* padding: 10px; */;
       font-size: 14px;
   }
   
   .upload-logo img {
       max-width: 100%;
       max-height: 100%;
   }
   
   #removeLogo {
   display: none;
   position: absolute;
   top: 5px;
   left: 5px;
   color: rgb(242, 0, 0);
   padding: 2px;
   font-size: 15px;
   text-align: center;
   cursor: pointer;
   font-weight: bold;

   }
   .upload-logo:hover #removeLogo {
       display: block; /* Show when hovering over logo */
   }

   .details-section {
       display: flex;
       justify-content: space-between;
       margin-top: 20px;
   }
   .left-column{ 
    width: 50%;
   }
   .right-column {
    width: 37%;
   }
   .field-group {
       display: flex;
       align-items: right;
       margin-bottom: 10px;
       gap: 10px;
   }
   .field-group label {
       width: 120px;
       font-weight: bold; 
       /* padding-left: 20%; */
       font-size: 15px;
       text-align: end;
       padding-top: 10px;
   }
   .field-group input {
       flex: 1;
       padding: 10px;
       border: 1px solid #ccc;
       border-radius: 5px;
       font-size: 14px;

   }
   .horizontal-fields {
       display: flex;
       gap: 10px;
   }
   .invoice-table {
       width: 100%;
       border-collapse: collapse;
       margin-top: 20px;
       table-layout: fixed
   }
   .invoice-table th, .invoice-table td {
       /* border: 1px solid #ddd; */
       padding: 10px;
       text-align: left;
   }
   .invoice-table th {
       background: #6ea81a;
       color: white;
   }
   .additem-btn, .extra-btn {
       margin-top: 5px;
       background: #6ea81a;
       color: white;
       border: none;
       padding: 5px;
       cursor: pointer;
       border-radius: 5px;
       display: block;
       width: 10%;
       text-align: center;
   }
   .footer-section {
       display: flex;
       justify-content: space-between;
       margin-top: 20px;
   }
   .summary-section {
       text-align: right;
       width: 50%;
   }
   .summary-section .field-group {
       justify-content: flex-end;
   }
   .summary-section .field-group label {
       width: auto;
       margin-right: 10px;
   }

   .horizontal-fields {
   display: flex;
   flex-direction: column;
   }

   .label-container {
       display: flex;
       justify-content: space-between;
       width: 123%;
   }

   .input-container {
       display: flex;
       justify-content: space-between;
       width: 100%;
   }

   .label-container label {
       width: 48%; /* Adjust width to ensure spacing */
       font-weight: bold;
       font-size: 15px;
   }

   .input-container input {
       width: 36%; /* Adjust width to ensure spacing */
       padding: 5px;
       font-size: 17px;
   }
   .invoice-table input {
       width: 100%;
       box-sizing: border-box;
       padding: 10px;
       border: 1px solid #ccc;
       border-radius: 4px;
       font-size: 16px;
   }
   .invoice-table td, .invoice-table th {
       width: auto;
       text-align: left;
   }
   .invoice-table td:last-child {
       text-align: center;
       width: 50px; /* Adjust width to keep button from shifting layout */
   }
   .invoice-table button {
       /* width: 100%; */
       padding: 2px;
       border: none;
       background-color: transparent;
       color: #6ea81a;
       margin-left: 5px;
       cursor: pointer;
   }

   .amount-container {
       display: flex;
       justify-content: space-between;
       align-items: center;
       width: 100%;
   }

   .amount-container input {
       flex-grow: 1;
       padding: 5px;
       border: 0px solid #ccc;
       border-radius: 4px;
   }                   
   .remove-btn {
       display: none; /* Initially hidden */
       background: red;
       color: white;
       border: none;
       cursor: pointer;
       padding: 3px 7px;
       border-radius: 50%;
   }

   .amount-container:hover .remove-btn {
       display: inline-block; /* Show button on row hover */
   }
   
   /* after +add item */

   .detail-container {
       display: flex;
       justify-content: space-between;
       align-items: flex-start;
       width: 100%;
   }

   .left-section {
       width: 50%;
       display: flex;
       flex-direction: column;
       padding: 20px;
   }

   .left-section label {
       font-weight: bold;
       margin-top: 10px;
       padding: 6px;
       font-size: 15px;
   }

   .left-section textarea {

       width: 100%;
       height: auto;
       padding: 8px;
       border: 1px solid #ccc;
       border-radius: 4px;
       resize: none;
   }

   /* Ensure buttons are aligned in the same line */
   .adjustment-buttons {
       display: flex;
       gap: 10px;
       margin-bottom: 10px;
       flex-wrap: wrap; /* Allows buttons to move to the next line when needed */
   }
   
   /* Button styling */
   .right-section button {
       color: #6ea81a;
       border: none;
       cursor: pointer;
       padding: 5px 10px;
       font-size: 14px;
       border-radius: 5px;
       background: #e9f5db;
   }

   .right-section {
       width: 30%;
       text-align: right;
       /* background: #f8f9fa; */
       padding: 20px;
       border-radius: 8px;
       /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
   }

   .right-section .summary {
       display: flex;
       flex-direction: column;
       gap: 10px;
   }

   .right-section .row-1 {
       display: flex;
       align-items: center;
       justify-content: space-between;
       position: relative;
       flex-wrap: nowrap;
       justify-content: flex-end;
       align-items: center;
       flex-shrink: 1;
   }

   .right-section label {
       font-weight: bold;
       padding-left: 20px;
       text-align: right;
       font-size: 15px;
   }
   .row-1>* {
    flex-shrink: 0;
    width: 72%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-top: var(--bs-gutter-y);
 }

   .right-section input {
       width: 100px;
       padding: 6px;
       font-size: 17px;
       /* border: 1px solid #ccc; */
       border: none;
       border-radius: 4px;
       text-align: right;
       
   }
   .right-section input:hover {
       border: 1px solid #ccc;
   }

   .right-section button {
       position: static;
       top: 50%;
       right: 5px;
       color: #6ea81a;
       background-color: transparent;
       /* border: none; */
       cursor: pointer;
       padding: 3px 7px;
       font-size: 15px;
       font-weight: bold;
   }
    /* Adjustments for the buttons container */
 .adjustment-buttons-container {
    display: flex; /* Align buttons horizontally */
    gap: 10px; /* Add space between buttons */
 }

 /* Ensure text inside the buttons is centered */
 .hide-on-print {
    text-align: center;
 }

 /* Adjustment input container styling */
 .adjustment-input-container {
    position: relative;
    display: flex; /* Use flexbox for better alignment of inputs and units */
    align-items: center;
 }

 /* Styling for the unit (e.g., % sign) */
 .unit {
    position: absolute;
    right: 45px; /* Adjust according to your preference */
    top: 50%;
    transform: translateY(-60%);
    text-align: center;
    font-size: 20px; /* Adjust font size */
    pointer-events: none; /* Ensure the input still works even if the span is over it */
 }

 /* Input styling */
 .adjustment-input-container input {
    width: 90px; /* Adjust width to fit the design */
    padding: 6px;
    font-size: 17px;
    text-align: center;
 }

 /* Add % symbol for discount and tax fields */
 .adjustment-input-container input[type="number"].percentage::after {
    content: "%";
    position: absolute;
    right: 10px;
    font-weight: bold;
 }

 /* Adjustment remove button styling */
 .adjustment-input-container .adjustment-remove-btn {
    position: absolute;
    top: 50%;
    left: 94px; /* Adjust for button placement */
    transform: translateY(-100%);
    background: transparent;
    color: #6ea81a;
    border: none;
    font-size: 20px;
    font-weight: bcontentold;
    cursor: pointer;
    display: none; /* Hide by default */
 }

 /* Show remove button on hover */
 .adjustment-input-container:hover .adjustment-remove-btn {
    display: block;
 }

 /* Specific styles for the adjustment rows (discount, tax, shipping) */
 #adjustments .adjustment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px; /* Add space between label and input */
    margin: 5px 0; /* Add space between rows */
    padding-right: 41px;
 }

 /* Styling for specific discount, tax, and shipping rows */
 #adjustments #discount, 
 #adjustments #tax, 
 #adjustments #shipping {
    margin: 10px 0; /* Add space above and below the adjustment fields */
 }

 /* Styling for the input fields of discount, tax, and shipping */
 #adjustments .adjustment-input-container input {
    width: 80px; /* Adjust width if necessary */
 }

 /* Optional: Make the remove button more visually distinct */
 .adjustment-remove-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
 }

 /* Adjustments for the button container alignment in the right section */
 .right-section .adjustment-buttons-container {
    margin-bottom: 10px; /* Add some space below the buttons */
 }

 #download-btn, 
 #changeColorBtn {
       background: #6ea81a;
       color: white;
       border: none;
       padding: 10px 15px;
       border-radius: 5px;
       text-align: center;
       font-size: 15px;
       font-weight: bold;
       cursor: pointer;
       transition: background 0.3s ease;
   }

   #download-btn:hover, 
   #changeColorBtn:hover {
       background: #5c9017;
   }
   #additem-btn {
       background: #6ea81a;
       color: white;
       border: none;
       padding: 5px 7px;
       border-radius: 5px;
       text-align: center;
       font-size: 15px;
       font-weight: bold;
       cursor: pointer;
       transition: background 0.3s ease;
   }

   #additem-btn:hover {
       background: #5c9017;
   }
  

   

   /* Signature section */
   .sign {
       display: flex;
       align-items: center;
       gap: 10px;
       padding-left: 72rex;
       padding-bottom: 30px;
   }

   /* Signature box */
   .signature-box {
       display: flex;
       align-items: center;
       justify-content: center;
       width: auto;
       height: 60px;
       cursor: pointer;
       position: relative;
       background-color: #e9ecef;;
       border-radius: 5px;
       overflow: hidden;
       font-size: 18px;
   }

   /* Signature text */
   #signatureText {
       font-size: 14px;
       color: #777;
       text-wrap: nowrap;
   }

   /* Signature image */
   #signaturePreview {
       width: 100%;
       height: 100%;
       object-fit: contain;
       display: none;
   }

   /* Remove button (hidden by default) */
   #removeSignature {
       position: absolute;
       top: -15px;
       right: -10px;
       background: transparent;
       border: none;
       font-size: 18px;
       font-weight: bold;
       color: red;
       cursor: pointer;
       display: none;
   }

   /* Show remove button only on hover */
   .signature-box:hover #removeSignature {
       display: block;
   }

   /* Use the CSS variable for primary color */
   :root {
       --primary-color: #6ea81a; /* Default color */
   }

   .additem-btn, .extra-btn {
       background: var(--primary-color);
       color: white;
   }

   #download-btn {
       background: var(--primary-color);
       color: white;
       font-size: 15px;
       font-weight: bold;
   }

   #download-btn:hover {
       background: #5c9017; /* A slightly darker shade for hover */
   }


   .removeLogo {
       color: var(--primary-color);
   }

   .right-section button {
       color: var(--primary-color);
   }
   .field-group {
       display: flex;
       align-items: center;
       gap: 10px;
   }

   input[type="date"] {
       flex: 1; /* Ensures the input takes remaining space */
       min-width: 150px;
   }
   .currency-container {
    margin-top: 5px;
    font-size: 12px; /* Adjust font size */
    font-weight: normal;
    text-align: center;
    min-width: 120px; /* Adjust dropdown width */
    padding: 4px; /* Adjust padding for a smaller look */
    width: 10px;
    }

    .currency option {
    font-size: 12px; /* Reduce option font size */
    padding: 4px; /* Adjust padding inside options */
    width: 10px;
    }
.no-edit {
pointer-events: none; /* Prevents interaction */
user-select: none; /* Prevents text selection */
}

.amount-paid {
width: 100%; 
padding: 8px;
font-size: 14px;
border: 1px solid #ccc;

}
/* .sign {
margin-left: 10px;
} */







    /* Medium Screens (Tablets) */
    @media (max-width: 768px) {
        .main {
            flex-direction: column; /* Stack items vertically */
            align-items: center; /* Center align for better layout */
            text-align: center; /* Ensure text is readable */
        }
    }

    /* Medium Screens (Tablets) */
    @media (max-width: 768px) {
        .download-colorchanger {
            max-width: 90%; /* Adjust width for tablets */
            padding: 15px;
        }
    }
    /* Small Screens (Phones) */
    @media (max-width: 480px) {
        .download-colorchanger {
            width: 100vw; /* Ensure it takes the full viewport width */
            max-width: 100%; /* Prevent any constraints */
            padding: 10px;
            border-radius: 5px; /* Slightly reduce border-radius */
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
            margin: 10px; /* Remove unwanted margins */
        }
        .currency-container {
            align-items: flex-start; /* Aligns items to the left */
            gap: 5px; /* Adds spacing between label and select box */
        }
        
        .currency-container label {
            font-weight: bold;
        }
        
        .currency-container select {
            width: 100%; /* Adjust width as needed */
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
    }

    /* wider screen 4k*/
    @media (min-width: 2560px) {
        .download-colorchanger {
            max-width: 600px;
            padding: 30px;
            font-size: 1.2rem;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            margin: 100px;
            
            /* Center alignment */
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            
            /* Ensure elements inside are centered */
            display: flex;
            flex-direction: column;
            justify-content: center; /* Center vertically */
            align-items: center; /* Center horizontally */
            min-height: 350px; /* Increase height for better spacing */
        }

        /* Align buttons in the same row */
        .button-container {
            display: flex;
            gap: 20px; /* Space between buttons */
            justify-content: center;
            margin-bottom: 30px; /* Extra space below buttons */
        }

        /* Ensure the currency section is centered and spaced well */
        .currency-container {
            display: flex; /* Ensures label & dropdown are inline */
            align-items: center;
            justify-content: center;
            gap: 10px; /* Space between label and dropdown */
            margin-top: 40px; /* Extra space between color button and currency */
        }

        .currency {
            font-size: 16px;
            min-width: 150px;
            padding: 6px;
        }

        .currency option {
            font-size: 14px;
            padding: 6px;
        }
    }

    /* Laptops (1024px to 1440px) */
    @media (min-width: 1024px) and (max-width: 1400px) {
        .download-colorchanger {
            max-width: 20%; /* Ensures it stays within screen */
            padding: 15px;
            margin: 0 auto; /* Centers it */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        /* Ensure buttons remain centered */
        .button-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 15px;
        }

        .currency-container {
            display: flex;
            flex-direction: column; /* Aligns label and select vertically */
            align-items: center; /* Centers inside download-colorchanger */
            justify-content: center;
            gap: 5px;
            width: 100%;
            max-width: 90%; /* Prevents overflow within the 20% parent */
            margin-top: 10px;
        }

        .currency-container label {
            font-size: 14px;
            font-weight: 500;
        }

        .currency {
            width: 100%; /* Makes sure the select box fits */
            max-width: 100%;
            padding: 8px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
    }

    /* Increase button size for ultra-wide screens */
    @media (min-width: 2560px) {
        #download-btn, 
        #changeColorBtn {
            padding: 15px 25px; /* Bigger padding for easier clickability */
            font-size: 18px; /* Slightly larger text */
            border-radius: 8px; /* Softer corners */
        }
    }


    /* 🔹 Responsive for Mobile Screens (480px and below) */
    @media (max-width: 480px) {
        .invoice-container {
            width: 95%; /* Adjust width for small screens */
            padding: 15px;
            margin: 10px;
        }

        .body-header h2 {
            text-align: center;
            padding-left: 0;
        }

        .horizontal-fields {
            flex-direction: column; /* Stack fields */
        }

        .upload-logo {
            width: 80px;
            height: 80px;
        }

        .sign {
            flex-direction: column; /* Stack elements */
            gap: 10px; /* Reduce gap */
            text-align: center;
            padding-left: 0px;
        }

        .signature-box {
            width: 90%; /* Adjust width for small screens */
            height: 50px;
        }
    }

    /* 🔸 Ultra-Wide Screens (4K & Large Screens 2560px+) */
    @media (min-width: 2560px) {
        .invoice-container {
            max-width: 1200px; /* Increase container width */
            padding: 30px; /* More padding */
            font-size: 1.2rem; /* Slightly larger text */
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            margin: 100px;
        }

        .details-section {
            max-width: 1000px;
            margin: 0 auto;
        }

        .sign {
            max-width: 1000px; /* Keep it centered inside the container */
        
            margin: 0 auto;
            justify-content: space-evenly;
        }

        .signature-box {
            width: 300px;
            height: 80px;
            font-size: 20px;
        }
    }

    /* Ultra-Wide Screens (4K & Larger) */
    @media (min-width: 2560px) {
        .adjustment-buttons-container {
            max-width: 1000px; /* Keep it centered */
            margin: 0 auto;
            justify-content: space-evenly;
        }

        .adjustment-input-container {
            max-width: 300px;
        }
    }

    /* ✅ Mobile Screens (Phones) */
    @media (max-width: 480px) {
        .horizontal-fields {
            flex-direction: column; /* Stack labels and inputs */
            align-items: center;
            gap: 15px;
        }

        .label-container {
            width: 100%;
            display: flex;
            flex-direction: column; /* Stack labels */
            align-items: center;
            text-align: center;
        }

        .input-container {
            width: 100%; /* Full width for better usability */
            max-width: 100%;
        }

        .input-container input {
            font-size: 14px; /* Adjust font size for small screens */
            padding: 10px;
        }
    }

    /* ✅ Ultra-Wide Screens (4K & Larger) */
    @media (min-width: 2560px) {
        .horizontal-fields {
            max-width: 1200px;
        }

        .input-container {
            max-width: 500px;
        }
    }



    /* Ensure adjustments are responsive inside invoice-container */
    /* @media (max-width: 768px) {
        .adjustment-buttons-container {
            flex-direction: column; 
            align-items: center;
        }

        .adjustment-input-container {
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .adjustment-input-container input {
            width: 100%; 
        }

        #adjustments .adjustment-row {
            flex-direction: column;
            align-items: center;
        }
    } */


    /* ✅ Tablets (Medium Screens) */
    /* @media (max-width: 768px) {
        .horizontal-fields {
            flex-direction: column; 
            align-items: flex-start;
            gap: 15px;
        }

        .label-container {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        .input-container {
            width: 100%; 
            max-width: 100%;
        }

        .input-container input {
            font-size: 15px;
            padding: 10px;
        }
    } */


    /* 🔸 Responsive for Tablets (768px and below) */
    /* @media (max-width: 768px) {
        .details-section {
            flex-direction: column; 
            align-items: center;
        }

        .left-column,
        .right-column {
            width: 100%; 
        }

        .body-header {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .upload-logo {
            width: 100px;
            height: 100px;
        }

        .sign {
            flex-direction: column;  
            align-items: center;
        }

        .signature-box {
            width: 100%;
            height: 50px;
        }
    } */



/* General Mobile Styles for 480px and Below */
@media (max-width: 480px) {
    .invoice-container {
        width: 100%;
        padding: 10px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    /* Invoice Header */
    .body-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* ✅ Logo remains same size */
    .upload-logo {
        display: flex;
        justify-content: center;
       
        margin-bottom: 10px;
    }

    .logo-container {
     
        max-width: none;
    }

    /* Invoice Title */
    .invoice-header h2 {
        font-size: 18px;
    }

    .invoice-number {
        width: 90%;
        font-size: 14px;
        padding: 8px;
        text-align: center;
    }

    /* Details Section */
    .details-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .left-column, .right-column {
        width: 100%;
    }

    /* ✅ Table is visible, scrollable, and readable */
    .invoice-table {
        width: 100%;
        border-collapse: collapse;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .invoice-table thead {
        background: #f8f8f8;
        font-size: 14px;
    }

    .invoice-table th, 
    .invoice-table td {
        padding: 8px;
        font-size: 14px;
        text-align: center;
        border: 1px solid #ddd;
    }

    .invoice-table tbody tr {
        display: table-row;
    }

    .invoice-table input {
        width: 90%;
        padding: 5px;
        font-size: 14px;
        text-align: center;
    }

    /* Invoice Summary */
    .detail-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .left-section, .right-section {
        width: 100%;
    }

    .summary {
        width: 100%;
    }

    .row-1 {
        display: flex;
        align-items: center; /* Vertically center label & input */
        justify-content: space-between; /* Keep label & input on the same line */
        margin-bottom: 10px; /* Add spacing between rows */
    }
    
    .row-1 label {
        flex: 1; /* Allows label to take available space */
        text-align: left; /* Aligns label text to the left */
        font-weight: bold;
    }
    
    .row-1 input {
        flex: 1; /* Allows input field to take available space */
        text-align: right; /* Aligns input value to the right */
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    

    /* ✅ Signature Section */
    .sign {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 15px;
    }

    .signature-box {
        width: 90%;
        max-width: 200px;
        padding: 10px;
    }

    /* ✅ Buttons */
    #additem-btn, .adjustment-buttons-container button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        margin: 5px 0;
    }

    .horizontal-fields {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .label-container, .input-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    
    .label-container label, 
    .input-container input {
        width: 48%; /* Adjust width for better alignment */
    }
}
