/* Greenworker worker stylesheet; font URL made local. */
@font-face {
    font-family: "IBMPlexSansKR-Regular";
    src: url("IBMPlexSansKR-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "IBMPlexSansKR-Regular";
}

body {
    background: rgb(218, 224, 230);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
}

body::-webkit-scrollbar {
    display: none;
}

header .tabs a,
button {
    transition: 0.3s;
}

header .tabs a:hover,
button:hover:not(:disabled, .close) {
    transform: scale(0.95);
}

button.close:hover {
    opacity: 1;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgb(218, 224, 230);
}

.flx {
    display: flex;
}

.header_top {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 10px;
    padding-bottom: 0;
    row-gap: 5px;
}

.header_bottom {
    display: flex;
    padding: 10px;
    flex-direction: column;
    row-gap: 10px;
}
.header_bottom .header_tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_bottom .btn_wrap {
    padding: 0;
}

.header_bottom .state > span {
    font-size: 16px;
}

.header_top .log .change_pw {
    cursor: pointer;
}

.btn_wrap.messenger {
    margin-bottom: 20px;
    position: relative;
}

.list.setting_form {
    padding: 0 10px;
}

header .tabs,
header .phones,
header .state {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
}

header .tabs a,
header button {
    padding: 0 6px;
    border: none;
    background: RGB(58, 191, 128);
    border-radius: 5px;
    color: #fff;
    margin: 0 2px;
    height: 30px;
    font-size: 0.9rem;
    line-height: 30px;
    text-decoration: none;
}

header .tabs a.show,
header .tabs button.show {
    background: #343a40;
}

.phones > span,
.state > span {
    background: crimson;
    border-radius: 5px;
    padding: 0 5px;
    height: 20px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    margin: 0 2px;
    font-size: 0.8rem;
}

.state > span {
    background: #343a40;
}

.phones > span.current {
    transform: scale(1.3);
    margin: 0 12px;
}

.phones > span.over {
    animation: over 0.5s linear infinite;
}

@keyframes over {
    0% {
        background: red;
    }

    100% {
        background: blue;
    }
}

.search select {
    border: 1px solid #343a40;
    height: 30px;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;
    padding: 0 5px;
    margin-right: 2px;
    width: 85px;
}

.search button {
    background: navy;
    border: 1px solid navy;
}

.search input {
    height: 30px;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;
    padding: 0 5px;
    margin-left: 3px;
    width: 150px;
    border: 1px solid #343a40;
}

.top_right {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.top_right .log {
    display: flex;
    align-items: center;
}

.top_right .log > span {
    background: #343a40;
    color: #fff;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    row-gap: 0;
    flex-wrap: wrap;
    height: 100%;
}

.top_right .log > button {
    background: crimson;
}

section {
    padding: 10px;
}

.list {
    display: flex;
    flex-direction: column;
    color: #000;
}

.item {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 2px;
    border: 3px solid #343a40;
    font-weight: bold;
}

.item.emphasis {
    border: 10px solid red;
    background: yellow;
}

.item .close {
    position: absolute;
    border: none;
    background: transparent;
    font-size: 1rem;
    opacity: 0.5;
    transition: 0.3s;
    padding: 0 5px;
    top: 5px;
    left: 0;
    font-weight: bold;
}

.item .item_row:first-of-type {
    padding-left: 10px;
}

.item .item_row .timer {
    font-size: 12px;
    margin-left: 5px;
}

.item .item_row input {
    border: 1px solid gray;
    border-radius: 3px;
    padding: 0 5px;
    outline: none;
    height: 30px;
    width: 120px;
}

.item .item_row button {
    border: none;
    padding: 0px 10px;
    background: RGB(58, 191, 128);
    color: #fff;
    border-radius: 5px;
    height: 30px;
    line-height: 30px;
    font-size: 0.9rem;
}

.item .item_row button.depositConfirm {
    background: #9b9b9b;
}

.item .item_row button.depositConfirm.complete {
    background: RGB(58, 191, 128);
}

.item .item_row button.deposit_sms {
    background: #222;
}

.item .item_row .history {
    background: navy;
}

.item .item_row .pw2 {
    color: crimson;
}

.item .item_row .loginType.instant,
.item .item_row .loginType.naver {
    color: #fff;
    font-size: 0.8rem;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    display: inline-block;
    border-radius: 5px;
}

.item .item_row .loginType.instant {
    background: crimson;
}

.item .item_row .loginType.naver {
    background: #28a745;
}

.item .item_row.icons > span {
    color: #fff;
    font-size: 0.8rem;
    padding: 0 5px;
    height: 20px;
    line-height: 20px;
    border-radius: 5px;
    display: inline-block;
}

.item .item_row.icons > span.instant,
.item .item_row.icons > span.otp {
    background: crimson;
}

.item .item_row.icons > span.coupon {
    background: #343a40;
}

.item .item_row.icons > span.coupon.notUse {
    background: deeppink;
}

.item .item_row.icons > span.topClass {
    background: blue;
}

.item .item_row.icons > span.access {
    background: blueviolet;
    font-size: 20px;
    height: 30px;
    line-height: 30px;
}

.item .item_row.chat {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.item .item_row .chat_area {
    width: 100%;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.item .item_row .chat_area > .chat_box {
    width: calc(60% - 2.5px);
    border: 1px solid rgb(198, 198, 198);
    padding: 5px;
    outline: none;
    min-height: 80px;
    height: 80px;
    overflow-y: auto;
    resize: vertical;
}

.item .item_row .chat_area > .chat_box .divider {
    margin: 10px 0;
    border-top: 3px solid #000;
}

.item .item_row .chat_area > textarea {
    width: calc(40% - 2.5px);
    padding: 5px;
    outline: none;
    min-height: 80px;
    resize: none;
    font-size: 17px;
}

.item .item_row .chat_area ~ .chat_btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item .item_row .chat_area ~ .sms_btns {
    display: flex;
    align-items: center;
    justify-content: end;
}

.item .item_row .chat_area ~ .chat_btns > div,
.item .item_row .chat_area ~ .sms_btns > div {
    display: flex;
    justify-content: end;
    gap: 5px;
}

.item .item_row .chat_area ~ .chat_btns > div > *,
.item .item_row .chat_area ~ .sms_btns > div > * {
    padding: 0 5px;
    background: #000;
    color: yellow;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 12px;
}

.item .item_row .chat_area ~ .chat_btns > div > div,
.item .item_row .chat_area ~ .sms_btns > div > div {
    display: flex;
    align-items: center;
    cursor: default;
}

.item .item_row .chat_area ~ .chat_btns > div > div input,
.item .item_row .chat_area ~ .sms_btns > div > div input {
    width: 30px;
    height: 25px;
    margin-left: 3px;
}

.item .item_row .chat_area ~ .chat_btns > div > div.chat_otp_btn > input {
    width: 45px;
}

.item .item_row .chat_area ~ .chat_btns > div > button:disabled,
.item .item_row .chat_area ~ .sms_btns > div > button:disabled {
    opacity: 0.5;
    cursor: default;
}

.work_id {
    text-align: end;
    float: right;
    right: 10px;
    bottom: 10px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 5px;
    font-weight: normal;
    height: 30px;
}

.work_id .cookie {
    cursor: pointer;
}

.work_id small {
    background: crimson;
    font-size: 0.8rem;
    padding: 0px 5px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.work_id small.same_name {
    background: dodgerblue;
}

.work_id small.retry{
    background: blueviolet;
}

.messenger_wrap .close {
    padding: 0 5px;
    opacity: 0.5;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: 0.3s;
    font-weight: bold;
}

.messenger_wrap > span.cookie {
    cursor: pointer;
}

.messenger_wrap h4 {
    margin-bottom: 3px;
}

.messenger_wrap > div {
    display: flex;
}

.messenger_wrap textarea {
    outline: none;
    padding: 5px;
    font-size: 1rem;
    width: 40%;
    min-height: 100px;
    scroll-behavior: smooth;
    resize: none;
}

.messenger_wrap .messenger,
.chat_area .chat_box {
    color: rgb(0, 120, 239);
    width: 60%;
    background: #fff;
    border: 1px solid rgb(198, 198, 198);
    padding: 5px;
    resize: none;
}

.messenger_wrap .messenger {
    height: 100px;
    min-height: 100px;
    overflow-y: auto;
    resize: vertical;
}

.messenger_wrap .messenger p,
.chat_area .chat_box p {
    color: rgb(0, 120, 239);
    font-weight: bold;
    margin: 0;
}

.messenger_wrap .messenger .staff,
.chat_area .chat_box .staff {
    color: red;
}

.setting_form .form_row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 50px;
    row-gap: 5px;
}

.setting_form .form_row .input_group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.setting_form .form_row label {
    margin-right: 5px;
}

.setting_form .form_row input[type="radio"] ~ label {
    margin-right: 20px;
}

.setting_form .form_row textarea {
    padding: 5px;
    margin-left: 5px;
    width: 50%;
}

.setting_form .form_row p {
    margin: 0;
}

.setting_form .form_row button {
    padding: 0 10px;
    border: none;
    background: RGB(58, 191, 128);
    border-radius: 5px;
    color: #fff;
    margin: 0 2px;
    height: 30px;
    font-size: 0.9rem;
    line-height: 30px;
    width: fit-content;
}

.list.payment_list > div {
    background: #fff;
    border: 3px solid #000;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.list.payment_list > div.complete {
    background: darkgray;
}

.complete_list .item {
    background: darkgray;
}


/* 로그인 */
.login_form {
    height: 100%;
    width: 100%;
    position: relative;
}

.login_form form {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.login_form form input {
    width: 250px;
    height: 40px;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 0 10px;
    outline: none;
    font-size: 16px;
}

.login_form form button {
    height: 40px;
    line-height: 40px;
    border: none;
    background: dodgerblue;
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
    cursor: pointer;
}

.login_form form button:hover {
    transform: none;
    background: rgb(78, 167, 255);
}

.progress_wrap {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.progress_wrap span {
    min-width: 120px;
    text-align: center;
}

.progress_wrap .progress {
    width: 100%;
    height: 25px;
}

.progress_wrap .progress .progress-bar {
    width: 0;
}

.group.worker_date {
    display: none;
}

.group.worker_date .progress .progress-bar.tenminutes {
    background: purple;
}

.group.worker_date .progress .progress-bar.under5 {
    background: darkgray;
}

.group.worker_date .progress .progress-bar.under10 {
    background: red;
}

.group.worker_date .progress .progress-bar.under15 {
    background: green;
}

.group.worker .worker_id {
    cursor: pointer;
}

.progress_group {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}

.group.path .progress .progress-bar {
    background: green;
}

.progress_list .group:not(:last-child) {
    margin-bottom: 50px;
}

.progress_list .badges {
    text-align: center;
}

.progress_list .badges span {
    background: #343a40;
    font-size: 0.8rem;
    height: 20px;
    padding: 0 5px;
    border-radius: 50px;
    margin: 0 2px;
    font-weight: bold;
    color: #fff;
}

.progress_list .group.path .badges {
    margin-bottom: 10px;
}

.group.date .badges > span {
    background: dodgerblue;
}

.badges.top {
    margin-bottom: 10px;
}

.badges.top span {
    background: green;
}

.date_slider {
    text-align: center;
    padding: 10px 0;
}

.date_slider a {
    color: #000;
}

.date_slider a:hover {
    color: #0056b3;
}

.group.month_worker .fixed_header {
    height: 30px;
    line-height: 30px;
    background: #fff;
    z-index: 1;
    margin: 20px 0 10px;
}

.group.month_worker .fixed_header .header_titles {
    display: flex;
    width: calc(100% - 240px);
    margin: auto;
    text-align: center;
}

.date_slider input[type=date] {
    border: none;
    text-align: center;
    background: transparent;
    outline: none;
    position: relative;
    padding: 0 25px;
}

::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.effect {
    display: inline-block;
    margin: 0 2px;
    font-size: 20px !important;
    padding: 0 10px !important;
    height: 30px !important;
    line-height: 30px !important;
    animation: effect 0.5s infinite;
}

@keyframes effect {
    0% {
        outline: 2px solid #fff;
        color: #fff;
    }
    100% {
        outline: 2px solid #1735f5a7;
        color: gold;
    }
}

.login_wrap {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.login_wrap input {
    border: 1px solid darkgray;
    width: 230px;
    border-radius: 6px;
    padding: 5px 10px;
    outline: none;
}

.login_wrap button {
    border: none;
    width: 230px;
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    color: #fff;
    background: dodgerblue;
}

.modal_overlay.change_pw .modal_container {
    max-width: 300px;
    height: fit-content;
}

.modal_overlay.change_pw .modal_container .modal_body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal_overlay.change_pw .modal_container .modal_body .flx {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal_overlay.change_pw .modal_container .modal_body .flx input {
    border: 1px solid lightgrey;
    padding: 5px;
    border-radius: 5px;
    outline: none;
}

.modal_overlay.change_pw .modal_container .modal_body button {
    border: none;
    border-radius: 5px;
    background: #343a40;
    color: #fff;
    text-align: center;
    padding: 5px 15px;
    margin: 5px auto;
}

/* 팝업 */
.modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.modal_overlay.show {
    display: block;
}

.modal_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: #fff;
    border-radius: 5px;
    font-size: 14px;
    overflow: hidden;
}

.modal_header {
    position: relative;
    padding: 10px;
    border-bottom: 1px solid lightgray;
    height: 42px;
}

.modal_header .close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 5px;
    border: none;
    transition: 0.3s;
    font-size: 1.2rem;
}

.modal_body {
    overflow: scroll;
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
    height: calc(100% - 42px);
}

.modal_body::-webkit-scrollbar {
    display: none; /* 크롬, 사파리, 오페라, 엣지 */
}

.modal_body .group_header .sort,
.modal_body .group_list .sort {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    margin: 0;
    display: grid;
    font-size: 0.8rem;
}
.modal_body .group.daenak .group_header .sort,
.modal_body .group.daenak .group_list .sort {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 0.6fr 0.5fr 1fr 0.5fr 5fr 0.5fr 1fr 1fr 0.6fr 1fr 1fr 1fr;
}
.modal_body .group.chat .group_header .sort,
.modal_body .group.chat .group_list .sort,
.modal_body .group.sms .group_header .sort,
.modal_body .group.sms .group_list .sort {
    grid-template-columns: 4fr 1fr;
}

.modal_body .group {
    margin-bottom: 30px;
}

.modal_body .group_header {
    border-bottom: 3px solid lightgray;
}

.modal_body .group_header h4 {
    text-align: center;
    margin: 10px 0;
    font-size: 16px;
}

.modal_body > p {
    padding: 10px;
    margin: 0;
    margin-bottom: 5px;
}

.modal_body .group_header .sort {
    font-weight: bold;
    border-top: 1px solid lightgray;
}

.modal_body .group.daenak .sort > li {
    text-align: center;
    overflow-wrap: break-word;
    min-width: 0;
}

.modal_body .group.chat .sort > li.chat,
.modal_body .group.sms .sort > li.chat {
    padding-left: 10px;
}

.modal_body .group.chat .sort > li.date,
.modal_body .group.sms .sort > li.date {
    padding-right: 10px;
    text-align: right;
}

/* .group.sms .sort > li.chat */
/* .group.chat .sort > li.chat { */
/*   text-align: left; */
/*   padding: 0 10px; */
/*   flex: 7; */
/* } */
/* .group.sms .sort > li.date, */
/* .group.chat .sort > li.date { */
/*   text-align: right; */
/*   padding: 0 10px; */
/*   flex: 3; */
/* } */
.modal_body .sort.staff {
    background: rgba(128, 128, 128, 0.6);
}

.btn_wrap {
    padding: 0 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 5px;
}

.btn_wrap button {
    padding: 0 10px;
    border: none;
    background: RGB(58, 191, 128);
    border-radius: 5px;
    color: #fff;
    margin: 0 2px;
    height: 30px;
    font-size: 0.9rem;
    line-height: 30px;
}

.btn_wrap button.show {
    background: #343a40;
}



.input_cookie_wrap,
.input_sms_wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.messenger_input_area {
    margin: -10px 10px 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.input_cookie_wrap input,
.input_sms_wrap input {
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    padding: 8px;
    outline: none;
    height: 30px;
    width: 120px;
}

.input_cookie_wrap button,
.input_sms_wrap button {
    height: 30px;
    padding: 0 12px;
    font-size: 1rem;
    border: none;
    box-sizing: border-box;
    background: #222;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
.search .reverse_sort_btn {
  border: 1px solid #222;
  background: #fff;
  color: #222;
  padding: 2px 12px 2px 8px;
  font-size: 12px;
  border-radius: 50px;
  margin-left: 4px;
}

/* board */
.board-page {
    background: #fff;
    width: 100%;
    height: 100%;
    padding: 8vh 0;
}
.board-page h1 {
    margin-bottom: 20px;
}
.board-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.board-container .board-list-wrap {
    border-top: 2px solid rgb(25 76 129);
    border-bottom: 2px solid rgb(25 76 129);
}
.board-list-wrap .list-header {
    font-weight: bold;
    background: rgb(236 246 255);
    padding: 15px 0;
    border-bottom: 1px solid rgb(205 215 227);
}
.board-list-wrap .list-header > div,
.board-list-wrap .list .list-item > div {
    text-align: center;
}
.board-list-wrap .list-header > div:nth-child(1),
.board-list-wrap .list .list-item > div:nth-child(1) {
    width: 10%;
}
.board-list-wrap .list-header > div:nth-child(2),
.board-list-wrap .list .list-item > div:nth-child(2) {
    width: 50%;
}
.board-list-wrap .list-header > div:nth-child(3),
.board-list-wrap .list .list-item > div:nth-child(3) {
    width: 15%;
    justify-content: center;
}
.board-list-wrap .list-header > div:nth-child(4),
.board-list-wrap .list .list-item > div:nth-child(4) {
    width: 15%;
}
.board-list-wrap .list-header > div:nth-child(5),
.board-list-wrap .list .list-item > div:nth-child(5) {
    width: 10%;
}
.board-list-wrap .list .list-item {
    padding: 15px 0;
    cursor: pointer;
}
.board-list-wrap .list .list-item:not(:last-child) {
    border-bottom: 1px solid rgb(205 215 227);
}
.board-container.inquiries .board-list-wrap .list .list-item > div:nth-child(2) {
    text-align: start;
}
.board-container.inquiries .board-list-wrap .list .list-item > div:nth-child(5) {
    color: #525252;
}


.board-container.reviews .board-list-wrap .list-header > div:nth-child(1),
.board-container.reviews .list .list-item > div:nth-child(1) {
    width: 5%;
}
.board-container.reviews .board-list-wrap .list-header > div:nth-child(2),
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(2) {
    width: 10%;
}
.board-container.reviews .board-list-wrap .list-header > div:nth-child(3),
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(3) {
    width: 15%;
}
.board-container.reviews .board-list-wrap .list-header > div:nth-child(4),
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(4) {
    width: 30%;
}
.board-container.reviews .board-list-wrap .list-header > div:nth-child(5),
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(5) {
    width: 15%;
}
.board-container.reviews .board-list-wrap .list-header > div:nth-child(6),
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(6) {
    width: 15%;
}
.board-container.reviews .board-list-wrap .list-header > div:nth-child(7),
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(7) {
    width: 10%;
}
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(4) {
    text-align: start;
}
.board-container.reviews .board-list-wrap .list .list-item > div:nth-child(7) {
    color: #525252;
}
.board-container.reviews .board-list-wrap .list .list-item input[type='checkbox'] {
    width: 18px;
    height: 18px;
}
.board-list-wrap .list .list-item > .name {
    gap: 5px;
}


.board-container.reviews .board-list-wrap .list .list-item .checkbox {
    justify-content: center;
}
.board-container.reviews .board-list-wrap .list .list-item .rating {
    color: #ddd;
    justify-content: center;
    font-size: 1.25rem;
}
.board-container.reviews .board-list-wrap .list .list-item .rating strong {
    color: #f37022;
}

.board-list-wrap .list .list-item a {
    color: #000;
    text-decoration: none;
    min-height: 24px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board-wrap {
    border-top: 2px solid rgb(25 76 129);
    border-bottom: 2px solid rgb(25 76 129);
    padding: 24px 0;
}
.board-wrap  .board-header {
    gap: 8px;
    border-bottom: 1px solid rgb(205 215 227);
    padding-bottom: 16px;
}
.board-wrap  .board-header .title {
    font-size: 1.875rem;
}
.board-container.review-detail  .board-wrap  .board-header .title {
    color: #ddd;
}
.board-container.review-detail  .board-wrap  .board-header .title strong {
    color: #f37022;
}
.board-wrap .title-wrap .badge {
    padding: 4px 10px 2px;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    color: #525252;
    margin-right: 10px;
}
.board-wrap .title-wrap .badge.complete {
    border-color: rgb(180 206 232);
    color: rgb(25 76 129);
    background: rgb(236 246 255);
}
.board-wrap .board-header .info-wrap {
    gap: 8px;
    color: #525252;
    margin-top: 8px;
}
.board-wrap .board-header .info-wrap .cookie-id {
    cursor: pointer;
}
.board-wrap  .board-header .files {
    color: #525252;
    padding-top: 16px;
    border-top: 1px solid rgb(205 215 227);
}
.board-wrap  .board-header .files > div {
    gap: 5px;
    margin-left: 8px;
}
.board-wrap  .board-header .files > div > span:hover {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}
.board-wrap  .content {
    padding: 16px 0;
    white-space: pre-line;
    line-height: 1.5rem;
    height: 300px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
.board-wrap  .content::-webkit-scrollbar {
    width: 8px;
}

.board-wrap  .content::-webkit-scrollbar-thumb {
    background: rgb(25 76 129);
    border-radius: 5px;
    background-clip: padding-box;
    border: 2px solid transparent;
}
.board-wrap .answer-wrap .checkbox-wrap {
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.board-wrap .answer-wrap .checkbox-wrap input {
    width: 24px;
    height: 24px;
    margin: 0 5px;
}
.board-wrap .answer-wrap .checkbox-wrap button {
    padding: 2px 20px;
    font-size: 1rem;
    background: #fff;
    color: rgb(25 76 129);
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid rgb(25 76 129);
}
.board-wrap .answer-wrap {
    padding-top: 16px;
    border-top: 1px solid rgb(205 215 227);
}
.board-wrap .answer-wrap textarea {
    width: 100%;
    outline: none;
    height: 80px;
    min-height: 80px;
    resize: vertical;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #b8b8b8;
}
.board-wrap .answer-wrap .answer-list {
    gap: 16px;
}
.board-wrap .answer-wrap .answer-list .answer-item:last-child {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgb(205 215 227);
}
.board-wrap .answer-wrap .answer-list .answer-item > small {
    margin-bottom: 5px;
    color: gray;
    text-align: end;
}
.board-wrap .answer-wrap .answer-item > div {
    justify-content: space-between;
    margin-top: 5px;
}
.board-wrap .answer-wrap .files input ~ label,
.board-wrap .answer-wrap .answer-item  > div button {
    padding: 4px 16px;
    border-radius: 3px;
    border: 1px solid #b8b8b8;
    background: #fff;
    color: gray;
    font-size: 0.875rem;
    margin-right: 5px;
    cursor: pointer;
}
.board-wrap .answer-wrap .answer-item  > div button.delete {
    border-color: #ff8fa4;
    color: #ff5e7c;
    margin-right: 0;
}
.board-wrap .answer-wrap .answer-form input ~ label {
    color: rgb(25 76 129);
    border-color: rgb(180 206 232);
}
.board-wrap .answer-wrap .answer-form .files {
    margin-top: 5px;
}
.board-wrap .answer-wrap .files input:disabled ~ label,
.board-wrap .answer-wrap .answer-item  > div button:disabled {
    background: #f7f7f7;
    color: #b8b8b8;
    cursor: default;
}
.board-wrap .answer-wrap .files {
    color: gray;
}
.board-wrap .answer-wrap .files input {
    display: none;
}
.board-wrap .answer-wrap .files > div {
    gap: 5px;
    margin-left: 3px;
    font-size: 0.875rem;
}
.board-wrap .answer-wrap .files > div span {
    cursor: pointer;
}
.board-wrap .answer-wrap .files > div span:hover {
    color: #000;
    text-decoration: underline;
}
.board-wrap .answer-wrap .answer-form textarea {
    flex: 1;
    background: rgb(236 246 255);
    border: 1px solid rgb(180 206 232);
}
.board-wrap .answer-wrap .answer-form textarea:disabled {
    border-color: #b8b8b8;
    background: rgba(239, 239, 239, 0.3);
}
.board-wrap .answer-wrap .answer-form button {
    width: 100px;
    height: 80px;
    margin-left: 16px;
    box-sizing: border-box;
    background: rgb(25 76 129);
    color: #fff;
    border: 1px solid rgb(25 76 129);
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    box-sizing: border-box;
}
#deleteReviewAnswer {
    background: #fff;
    border-color: #ff8fa4;
    color: #ff5e7c;
}
#deleteReviewBtn {
    border: none;
    padding: 4px 16px;
    background: crimson;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 16px;
    border-radius: 3px;
}
.board-btns {
    gap: 10px;
    justify-content: center;
}
.board-btns button {
    margin: 8px 0;
    padding: 4px 10px;
    border: 1px solid rgb(25 76 129);
    background: rgb(25 76 129);
    border-radius: 3px;
    color: #fff;
}
.board-btns button:nth-child(1) {
    background: steelblue;
    border-color: steelblue;
}
.board-container .back-btn {
    display: block;
    margin: 30px auto;
    border: none;
    background: rgb(25 76 129);
    color: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 1rem;
}

/* pagination */
.board-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 8px;
}
.board-container .pagination > a {
    height: 35px;
    width: 35px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}
.board-container .pagination > a.current {
    background: rgb(25 76 129);
    color: #fff;
}
.board-container .pagination .controls {
    color: rgb(205 215 227);
    cursor: default;
    pointer-events: none;
}
.board-container .pagination .controls.active {
    color: #000;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
}




/* .modal_overlay.chat_history .group_list, */
/* .modal_overlay.search .group_list { */
/*     height: 250px; */
/*     overflow-y: scroll; */
/* } */
.modal_overlay.chat_history .group_list::-webkit-scrollbar,
.modal_overlay.search .group_list::-webkit-scrollbar {
    width: 8px;
}

.modal_overlay.chat_history .group_list::-webkit-scrollbar-thumb,
.modal_overlay.search .group_list::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
    background-clip: padding-box;
    border: 2px solid transparent;
}

.modal_overlay.search .group_list::-webkit-scrollbar-track {
    background: transparent;
}

.modal_overlay.search .modal_header,
.modal_overlay.daenak_cancel .modal_header {
    background: RGB(58, 191, 128);
    color: #fff;
}

.modal_overlay.search .modal_header .close,
.modal_overlay.daenak_cancel .modal_header .close {
    color: #fff;
}

.modal_overlay.daenak_cancel .modal_header {
    border-bottom: none;
}

.modal_overlay.daenak_cancel .modal_container {
    max-width: 450px;
    height: fit-content;
}

.modal_overlay.daenak_cancel .modal_body {
    padding: 20px;
}

.modal_overlay.daenak_cancel .modal_body > p {
    text-align: center;
    color: #000;
    font-size: 1rem;
    padding: 0;
    margin: 10px 0 20px;
}

.modal_overlay.daenak_cancel .wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.modal_overlay.daenak_cancel .wrap select,
.modal_overlay.daenak_cancel .wrap textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    outline: none;
    font-size: 1rem;
}

.modal_overlay.daenak_cancel .txt_wrap {
    display: none;
    width: 100%;
}

.modal_overlay.daenak_cancel .txt_wrap textarea {
    min-height: 100px;
    resize: vertical;
    height: 60px;
    display: block;
}

.modal_overlay.daenak_cancel .txt_wrap p,
 .modal_overlay.sms .txt_wrap p {
    margin: 0;
    margin-top: 3px;
    text-align: end;
    font-size: 0.85rem;
    color: #000;
}

.modal_overlay.daenak_cancel .txt_wrap p strong,
 .modal_overlay.sms .txt_wrap p strong {
    color: dodgerblue;
    font-weight: normal;
}

.modal_overlay.daenak_cancel .wrap .input_wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal_overlay.daenak_cancel .wrap .input_wrap input {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.modal_overlay.daenak_cancel .wrap .input_wrap input:disabled ~ label {
    cursor: default;
}

.modal_overlay.daenak_cancel .wrap .input_wrap input ~ label {
    font-size: 1rem;
    color: #000;
    cursor: pointer;
}

.modal_overlay.daenak_cancel .modal_body > button,
.modal_overlay.sms .modal_body > button{
    border: none;
    padding: 8px 32px;
    font-size: 1rem;
    border-radius: 5px;
    margin: 20px auto 10px;
    background: RGB(58, 191, 128);
    color: #fff;
    display: block;
}
.modal_overlay.messenger_comment .modal_container {
  width: fit-content;
}
.modal_overlay.messenger_comment .messenger_comment_list {
  padding: 20px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item {
  display: flex;
  align-items: center;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item .input_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item input,
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item textarea {
    padding: 10px;
    outline: none;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item input {
    width: 100px;
    height: stretch;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item textarea {
    width: 400px;
    height: 60px;
    min-height: 60px;
    max-height: 150px;
    resize: vertical;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item .sort {
    pointer-events: none;
}
.modal_overlay.messenger_comment .messenger_comment_list .messenger_comment_item button {
    border: none;
    background: none;
    width: 36px;
    height: 36px;
    color: #5A5A5A;
    cursor: pointer;
}
.modal_overlay.messenger_comment .modal_container .btn_wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.modal_overlay.messenger_comment .modal_container .btn_wrap button {
    width: 100px;
}
.modal_overlay.messenger_comment .add_messenger_comment_item {
    width: calc(100% - 112px);
    display: block;
    margin: 0 auto 24px;
    background: #e8e8e8;
    border: 1px solid #717171;
    height: 28px;
    border-radius: 2px;
}
.modal_overlay.messenger_comment .add_messenger_comment_item:hover{
    transform: none;
}

.modal_overlay.sms .modal_container {
    width: 500px;
    height: fit-content;
}
.modal_overlay.sms .txt_wrap {
    padding: 16px;
}
.modal_overlay.sms .txt_wrap textarea {
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    padding: 8px;
    font-size: 1rem;
    outline: none;
    resize: vertical;
    max-height: 300px;
    min-height: 100px;
    display: block;
    width: 100%;
}
.modal_overlay.sms .modal_body > button {
    margin: 0 auto 20px;
}

.btn_wrap .edit_btn {
    background: #fff;
    color: #085eb3;
    border: 1px solid #7ba0c4;
}
.messenger_comment_btn ~ .preview {
    position: absolute;
    top: 100%;
    left: 10px;
    background: #fff;
    border-radius: 4px;
    padding: 8px;
    display: none;
    margin-top: 4px;
    box-shadow: 0 0 4px #0000004d;
}
.messenger_comment_btn:hover + .preview {
    display: block;
}

@media screen and (max-width: 485px) {

    .messenger > div {
        width: 100%;
    }

    .item .item_row .chat_area > textarea {
        width: 100%;
    }

    .item .item_row.chat {
        row-gap: 20px;
    }
}
