.register-page .user-registration-form-row,
#registerform p {
    margin-bottom: 20px;
}

#registerform label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

#registerform .input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#registerform select.input {
    height: 40px;
}

#registerform input[type="date"].input {
    height: 40px;
}

#registerform .anniversary-date {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Error messages */
#registerform .error {
    color: #dc3232;
    font-size: 13px;
    margin-top: 5px;
}

/* Required field indicator */
#registerform label::after {
    content: " *";
    color: #dc3232;
}

.login-page,
.register-page {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.login-page form,
.register-page form {
    margin-bottom: 20px;
}

.login-page .error-message {
    background: #dc3232;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.login-page label,
.register-page label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.login-page .input,
.register-page .input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-page select.input,
.register-page select.input {
    height: 40px;
}

.login-page input[type="date"].input,
.register-page input[type="date"].input {
    height: 40px;
}

.login-page .forgetmenot {
    float: left;
    margin-bottom: 20px;
}

.login-page .forgetmenot label {
    display: inline;
    margin-left: 5px;
}

.login-page .submit,
.register-page .submit {
    clear: both;
    padding-top: 20px;
}

.login-page .button,
.register-page .button {
    width: 100%;
    padding: 10px;
    height: auto;
    font-size: 15px;
}

.login-page .register-link {
    text-align: center;
    margin: 10px 0;
}

/* Required field indicator */
.login-page label::after,
.register-page label::after {
    content: " *";
    color: #dc3232;
}

.login-page .forgetmenot label::after {
    content: "";
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background-color: #f9f9f9;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #2271b1;
    background-color: #f0f6fc;
}

.gender-field,
.marital-status-field,
.dob-field {
    margin-bottom: 20px;
}

.gender-field label,
.marital-status-field label,
.dob-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Required field indicator */
.gender-field > label::after,
.marital-status-field > label::after,
.dob-field label::after {
    content: " *";
    color: #dc3232;
}

/* Animation for anniversary date field */
.anniversary-date {
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Mobile responsiveness */
@media screen and (max-width: 480px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-label {
        width: 100%;
    }
}

/* Password Requirements Styling */
.password-requirements {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.password-requirements ul {
    list-style: none;
    margin: 5px 0;
    padding: 0;
}

.password-requirements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 3px;
    line-height: 1.4;
}

.password-requirements li:before {
    content: "×";
    position: absolute;
    left: 0;
    color: #dc3232;
    font-weight: bold;
}

.password-requirements li.met:before {
    content: "✓";
    color: #46b450;
}

/* Password Match Message */
.password-match-message {
    display: none;
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
}

/* Phone number field */
.description {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

#phone_number {
    font-family: monospace;
    letter-spacing: 1px;
}

/* Error and Success Messages */
.error-messages {
    background-color: #fce4e4;
    border: 1px solid #fcc2c3;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-messages .error {
    color: #cc0033;
    margin: 5px 0;
    font-size: 14px;
}

.registration-success {
    background-color: #e7f6e7;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.registration-success a {
    color: #155724;
    text-decoration: underline;
}

.registration-success a:hover {
    text-decoration: none;
}

/* Password Field Styling */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field .input {
    flex: 1;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
}

.toggle-password:hover {
    color: #333;
}

.toggle-password:focus {
    outline: none;
    color: #0073aa;
}

.toggle-password .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
} 