/* Forms and Messages */
.form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #1b4680;
    box-shadow: 0 0 0 2px rgba(27, 70, 128, 0.2);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.form-footer a {
    color: #1b4680;
    text-decoration: none;
    font-weight: 600;
}

.message-area {
    margin-bottom: 20px;
}

.success-message {
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.error-message {
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Ensure the input is visible to clicks but hidden from view */
.radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1; /* Make sure it's on top of the custom span */
}

/* Update the custom span styling based on the checked state */
.radio-item input[type="radio"]:checked + .checkbox-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
