body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px 0; /* Add padding for better spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

#logo {
    display: block;
    margin: 20px auto;
    max-width: 300px;
    height: auto;
}

h1 {
    color: #2c5188;
    margin-top: 10px; /* Increased margin to push the form down a bit */
    text-align: center;
}

h4, h2{
    color: #25b93d;
    text-align: center;
}


.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><text x="200" y="200" dominant-baseline="middle" text-anchor="middle" font-size="20" fill="rgba(0, 0, 0, 0.15)" font-family="Arial, sans-serif" transform="rotate(-45, 200, 200)">Buffalo Biodiesel Inc.</text></svg>');
    background-repeat: repeat;
    background-size: 350px 350px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 5;
}

.container {
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left; /* Align text to the left */
}

.containerCS {
    width: 90%;
    max-width: flex;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left; /* Align text to the left */
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.form-group label {
    margin-right: 10px;
    font-weight: bold;
    flex-basis: 26%; /* Adjusted for tighter fit in the form */
    text-align: right;
    display: inline-block; 
}

.form-group input, .form-group select, .form-group textarea {
    flex-grow: 1;
    flex-basis: 65%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* General button styles applied to all form buttons */
.form-group button {
    width: auto; /* Change this to a fixed width if necessary or adjust as below */
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: block; 
    margin: 10px auto; 
    background-color: #25b93d; 
}

/* Specific styles for the 'Submit' button to ensure it matches others in size */
#submit-btn, #search-btn { 
    flex: 1; 
    margin: 0 5px; 
    background-color: #25b93d;
}

/* Hover effects for all buttons, adjust as needed */
.form-group button:hover {
    background-color: #25b93d;
    box-shadow: 0 2px 8px rgba(6, 241, 6, 0.4);
}

.container-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.container-group .form-group {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-group .form-group input, 
.container-group .form-group select {
    flex-basis: 26%;
}

.container-group .button-group {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
}

.container-group .button-group button {
    margin-right: 10px;
}

.remove-btn {
    background-color: #dc3545;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.remove-btn:hover {
    background-color: #c82333;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.add-btn {
    background-color: #4CAF50;  /* Green background */
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;  /* White text */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 128, 0, 0.3);  /* Darker green shadow */
}

.add-btn:hover {
    background-color: #45a049;  /* Slightly darker green on hover */
    box-shadow: 0 2px 8px rgba(0, 128, 0, 0.4);  /* Even darker green shadow for 3D effect */
}

.button-group {
    display: flex;
    justify-content: space-between; /* This will place one button on the left and the other on the right */
    width: 100%;
    margin-top: 10px;
}

.add-btn, .remove-btn {
    flex: 1; 
    margin: 0 5px; 
}

.centered-button {
    display: block; 
    width: 50%; 
    margin: 0 auto; 
}


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

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f8f8f8;
    text-align: left;
}

@media (max-width: 600px) {
    table th, table td {
        padding: 8px;
    }
}


/*Success Page*/
.success-message {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: center;
}

.success-message h1 {
    color: #4CAF50;
}

.success-message p {
    font-size: 18px;
    color: #333;
}

.success-message a {
    text-decoration: none;
    color: #0d6efd;
    font-weight: bold;
}


/* Styles for the Theft Form link */
#theftLink {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
}

#theftLink a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

#theftLink a:hover {
    background-color: #0056b3;
}

/* Styles for the submission status */
.theft-status {
    font-size: 14px;
    color: green;
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 20px;
    text-align: left;
}

/* prechecklist styles */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two columns of equal width */
    gap: 10px; /* Adds space between the columns */
}


/* Dashboard Styling */
.form-links {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
    list-style: none;
    padding: 0;
}

.form-links li {
    margin-bottom: 10px; 
}

ul.form-links a {
    text-decoration: none;
    text-align: center;
    color: #007bff;
    font-weight: bold;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    display: inline-block;  /* Ensure links stay in a single line */
    height: 30px;
    width: 85%;
}

ul.form-links a:hover {
    background-color: #0056b3;
}

/* Styles for the theft link section */
.theft-link {
    margin-top: 20px;
    text-align: right;
}

.theft-link a {
    text-decoration: none;
    color: #ff5733;
    font-weight: bold;
    padding: 10px 15px;
    background-color: #ffcccc;
    color: black;
    border-radius: 4px;
    display: inline-block;  /* Ensure the link stays inline */
}

.theft-link a:hover {
    background-color: #ff9999;
}

/* Styles for the quote section */
.quote {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
    font-style: italic;
    text-align: center;
    color: #555;
}

.quote p {
    margin: 0;
    font-size: 18px;
}




/* Add this CSS to style alternate rows */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Style table header */
table th {
    background-color: #f2f2f2; /* Grey background */
    color: #333; /* Black text */
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Style table rows */
table tr:nth-child(even) {
    background-color: #f9f9f9; /* White background for even rows */
}

table tr:nth-child(odd) {
    background-color: #e9e9e9; /* Grey background for odd rows */
}

/* Style table cells */
table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}
