/* General Styles */
body {
    display: flex;
    flex-direction: column;
    background: #1b1919;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling caused by overflowing elements */}
main {
    flex: 1; /* This makes the main section take up available space */}
/* General header styling */
.site-header {
    background-color: #333; /* Black background for contrast */
    width: 100%;
    display: flex;
    margin: 0;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for modern look */}
/* Title styling with white text outline and box outline */
.site-header h1 {
    margin: 0;
    font-size: 30px; /* Adjust font size as needed */
    font-weight: bold;
    color: black; /* Black text */
    padding: 2px;
    border: 8px solid black; 
    border-radius: 8px; 
    background-color: #f9f9f9; /* Light background for contrast */}
/* Navigation container with box outline */
.header-nav ul {
    list-style: none; /* Remove default list styling */
    display: flex; /* Display links inline */
    gap: 20px; /* Add spacing between links */
    margin: 0;
    padding: 2px;
    border-radius: 8px; }
/* Navigation link styling with text outline */
.header-nav ul li a {
    border: 4px solid black; 
    background-color: #f9f9f9;
    text-decoration: none; /* Remove underline from links */
    font-size: 20px;
    font-weight: bold;
    color: black; /* Black text */
    padding: 5px 5px; /* Add padding for clickable area */
    border-radius: 5px; /* Rounded corners for links */
    transition: background-color 0.3s, transform 0.2s; /* Smooth hover effect */}
/* Navigation link hover effect */
.header-nav ul li a:hover {
    background-color: #f9f9f9; /* Slightly darker background on hover */
    transform: scale(1.1); /* Slight zoom-in effect on hover */}
/* Cotton Info Section */
/* Fix for cotton price section */
#cotton-info-section1, #cotton-info-section2 {
    text-align: center;
    align-content: center;
    font-size: 2px;
    border-radius: 2px;
    border: 4px solid black; 
    box-sizing: border-box; /* Include padding and border in width calculations */
    max-width: 100%; /* Ensure it doesn't exceed the screen width */
    overflow: hidden; /* Prevent content from overflowing */
    background: #f9f9f9;
    /*padding: 10px; /* Adjust padding if necessary */
    word-wrap: break-word; /* Break long words to fit within the container */}
/* Ensure the container doesn't overflow */
.feed-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 2px;
    width: 100%; /* Ensure the grid container fits within the viewport */}
/* Feed column styling */
.feed-column {
    /*background: #f9f9f9;*/
    background: #2d2828;
    /*border: 1px solid #f9f9f9;*/
    border-radius: 20px;
    border: 4px solid black; 
    padding: 2px;}
.feed-column h2 {
    border: 4px solid black;
    font-size: 30px;
    text-align: center;
    border-radius: 12px;
    background: #f9f9f9;
    margin-bottom: 15px;
    color: #000000;}
/* Article styling */
.feed-column ul {
    max-height: auto;
    padding: 0;
    margin: 0;
    list-style: none;}
.feed-column li {
    background: #f9f9f9;
    border: 4px solid black; 
    /*border: 1px solid #f9f9f9;*/
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;}
.feed-column li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);}
.feed-column li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    display: block;
    text-align: center;
    transition: color 0.2s;}
.feed-column li a:hover {
    color: #000000;}
/* Media Queries for Responsiveness */

/* For screens smaller than 768px */
@media (max-width: 768px) {
    .site-header {
        flex-wrap: wrap;
        padding: 15px;}
.site-header h1 {
        font-size: 20px;
        margin-bottom: 2px;
        text-align: center;
        width: 100%;}
.header-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;}
.feed-container {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 2px;}
#cotton-info-section1, #cotton-info-section2 {
        font-size: 9px; /* Larger font for better readability */
        min-width: 100%;}
    }
/* About and Contact Section Styling */
.about-section, .contact-section {
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);}
.about-section {
    background: #f9f9f9;
    border: 8px solid black; 
    border-radius: 8px;
    padding: 5px;
    margin: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);}
.about-section h2, .contact-section h2 {
    text-align: center;
    color: #000000;
    text-decoration: underline;
    margin-bottom: 20px;}
/* Detailed Summary Styling */
.detailed-summary ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 2px; /* Space between items */
    padding: 0;
    margin: 0;
    list-style: none;}
