/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* Form Container */
.container {
    width: 90%;
    max-width: 850px;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Title */
h2 {
    text-align: center;
    color: #003366;
    font-size: 22px;
    font-weight: 700;
}

/* Fieldset */
fieldset {
    border: 1px solid #cccccc;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    background: #ffffff;
}

/* Fieldset Legend */
legend {
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    padding: 0 10px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
}

/* Labels */
label {
    font-weight: 600;
    color: #444;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="file"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s ease-in-out;
}

/* Dropdown Style */
select {
    background: #ffffff;
    cursor: pointer;
}

/* Submit Button */
input[type="submit"] {
    background: #003366;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

input[type="submit"]:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
