body {
  background-color: var(--color-bg);
}

[type="search"] {
  width: 348px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
  padding-left: 12px;
  padding-right: 34px;
  border: none;
  appearance: textfield;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-results-button {
  display: none;
}

[type="search"]::placeholder {
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 400;
}

[type="search"]:focus {
  border: none;
  outline: none;
}

[type="search"].map_search:focus {
  border: 1px solid var(--color-point);
}

.search_container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.search_reset {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-point);
  padding: 0;
  cursor: pointer;
  background-color: var(--color-point);
  border-radius: 50%;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%) rotateZ(45deg);
  z-index: 1;
  transition: all 0.065s;
}
.search_reset::before,
.search_reset::after {
  content: "";
  position: absolute;
  width: 0.6em;
  height: 2px;
  background: #fff;
  top: calc(50% - 1px);
  left: calc(50% - 0.3em);
}
.search_reset::after {
  transform: rotateZ(90deg);
}
.search_reset:disabled {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.search_button {
  padding: 11px 37px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  border-radius: 4px;
  margin-left: 10px;
}

.common_header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 110px;
  padding: 0 100px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-header);
}

.common_side {
  position: fixed;
  top: 110px;
  left: 0;
  z-index: 99;
  height: calc(100% - 110px);
  padding-top: 85px;
}

.common_menu {
  display: block;
  border-radius: 23px;
  padding: 10px 0 10px 15px;
  transition: all 0.2s;
}

.common_main {
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  height: calc(100% - 110px);
  padding: 48px 144px;
  overflow-y: scroll;
}

.common_main_inner {
  position: relative;
  min-width: 1140px;
}

.section_box {
  width: 100%;
  padding-bottom: 85px;
}

.pc_header_right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.pc_profile {
  font-size: 24px;
  font-weight: 400;
}

.pc_logout {
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: 0.2s;
}

.common_header .pc_logout:hover {
  background-color: var(--hover-btn);
}

.admin_header .pc_logout:hover,
.admin_edit_button:hover {
  background-color: #43474f;
}

.file_button {
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  padding: 8px 24px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table > tbody > tr {
  background-color: #ffffff;
}

table.hover > tbody > tr:hover {
  background-color: var(--hover-btn2);
}

table > thead > tr > th,
table > tbody > tr > th {
  background-color: var(--color-table-label);
  border: 1px solid var(--color-btn-border);
  padding: 14px 28px;
  text-align: left;
  text-wrap-mode: nowrap;
}

table > tbody > tr > td {
  border: 1px solid var(--color-btn-border);
  padding: 0 28px;
  height: 58px;
  word-break: break-all;
  overflow-wrap: break-word;
}

.apply > .td_state > div {
  color: #ffffff;
  text-align: center;
  background-color: var(--color-point);
  border-radius: 29px;
  width: 78px;
  padding: 4px 0;
  margin: auto;
}

.tb_franchise_info .apply > .td_state > div {
  margin: unset;
}

.td_button > button {
  min-width: 78px;
  padding: 6px 24px;
  border-radius: 4px;
  color: var(--color-point);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  background-color: var(--color-btn);
  border: 1px solid var(--color-btn-border);
}

.td_button > button:hover {
  background-color: var(--hover-btn);
}

.td_button > .caution_button,
.caution_button {
  color: var(--color-caution);
  background-color: #ffffff;
  border: 1px solid var(--color-caution);
}

.td_button > .caution_button:hover,
.caution_button:hover {
  background-color: var(--hover-caution);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  justify-content: center;
  margin-top: 20px;
}

.pagination > li {
  display: flex;
}

.pagination > li > a {
  display: block;
  padding: 8px 9px;
  color: var(--color-primary);
  font-size: 14px;
  border-radius: 2px;
  transition: all 0.2s;
}

.pagination > li > a:hover {
  background-color: var(--hover-btn);
}

.pagination > .active > a {
  font-weight: 700;
  text-decoration: underline;
}

.pagination > .disabled > a {
  pointer-events: none;
  opacity: 0.4;
}

.pagination > li > .pagination_arrow {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin: 0 4px;
  background-color: #ffffff;
  background-image: url('/static/img/arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 18px;
  box-shadow: 0 0 1px #00000063;
}
.pagination > li > .pagination_arrow.right {
  rotate: 180deg;
}
.pagination > li > .pagination_arrow:hover {
  background-color: var(--hover-btn2);
  box-shadow: 0 0 3px #00000034;
}

.toggle_wrap {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--color-btn-border2);
  border-radius: 25px;
  padding: 5px;
  width: 100px;
  position: relative;
  gap: 11px;
  margin: auto;
}

.print_toggle_wrap {
  width: 252px;
  margin: unset;
  margin-bottom: 28px;
}

.calibrate_toggle_wrap {
  width: 252px;
  margin: unset;
}

.toggle_wrap > input[type="radio"] {
  display: none;
}

.toggle_label {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 0;
}

.slider {
  position: absolute;
  width: 50%;
  height: 100%;
  border-radius: 25px;
  transition: 0.3s;
}

.toggle_label.reception,
.toggle_label.request,
.toggle_label.disable,
.toggle_label.able {
  font-size: 15px;
}

[id^="on_"]:checked ~ .slider,
#request:checked ~ .slider,
#able:checked ~ .slider {
  left: 50%;
  background-color: var(--color-btn);
  border: 1px solid var(--color-point);
}

