/* Variables for theme colors - Modern Lime Material */
:root {
    --primary-color: #8BC34A; /* Vibrant Lime Green */
    --secondary-color: #689F38; /* Darker Lime Green */
    --light-color: #DCEDC8; /* Very Pale Lime Green */
    --dark-text: #212121; /* Dark Grey */
    --light-text: #FFFFFF; /* White */
    --border-color: #BDBDBD; /* Light Grey */
    --accent-color: #CDDC39; /* Lighter Lime Accent */
    --danger-color: #F44336; /* Material Red */
    --success-color: #4CAF50; /* Material Green */
    --info-color: #2196F3; /* Material Blue */
    --warning-color: #FFC107; /* Material Amber */
}
body {
    /* Use a system font stack for a native feel */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #F1F8E9; /* Very light lime background */
    margin: 0;
    transition: background-color 0.3s ease; /* Subtle background transition */
}
.container {
    margin-top: 0px;
    margin-bottom: 0px;
}
/* Navigation Bar */
.navbar {
    background-color: var(--primary-color) !important; /* Use primary lime for navbar */
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.navbar-brand {
    color: var(--light-text) !important;
    font-weight: bold;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link {
    color: var(--light-text) !important; /* Changed color to white */
    margin-left: 15px;
    transition: color 0.3s ease;
    font-weight: 600; /* Added font weight */
}
.navbar-nav .nav-link:hover {
    color: var(--light-text) !important; /* White on hover */
}
/* Cards */
.card {
    border: none; /* Remove default border */
    border-radius: 8px; /* Slightly less rounded */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Standard material shadow */
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transitions */
}
.card:hover {
    transform: translateY(-3px); /* Lift card slightly on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.card-title {
    color: var(--secondary-color); /* Darker lime for titles */
    font-size: 1.25rem;
    margin-bottom: 15px;
}
/* Buttons */
.btn-primary {
    background-color: var(--primary-color); /* Primary lime */
    border-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 4px; /* Material design standard */
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Add transitions */
    text-transform: uppercase; /* Material button style */
}

.btn-primary:hover {
    background-color: var(--secondary-color); /* Darker lime on hover */
    border-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: var(--success-color); /* Material green */
    border-color: var(--success-color);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.btn-danger {
    background-color: var(--danger-color); /* Material red */
    border-color: var(--danger-color);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.btn-info {
    background-color: var(--info-color); /* Material blue */
    border-color: var(--info-color);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.btn-secondary {
    background-color: var(--border-color); /* Light grey */
    border-color: var(--border-color);
    color: var(--dark-text);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: #9E9E9E; /* Slightly darker grey */
    border-color: #9E9E9E;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Add hover effects for other buttons */
.btn-success:hover {
    background-color: #388E3C;
    border-color: #388E3C;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-danger:hover {
    background-color: #D32F2F;
    border-color: #D32F2F;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-info:hover {
    background-color: #1976D2;
    border-color: #1976D2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Tables */
.table {
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%; /* Make tables responsive */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for tables */
}

.table th, .table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color); /* Only bottom border */
    text-align: left;
}

.table th {
    background-color: var(--light-color); /* Pale lime for headers */
    color: var(--dark-text);
    font-weight: 600;
    border-top: 1px solid var(--border-color); /* Top border for header */
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F9FBE7; /* Very light lime for stripes */
}

/* Forms */
.form-label {
    font-weight: bold;
    color: #032D60 !important;
    margin-bottom: 5px;
}

label {
    color: #032D60 !important;
}

strong {
    color: #032D60 !important;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Material design standard */
    padding: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color); /* Primary lime focus */
    box-shadow: 0 0 0 0.2rem rgba(139, 195, 74, 0.25); /* Lime focus ring */
}

.invalid-feedback {
    color: var(--danger-color); /* Material red for errors */
    font-size: 0.875em; /* Smaller text for feedback */
    margin-top: 0.25rem;
}

/* Responsive Adjustments (Basic) */
/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .card {
        margin-bottom: 15px;
    }
    .table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
    }
    .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .table tr { border: 1px solid var(--border-color); margin-bottom: 5px; }
    .table td {
        border: none;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label); /* Use data-label for column headers */
        font-weight: bold;
        text-align: left;
    }
}



/* Add your custom CSS here */

/* Specific styles for signup form */
.signup-page .card {
    border-radius: 12px; /* More rounded corners for a modern feel */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Softer, larger shadow */
}

.signup-page .card-body {
    padding: 30px; /* More internal padding */
}

.signup-page .card-title {
    font-size: 2rem; /* Even larger title */
    font-weight: 700; /* Bolder font weight */
    color: var(--primary-color); /* Use primary color for title */
    margin-bottom: 30px; /* More space below title */
    text-align: center; /* Center the title */
    text-transform: uppercase; /* Uppercase for emphasis */
    letter-spacing: 1.5px; /* Add some letter spacing */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

.signup-page .card-body form {
    padding: 0; /* Remove padding from the form element itself */
}

.signup-page .mb-3 {
    margin-bottom: 25px; /* Increase space between form groups */
}

.signup-page .form-label {
    font-weight: 500; /* Slightly less bold */
    color: var(--dark-text);
    margin-bottom: 8px; /* More space below label */
    display: block; /* Ensure label is on its own line */
}

.signup-page .form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px; /* Slightly more rounded inputs */
    padding: 12px 15px; /* More padding inside inputs */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle inner shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem; /* Standard font size */
    line-height: 1.5;
}
.signup-page .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.3); /* Slightly larger, more transparent focus ring */
    outline: none; /* Remove default outline */
}

