/* /css/comments_popup.css */
body.bt-popup-open {
    overflow: hidden;
}

.bt-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.bt-popup.is-open {
    display: block;
}

.bt-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.bt-popup__box {
    position: relative;
    width: min(760px, calc(100% - 30px));
    max-height: calc(100vh - 60px);
    overflow: auto;
    margin: 30px auto;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-sizing: border-box;
}

.bt-popup__close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.bt-popup__content h2 {
    margin: 0 36px 18px 0;
    font-size: 22px;
}

.bt-popup-review {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 14px;
    margin: 0 0 14px;
}

.bt-popup-review h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.bt-popup-review__meta {
    color: #555;
    margin-bottom: 8px;
}

.bt-popup-review__meta span {
    color: #888;
}

.bt-popup-review__text {
    line-height: 1.5;
}

.bt-popup-empty,
.bt-popup-error,
.bt-popup-loading {
    padding: 16px;
    border-radius: 6px;
    background: #f6f6f6;
}

.bt-popup-error {
    color: #b00020;
}

.bt-popup-actions {
    margin-top: 18px;
}

.bt-open-reply-form,
.bt-popup-submit {
    display: inline-block;
    border: 0;
    border-radius: 5px;
    padding: 10px 18px;
    cursor: pointer;
}

.bt-form-row {
    margin-bottom: 14px;
}

.bt-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.bt-form-row input,
.bt-form-row select,
.bt-form-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
