.ray-feedback-widget,
.ray-feedback-widget * {
    box-sizing: border-box;
}

.ray-feedback-widget {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 950;
    font-family: inherit;
}

body.ray-feedback-widget-open .ray-feedback-widget,
.ray-feedback-widget.is-open {
    z-index: 2147483640 !important;
}


.ray-call-widget {
    pointer-events: none;
}

.ray-call-widget.is-open {
    pointer-events: auto;
}

.ray-feedback-widget__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 126px;
    height: 54px;
    padding: 0 16px 0 12px;
    border: 0;
    border-radius: 999px;
    background: #e30613;
    color: #fff;
    box-shadow: 0 14px 36px rgba(176, 12, 24, .28), 0 0 0 0 rgba(227, 6, 19, .20);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    animation: rayFeedbackPulseButton 2.4s ease-out infinite;
}

.ray-feedback-widget__trigger:hover {
    transform: translateY(-2px);
    background: #d80b18;
    box-shadow: 0 18px 42px rgba(176, 12, 24, .34);
}

.ray-feedback-widget__trigger-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
}

.ray-feedback-widget__trigger-text {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.ray-feedback-widget__overlay[hidden] {
    display: none !important;
}

.ray-feedback-widget__overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483640 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 17, 17, .62);
}

.ray-feedback-widget__modal {
    position: relative;
    width: 500px;
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e3e5ea;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

.ray-feedback-widget__inner {
    padding: 26px;
}

.ray-feedback-widget__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #7d828c;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
}

.ray-feedback-widget__close:hover {
    color: #111;
}

.ray-feedback-widget__header {
    margin-bottom: 18px;
    padding-right: 42px;
}

.ray-feedback-widget__eyebrow {
    margin-bottom: 7px;
    color: #8a8f9b;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ray-feedback-widget__title {
    margin: 0 0 8px;
    color: #111;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ray-feedback-widget__subtitle {
    max-width: 420px;
    color: #5f6570;
    font-size: 14px;
    line-height: 1.5;
}

.ray-feedback-widget__trap {
    position: absolute !important;
    left: -99999px !important;
    opacity: 0 !important;
}

.ray-feedback-widget__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ray-feedback-widget__field {
    display: block;
    margin-bottom: 12px;
}

.ray-feedback-widget__field span {
    display: none;
}

.ray-feedback-widget__field input,
.ray-feedback-widget__field textarea {
    display: block;
    width: 100%;
    border: 1px solid #dfe3ea;
    border-radius: 0;
    background: #fff;
    color: #111;
    box-shadow: none;
    outline: none;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ray-feedback-widget__field input {
    height: 48px;
    padding: 0 14px;
}

.ray-feedback-widget__field textarea {
    min-height: 86px;
    padding: 12px 14px;
    resize: vertical;
}

.ray-feedback-widget__field input::placeholder,
.ray-feedback-widget__field textarea::placeholder {
    color: #8c93a0;
}

.ray-feedback-widget__field input:focus,
.ray-feedback-widget__field textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .06);
}

.ray-feedback-widget__field.is-error input,
.ray-feedback-widget__field.is-error textarea {
    border-color: #d92d20;
}

.ray-feedback-widget__field small,
.ray-feedback-widget__policy-error {
    display: none;
    margin-top: 5px;
    color: #d92d20;
    font-size: 11px;
    line-height: 1.3;
}

.ray-feedback-widget__field.is-error small,
.ray-feedback-widget__policy-error.is-visible {
    display: block;
}

.ray-feedback-widget__policy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 16px;
    color: #4f5663;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
}

.ray-feedback-widget__policy input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ray-feedback-widget__policy-box {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #cfd5df;
    background: #fff;
}

.ray-feedback-widget__policy input:checked + .ray-feedback-widget__policy-box {
    border-color: #111;
    background: #111;
}

.ray-feedback-widget__policy input:checked + .ray-feedback-widget__policy-box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.ray-feedback-widget__policy-text a {
    color: #111;
    text-decoration: underline;
}

.ray-feedback-widget__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.ray-feedback-widget__submit:hover {
    background: #000;
    transform: translateY(-1px);
}

.ray-feedback-widget__submit:disabled {
    opacity: .55;
    cursor: default;
    transform: none;
}

.ray-feedback-widget__safety {
    margin-top: 12px;
    color: #7b818c;
    font-size: 11px;
    line-height: 1.45;
}