.signup-page .form-control::placeholder {
    color: #B0BEC5; /* Lighter placeholder text */
    opacity: 1; /* Ensure placeholder is visible */
}


.signup-page .form-control:hover {
    border-color: var(--secondary-color); /* Darker lime on hover */
}


/* Enhance button style slightly */
.signup-page .btn-primary {
    padding: 14px 30px; /* Larger padding */
    font-size: 1.15rem; /* Slightly larger font */
    font-weight: 600; /* Bolder text */
    border-radius: 6px; /* Match input border-radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
}

.signup-page .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Larger shadow on hover */
    transform: translateY(-1px); /* Slight lift on hover */
}

.signup-page .btn-primary:active {
    transform: translateY(0); /* Press down effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.signup-page .text-center a {
    color: var(--secondary-color); /* Use secondary color for links */
    font-weight: 500;
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.signup-page .text-center a:hover {
    color: var(--primary-color); /* Primary color on hover */
    text-decoration: underline; /* Add underline on hover */
}


/* Specific styles for admin requirements page */
.admin-requirements-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for login form */
.login-page .card {
    border-radius: 12px; /* More rounded corners for a modern feel */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Softer, larger shadow */
}

.login-page .card-body {
    padding: 30px; /* More internal padding */
}

.login-page .card-title {
    font-size: 2rem; /* Even larger title */
    font-weight: 700; /* Bolder font weight */
    color: var(--primary-color); /* Use primary color for title */
    margin-bottom: 30px; /* More space below title */
    text-align: center; /* Center the title */
    text-transform: uppercase; /* Uppercase for emphasis */
    letter-spacing: 1.5px; /* Add some letter spacing */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

.login-page .card-body form {
    padding: 0; /* Remove padding from the form element itself */
}

.login-page .mb-3 {
    margin-bottom: 25px; /* Increase space between form groups */
}

.login-page .form-label {
    font-weight: 500; /* Slightly less bold */
    color: var(--dark-text);
    margin-bottom: 8px; /* More space below label */
    display: block; /* Ensure label is on its own line */
}

.login-page .form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px; /* Slightly more rounded inputs */
    padding: 12px 15px; /* More padding inside inputs */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle inner shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem; /* Standard font size */
    line-height: 1.5;
}

.login-page .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.3); /* Slightly larger, more transparent focus ring */
    outline: none; /* Remove default outline */
}

.login-page .form-control::placeholder {
    color: #B0BEC5; /* Lighter placeholder text */
    opacity: 1; /* Ensure placeholder is visible */
}


.login-page .form-control:hover {
    border-color: var(--secondary-color); /* Darker lime on hover */
}


/* Enhance button style slightly */
.login-page .btn-primary {
    padding: 14px 30px; /* Larger padding */
    font-size: 1.15rem; /* Slightly larger font */
    font-weight: 600; /* Bolder text */
    border-radius: 6px; /* Match input border-radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
}

.login-page .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Larger shadow on hover */
    transform: translateY(-1px); /* Slight lift on hover */
}

