body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f7f7f7;
}
.container {
    width: 40%;
    min-width: 500px;
    max-width: 600px; /* Set a max-width to prevent the form from being too wide on large screens */
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: auto;
}
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
select {
    width: calc(100%); /* Calculate width, accounting for padding and border */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}
textarea {
    width: calc(100% - 22px); /* Calculate width, accounting for padding and border */
    height: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}
.radio-group {
    margin-bottom: 10px;
}
.radio-label {
    margin-right: 20px; /* Add some space between the radio buttons and labels */
}
.radio-label, .radio-group label {
    font-size: 14px; /* Adjust the font size as needed */
    font-weight: 400;
}
.radio-label, .radio-group p {
    font-size: 14px; /* Adjust the font size as needed */
    font-weight: 600;
}
input[type="radio"] {
    margin-top: -1px; /* Aligns radio with the text baseline */
    margin-right: 5px;
}
.submit-btn {
    padding: 12px 20px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
}
.submit-btn:hover {
    background-color: #003d82;
}
/* New styles for radio button alignment and grouping */
.radio-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin: 5px 0; /* Adds margin to top and bottom for each radio button */
}

.radio-group input[type="radio"] {
    margin-right: 10px; /* Space out the radio button from the label text */
}

/* Additional styling for the container to center it vertically and horizontally */
.container {
    position: relative;
    top: -50px; /* Adjusts the position slightly up */
}

/* Notification message styling */
.notification {
    color: #155724; /* Dark green text color for success */
    background-color: #d4edda; /* Light green background color for success */
    border-color: #c3e6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    position: fixed; /* Fixed at the top */
    top: 10px; /* 10px from the top */
    left: 50%;
    transform: translateX(-50%); /* Center it horizontally */
    z-index: 9999; /* Make sure it's on top of other elements */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
    width: auto; /* Auto-width to fit the content */
    max-width: 80%; /* Maximum width */
}

.notification.error {
    color: #721c24; /* Dark red text color for error */
    background-color: #f8d7da; /* Light red background color for error */
    border-color: #f5c6cb;
}

/* Optional: Add animation for the notification to slide down */
@keyframes slideDown {
    from {
        top: -50px;
    }
    to {
        top: 10px;
    }
}

.notification {
    animation: slideDown 0.5s ease forwards;
}

/* Close button for the notification */
.notification .close {
    float: right;
    font-size: 1.5rem;
    line-height: 1;
    color: #000;
    text-shadow: none;
    opacity: 0.5;
    border: none;
    background: transparent;
    cursor: pointer;
}

.notification .close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}
