/* Ensure body and html take full width and height */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

body {
    background: url('/static/images/background1.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

/* Ensure the navbar is responsive */
.navbar {
    box-sizing: border-box;
    width: 100%;
}

/* Ensure the content area does not overflow */
.content {
    padding: 20px;
    box-sizing: border-box;
}

/* Ensure the form container centers its content */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Adjust as needed */
}

/* Style the form box */
.form-box {
    width: 100%;
    max-width: 500px; /* Adjust the maximum width as needed */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space between elements */
}

/* Ensure the form layout is flexible */
form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between elements */
}

/* Style each form group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between label and input */
}

/* Uniform styles for labels */
label {
    font-weight: bold; /* Makes the label text bold */
    font-size: 16px; /* Consistent font size for labels */
    color: #333; /* Darker color for better contrast */
}

/* Ensure uniform dimensions for all input fields */
input[type="file"],
input[type="number"],
input[type="text"],
select {
    width: 100%; /* Full width of the parent container */
    height: 40px; /* Same height for all input fields */
    padding: 8px;
    font-size: 14px; /* Uniform font size */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    appearance: none; /* Reset browser-specific styles */
    -webkit-appearance: none; /* For WebKit-based browsers */
}

/* Additional styling for file input */
input[type="file"] {
    padding: 4px; /* Adjust padding for better alignment */
    line-height: 28px; /* Match line height with others */
}

/* Style the submit button container */
.form-submit {
    display: flex;
    justify-content: center; /* Center the button */
}

/* Style the submit button */
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    max-width: 200px; /* Adjust as needed */
    font-size: 16px; /* Consistent button font size */
}

button:hover {
    background-color: #575757;
}

