/* 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 */
.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 {
   
    display: flex;
    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;
    
}





/* 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;
}
/* Sticky header */


/* Sticky first column */


/* Responsive adjustments */
@media screen and (max-width: 1164px) {
    .container {
        max-width: 100%;
    }

    #top-bar {
        max-width: 100%;
    }
    .container_a{
        max-width: 100%;
       
    }

     .container_b {
        
       
        display: flex;
        justify-content:flex-start; /* Space items apart */
        
        width: 100%;
        padding: 20px; /* Add padding for spacing */
        max-height: calc(100vh - 100px);/* Set maximum height to the viewport height */
        overflow-y: auto; /* Enable vertical scrolling if content exceeds height */
           




  
 
        
       
     }
     .swipeable-table {
        max-width: 100%;
        max-height: 100%;
      
     }
   
    button[type="submit"] {
       max-width: 100%;
    }
    #myDropdown {
        flex-basis: 100%;
    }
 
    
    
    button[type="submit"]:hover {
        max-width: 100%;
        opacity: 0.8;
    }
    *{
        max-width:100%;
    }
    body {
        font-family: Arial, sans-serif;
        background-color: #f5f5f5;
        padding-top: 0%;
       
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    
   
    
}
