.brt-review-form-wrap {
    width: 100%;
    max-width: 760px;
}

.brt-slider {
    width: 100%;
}

.brt-review-form {
    display: grid;
    gap: 18px;
}

.brt-review-form button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.brt-field {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.brt-field label,
.brt-rating-field legend {
    font-weight: 700;
}

.brt-required {
    color: #c62828;
    font-weight: 700;
}

.brt-field input,
.brt-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfd7df;
    border-radius: 6px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.brt-field textarea {
    resize: vertical;
}

.brt-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.brt-star-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.brt-star-rating label {
    color: #b8c0ca;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    transition: color 160ms ease, transform 160ms ease;
}

.brt-star-rating label:hover,
.brt-star-rating label:hover ~ label,
.brt-star-rating input:checked ~ label {
    color: #f4aa24;
}

.brt-star-rating label:hover {
    transform: translateY(-1px);
}

.brt-submit {
    justify-self: start;
    border: 0;
    border-radius: 6px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: #1f6feb;
    cursor: pointer;
}

.brt-submit:hover,
.brt-submit:focus {
    background: #1757bb;
}

.brt-notice {
    margin-bottom: 18px;
    border-left: 4px solid #1f6feb;
    padding: 12px 14px;
    background: #f4f8ff;
}

.brt-slider {
    position: relative;
    overflow: hidden;
}

.brt-slider-track {
    display: flex;
    min-height: 180px;
    transition: transform 420ms ease;
    will-change: transform;
}

.brt-slide {
    display: block;
    flex: 0 0 100%;
    border: 1px solid #eceff3;
    border-radius: 0;
    padding: 34px 38px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 1px 5px rgba(29, 40, 55, 0.06);
    text-align: center;
}

.brt-slide.is-active {
    display: block;
}

.brt-slide-stars {
    color: #e7ad00;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 16px;
}

.brt-slide blockquote {
    max-width: 1120px;
    margin: 0 auto 24px;
    border: 0 !important;
    padding: 0 !important;
    color: #4d5968;
    font-size: 16px;
    line-height: 1.5;
    text-align: center !important;
}

.brt-slide blockquote::before,
.brt-slide blockquote::after {
    content: none !important;
    display: none !important;
}

.brt-slide footer {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
    color: #4d5968;
}

.brt-slide footer span {
    color: #5d6b7a;
}

.brt-slide footer strong {
    color: #111827;
}

.brt-author-divider {
    color: #5d6b7a;
}

.brt-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.brt-slider-controls > button {
    width: 38px;
    height: 38px;
    border: 1px solid #cfd7df;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.brt-empty {
    margin: 0;
}

.brt-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.58);
}

.brt-modal.is-open {
    display: flex;
}

.brt-modal-open {
    overflow: hidden;
}

.brt-modal-panel {
    position: relative;
    width: min(100%, 430px);
    border-radius: 8px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.24);
    text-align: center;
}

.brt-modal-panel h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 24px;
    line-height: 1.25;
}

.brt-modal-panel p {
    margin: 0 0 22px;
    color: #4d5968;
    font-size: 16px;
    line-height: 1.5;
}

.brt-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    padding: 2px 7px;
    color: #5d6b7a;
    background: transparent;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.brt-modal-button {
    border: 0;
    border-radius: 6px;
    padding: 11px 18px;
    color: #fff;
    background: #1f6feb;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.brt-modal-button:hover,
.brt-modal-button:focus {
    background: #1757bb;
}

@media (max-width: 640px) {
    .brt-slide {
        padding: 22px;
    }

    .brt-slide blockquote {
        font-size: 15px;
    }

    .brt-slide footer {
        flex-wrap: wrap;
    }
}