.detailed-summary ul li {
    background: #fdfdfd;
    border: 4px solid black; 
    border-radius: 8px;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #000000;}
.about-section h2, .about-section h3 {
    text-align: center;
    color: #000000;
    text-decoration: underline;
    margin-bottom: 20px;}
.about-section p, .contact-section p, .contact-section ul li {
    font-size: 20px;
    line-height: 1.6;}
.contact-section {
    border: 8px solid black;
    width: 600px;
    max-width: 600px;
}
.contact-section ul {
    list-style: none;
    padding: 0;}
.contact-section ul li, .about-section ul li {
    margin: 2px 0;
    font-size: 20px;}
@media (max-width: 768px) {
    .contact-section {
        width: 90%; /* Allows it to fit smaller screens */
        max-width: none; /* Overrides the 600px max-width */
        padding: 5px;
        margin: 5px auto;
    }

    .contact-section p, 
    .contact-section ul li {
        font-size: 18px; /* Adjusts font size for readability */
        max-width: 100%; /* Allows text to fully utilize mobile screen */
    }
    
    .detailed-summary ul {
        grid-template-columns: 1fr; /* Single column on smaller screens */}
    }
/* Footer styling */
footer {
    background-color: #333; /* Dark background to match modern style */
    color: white; /* White text for contrast */
    padding: 20px 2px; /* Spacing around footer */
    text-align: center; /* Center align the text */
    position: relative; 
    border: 8px solid #030303; /* Subtle border for separation */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Slight shadow above footer */}
/* Footer content styling */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;}
/* Responsive design for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center align text */}
    }
/* Profile Section Styling */
.profile-section {
    background: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto; /* Center horizontally */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 600px; /* Restrict the width */}
/* Two-column layout for profile */
.profile-columns {
    display: flex;
    gap: 20px;
    justify-content: center; /* Center content horizontally */
    align-items: flex-start; /* Align items at the top */}
/* Left Column: Profile Details */
.profile-details {
    flex: 1;
    min-width: 300px; /* Minimum width for the column */}
/* Right Column: Profile Actions */
.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    flex: 1;
    min-width: 200px; /* Minimum width for the column */
    justify-content: flex-start;}
/* Action Buttons */
.profile-action-button {
    display: inline-block;
    text-align: center;
    padding: 5px 2px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;}
.profile-action-button:hover {
    background-color: #333;
    transform: scale(1.05);}
/* Responsive Layout */
@media (max-width: 768px) {
    .profile-columns {
        flex-direction: column; /* Stack columns vertically on small screens */}
    }
.profile-actions {
        flex: 1; /* Expand to full width */}
.logout-button {
    display: inline-block;
    margin-top: 15px;
    padding: 2px 20px;
    background-color: #ff002b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;}
.logout-button:hover {
    background-color: #b30000;}
/* Files Section Styling */
.files-section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);}
.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #007BFF;
    font-size: 24px;
    font-weight: bold;}
/* Table Styling */
.files-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
    margin-bottom: 20px;}
.files-table th, .files-table td {
    padding: 12px;
    border: 1px solid #f9f9f9;
    text-align: center;}
.files-table th {
    background: #007BFF;
    color: white;
    font-size: 18px;}
.files-table td {
    background: #ffffff;
    vertical-align: middle;}
.files-table tr:hover td {
    background-color: #f1f1f1;}
/* File Link Styling */
.file-link {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    margin-left: 2px;}
.file-link:hover {
    text-decoration: underline;}
/* Checkbox Styling */
input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 2px;}
/* Responsive Layout */
@media (max-width: 768px) {
    .files-section {
        padding: 2px;}
    }
.files-table th, .files-table td {
        font-size: 14px;
        padding: 8px;}
.section-title {
        font-size: 20px;}
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #333;
    color: white;
    text-align: center;
    padding: 2px;
    z-index: 1000;}
#cookie-consent-banner p {
    margin: 0;
    display: inline-block;
    font-size: 14px;}
#cookie-consent-banner button {
    margin-left: 15px;
    padding: 5px 2px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;}
#cookie-consent-banner button:hover {
    background: #0056b3;}
/* Login Form Styling */
.login-container {
    max-width: 600px;
    margin: 50px auto;
    background: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);}
.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;}
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 90%;
    padding: 2px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;}
.remember-me {
    margin-bottom: 15px;}
.remember-me label {
    font-size: 14px;}
