 html,
 body {
     height: 100%;
     margin: 0;
     font-family: Arial, sans-serif;
     margin: 0;
     padding: 0;
     background-color: #f5f5f5;
 }

 .container {
     display: grid;
     place-items: center;
     /* Centers the div both vertically and horizontally */
     height: 100vh;
     /* Makes container fill the viewport height */
     width: 100vw;
     /* Makes container fill the viewport width */
     background-color: #f0f0f0;
     /* Optional: just to visualize the container */
     box-sizing: border-box;
     padding: 0;
     margin: 0;
 }

 .centered-div {
     width: 400px;
     /* Fixed width */
     height: 300px;
     /* Fixed height */
     background-color: #92b3b9;
     /* Optional: just to visualize the centered div */
     box-sizing: border-box;
     color: white;
     /* Centering content inside the div using Flexbox */
     display: flex;
     justify-content: center;
     /* Centers content horizontally */
     align-items: center;
     /* Centers content vertically */
     font-size: 18px;
     padding: 15px 30px;
     margin: 30px;
     /* This margin is applied around the centered-div */
 }

 .centered-div2 {
     width: 400px;
     /* Fixed width */
     height: 700px;
     /* Fixed height */
     background-color: #92b3b9;
     /* Optional: just to visualize the centered div */
     box-sizing: border-box;
     color: white;
     /* Centering content inside the div using Flexbox */
     display: flex;
     justify-content: center;
     /* Centers content horizontally */
     align-items: center;
     /* Centers content vertically */
     font-size: 18px;
     padding: 15px 30px;
     margin: 30px;
     /* This margin is applied around the centered-div */
 }

 .custom-input {
     width: 100%;
     /* You can adjust this to a fixed value if desired */
     padding: 10px;
     /* Increases the size of the input field */
     font-size: 14px;
     /* Makes the text inside the input larger */
     box-sizing: border-box;
     /* Ensures padding doesn't increase the width */
     border-radius: 5px;
     /* Optional: adds rounded corners */
     margin-bottom: 10px;
     /* Adds space below the input field */
 }

 hr {
     border: none;
     /* Remove default borders */
     border-top: 1px solid #000;
     /* Add a thin horizontal line */
     width: 100%;
     /* Ensure it takes the full width of the container */
     margin: 10px 0;
     /* Add space above and below the line */
 }

 .box {
     width: 300px;
     /* Fixed width */
     /* Fixed height */
     /* Hides horizontal scroll (optional) */
     padding: 10px;
     /* Optional: adds padding inside the box */
     border: none;
     /* Optional: adds a border for visibility */
     /* Ensures padding and border don't affect width/height */
     background-color: transparent;
     /* No background color */
     display: flex;
     flex-direction: column;
     justify-content: center;
     /* Horizontally centers the content */
     align-items: center;
     /* Vertically centers the content */
     margin: 20px;

 }

 .box>img {

     object-fit: cover;
 }

 .button-container {
     display: flex;
     justify-content: center;
     /* Centers horizontally */
     align-items: center;
     /* Centers vertically */
     margin-top: 10px;
     /* Full height of the viewport for demonstration */
 }

 button {
     padding: 12px 24px;
     font-size: 14px;
     background-color: #3498db;
     /* Initial background color */
     color: white;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     transition: transform 0.2s ease, background-color 0.2s ease;
 }

 button:hover {
     background-color: #2980b9;
     /* Change background on hover */
     transform: scale(1.05);
     /* Slightly enlarge the button */
 }

 button:active {
     transform: scale(0.95);
     /* Slightly shrink the button on click */
 }

 .small-input {
     width: 50%;
     /* You can adjust this to a fixed value if desired */
     padding: 5px;
     /* Increases the size of the input field */
     font-size: 14px;
     /* Makes the text inside the input larger */
     box-sizing: border-box;
     /* Ensures padding doesn't increase the width */
     border-radius: 5px;
     /* Optional: adds rounded corners */
     margin-bottom: 10px;
     /* Adds space below the input field */
 }

 .custom-button {
     padding: 10px 20px;
     /* Makes the button larger */
     font-size: 18px;
     /* Increases the button text size */
     background-color: #4f575d;
     /* Button background color */
     color: white;
     /* Button text color */
     border: none;
     /* Removes border */
     border-radius: 5px;
     /* Optional: adds rounded corners */
     cursor: pointer;
     /* Changes cursor to pointer on hover */
     width: 100%;
     /* You can adjust this to a fixed value or remove it */
     margin-top: 10px;
 }

 .custom-button:hover {
     background-color: #005fa3;
     /* Darker color on hover for better interaction */
 }

 a {
     color: purple;
 }

 /* General Styles */


 /* Header Styling */
 header {
     background-color: #2c3e50;
     color: white;
     padding: 10px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     position: sticky;
 }

 p {
     margin-bottom: 5px;
 }

 .logo {
     font-size: 1.5em;
 }

 nav ul {
     list-style: none;
     display: flex;
     margin: 0;
     padding: 0;
 }

 nav ul li {
     margin-left: 20px;
 }

 nav ul li a {
     color: white;
     text-decoration: none;
 }

 .cart-icon a {
     color: white;
     text-decoration: none;
     margin-left: 20px;
 }

 .styled-table {
     width: 100%;
     /* Make table full width */
     /*border-collapse: collapse;  /* Remove gaps between cells */
     margin: 5px 0;
     /* Add margin above and below */
     font-size: 14px;
     font-family: sans-serif;
     text-align: left;
     border-radius: 5px 5px 0 0;
     /* Rounded corners on top */
     /* Hide overflow if needed */
     border: 1px solid;
 }

 table {
     border-collapse: collapse;
     width: 100%;
     padding: 20px;
     margin: 20px;
 }

 table,
 th,
 td {
     border: 1px solid black;
 }

 .styled-table thead tr {

     color: black;
     /* Header text color */
     text-align: left;
     font-weight: bold;

 }

 .styled-table th,
 .styled-table td {
     padding: 5px;
     /* Padding inside table cells */
     border-style: 1px solid #0c0c0c;
     /* Borders between rows */
 }

 .styled-table tbody tr:nth-of-type(even) {
     background-color: #f3f3f3;
     /* Alternating row background */
 }

 .styled-table tbody tr:last-of-type {
     border-bottom: 2px solid #3498db;
     /* Bottom border for last row */
 }

 .styled-table tbody tr:hover {
     background-color: #f1f1f1;
     /* Highlight row on hover */
     cursor: pointer;
     /* Show pointer cursor on hover */
 }

 /* Search Section */
 .search-section {
     text-align: center;
     padding: 20px;
 }

 .search-section input {
     padding: 10px;
     width: 80%;
     max-width: 500px;
     margin-right: 10px;
 }

 .search-section button {
     padding: 10px;
     background-color: #2c3e50;
     color: white;
     border: none;
     cursor: pointer;
 }

 /* Cooperatives Section */
 .cooperatives,
 .products,
 .registration {
     padding: 10px;
 }

 h2,
 h4 {
     text-align: left;
     text-transform: capitalize;
     font-size: 14;
     font-weight: bold;
 }

 .coop-grid,
 .product-grid {
     display: flex;
     justify-content: space-around;
     flex-wrap: wrap;
 }

 .coop-card,
 .product-card {
     background-color: rgb(222, 199, 199);
     padding: 20px;
     margin: 10px;
     width: 200px;
     text-align: center;
     box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
     border-radius: 5px;
     cursor: pointer;
     display: flex;
     flex-direction: column;
 }

 .coop-card:hover,
 .product-card:hover {
     background-color: rgb(178, 63, 63);
 }

 .coop-card>img,
 .product-card>img {
     max-width: 200px;
     object-fit: cover;
 }

 /* Registration Form */
 .registration form {
     max-width: 600px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
 }

 .registration input,
 .registration textarea {
     margin-bottom: 10px;
     padding: 10px;
     border: 1px solid #ccc;
     border-radius: 5px;
 }

 .registration button {
     padding: 10px;
     background-color: #2c3e50;
     color: white;
     border: none;
     cursor: pointer;
 }

 /* Footer Styling */
 footer {
     background-color: #2c3e50;
     color: white;
     text-align: center;
     padding: 10px;

     bottom: 0;
     width: 100%;
 }

 /* Mobile Responsiveness */
 @media (max-width: 768px) {
     header {
         flex-direction: column;
     }

     nav ul {
         flex-direction: column;
         align-items: center;
     }

     nav ul li {
         margin-left: 0;
         margin-bottom: 10px;
     }

     .coop-grid,
     .product-grid {
         flex-direction: column;
         align-items: center;
     }

     .coop-card,
     .product-card {
         width: 90%;
     }

     .search-section input {
         width: 90%;
     }

     footer {
         position: static;
     }
 }