/* 알림창 모바일 레이아웃 css */
.notice_component_wr {
  width: 100vw;
  height: calc(100vh - 100px);
  position: fixed;
  z-index: 9993;
  top: 100px;
  left: 0;
  background-color: #fff;
  transform: translateX(0);
  display: none;
}

.notice_component_wr.active {
  display: block;
}

.notice_page_header {
  padding: 10px 20px;
  text-align: center;
}

.left_back_btn {
  float: left;
}

.left_back_btn > svg.feather {
  stroke: #333;
}

.notice_page_header > div > h3 {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 600;
  color: #333;
}

.notice_tab_btn_wrap {
  width: 100%;
  padding: 20px 20px 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice_tab_btn {
  display: flex;
  align-items: center;
  justify-content: left;
}

.notice_tab_btn_wrap .notice_tab {
  padding: 10px 15px;
  border-bottom: solid 2px #bac2c5 !important;
  color: #bac2c5;
  font-size: 18px;
  font-weight: 300;
  border: none;
  background: transparent;
}

.notice_tab_btn_wrap .notice_tab.active {
  font-weight: 600;
  color: #333;
  border-bottom: solid 2px #333 !important;
}

.notice_all_clear {
  background-color: transparent;
  border: none;
  font-size: 14px;
  font-weight: 400;
  color: #758091;
}

.notice_contents_wrap {
  overflow-y: auto;
  padding: 25px 20px;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0;
  height: calc(100vh - 208px);
}

.notice_panel_wrap {
  display: none;
}

.notice_panel_wrap.active {
  display: block;
}

.notice_list_style_wr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.notice_list_left_flex {
  display: flex;
  align-items: start;
  justify-content: left;
  gap: 7px;
  flex: 1 1 auto;
}

.notice_list_right_icon {
  flex: 0 0 auto;
  white-space: nowrap;
}

.notice_list_right_icon > a {
  display: flex;
  align-items: center;
  justify-content: right;
  color: #fff;
}

.notice_list_right_icon > a > svg.feather {
  stroke: #758091;
}

.notice_list_left_icon {
  width: 20px;
  height: 20px;

  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-top: 2px;
  flex: 0 0 20px;
}

.notice_list_left_icon > svg.feather {
  width: 14px;
  height: 14px;
  stroke: #fff;
}

.status_pending > svg.feather circle {
  display: none;
}

.status_pending > svg.feather {
  width: 21px;
  height: 21px;
}

.notice_list_center_info {
  flex: 1 1 auto;
  min-width: 0;
}

.notice_list_center_info > h3,
.notice_list_center_info > p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice_list_center_info > h3,
.notice_board_title > h3 {
  margin-bottom: 3px;
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 500;
  color: #333;
  letter-spacing: -1px;
}

.notice_list_center_info > p,
.notice_board_title > p {
  margin-bottom: 0;
  font-size: clamp(12px, 3.2vw, 14px);
  font-weight: 300;
  color: #758091;
  letter-spacing: -0.8px;
}

.notice_list_center_info > p span {
  display: inline-block;
  max-width: 40%;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice_list_state {
  padding: 4px 10px;
  font-size: clamp(12px, 3.2vw, 14px);
  border-radius: 20px;
  max-width: 75px;
  width: 75px;
  text-align: center;
}

.notice_panel_date > h3 {
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: bold;
}

.notice_board_list_wr {
  background-color: #f3f5f6;
  border-radius: 10px;
  padding: 15px;
}

.notice_board_list_wr > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice_board_list_wr > a svg.feather {
  stroke: #758091;
}

/* 상태 별 CLASS */
/* 안읽은 알림일 경우*/
.is_unread {
  background-color: #fb4d56;
  width: 8px;
  height: 8px;
  border-radius: 20px;
  display: inline-block;
  margin: 0 0 7px 2px;
}
/* 진행중 */
.status_progress {
  background-color: #7dcc4c;
}
/* 확인요청 */
.status_pending {
  background-color: #fb7b4d;
}
/* 완료 */
.status_complete {
  background-color: #3185ff;
}
/* 환불완료 */
.status_refunded {
  background-color: #fb4d56;
}
/* 예약완료 */
.status_reserved {
  background-color: #8d53ff;
}
/* 신청 */
.status_start {
  background-color: #d9d9d9;
}

/* 최근 알림 없음 */
.notice_list_none {
  text-align: center;
  font-size: 14px;
  color: #333;
  width: 100%;
  margin-bottom: 0;
  padding-top: 25px;
}

.notice_contents_wrap::-webkit-scrollbar {
  width: 2px;
  margin-left: 5px;
}
.notice_contents_wrap::-webkit-scrollbar-thumb {
  background: rgba(121, 121, 121, 0.25);
  border-radius: 999px;
}
.notice_contents_wrap::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 345px) {
  .notice_tab_btn_wrap {
    padding: 12px;
  }
  .notice_contents_wrap {
    padding: 0 12px;
  }

  .notice_tab_btn_wrap .notice_tab {
    padding: 8px 10px;
    font-size: 15px;
  }

  .notice_list_style_wr {
    gap: 8px;
  }

  .notice_list_left_icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .notice_list_center_info > h3 {
    font-size: 14px;
  }
  .notice_list_center_info > p {
    font-size: 12px;
  }

  .notice_list_state {
    font-size: 12px;
    padding: 4px 8px;
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 320px) {
  .notice_contents_wrap {
    padding: 0 12px 15px 12px;
    border-bottom: solid 2px #efefef;
    margin-bottom: 15px;
  }

  .notice_list_style_wr {
    flex-wrap: wrap;
  }

  .notice_list_right_icon {
    width: 100%;
  }
}

/* PC화면 */
@media (min-width: 991px) {
  .notice_page_header {
    display: none;
  }

  .notice_component_wr {
    width: 430px;
    max-width: 430px;
    height: 460px;
    top: 75px;
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    background-color: #fff;
    border-radius: 20px;
    border: solid 1px #dfdfdf;
    bottom: auto;
    overflow-y: hidden;
  }
  .notice_contents_wrap {
    overflow-y: auto;
    padding: 25px 20px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 430px;
    margin-top: 0;
  }

  .notice_tab_btn_wrap {
    padding-bottom: 0;
    box-shadow: 0px 4px 14px #f1f1f1;
  }
}

@media (min-width: 991px) and (max-width: 1400px) {
  .notice_component_wr {
    transform: translateX(-95%);
  }
}