.login-button {
    width: 100%;
    padding: 2px;
    background: #007BFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;}
.login-button:hover {
    background: #0056b3;}
.form-footer {
    text-align: center;
    margin-top: 15px;}
.form-footer p {
    font-size: 14px;
    color: #666;}
/* Filters Section */
.invoices-filters {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;}
.invoices-filters select {
    margin: 2px 2px;
    padding: 8px;
    font-size: 14px;}
/* Columns Section */
.invoices-columns {
    display: flex;
    gap: 20px;}
.column {
    background: #ffffff;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);}
.column h2 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 2px;}
.column ul {
    list-style-type: none;
    padding: 0;}
.column ul li {
    margin-bottom: 2px;}
.column ul li a {
    text-decoration: none;
    color: #007BFF;
    font-size: 14px;}
.column ul li a:hover {
    text-decoration: underline;}
iframe {
    border: 1px solid #f9f9f9;
    border-radius: 5px;}
/* Left column: make it narrower */
.invoices-columns .column:first-child {
    flex: 0.3; /* 30% of the container width */}
/* Right column (PDF Viewer): make it wider */
.invoices-columns .column:last-child {
    flex: 0.7; /* 70% of the container width */}
/* Style for the iframe (PDF Viewer) */
iframe {
    border: 1px solid #f9f9f9;
    border-radius: 5px;
    width: 100%;
    height: 500px;}
/* Style for the left column */
.invoice-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between each item */
    padding: 2px;
    background-color: #f9f9f9; /* Light gray background for better visibility */
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto; /* Enable scrolling if the content overflows */}
/* Individual invoice items */
.invoice-item {
    display: block;
    padding: 2px 15px;
    background-color: #333; /* Match with site theme (blue) */
    color: #fff; /* White text */
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;}
/* Hover and focus effects for invoice items */
.invoice-item:hover,
.invoice-item:focus {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slightly lift on hover */
    text-decoration: underline; /* Optional: underline on hover */}
/* Styling for "No Invoices" message */
.no-invoices {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 2px;}
/*





*/
/* Admin User Page Styling */
.admin-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
.admin-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;}
.admin-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;}
.admin-section select,
.admin-section button {
    width: 100%;
    max-width: 500px;
    padding: 2px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;}
.admin-section button {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;}
.admin-section button:hover {
    background-color: #0056b3;}
.logout-button {
    display: inline-block;
    margin-top: 20px;
    color: #ff0000;
    font-weight: bold;
    text-decoration: none;
    padding: 2px;
    border: 1px solid #ff0000;
    border-radius: 5px;
    background-color: #ffecec;
    transition: all 0.3s ease;}
.logout-button:hover {
    background-color: #ffcccc;
    border-color: #cc0000;
    color: white;}
/* Admin User Page Table */
.admin-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;}
.admin-section th,
.admin-section td {
    border: 1px solid #ccc;
    padding: 2px;
    text-align: center;}
.admin-section th {
    background-color: #007BFF;
    color: white;}
.admin-section td {
    background-color: #f9f9f9;}
.admin-section a {
    color: #007BFF;
    text-decoration: none;}
.admin-section a:hover {
    text-decoration: underline;}
.file-browser {
    margin-top: 20px;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 800px;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);}
.file-list {
    list-style: none;
    margin: 0;
    padding: 0;}
.file-item {
    padding: 2px;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
    display: flex;
    /*justify-content: space-between;*/
    align-items: left;
    transition: background-color 0.3s;}
.file-item:hover {
    background-color: #f0f0f0;}
.file-item.selected {
    background-color: #d8eaff;
    font-weight: bold;}
.file-actions {
    margin-top: 20px;}
.file-actions form {
    margin: 2px 0;
    display: flex;
    gap: 2px;
    justify-content: center;}
/* General Layout */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;}
.admin-container h1 {
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    font-size: 24px;
    color: #333;}
.content-split {
    display: flex;
    gap: 20px;}
/* Left Panel */
.left-panel {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;}
.left-panel .search-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;}
.search-bar input[type="text"] {
    width: calc(100% - 100px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;}
.search-bar button {
    padding: 8px 16px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;}
.search-bar button:hover {
    background-color: #005bb5;}
.file-browser {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;}
.file-list {
    list-style: none;
    padding: 0;
    margin: 0;}
.file-item {
    padding: 2px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;}
.file-item:hover {
    background: #f0f0f0;}
.file-item.selected {
    background: #333;
    color: white;}
.file-actions {
    margin-top: 20px;
    display: flex;
    gap: 2px;
    flex-direction: column;}
.file-actions form {
    display: flex;
    gap: 2px;}
/* Right Panel */
.right-panel {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;}
.right-panel h2 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;}
.right-panel form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;}
.right-panel form input,
.right-panel form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;}
.right-panel form button {
    padding: 2px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;}
.right-panel form button:hover {
    background-color: #005bb5;}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .content-split {
        flex-direction: column;
    }
}
/* Admin Actions */
.admin-actions {
    margin-top: 20px;
    display: flex;
    gap: 2px;
    justify-content: flex-start;
}

