#primerica-registration-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#primerica-registration-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Form row for 2-column layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px; /* Negative margin to offset column padding */
    margin-bottom: 15px;
    clear: both;
}

/* Standard form field - default to 50% width (2 columns) */
.form-field {
    flex: 0 0 calc(50% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
    position: relative;
}

/* Full-width form fields (for address fields) */
.form-field.full-width {
    flex: 0 0 calc(100% - 20px);
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.2);
}

/* Required field indication */
.form-field.required label:after {
    content: " *";
    color: #e53935;
}

/* Submit button styling */
.submit-row {
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

#submit-registration {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
}

#submit-registration:hover {
    background-color: #005177;
}

/* Message styling */
#registration-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

#registration-message.success {
    background-color: #dff0d8;
    border-left: 5px solid #5cb85c;
    color: #3c763d;
}

#registration-message.error {
    background-color: #f2dede;
    border-left: 5px solid #d9534f;
    color: #a94442;
}

/* Responsive styling */
@media (max-width: 600px) {
    .form-field {
        flex: 0 0 calc(100% - 20px);
    }
}