.hwlf-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.hwlf-form {
    display: grid;
    gap: 20px;
    width: 100%;
}

.hwlf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hwlf-field label,
.hwlf-consent label {
    font-size: 14px;
    line-height: 1.5;
}

.hwlf-field input,
.hwlf-field select,
.hwlf-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #181715;
    font-size: 15px;
    line-height: 1.5;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.hwlf-field input:focus,
.hwlf-field select:focus,
.hwlf-field textarea:focus {
    outline: none;
    border-color: #181715;
    box-shadow: 0 0 0 2px rgba(24, 23, 21, 0.08);
}

.hwlf-field textarea {
    min-height: 140px;
    resize: vertical;
}

.hwlf-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 4px;
    background: #181715;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.hwlf-submit:hover:not(:disabled) {
    opacity: 0.9;
}

.hwlf-submit:active:not(:disabled) {
    transform: translateY(1px);
}

.hwlf-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hwlf-submit-loading {
    display: none;
}

.hwlf-message {
    display: none;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.hwlf-message-success {
    background: #f0f7f2;
    border: 1px solid #b8d8bf;
    color: #24552d;
}

.hwlf-message-error {
    background: #faf1f1;
    border: 1px solid #e0b9b9;
    color: #7a2424;
}

.hwlf-consent {
    font-size: 13px;
    line-height: 1.5;
}

.hwlf-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.hwlf-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.hwlf-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {

    .hwlf-form {
        gap: 16px;
    }

    .hwlf-field input,
    .hwlf-field select,
    .hwlf-field textarea {
        padding: 13px 14px;
    }

    .hwlf-submit {
        min-height: 50px;
    }
}
