/**
 * Feedback Form Block Styles
 *
 * @package Vision_Hall
 */

.vh-feedback-form {
    width: 100%;
    padding: 60px 20px 80px;
    background: #F2EEE5;
    color: #0D0D0D;
}

.vh-feedback-form__inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.vh-feedback-form__steps-header {
    max-width: 672px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 100px;
    border-bottom: 2px solid #AEACA74D;
}

.vh-feedback-form.is-thank-you .vh-feedback-form__steps-header {
    display: none;
}

.vh-feedback-form__step-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1.5;
    color: #0D0D0D;
    opacity: .3;
    position: relative;
    cursor: default;
}

.vh-feedback-form__step-nav .roman {
    font-family: 'Panama', serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
}

.vh-feedback-form__step-nav.is-active {
    opacity: 1;
}

.vh-feedback-form__step-nav.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #0D0D0D;
}

.vh-feedback-form__intro-title,
.vh-feedback-form__step-title,
.vh-feedback-form__thank-you-title {
    font-family: 'Panama', serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 44px;
    line-height: 90%;
    margin-bottom: 40px;
}

.vh-feedback-form__intro-text,
.vh-feedback-form__step-subtitle,
.vh-feedback-form__thank-you-text {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto 40px;
}

.vh-feedback-form__intro-title {
    margin-bottom: 20px;
}

.vh-feedback-form__intro-text {
    max-width: 400px;
}

.vh-feedback-form__card {
    background: #fff;
    padding: 40px 32px;
    border: 1px solid rgba(13, 13, 13, 0.1);
}

.vh-feedback-form__field {
    margin-bottom: 32px;
}

.vh-feedback-form__field label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.vh-feedback-form__step[data-step="1"] .vh-feedback-form__field label {
    text-transform: uppercase;
}

/* .vh-feedback-form__step[data-step="1"] .vh-feedback-form__field label {
    margin-bottom: 0;
} */

.vh-feedback-form__field--rating label,
.vh-feedback-form__field--options > label {
    margin-bottom: 20px;
}

.vh-feedback-form__field input[type="text"],
.vh-feedback-form__field input[type="date"],
.vh-feedback-form__field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #0D0D0D;
    padding: 6px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    background: transparent;
    color: #0D0D0D;
    border-radius: 0;
}

.vh-feedback-form__field textarea {
    resize: none;
    min-height: 0;
}

.vh-feedback-form__field .not-valid-tip {
    color: #AC0003;
    padding-top: 8px;
    display: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.vh-feedback-form__counter {
    display: none;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(13, 13, 13, 0.6);
}

.vh-feedback-form__field input[type="text"]:focus,
.vh-feedback-form__field input[type="date"]:focus,
.vh-feedback-form__field textarea:focus {
    outline: none;
    border-bottom: 1px solid #0D0D0D;
}

.vh-feedback-form__field .hint {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    margin: 6px 0;
    color: rgba(13, 13, 13, 0.5);
    text-transform: uppercase;
}

.vh-feedback-form__rating {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 12px;
}

.vh-feedback-form__rating input {
    display: none;
}

.vh-feedback-form__rating label {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(13, 13, 13, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Panama', serif;
    font-size: 18px;
    cursor: pointer;
    background: #fff;
    margin: 0;
}

.vh-feedback-form__rating input:checked + label {
    background: #0D0D0D;
    color: #fff;
    border-color: #0D0D0D;
}

.vh-feedback-form__rating label:hover {
    background: #F2EEE5;
    border-color: #0D0D0D33;
}

.vh-feedback-form__rating-scale {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.6);
}

.vh-feedback-form__divider {
    border: 1px solid #AEACA71A;
    margin: 16px 0 0;
}

.vh-feedback-form__options {
    display: grid;
    gap: 10px;
}

.vh-feedback-form__options label {
    margin: 0;
}

.vh-feedback-form__option {
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.vh-feedback-form__option input {
    display: none;
}

.vh-feedback-form__option-text {
    border: 1px solid rgba(13, 13, 13, 0.2);
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    width: 100%;
    display: block;
    color: #0D0D0D;
    background: #fff;
}

.vh-feedback-form__option:hover .vh-feedback-form__option-text {
    background: #F2EEE5;
    border-color: #0D0D0D33;
}

.vh-feedback-form__option input:checked + .vh-feedback-form__option-text {
    background: #0D0D0D;
    color: #fff;
    border-color: #0D0D0D;
}

.vh-feedback-form__card .vh-feedback-form__field:last-child {
    margin-bottom: 0;
}

.vh-feedback-form__consent {
    border: 1px solid rgba(13, 13, 13, 0.2);
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 20px;
}

.vh-feedback-form__actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}

.vh-feedback-form__actions .btn:last-child {
    margin-left: auto;
}

.vh-feedback-form__actions .btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.vh-feedback-form__step {
    display: none;
    max-width: 600px;
}

.vh-feedback-form__step.is-active {
    display: block;
}

.vh-feedback-form__thank-you {
    display: none;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.vh-feedback-form__thank-you.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 20px;
}

.vh-feedback-form__contact {
    margin-top: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.vh-feedback-form__contact a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

@media (max-width: 768px) {
    .vh-feedback-form__steps-header {
        flex-wrap: wrap;
        gap: 16px;
    }

    .vh-feedback-form__intro-title,
    .vh-feedback-form__step-title,
    .vh-feedback-form__thank-you-title {
        font-size: 32px;
    }

    .vh-feedback-form__card {
        padding: 28px 24px;
    }

    .vh-feedback-form__actions {
        flex-direction: column-reverse;
    }

    .vh-feedback-form__button {
        width: 100%;
        text-align: center;
    }
}
