/**
 * Попап скарги на контент (.popup-report-content).
 *
 * Розмітка підключається глобально в header.php, а меню «⋮» з пунктом
 * «Поскаржитись» є в стрічці, каталозі, профілях і аварійках — тож і стилі
 * лежать в окремому файлі, який підключається на кожній сторінці
 * (див. FS_Rewrite_Rules::enqueue_scripts). Раніше вони дублювались у
 * account/user-profile.css і company-profile.css, тому попап був оформлений
 * лише на цих двох сторінках.
 */

.popup-report-content .inner {
    background: rgb(255, 255, 255);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    padding: 20px;
    width: 640px;
    height: unset;
}

.popup-report-content .inner .report-content {
    overflow-y: auto;
    max-height: calc(100vh - 295px);
}

.popup-report-content .inner > .cs-wrap > .cs-track {
    right: -15px;
}

.popup-report-content .report-content-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-report-content .report-content-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1A1D21;
}

.popup-report-content .report-content .description {
    font-size: 16px;
    font-weight: 600;
    color: #606977;
    line-height: 24px;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.popup-report-content .report-content-btn-actions button.cancel {
    background: #1A1D210A;
    padding: 14px 20px;
    border: unset;
    outline: none;
    font-weight: 600;
    font-size: 16px;
    color: #606977;
    border-radius: 10px;
}

.popup-report-content .report-content-btn-actions {
    border-top: 1px solid #EBEDEF;
    padding-top: 15px;
    margin-top: 15px;
}

.popup-report-content .report-content-btn-actions button.block {
    background: #E34D1E;
    padding: 14px 20px;
    border: unset;
    outline: none;
    font-weight: 600;
    font-size: 16px;
    color: #FFF;
    border-radius: 10px;
}

.popup-report-content .report-content-btn-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.popup-report-content .report-content-btn-actions button {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.popup-report-content .report-content-btn-actions button span {
    display: block;
}

.popup-report-content p {
    margin: 0;
}

.popup-report-content .report-content .list-info .list-item {
    display: flex;
    flex-direction: row;
    border: 1px solid #C9CDD3;
    padding: 12px 16px;
    border-radius: 12px;
    justify-content: space-between;
    cursor: pointer;
}

.popup-report-content .report-content .list-info .list-item .icon {
    margin-right: 5px;
}

.popup-report-content .report-content .list-info .list-item:not(:last-child) {
    margin-bottom: 12px;
}

.popup-report-content .report-content .list-info .list-item .info {
    font-weight: 500;
    font-size: 16px;
    color: black;
}

.popup-report-content .report-content .list-info .list-item .info a {
    color: #E34D1E;
    text-decoration: none;
    font-weight: 600;
}

.popup-report-content .report-content .list-info .list-item .title-list-item {
    color: #1A1D21;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 7px;
}

.popup-report-content .report-content .list-info .list-item .description-list-item {
    color: #606977;
    font-weight: 400;
    font-size: 14px;
}

.popup-report-content .report-content .list-info .list-item.selected {
    border: 1px solid #E34D1E;
}

.popup-report-content .report-content .list-info .list-item.selected input[type=radio] {
    accent-color: #E34D1E;
    transform: scale(1.3);
}

.popup-report-content .report-content .list-info .list-item .list-item-input {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.popup-report-content .report-content .list-info .list-item .list-item-input input[type="radio"] {
    display: none;
}

.popup-report-content .report-content .list-info .list-item .list-item-input span {
    width: 20px;
    height: 20px;
    border: 1px solid #C9CDD3;
    background: #1A1D210A;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 8px;
    box-sizing: border-box;
}

.popup-report-content .report-content .list-info .list-item.selected .list-item-input input[type="radio"] + span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #E34D1E;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.popup-report-content .report-content .list-info .list-item.selected .list-item-input input[type="radio"] + span {
    border: 1px solid #E34D1E;
}

.popup-report-content .other-block-wrapper {
    margin-top: 12px;
    display: none;
}

.popup-report-content .other-block-wrapper span {
    display: block;
    color: #606977;
    font-size: 14px;
    font-weight: 600;
}

.popup-report-content .other-block-wrapper textarea {
    resize: none;
    border: 1px solid #C9CDD3;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 6px;
    font-size: 14px;
    outline: none;
    font-weight: 400;
}

.popup-report-content .other-block-wrapper textarea::placeholder {
    color: #88909F;
}
