/* General body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form container styling */
form {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    border-left: 5px solid #3C3B6E; /* Dark blue */
    border-right: 5px solid #B22234; /* Red */
}

/* Header Banner */
.header-banner {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}

.header-banner img {
    width: 100%;
    border-radius: 12px 12px 0 0;
}

/* Label styling */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

/* Input and textarea styling */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #3C3B6E;
    outline: none;
}

/* Two-column row styling */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-row div {
    width: 48%;
}

/* Button styling */
button {
    width: 100%;
    padding: 14px;
    background-color: #B22234;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8B1A1A;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-row div {
        width: 100%;
    }
}

/* Modern heading styling */
h2 {
    text-align: center;
    color: #3C3B6E;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

/* File input styling */
input[type="file"] {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Textarea styling */
textarea {
    resize: vertical;
}
