.hf-contact-form-wrap {
    max-width: 100%;
}

.hf-contact-form .hf-field {
    margin: 0 0 16px;
}

.hf-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(0, 0, 0, 0.85);
}

.hf-contact-form .required {
    color: #d63637;
}

.hf-contact-form input[type="text"],
.hf-contact-form input[type="email"],
.hf-contact-form select,
.hf-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.7);
}

.hf-contact-form input:focus,
.hf-contact-form select:focus,
.hf-contact-form textarea:focus {
    outline: none;
    border-color: #f7941d;
    box-shadow: 0 0 0 2px rgba(247, 148, 29, 0.25);
}

.hf-contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 36px 0 12px;
    height: 44px;
    line-height: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.hf-contact-form textarea {
    resize: vertical;
}

.hf-field-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hf-submit-btn {
    display: inline-block;
    background-color: #f7941d;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hf-submit-btn:hover {
    background-color: #e0691f;
}

.hf-error-list {
    background-color: #fdecea;
    border: 1px solid #d63637;
    border-radius: 6px;
    color: #d63637;
    padding: 12px 20px;
    margin: 0 0 16px;
}

.hf-contact-form-success {
    background-color: #eafaf1;
    border: 1px solid #1b2a4a;
    border-radius: 6px;
    padding: 20px;
    color: #1b2a4a;
}

.hf-contact-form-success p {
    margin: 0;
}