.admin-actions button {
    padding: 2px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.admin-actions button:hover {
    background-color: #005bb5;
}

.admin-actions button:active {
    background-color: #003f8c;
}

/* Admin Info Container */
.admin-info-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-info-container h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.info-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-form label {
    font-weight: bold;
    color: #555;
}

.info-form input[type="text"] {
    width: 100%;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.info-form button {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-form button:hover {
    background-color: #005bb5;
}

.info-form button:active {
    background-color: #003f8c;
}

/* Success and Error Messages */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 20px;
    text-align: center;
}

/* General Styling for File Browser Container */
.file-browser-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-browser-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Search Bar Styling */
.search-bar {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;
}

.search-bar input[type="text"] {
    width: 70%;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.search-bar button {
    padding: 2px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #005bb5;
}

.search-bar button:active {
    background-color: #003f8c;
}

/* File Browser Styling */
.file-browser {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-item {
    padding: 2px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.file-item:hover {
    background-color: #f0f0f0;
}

.file-item a {
    text-decoration: none;
    text-align: left;
    color: #333;
    font-weight: bold;
}

.file-item a:hover {
    text-decoration: underline;
}

/* No Files Message */
.no-files {
    text-align: center;
    color: #555;
    font-style: italic;
    padding: 20px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .file-browser-container {
        padding: 15px;
    }

    .search-bar input[type="text"] {
        width: 60%;
    }

    .file-item {
        font-size: 14px;
    }
}

/* File Browser Styling */
.file-browser-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-browser-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.search-bar {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.search-bar input {
    flex-grow: 1;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-bar button {
    padding: 2px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-item {
    /*display: flex;*/
    align-items: left;
    gap: 5px;
    padding: 2px;
    border-bottom: 1px solid #eee;
}

.file-item a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.file-item a:hover {
    text-decoration: underline;
}

.download-button {
    margin-top: 20px;
    padding: 2px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: 100%;
}

.download-button:hover {
    background-color: #218838;
}

@media screen and (max-width: 768px) {
    .invoices-columns {
        /*flex-direction: column;*/
        align-self: center;
        align-items: center;

        width: 100%;
    }
    
    .column {
        align-self: center;
        align-items: center;
        align-content: center;
        width: 90%;
        max-width: 100%;
    }

    .mobile-view .column:nth-child(2) { /* Hide right column */
        display: none;
    }
}

/* Multiplier Dropdown Container */
.multiplier-container {
    text-align: center;
    margin: 2px auto;
    padding: 2px;
    background: #f9f9f9;
    border: 4px solid black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 150px;
    font-size: 2px;
    font-weight: bold;
}

/* Dropdown Select Styling */
.multiplier-container select {
    width: 100%;
    padding: 2px;
    font-size: 2px;
    font-weight: bold;
    border: 3px solid black;
    border-radius: 5px;
    background: #fff;
    text-align: center;
    cursor: pointer;
}

/* Dropdown Hover & Focus */
.multiplier-container select:hover,
.multiplier-container select:focus {
    background: #eee;
    border-color: #000;
}

/* Ensure the Cotton Info Sections Are Below the Dropdown */
#cotton-info-section1, #cotton-info-section2 {
    text-align: center;
    font-size: 10px;
    border-radius: 2px;
    border: 4px solid black;
    background: #f9f9f9;
    padding: 0px;
    max-width: 570px;
    margin: 0px auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .multiplier-container {
        max-width: 50%;
        font-size: 2px;
    }
    
    .multiplier-container select {
        font-size: 2px;
    }

    #cotton-info-section1, #cotton-info-section2 {
        font-size: 8px;
        max-width: 90%;
    }
}

.cotton-container {
    display: flex;
    flex-direction: column; /* Stack elements on mobile */
    align-items: center;
    justify-content: center;
    gap: 0px; /* Space between elements */
    text-align: center;
    margin: 2px auto;
    width: 100%;
    max-width: 100%;
}

/* Style the dropdown */
.cotton-multiplier-container {
    text-align: center;
    background: #f9f9f9;
    border: 4px solid black;
    border-radius: 2px;
    padding: 2px;
    width: fit-content;
}

.cotton-multiplier-container label {
    font-weight: bold;
    margin-right: 0px;
    font-size: 16px;
}

.cotton-multiplier-container select {
    font-size: 16px;
    padding: 5px;
    border: 2px solid black;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.cotton-multiplier-container select:hover {
    background: #ddd;
}

/* Style the cotton price sections */
.cotton-info {
    text-align: center;
    background: #f9f9f9;
    border: 4px solid black;
    border-radius: 2px;
    padding: 0px;
    /*width: fit-content;*/
}

/* Desktop: Arrange all 3 elements in one row */
@media (min-width: 768px) {
    .cotton-container {
        flex-direction: row; /* Align elements in a row */
        justify-content: center;
    }

    .cotton-multiplier-container,
    .cotton-info {
        flex: 1; /* Make them take equal space */
        max-width: 300px; /* Prevent excessive stretching */
    }
    
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cotton-multiplier-container label {
        font-size: 12px;
    }
    
    .cotton-multiplier-container select {
        font-size: 12px;
    }
}