/* Base Styling for Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    color: #333;
}

/* Styling the container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Header Styling */
h2 {
    font-size: 28px;
    font-weight: bold;
    color: #5a5a5a;
}

/* Styling the form fields */
form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Fieldset Styling */
fieldset {
    border: 2px solid #dcdcdc;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Legend Styling */
legend {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Input and Select Fields */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Input and Select Fields on Focus */
input:focus,
textarea:focus,
select:focus {
    border-color: #0069d9;
    outline: none;
}

/* Button Styling */
button[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Success and Error Messages */
.success-message {
    color: #28a745;
    font-weight: bold;
    margin-top: 15px;
}

.error-message {
    color: #dc3545;
    font-weight: bold;
    margin-top: 15px;
}

/* Styling for Remarks Textarea */
textarea {
    height: 150px;
    resize: vertical;
}

/* Form Group Spacing */
.form-group {
    margin-bottom: 1.5rem;
}

/* Additional Spacing for Better Layout */
.mb-4 {
    margin-bottom: 30px;
}

.mt-5 {
    margin-top: 50px;
}

