/* General Body and Container Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 80%; /* Ensures the container is limited to 80% of the viewport width */
    margin: 0 auto; /* Centers the container horizontally */
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for depth */
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header img {
    width: 400px;
    margin-bottom: 20px;
}

header h1 {
    margin-top: 10px;
    font-size: 1.8rem;
    color: #333;
}

header p {
    font-size: 1rem;
    color: #555;
}

h1 {
    font-size: 2.5em;
    color: #333;
}

h2, h3 {
    color: #333;
    margin-bottom: 10px;
}

p {
    color: #555;
}

/* Job Details Styling */
.job-details {
    margin-bottom: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 4px solid #007BFF;
}

.job-details h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.job-details ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.job-details ul li {
    margin-bottom: 5px;
}

form {
    margin-top: 30px;
}

/* Fieldset and Form Group Styling */
fieldset {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin: 20px;
    background-color: #f9f9f9;
	width: 9	0%; /* Set to 100% for consistent full-width styling */
}

legend {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
}

.form-row {
    display: flex;
    align-items: flex-start; /* Keeps items aligned to the start (left) */
    justify-content: space-between;
    gap: 20px;
}

.form-group {
    width: 60%; /* Keeps this width as per your original styling */
    margin-bottom: 15px;
}

.form-group label {
    display: block; /* Makes the label block to stack it above the input */
    font-weight: bold;
    color: #333;
    margin-bottom: 5px; /* Adds space between label and input */
}

.form-group input,
.form-group textarea {
    width: 100%; /* Makes input take the full width of the container */
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.form-group input[type="date"] {
    padding: 7px;
    width: auto; /* Adjust width to fit content */
}

.form-group input[type="tel"] {
    width: 100%;
}

.form-group input[type="checkbox"] {
    width: auto;
	height: auto;
    margin-right: 10px; /* Space between the checkbox and label text */
    vertical-align: bottom; /* Aligns checkbox vertically with text */
    margin-top: 5px; /* Adds a little top margin to align with other elements */
}
/* Button Styling */
button[type="submit"] {
    padding: 12px 20px;
    font-size: 1.2em;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

/* Footer Styling */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9em;
    color: #777;
}

footer p {
    margin: 0;
}
