/* Custom User Registration Form Styles */

.custom-registration-wrapper {
    padding: 0;
}

.custom-registration-form {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #E5EEF2;
}

.registration-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid;
    display: block;
    font-size: 15px;
}

.registration-message.success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.registration-message.error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
    font-weight: normal;
}

.registration-message p {
    margin: 0;
    line-height: 1.6;
}

.registration-message strong {
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-field{
    margin: 0;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 7px;
    color: #122026;
    font-family: "Roboto", Sans-serif;
}

.form-field .required {
    color: #dc3545;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #D6E2E7;
    border-radius: 8px;
    font-size: 16px;
    line-height: 18px;
    font-family: "Roboto", Sans-serif;
    font-weight: 400;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #0f4c5c;
}

.form-field textarea {
    resize: vertical;
    font-family: inherit;
}

.form-field button[type="submit"] {
    width: 100%;
    padding: 8px 15px;
    background-color: #0f4c5c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-size: 1.1111111111111rem;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background-color 0.3s;
    border: 1px solid #0f4c5c;
}

.form-field button[type="submit"]:hover {
    background-color: #fff;
    color: #0f4c5c;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.login-link a {
    color: #0f4c5c;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Debug Email Preview */
.debug-email-preview {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 2px dashed #0f4c5c;
    border-radius: 8px;
}

.debug-email-preview::before {
    content: "📧 EMAIL PREVIEW (Debug Mode)";
    display: block;
    font-weight: bold;
    color: #0f4c5c;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Turnstile CAPTCHA Field */
.turnstile-field {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.turnstile-field .cf-turnstile {
    width: 300px;
    height: 65px;
}

/* Responsive */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .custom-registration-form {
        padding: 20px;
    }
}