[id^="on_"]:checked ~ .toggle_label.on,
#request:checked ~ .toggle_label.request,
#reception:checked ~ .toggle_label.reception,
#able:checked ~ .toggle_label.able,
#disable:checked ~ .toggle_label.disable {
  color: var(--color-point);
}

[id^="off_"]:checked ~ .slider,
#disable:checked ~ .slider {
  left: 0;
  background-color: var(--color-btn-border2);
}

[id^="off_"]:checked ~ .toggle_label.off,
#disable:checked ~ .toggle_label.disable {
  color: var(--color-primary);
}

#reception:checked ~ .slider {
  left: 0;
  background-color: var(--color-btn);
  border: 1px solid var(--color-point);
}

.pc_modal {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: var(--shadow-modal);
}

.pc_modal_ad {
  padding: 30px 0 0;
  width: 545px;
}

.pc_modal_edit {
  padding: 30px 0 0;
  width: 364px;
}

.pc_modal_info {
  padding: 30px 0 0;
  width: 500px;
}

.pc_modal_msg {
  width: 430px;
}

.pc_modal_two_button {
  padding: 30px 0 0;
}

.pc_modal_title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.pc_modal_txt {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

.modal_btn_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 30px;
}

.modal_ad_btn_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-top: 1px solid var(--color-border);
  padding: 25px 48px;
}
.modal_ad_btn_box.one_btn {
  justify-content: center;
}

.modal_ad_btn_box > div > button:first-child {
  margin-right: 16px;
}

.modal_two_btn_box {
  padding: 30px 45px;
  border-top: 1px solid var(--color-border);
  margin-top: 30px;
}

.modal_btn_box > button,
.modal_ad_btn_box button,
.modal_msg_btn_box > button {
  padding: 10px 37px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
}

.pc_modal_two_button > button,
.modal_two_btn_box > button {
  display: block;
  width: 230px;
  height: 58px;
  line-height: 58px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 4px;
  margin: auto;
}

.modal_two_button_txt {
  font-size: 17px;
  text-align: center;
  margin: 14px 0;
}

.modal_btn_box.center_button {
  justify-content: center;
}

.right_button {
  justify-content: right;
}

.modal_msg_btn_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 0 48px 25px;
}

.modal_msg_info {
  border-top: 1px solid var(--color-border);
  padding: 20px 48px;
}

.modal_msg_info > p:first-child {
  margin-bottom: 12px;
}

.msg_info_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msg_user {
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 500;
}

.msg_point {
  color: var(--color-point);
  font-weight: 700;
}

.msg_user_number,
.msg_point_number {
  font-size: 18px;
  font-weight: 700;
}

.opinion {
  width: 100%;
  resize: none;
  background-color: #ffffff;
  border: 1px solid var(--color-input-border);
  border-radius: 4px;
  box-shadow: var(--shadow-input);
  padding: 12px;
  outline: none;
  color: var(--color-primary);
  font-size: 16px;
  margin-top: 12px;
}

.opinion::placeholder {
  color: var(--color-secondary);
  font-size: 14px;
}

.opinion:focus {
  outline: 1px solid var(--color-point);
}

.alarm_msg {
  margin-top: 24px;
}

.reason {
  margin-top: 6px;
  box-shadow: unset;
}

.section_title {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.section_title::before,
.modal_section_title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
  width: 6px;
  height: 16px;
  border-radius: 2px;
  background-color: var(--color-point);
}

.modal_section_title::before {
  left: 0;
}

.modal_section_title {
  position: relative;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-left: 16px;
}

.modal_scroll_padding {
  padding: 0 4px;
}

.search_box {
  margin-top: 20px;
  padding: 0 44px;
}

[type="search"].map_search {
  width: 100%;
  height: 44px;
  border: 1px solid var(--color-input-border);
  border-radius: 2px;
  box-shadow: var(--shadow-input);
}

.map_search_button {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 4px;
  margin-left: 10px;
}

.msg_chart_box {
  width: 100%;
  margin: auto;
}

.msg_chart {
  margin-bottom: 21px;
}

.modal_section_box {
  margin-top: 30px;
  padding: 0 44px;
  height: 476px;
  overflow-y: scroll;
}
.modal_section_box::-webkit-scrollbar,
.fr_view_print_box::-webkit-scrollbar {
  width: 16px;
}
.modal_section_box::-webkit-scrollbar-thumb,
.fr_view_print_box::-webkit-scrollbar-thumb {
  background-color: var(--color-input-border);
  border-radius: 2px;
}
.modal_section_box::-webkit-scrollbar-thumb:hover,
.fr_view_print_box::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-secondary);
}
.modal_section_box::-webkit-scrollbar-track,
.fr_view_print_box::-webkit-scrollbar-track {
  background-color: transparent;
}