.login-page .btn-primary:active {
    transform: translateY(0); /* Press down effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-page .text-center a {
    color: var(--secondary-color); /* Use secondary color for links */
    font-weight: 500;
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.login-page .text-center a:hover {
    color: var(--primary-color); /* Primary color on hover */
    text-decoration: underline; /* Add underline on hover */
}

/* Specific styles for admin admins page */
.admin-admins-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin vendors page */
.admin-vendors-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin view requirement page */
.admin-view-requirement-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin view vendor page */
.admin-view-vendor-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin view vendor bids page */
.admin-view-vendor-bids-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin edit admin page */
.admin-edit-admin-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for vendor view my bid page */
.vendor-view-my-bid-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for vendor edit bid page */
.vendor-edit-bid-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin issue requirement page */
.admin-issue-requirement-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

/* Specific styles for admin list bids page */
.admin-list-bids-page body {
}

/* Specific styles for admin view products page */
.admin-view-products-page body {
    padding-top: 75px; /* Adjust padding-top to match fixed navbar height */
}

.dashboard-username {
    display: inline-block; /* Make it a block element to apply padding/border */
    background-color: var(--accent-color); /* Lighter lime background for the box */
    color: var(--dark-text); /* Dark text color */
    font-size: 1.1em; /* Reverted font size */
    font-weight: bold;
    padding: 5px 10px; /* Padding inside the box */
    border-radius: 4px; /* Rounded corners for the box */
    margin-left: 10px; /* Add some space after "Welcome," */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for the box */
}

/* Footer styles */
.footer {
    background-color: var(--light-color); /* Pale lime background */
    color: var(--dark-text); /* Dark text */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}
.action-btn {
    width: 100px; /* Adjust width as needed */
    text-align: center; /* Center the text in the buttons */
    margin-top: 5px; /* Add margin to the top */
}

.action-icon-btn {
    width: 38px; /* Adjust width to be square */
    height: 38px; /* Match height to standard button height */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    padding: 0; /* Remove padding */
}

.action-btn-fixed {
    display: inline-block;
    width: 110px; /* Adjust width as needed to fit "View Details" */
    height: 38px; /* Standard Bootstrap button height */
    text-align: center;
    padding: 0; /* Remove default padding */
    line-height: 38px; /* Vertically center text */
    margin-right: 5px; /* Add right margin for spacing */
    margin-top: 5px; /* Add top margin for spacing */
}

.equal-btn {
    display: inline-block;
    width: 80px; /* Adjust as needed */
    height: 38px; /* Adjust as needed to match button height */
    text-align: center;
    padding: 0; /* Remove default padding to control size better */
    line-height: 38px; /* Vertically center text */
}

.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Ensure it's above other content */
}

.floating-icon {
    display: block;
    margin-bottom: 10px; /* Space between icons */
    width: 50px; /* Size of the icon background */
    height: 38px; /* Adjust as needed to match button height */
    text-align: center;
    padding: 0; /* Remove default padding to control size better */
    line-height: 38px; /* Vertically center text */
}

.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Ensure it's above other content */
}

.floating-icon {
    display: block;
    margin-bottom: 10px; /* Space between icons */
    width: 50px; /* Size of the icon background */
    height: 50px;
    text-align: center;
    line-height: 50px; /* Vertically center the icon */
    color: white;
    border-radius: 50%; /* Make it round */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.floating-icon:hover {
    opacity: 0.8;
}

.call-icon {
    background-color: #28a745; /* Green color for call */
}

.email-icon {
    background-color: #007bff; /* Blue color for email */
}

.page-title {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color)); /* Subtle gradient */
    color: var(--light-text); /* White text */
    padding: 18px 25px; /* Increased padding */
    border-radius: 6px; /* Slightly less rounded corners */
    margin-bottom: 25px; /* More space below the title */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* More pronounced shadow */
    display: block; /* Make it a block element */
    width: 100%; /* Make it span the width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    text-align: center; /* Center the text */
    font-size: 2rem; /* Larger font size */
    font-weight: bold; /* Bold text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}