.ray-feedback-widget__notice {
    min-height: 0;
    margin-top: 8px;
    color: #5f6570;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.ray-feedback-widget__notice:empty {
    display: none;
}

.ray-feedback-widget__notice:not(:empty) {
    min-height: 18px;
}

.ray-feedback-widget__notice[data-type="error"] {
    color: #d92d20;
}

.ray-feedback-widget__notice[data-type="success"] {
    color: #067647;
}

.ray-feedback-widget__success[hidden] {
    display: none !important;
}

.ray-feedback-widget.is-success .ray-feedback-widget__header,
.ray-feedback-widget.is-success .ray-feedback-widget__form {
    display: none !important;
}

.ray-feedback-widget.is-success .ray-feedback-widget__inner {
    padding: 44px 34px 34px;
}

.ray-feedback-widget__success {
    display: block;
    text-align: center;
}

.ray-feedback-widget__success-eyebrow {
    margin-bottom: 12px;
    color: #8a8f9b;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ray-feedback-widget__success-title {
    margin: 0 0 10px;
    color: #111;
    font-size: 25px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ray-feedback-widget__success-text {
    max-width: 360px;
    margin: 0 auto 24px;
    color: #5f6570;
    font-size: 14px;
    line-height: 1.5;
}

.ray-feedback-widget__success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
}

.ray-feedback-widget__success-button:hover {
    background: #000;
}

body.ray-feedback-widget-open {
    overflow: hidden;
}

@keyframes rayFeedbackPulseButton {
    0% { box-shadow: 0 14px 36px rgba(176, 12, 24, .28), 0 0 0 0 rgba(227, 6, 19, .20); }
    70% { box-shadow: 0 14px 36px rgba(176, 12, 24, .28), 0 0 0 14px rgba(227, 6, 19, 0); }
    100% { box-shadow: 0 14px 36px rgba(176, 12, 24, .28), 0 0 0 0 rgba(227, 6, 19, 0); }
}

@media all and (max-width: 700px) {
    .ray-feedback-widget {
        right: 12px;
        bottom: 86px;
    }

    .ray-feedback-widget__trigger {
        min-width: 104px;
        height: 44px;
        padding: 0 12px 0 9px;
    }

    .ray-feedback-widget__trigger-plus {
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .ray-feedback-widget__trigger-text {
        font-size: 12px;
    }

    .ray-feedback-widget__overlay {
        align-items: center;
        padding: 10px;
    }

    .ray-feedback-widget__modal {
        width: 100%;
        max-width: calc(100vw - 18px);
        max-height: calc(100vh - 104px);
    }

    .ray-feedback-widget__inner {
        padding: 18px 14px 14px;
    }

    .ray-feedback-widget__close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 26px;
    }

    .ray-feedback-widget__header {
        margin-bottom: 12px;
        padding-right: 36px;
    }

    .ray-feedback-widget__eyebrow {
        margin-bottom: 6px;
        font-size: 9px;
    }

    .ray-feedback-widget__title {
        margin-bottom: 7px;
        font-size: 24px;
    }

    .ray-feedback-widget__subtitle {
        font-size: 12px;
        line-height: 1.4;
    }

    .ray-feedback-widget__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .ray-feedback-widget__field {
        margin-bottom: 9px;
    }

    .ray-feedback-widget__field input {
        height: 42px;
        padding: 0 12px;
        font-size: 13px;
    }

    .ray-feedback-widget__field textarea {
        min-height: 76px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .ray-feedback-widget__policy {
        align-items: center;
        gap: 9px;
        margin: 2px 0 12px;
        font-size: 10px;
    }

    .ray-feedback-widget__policy-box {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
    }

    .ray-feedback-widget__policy input:checked + .ray-feedback-widget__policy-box::after {
        left: 8px;
        top: 4px;
        width: 6px;
        height: 11px;
    }

    .ray-feedback-widget__safety {
        margin-top: 8px;
        font-size: 10px;
        line-height: 1.35;
    }

    .ray-feedback-widget__submit {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 12px;
    }

    .ray-feedback-widget.is-success .ray-feedback-widget__inner {
        padding: 36px 18px 26px;
    }

    .ray-feedback-widget__success-title {
        font-size: 22px;
    }

    .ray-feedback-widget__success-text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .ray-feedback-widget__success-button {
        width: 100%;
        min-height: 44px;
    }
}