.modal_section_box > li {
  margin-bottom: 36px;
}

.map_box {
  margin-top: 20px;
  padding: 0 44px;
  height: 400px;
  overflow-y: scroll;
}

.map_box > li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.modal_info_msg,
.admin_ad_statis_title > span,
.ad_statis_info_msg {
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 400;
}

.modal_info_msg.limit {
  text-align: right;
}

.region_box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.region_box > li {
  padding: 5px 24px;
  border: 1px solid #a9cbfd;
  border-radius: 18px;
  color: var(--color-point);
  font-weight: 700;
}

.section_btn_box > button.flex_button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px 11px 20px;
}

.btn_msg_box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.attached_img_box {
  display: block;
  margin-top: 16px;
}

.attached_img_box > img,
.modal_img_box > img {
  max-width: 433px;
  max-height: 433px;
}

.msg_radio_area {
  padding-left: 14px;
}

.msg_radio_box {
  margin-bottom: 12px;
}

.msg_radio_area > .msg_radio_box:last-child {
  margin-bottom: 0;
}

.msg_radio_box,
.point_radio_box {
  width: fit-content;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.point_radio_box {
  height: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 48px 0 0;
}

.msg_radio_box > input[type="radio"],
.point_radio_box > input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio_check {
  position: relative;
  font-weight: 500;
  padding-left: 26px;
}

.radio_check_point {
  position: relative;
  font-size: 18px;
  padding-left: 36px;
}

.radio_check::before,
.radio_check_point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border: 1px solid var(--color-btn-border2);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
}

.radio_check_point::before {
  width: 24px;
  height: 24px;
}

.msg_radio_box > input[type="radio"]:checked + .radio_check::before {
  border: 5px solid var(--color-point);
}

.point_radio_box > input[type="radio"]:checked + .radio_check_point::before {
  border: 6.5px solid var(--color-point);
}

.check_change {
  font-size: 18px;
}

.modal_edit_box {
  margin-top: 30px;
  padding: 0 48px;
}

.modal_edit_box > li {
  margin-bottom: 28px;
}

.modal_edit_box > li:last-child {
  margin-top: 8px;
}

.modal_edit_box > li > div {
  margin-bottom: 14px;
}

.modal_edit_box .error_msg {
  margin-top: 4px;
}

.origin_phone {
  padding-left: 14px;
}

.empty_msg {
  color: var(--color-secondary);
}

.th_date,
.th_phone {
  width: 13%;
  text-align: center;
}

.th_date_time {
  width: 15%;
  text-align: center;
}

.th_print {
  width: 13%;
  text-align: right;
}

.th_number,
.th_state {
  width: 135px;
  text-align: center;
}

.th_button {
  width: 160px;
  text-align: center;
}

.th_district {
  width: 150px;
  text-align: center;
}

.th_type {
  width: 180px;
}

.td_print {
  font-weight: 500;
  text-align: right;
}

.terminate > td {
  color: var(--color-secondary);
}

.tb_franchise .td_state,
.tb_message .td_state,
.tb_ad .td_state,
.td_date,
.td_button,
.td_center {
  text-align: center;
  white-space: nowrap;
}

.td_theme {
  display: -webkit-box;
  min-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ad_url {
  display: block;
  width: 433px;
  overflow-wrap: break-word;
  color: var(--color-point);
  text-decoration: underline;
}

.check_input {
  width: 152px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  margin-right: 2px;
}

.check_input::placeholder {
  font-weight: 400;
  text-align: left;
}

.recharge_point_box {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow-bg);
  padding: 50px 84px;
}

.recharge_title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}

.qr_source {
  display: block;
  width: 172px;
  height: 172px;
  margin: 20px auto;
}

#qrcode canvas {
  margin: auto;
}

.point_li {
  padding: 30px;
  background-color: var(--color-btn);
  border: 1px solid var(--color-btn-border);
  border-radius: 16px;
  box-shadow: var(--shadow-btn);
}

.point_li > div:last-child {
  margin-top: 20px;
}

.common_side > ul > .menu_line {
  padding: 0 21px !important;
}
.menu_line > div {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
}
.admin_menu_line > div {
  background-color: var(--color-secondary);
}

.coupon_input {
  width: calc(100% - 20px);
  text-align: right;
  padding-right: 12px;
}

.section_button {
  position: absolute;
  top: -65px;
  right: 0;
  padding: 11px 37px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
}

.main_alarm_msg {
  padding-bottom: 45px;
}

.main_alarm_msg > p:first-child {
  margin-bottom: 10px;
}

.modal_section_box > .main_alarm_msg {
  padding-bottom: 0;
}

@media screen and (max-width: 980px) {
  .pc_profile {
    display: none;
  }
}
