/* PathBuilder Contact Form Styles */
.pathbuilder-contact-form {
    max-width: 600px;
}

.pathbuilder-contact-form .form-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

.pathbuilder-contact-form .form-row input {
    flex: 1 !important;
    width: auto !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1.5px solid red;
}

.pathbuilder-contact-form input,
.pathbuilder-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: inherit;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1.5px solid red;
}

.pathbuilder-contact-form textarea {
    height: 120px;
    resize: vertical;
    width: 100% !important;
}

.pathbuilder-contact-form .submit-btn {
    color: #FFFDD0;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    background: linear-gradient(135deg, #EC212B, #8B0000);
}

.pathbuilder-contact-form .submit-btn:hover {
    background: linear-gradient(135deg, #EC212B, #8B0000);
}

.pathbuilder-contact-form .submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pathbuilder-contact-form .submit-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.form-message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading {
    display: none;
}

@media (max-width: 768px) {
    .pathbuilder-contact-form .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .pathbuilder-contact-form .form-row input {
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    .pathbuilder-contact-form {
        max-width: 100%;
        padding: 0 15px;
    }
}