.hihd-feedback-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #d8dde3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.hihd-feedback-wrap h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.hihd-feedback-intro {
    margin-top: 0;
    color: #4b5563;
}

.hihd-feedback-message {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
}

.hihd-feedback-message.is-success {
    background: #e8f7ee;
    border: 1px solid #9dd6b1;
}

.hihd-feedback-message.is-error {
    background: #fff0f0;
    border: 1px solid #e3a1a1;
}

.hihd-feedback-form p {
    margin: 0 0 18px;
}

.hihd-feedback-form label,
.hihd-feedback-form legend,
.hihd-rating-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.hihd-feedback-form label span {
    font-weight: 400;
    color: #6b7280;
}

.hihd-feedback-form input[type="text"],
.hihd-feedback-form input[type="email"],
.hihd-feedback-form select,
.hihd-feedback-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.hihd-feedback-form textarea {
    resize: vertical;
}

.hihd-grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hihd-feedback-form fieldset {
    margin: 4px 0 20px;
    padding: 16px;
    border: 1px solid #d8dde3;
    border-radius: 12px;
}

.hihd-rating-row {
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
}

.hihd-rating-row:last-child {
    border-bottom: 0;
}

.hihd-rating-options {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) repeat(5, auto) minmax(90px, 1fr);
    gap: 8px;
    align-items: center;
}

.hihd-rating-options span {
    color: #64748b;
    font-size: 14px;
}

.hihd-rating-options span:last-child {
    text-align: right;
}

.hihd-rating-options label {
    margin: 0;
    cursor: pointer;
}

.hihd-rating-options input {
    position: absolute;
    opacity: 0;
}

.hihd-rating-options strong {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
}

.hihd-rating-options input:checked + strong {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.hihd-submit-row {
    margin-top: 24px !important;
}

.hihd-submit-row button {
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.hihd-submit-row button:hover,
.hihd-submit-row button:focus {
    background: #374151;
}

@media (max-width: 720px) {
    .hihd-feedback-wrap {
        padding: 18px;
        border-radius: 12px;
    }

    .hihd-grid.two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hihd-rating-options {
        grid-template-columns: repeat(5, auto);
        justify-content: start;
    }

    .hihd-rating-options span {
        display: none;
    }
}
