/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
}

.form-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two equal columns */
    grid-gap: 20px; /* Space between columns */
}

.form-group {
    margin-bottom: 15px;
}
.form-group.extra50left {
    width: 48%;
    float: left;
    margin-right: 30px;
}
.form-group.extra50right {
    width: 48%;
    float: left;
}

label {
    font-size: 16px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

input[type="text"], input[type="date"], input[type="email"], select, textarea, input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #44279b;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
    resize: none;
}

input[type="file"] {
    border: none;
}

button.submit-btn {
    width: 20%;
    padding: 12px;
    font-size: 18px;
    background-color: #44279b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.submit-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Stacks the form fields in one column */
    }
}
