/* 1.css */

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    font-size: 18px;
    
    padding-top: 10%;
    display: flex;
   
    justify-content: center;
    
    min-height: 100vh;
}

/* Container for the login form */
.login-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 1280px;
    width: 100%;
  

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#top-bar {
    position: fixed; /* Fixed position to stay at the top left corner */
    top: 0px;
    left: 0;
   
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px; /* Add padding for spacing */
    z-index: 1000; /* Ensure the top bar appears above other content */
    display: flex; /* Use flexbox for responsive layout */
    justify-content:flex-start; /* Space items apart */
    width: 100%;
    max-width: 100%;
    height: 50px;
}

#top-bar a {
    text-decoration:none;
    color: grey; /* Customize link color */
    font-size: 18px;
    margin-right: 10px;
    padding: 5px;
    border: 1px dashed white;
    
}

#top-bar a:hover {
    color: black;
    
}

.container_a {
   
    background-color: #04AA6D;
    position: fixed; 
    top: 50px;
    left: 0;
    
    padding: 10px; /* Add padding for spacing */
    z-index: 1000; /* Ensure the top bar appears above other content */
    display: flex; /* Use flexbox for responsive layout */
    justify-content:center; /* Space items apart */
    width: 100%;
    max-width: 100%;
    height: 50px;


    

}

.container_b {
   
   
   position:sticky;
   display: flex;
   justify-content:center; /* Space items apart */
   left: 10%;
   top: 90px;

   max-width: 1200px;
   width: 100%;
   
   padding: 10px; /* Add padding for spacing */
  
   height: 2500px;
    
   


   
}

/* Input fields */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
/* Form styles */
form {
   
    
    align-items: center; /* Vertically center the form items */
    
    left: 0;
}

/* Label for date picker */
label[for="datepicker"] {
    width: 15px;
    padding: 3px;
    margin: 5px;
    font-size: 18px;
    color: white;
    border: 1px solid transparent;
    border-radius: 4px;
    box-sizing: border-box;
    
}

/* Date picker styles */
#datepicker {
    width: 100%;
    padding: 5px;
    margin: 0px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Dropdown menu styles */
#myDropdown {
    width: 100%;
    padding: 5px;
    margin: 0px;
    font-size: 17px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Search button styles */
button[type="submit"] {
   
    border: none;
    color: #2196F3; /* Blue color for the pointer effect */
    font-size: 16px;
    cursor: pointer;
    padding: 0px; /* Remove padding to make it smaller */
    margin: auto;
}
/* Button styles 
button[type="submit"] {
    width: 100%;
    max-width: 400px;
    
    margin-bottom: 15px;
    margin-top: 15px;
    background-color:  #04AA6D;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}


button[type="submit"]:hover {
    opacity: 0.8;
    
}*/

/* Search button styles */
.button-search {
   
  
    color: white; /* Blue color for the pointer effect */
    width: 20%;
    height: 31px;
    padding: 5px;
    margin: 0px;
    
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    
}
.button-export {
   
  
    color: white; /* Blue color for the pointer effect */
    width: 20%;
    height: 31px;
    padding: 5px;
    margin: 0px;
    
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    
}

/* Center the logo */
.imgcontainer {
    text-align: center;
    margin-bottom: 20px;
}

.catalo {
    max-width: 50%;
    height: auto;
}

.swipeable-table {
    position:sticky;
    table-layout:auto;
    width: 100%;
    border-collapse: collapse;
}

caption {
    caption-side: top; /* Align the caption to the top */
    text-align: left; /* Set the caption text alignment to left */
    padding-bottom: 10px; /* Add some padding at the bottom of the caption */
    font-weight: bold; /* Make the caption text bold */
}

/* Style table headers */
th {
    
    background-color: #f2f2f2;
    padding: 10px;
    text-align: left;
    font-weight: bold;
}

/* Style table cells */
td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* Add alternating row background color */
tr:nth-child(even) {
    background-color: #f9f9f9;
}
@media print {
    @page {
        size: landscape;
    }
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.login-container {
    display: flex;
    width: 1140px;
    height: 483px;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.left-section {
    width: 380px; /* 1/3 of 1140px */
    padding: 10px;
    border-right: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
}
.right-section {
    width: 760px; /* 2/3 of 1140px */
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.section {
    margin-bottom: 10px;
}
.bold {
    font-weight: bold;
}
.small-text {
    font-size: 14px;
    line-height: 0.5;
    word-wrap: break-word;
}

/* Container for the login form */
#login-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Limit the width of the container */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto; /* Center the container horizontally and vertically */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Styling for the form inside the login container */
#login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Input fields inside the form */
#login-container input[type="text"],
#login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Submit button inside the form */
#login-container button[type="submit"] {
    width: 100%;
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

/* Submit button hover effect */
#login-container button[type="submit"]:hover {
    opacity: 0.8;
}

/* Center the logo inside the form */
#login-container .imgcontainer {
    text-align: center;
    margin-bottom: 20px;
}

/* Logo image styling */
#login-container .catalo {
    max-width: 50%;
    height: auto;
}

/* Center the content container */
#content-container {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    height: 100vh; /* Full height of the viewport */
    width: 100%; /* Full width of the viewport */
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 100px; /* Limit the width of the container */
    margin: auto; /* Center the container horizontally and vertically */
    box-sizing: border-box; /* Include padding in width/height calculations */
}

/* Styling for the form inside the content container */
#content-container form {
    display: flex; /* Use flexbox for left-to-right layout */
    flex-direction: row; /* Arrange items in a row */
    align-items: center; /* Vertically center the items */
    justify-content: center; /* Horizontally center the items */
    gap: 15px; /* Add spacing between form elements */
    width: 100%; /* Full width of the container */
    max-width: 600px; /* Limit the width of the form */
    margin: auto; /* Center the form horizontally */
}

/* Input fields inside the form */
#content-container input[type="date"] {
    width: auto; /* Adjust width to fit content */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Labels inside the form */
#content-container label {
    font-size: 16px;
    color: #333;
    margin-right: 5px; /* Add spacing between label and input */
}

/* Submit button inside the form */
#content-container button.button-search {
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Submit button hover effect */
#content-container button.button-search:hover {
    background-color: #ffffff;
    color: #04AA6D;
    border: 2px solid #04AA6D;
}

/* Results container styling */
#results-container {
    display: none; /* Hide the results container by default */
    margin-top: 150px;
    width: 100%;
    
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    text-align: left;
    overflow: hidden; /* Prevent overflow */
}

/* Styling for the export form */
#export-form {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack child elements vertically */
    align-items: center; /* Center child elements horizontally */
    gap: 20px; /* Add spacing between child elements */
    width: 100%;
}

/* Styling for the div containing the Select All checkbox and Export button */
#export-form > div:first-child {
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Arrange items in a row */
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Add space between the checkbox and button */
    width: 100%; /* Full width of the container */
    max-width: 800px; /* Limit the width */
}

/* Styling for the Select All checkbox */
#export-form #selectAll {
    margin-right: 10px; /* Add spacing between the checkbox and label */
}

/* Styling for the Export button */
#export-form .button-export {
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for the Export button */
#export-form .button-export:hover {
    background-color: #ffffff;
    color: #04AA6D;
    border: 2px solid #04AA6D;
}