/* Registration Forms Styles */
.registration-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registration-form-container h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.registration-form-container h3 {
    color: #555;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.custom-registration-form .form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 6px;
}

.custom-registration-form .form-group {
    margin-bottom: 1rem;
}

.custom-registration-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.custom-registration-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.custom-registration-form input,
.custom-registration-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.custom-registration-form input:focus,
.custom-registration-form textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.custom-registration-form textarea {
    resize: vertical;
    min-height: 100px;
}

.custom-registration-form button {
    width: 100%;
    padding: 1rem;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.custom-registration-form button:hover {
    background-color: #005a87;
}

/* Required field indicator */
.custom-registration-form label[for*="required"]::after,
.custom-registration-form label[for*="*"]::after {
    content: " *";
    color: #dc3232;
}

/* Success and Error Messages */
.registration-success,
.registration-error {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 4px;
}

.registration-success {
    background-color: #f0f9eb;
    color: #67c23a;
    border: 1px solid #c2e7b0;
}

.registration-error {
    background-color: #fef0f0;
    color: #dc3232;
    border: 1px solid #fde2e2;
}

.registration-error p,
.registration-success p {
    margin: 0;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-form-container {
        margin: 1rem;
        padding: 1rem;
    }

    .custom-registration-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Password Strength Indicator (optional) */
.password-strength-meter {
    height: 4px;
    background-color: #eee;
    margin-top: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength-meter.weak {
    background-color: #dc3232;
    width: 25%;
}

.password-strength-meter.medium {
    background-color: #ffb900;
    width: 50%;
}

.password-strength-meter.strong {
    background-color: #46b450;
    width: 100%;
}