* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
}

.lang_input {
    min-width: 100px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    padding: 6px 10px;
    font-family: "Pretendard-400";
    font-size: 14px;
    color: #111111;
}

.index_wrap .user_pw_box {
    display: flex;
}

.login_title {
    font-weight: 700;
    color: #0d4dcd;
}

.home-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: underline;
}

.ci {
    margin-top: 20px;
    font-size: 18px;
    color: #344357;
}

.login_wrap {
    width: 100%;
    max-width: 500px;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 36px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

li {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

input {
    border: none;
    outline: none;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.user_id_box {
    display: flex;
    flex-direction: column;
}

.user_pw_box {
    display: flex;
    flex-direction: column;
}

.user_input {
    height: 50px;
    width: 100%;
    /*min-width: 400px;*/
    border: 1px solid #e4e4e4;
    background-color: #ffffff;
    transition: all 0.2s;
    padding: 17px;
    font-size: 17px;
    color: #222222;
    font-family: "Pretendard-500";
}

.user_input:focus,
.user_input:active {
    border: 1px solid #13289f;
}

.user_label {
    font-size: 15px;
    color: #000000;
    font-family: "Pretendard-600";
    margin-bottom: 10px;
}

.login_btns {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.login_btns button {
    padding: 8px 32px;
    background-color: #15775f;
    color: #fff;
}

/* =========================================== */
.pt_15 {
    padding-top: 15px;
}

.login_user_info_wrap {
    /* padding-top: 50px; */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text_view_input {
    position: relative;
}

.view_btn {
    position: absolute;
    width: 16px;

    top: 50%;
    right: 10px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.text_view_input .view_btn.close {
    display: none;
}

.text_view_input .view_btn.open {
    display: block;
}

.text_view_input.on .view_btn.close {
    display: block;
}

.text_view_input.on .view_btn.open {
    display: none;
}

.otp_input_wrap {
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
}

.login_otp_wrap {
    width: 100%;
    max-width: 400px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
    transition-timing-function: ease-in-out;
    opacity: 0;
}

.login_otp_wrap.open {
    max-height: 100vh;
    opacity: 1;
}

.otp_check_box {
    border-top: 1px solid rgba(0, 20, 130, 0.2);
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: end;
    padding-top: 30px;
}

.otp_img_box {
    box-sizing: border-box;
    border: 1px solid rgba(0, 20, 130, 0.2);
    padding: 13px;
}

.otp_label_box {
    display: flex;
    flex-direction: column;
    word-break: break-all;
    flex: auto;
}

.otp_label_box p {
    display: inline-flex;
    word-break: break-all;
}

.otp_label {
    font-size: 15px;
    color: #222222;
}

.main_header {
    align-self: start;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.05);
    padding: 14px 40px;
}

.user_profile {
    display: flex;
    width: fit-content;
    gap: 10px;
    min-width: 100px;
    align-self: center;
}

.user_profile_name {
    color: #333333;
    font-size: 15px;
    font-family: "Pretendard-600";
    word-break: keep-all;
}

.user_profile_name addr {
    display: inline-block;
    color: #999999;
}

.main_section {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    height: calc(100% - 74px);
    width: 100%;
}

.main_content_section.only_main_section {
    padding-bottom: 40px;
    gap: 56px;
}

.main_info_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.left_ul span {
    color: #fff;
}

.left_list {
    width: 100%;

    cursor: pointer;
}

.left_list.active {
    background-color: rgba(0, 0, 0, 0.2);
}

.left_list a {
    color: #ffffff;
    font-size: 16px;
    font-family: "Pretendard-600";
    display: flex;
    width: 100%;
    padding: 13px 40px;
    box-sizing: border-box;
}

.left_list a.active {
    color: #5b93ff;
}

.left_ul .depth.on em {
    color: #5b93ff;
}

.key_statement {
    width: 100%;
}

.main_include_box {
    display: flex;
    flex-direction: column;
    flex: 6;
}

.main_include_box.flex_auto {
    flex: 3;
}

.main_content .chart_box img {
    width: auto;
}

.count_box_wrap {
    display: flex;
    flex: 3;
    gap: 20px;
}

.main_include_box h6 {
    color: #111111;
    font-size: 20px;
    font-family: "Pretendard-600";
    margin-bottom: 27px;
}

.main_content {
    width: 100%;
    display: flex;
    gap: 20px;
}

.count_box {
    box-sizing: border-box;
    background-color: #ffffff;
    padding: 54px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    flex: 1;
}

.count_box.w_over {
    max-width: 251.86px;
}

.count_wrap {
    display: flex;
    align-items: end;
    gap: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: fit-content;
}

.count {
    color: #000000;
    font-size: 40px;
    font-family: "Pretendard-700";
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.count_wrap.w_fit {
    width: 100%;
}

.count_title {
    font-size: 18px;
    color: #222222;
    font-family: "Pretendard-600";
}

.count_label {
    padding-bottom: 8px;
    font-size: 18px;
    color: #666666;
    font-family: "Pretendard-500";
}

.count_link_box .count_box {
    background-color: #f5f5f5;
    padding: 28px 40px;
    border-radius: 10px;
    width: fit-content;
    flex: 1;
    min-width: 300px;
    gap: 24px;
    max-width: 300px;
}

.count_link_box {
    display: flex;
    flex: 5.65;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 30px;
    justify-content: space-between;
    align-items: center;
}

.main_info_box {
    display: flex;

    justify-content: space-between;
    gap: 30px;
}

.main_clicker {
    min-width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 300px;
    gap: 12px;
    flex: 1;
}

.clicker_title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    word-break: keep-all;
}

.clicker_title span {
    color: #222222;
    font-size: 18px;
    font-family: "Pretendard-600";
}

.count.active {
    color: #669aff;
    border-bottom: 5px solid #669aff;
    cursor: pointer;
}

.count.disposal {
    color: #f58074;
    border-bottom: 5px solid #f58074;
    cursor: pointer;
}

.count_label.active,
.count_label.disposal {
    padding: 0;
}

.edge_statement {
    display: flex;
    gap: 20px;
}

.main_content.chart_box {
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.main_content.chart_box canvas {
    width: 100%;
}

.main_include_box {
    display: flex;
    flex-direction: column;
}

.chart_title {
    display: flex;
    gap: 10px;
    margin-bottom: 27px;
    align-items: center;
}

.chart_title h6 {
    margin-bottom: 0;
}

.chart_title span {
    color: #666666;
    font-size: 15px;
    font-family: "Pretendard-400";
}

.line_d {
    height: 12px;
    width: 1px;
    background-color: #dddddd;
}

.circle_info {
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #ededed;
    display: flex;

    justify-content: space-between;
    padding: 20px 30px;
    gap: 15px;
}

.chart_section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_content .chart_section img {
    width: auto;
}

.circle_type {
    display: inline-flex;
    width: 13px;
    height: 13px;
    border-radius: 51%;
}

.circle_type.blue {
    background-color: #014cff;
}

.circle_type.yellow {
    background-color: #fcb251;
}

.circle_label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.circle_title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.circle_title p {
    color: #222222;
    font-size: 15px;
    font-family: "Pretendard-500";
}

.circle_pers p {
    color: #333333;
    font-size: 18px;
    font-family: "Pretendard-700";
}

.navigation {
    display: flex;
    gap: 15px;
    align-items: center;
}

.to_home {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.to_prev {
    color: #aaaaaa;
    font-size: 14px;
    font-family: "Pretendard-700";
}

.to_current {
    color: #222222;
    font-size: 14px;
    font-family: "Pretendard-700";
}

.search_section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 27px;
}

.search_title {
    color: #111111;
    font-size: 30px;
    font-family: "Pretendard-700";
}

.search_box {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 30px;
    background-color: #ebf1f6;
    border: 1px solid #eff1f4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.search_date {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search_date span {
    color: #222222;
    font-size: 14px;
    font-family: "Pretendard-700";
}

.date_input {
    border-radius: 2px;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    height: 30px;
    padding: 6px;
    /*cursor: pointer;*/
    transition: all 0.2s;
    font-size: 14px;
    font-family: "Pretendard-500";
    min-width: 150px;
}

/* .search_keyword {
  border: 1px solid #dddddd;
  transition: all 0.2s;
  border-radius: 2px;
  height: 30px;
  box-sizing: border-box;
  padding: 6px 10px;
  font-size: 14px;
  font-family: "Pretendard-500";
  min-width: 320px;
  width: 100%;
} */

.search_keyword::placeholder {
    color: #0c1b87;
}

.search_keyword:focus,
.search_keyword:active {
    border: 1px solid #13289f;
}

.search_type {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search_type span {
    font-size: 14px;
    color: #222222;
    font-family: "Pretendard-700";
}

.search_key {
    flex: auto;
}

.search_btn {
    background-color: #3b7dfd;
    color: #ffffff;
    font-family: "Pretendard-700";
    font-size: 15px;
    border-radius: 2px;
    padding: 8px 38px;
    box-sizing: border-box;
    height: 36px;
}

option {
    font-size: 13px;
    font-family: "Pretendard-500";
}

.search_select:focus,
.search_select:active {
    border: 1px solid #13289f;
}

.detail_table_wrap {
    width: 100%;
    position: relative;
}

.detail_table {
    width: 100%;
    background-color: #ffffff;
    border-spacing: 0;
    table-layout: fixed;
}

.detail_table thead {
    height: 100px;
}

.table_model {
    background-color: rgba(197, 210, 229, 0.5);
    border-spacing: 0;
}

.table_edge {
    background-color: rgba(183, 206, 240, 0.6);
    border-spacing: 0;
}

.user_table thead tr th {
    border-right: 1px solid rgba(197, 210, 229, 0.3);
    border-bottom: 1px solid rgba(197, 210, 229, 0.3);
    border-top: 1px solid rgba(197, 210, 229, 0.3);
    font-size: 15px;
    color: #000a4f;
    font-family: "Pretendard-600";
}

.th_border {
    border-right: 2px solid rgba(197, 210, 229, 0.3);
    border-bottom: 2px solid rgba(197, 210, 229, 0.3);
    border-top: 2px solid rgba(197, 210, 229, 0.3);
}

.user_table tbody td {
    text-align: center;
    font-size: 14px;
    color: #555555;
    font-family: "Pretendard-500";
    border-bottom: 1px solid rgba(197, 210, 229, 0.3);
    padding: 10px;
}

.user_table tbody tr {
    height: 50px;
    cursor: pointer;
}

.user_table tbody tr:hover {
    background-color: #f7f9ff;
}

.user_table tbody .ty {
    color: #357dc5;
}

.user_table tbody .tn {
    color: #f07d7d;
}

.tn {
    color: #f07d7d;
}

.ty {
    color: #357dc5;
}

.table_label {
    display: flex;
    gap: 2px;
    color: #222222;
    font-size: 14px;
    padding-bottom: 18px;
}

.table_label p:first-child {
    margin-right: 3px;
}

.table_label p {
    font-family: "Pretendard-500";
}

.table_label span {
    font-family: "Pretendard-700";
}

.table_navi_wrap {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table_navi {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 22px;
    gap: 9px;
}

.table_navi li {
    min-width: 28px;
    min-height: 28px;
    color: #222222;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.table_navi li.current_btn {
    background-color: #0c1b87;
    border-radius: 51%;
    color: #ffffff;
}

.prev_btn {
    gap: 8px;
}

.next_btn {
    gap: 8px;
}

.wh_btn {
    font-size: 15px;
    border-radius: 2px;
    color: #666666;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Pretendard-500";
    padding: 8px 13px;
    box-sizing: border-box;
    border: 1px solid #cbcbcb;
    min-width: 104px;
}

.bu_btn {
    font-size: 15px;
    border-radius: 2px;
    color: #ffffff;
    background-color: #669aff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Pretendard-500";
    padding: 8px 13px;
    box-sizing: border-box;
    border: 1px solid #669aff;
    min-width: 104px;
}

.info_btn_wrap {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.info_box {
    width: 100%;
    border: 1px solid #c5d2e5;

    display: flex;
    flex-direction: column;
    word-break: break-all;
    background-color: #ffffff;
}

.info_fr {
    display: flex;
    width: 100%;
}

.info_list {
    flex: auto;
    padding: 10px;
    color: #222222;
    border-bottom: 1px solid rgba(197, 210, 229, 0.3);
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.kms_info_list {
    display: flex;
    gap: 5px;
}

.kms_edit_btn {
    background-color: #007bff;
    color: #fff;
    padding: 4px 5px;
    border-radius: 3px;
}

.over_info_box {
    border: 1px solid #dddddd;
    border-radius: 6px;
    box-sizing: border-box;
    padding: 10px 15px;
    font-size: 14px;
    max-height: 143px;
    overflow-y: auto;
    width: 100%;
    word-break: break-all;
    line-height: 1.5;
}

.over_info_box.min_over_box {
    min-height: 143px;
}

/*스크롤*/
*::-webkit-scrollbar {
    height: 12px;
    width: 12px;
    background-color: transparent;
}

*::-webkit-scrollbar-thumb {
    width: 12px;
    border: 1px solid transparent;
    outline: none;
    box-shadow: inset 8px 0px 0 #cccccc;
}

*::-webkit-scrollbar-track {
    /*background-color: #313131;*/
    box-shadow: none;
    background-color: transparent;
}

*::-webkit-scrollbar-track {
    background-color: transparent;
    box-shadow: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/*스크롤*/

.half_info_box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.personal_key_box {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #c5d2e5;
}

.kept_key_box {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-top: 1px solid #c5d2e5;
    border-right: 1px solid #c5d2e5;
    border-bottom: 1px solid #c5d2e5;
}

.personal_key_box .half_title {
    width: 100%;
    background-color: #e2e8f2;
    color: #000a4f;
    font-size: 14px;
    font-family: "Pretendard-700";
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.kept_key_box .half_title {
    width: 100%;
    background-color: #ffdbd7;
    color: #000a4f;
    font-size: 14px;
    font-family: "Pretendard-700";
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.iy {
    color: #357dc5;
}

.in {
    color: #f07d7d;
}

.delete_key_popup {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 99;
    display: none;
    justify-content: center;
    align-items: center;
}

.delete_key_popup.on {
    display: flex;
}

.pop_content {
    background-color: #ffffff;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 10px;
}

.pop_title {
    border-bottom: 1px solid #c5d2e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 22px 30px;
}

.pop_title h6 {
    color: #111111;
    font-size: 18px;
    font-family: "Pretendard-700";
}

.pop_btn_box {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.pop_textarea {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: #ebeef3;
    min-width: 800px;
    min-height: 200px;
    overflow-y: auto;
    resize: none;
    border: none;
    outline: none;
    padding: 20px 18px;
    border-radius: 5px;
    font-family: "Pretendard-400";
    font-size: 15px;
    color: #222222;
    line-height: 1.5;
}

.pop_textarea::placeholder {
    color: #bbbbbb;
}

.pop_info {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 15px 30px 30px 30px;
    gap: 17px;
}

.close_btn {
    border: 1px solid #c5d2e5;
    background-color: #ffffff;
    color: #0c1b87;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Pretendard-500";
    min-width: 104px;
    padding: 8px 13px;
}

.manage_key_popup {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 99;
    display: none;
    justify-content: center;
    align-items: center;
}

.manage_key_popup.on {
    display: flex;
}

.user_log_popup .pop_content {
    width: 100%;
    max-width: 826px;
}

.user_log_popup.on {
    display: flex;
}

.manage_pop_sec {
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

.manage_key_popup .pop_content {
    width: 100%;
    max-width: 1000px;
}

.manage_key_popup .over_info_box {
    font-size: 15px;
    color: #222222;
    min-height: 155px;
    overflow-y: auto;
    line-height: 1.5;
}

.manage_scroll_box {
    width: 100%;
    max-height: 190px;
    overflow-y: auto;
}

.manage_table {
    width: 100%;
    border-spacing: 0;
    table-layout: fixed;
}

.manage_table thead {
    background-color: #eeeeee;
    color: #000a4f;
    font-size: 14px;
    font-family: "Pretendard-400";
}

.manage_table thead th {
    padding: 10px;
    font-size: 15px;
}

.manage_table td {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-family: "Pretendard-400";
    border-bottom: 1px solid #eeeeee;
    color: #555555;
}

table {
    table-layout: fixed;
    border-spacing: 0;
}

table thead {
    font-family: "Pretendard-500";
}

table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table_rd_btn {
    border: 1px solid #f15a4b;
    background-color: #ffffff;
    color: #f15a4b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: "Pretendard-600";
    padding: 4px 18px;
    min-width: 57px;
    border-radius: 2px;
}

.table_bu_btn {
    border: 1px solid #3278fe;
    background-color: #ffffff;
    color: #3278fe;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: "Pretendard-600";
    padding: 4px 18px;
    min-width: 57px;
    border-radius: 2px;
}

.table_gn_btn {
    border: 1px solid #32a852;
    background-color: #ffffff;
    color: #32a852;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: "Pretendard-600";
    padding: 4px 18px;
    min-width: 57px;
    border-radius: 2px;
}

.table_btn_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.user_table {
    background-color: #ffffff;
    border: 1px solid #c5d2e5;
    width: 100%;
    table-layout: fixed;
}

.user_table thead {
    color: #000a4f;
    background-color: rgba(197, 210, 229, 0.3);
    font-size: 14px;
}

.user_table thead th {
    padding: 10px;
    border: 1px solid rgba(197, 210, 229, 0.3);
}

.user_table td {
    border-bottom: 1px solid rgba(197, 210, 229, 0.3);
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-family: "Pretendard-400";
}

td {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-family: "Pretendard-500";
}

th {
    padding: 10px;
    font-size: 14px;
    font-family: "Pretendard-500";
}

.table_navi.user_table_navi {
    padding: 0;
}

.main_content_section.user_section {
    gap: 20px;
}

.delete_user_popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.delete_user_popup.on {
    display: flex;
}

.delete_user_pop_content {
    background-color: #ffffff;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 36px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.alert_title {
    color: #111111;
    font-size: 20px;
    font-family: "Pretendard-700";
    display: flex;
    padding-top: 7px;
    padding-bottom: 21px;
}

.user_pop_btn_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.user_pop_btn_box button {
    min-width: 120px;
    padding: 6px 40px;
    border-radius: 2px;
}

.block_user_popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.block_user_popup.on {
    display: flex;
}

.block_user_pop_content {
    background-color: #ffffff;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 36px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.accpt_user_popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.accpt_user_popup.on {
    display: flex;
}

.success_user_popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.success_user_popup.on {
    display: flex;
}

.map_popup {
    width: 100vw;
    height: 100%;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.map_popup.on {
    display: flex;
}

.file_download_btn,
#file_download_btn {
    display: flex;
    border-radius: 3px;
    border: 1px solid #cccccc;
    color: #111111;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 8px 10px;
    font-size: 15px;
    font-family: "Pretendard-400";
    background-color: #ffffff;
}

#file_upload {
    display: none;
}

#file_style {
    border: 1px solid #cccccc;
    width: 400px;
    height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 5px 8px;
    font-size: 15px;
    font-family: "Pretendard-400";
}

.file_box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.edge_section {
    gap: 20px;
}

.edge_input {
    min-width: 300px;
    min-height: 28px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    padding: 6px 10px;
    font-family: "Pretendard-400";
    font-size: 14px;
    color: #111111;
}

.edge_input::placeholder {
    color: #bbbbbb;
}

.edge_input[readonly] {
    background-color: #eeeeee;
}

.kms_section {
    gap: 20px;
}

.kms_input {
    min-width: 300px;
    min-height: 28px;
    width: 92%;
    height: 100%;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    padding: 6px 10px;
    font-family: "Pretendard-400";
    font-size: 14px;
    color: #111111;
}

.kms_input::placeholder {
    color: #bbbbbb;
}

.kms_input[readonly] {
    background-color: #eeeeee;
}

.input_section {
    gap: 20px;
}

.input_scroll {
    min-width: 300px;
    min-height: 112px;
    max-height: 112px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    padding: 6px 10px;
    font-family: "Pretendard-400";
    font-size: 14px;
    color: #111111;
    word-wrap: break-word;
    white-space: pre-wrap;
    resize: none !important; /* 크기 조정 완전 차단 */
    display: block; /* 일부 브라우저에서 resize가 적용 안 되는 경우 해결 */
}

.input_scroll::placeholder {
    color: #bbbbbb;
}

.input_scroll[readonly] {
    background-color: #eeeeee;
}

.phone_input {
    min-width: 300px;
    min-height: 28px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    padding: 6px 10px;
    font-family: "Pretendard-400";
}

.phone_input::placeholder {
    color: #111111;
}

.info_textarea {
    outline: none;
    border: 1px solid #dddddd;
    width: 50%;
    min-width: 700px;
    box-sizing: border-box;
    resize: none;
    padding: 10px 15px;
    font-size: 14px;
    color: #111111;
    line-height: 1.5;
    height: 137px;
}

.info_textarea::placeholder {
    color: #222222;
}

input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #666666;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
}

input[type="radio"]:checked {
    background-color: #e74848;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #e74848;
}

.radio_wrap {
    width: fit-content;
    display: flex;
    gap: 44px;
}

.radio_box {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    box-sizing: border-box;
    padding: 5px 8px;
    gap: 10px;
    cursor: pointer;
}

.radio_box span {
    font-size: 14px;
    color: #111111;
}

.address_box {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.address_btn {
    background-color: #669aff;
    color: #ffffff;
    min-width: 87px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-family: "Pretendard-400";
    box-sizing: border-box;
    padding: 6px 10px;
    border-radius: 3px;
    width: fit-content;
}

.mac_address_btn {
    background-color: #669aff;
    color: #ffffff;
    min-width: 87px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-family: "Pretendard-400";
    box-sizing: border-box;
    padding: 6px 10px;
    border-radius: 3px;
    width: fit-content;
    margin: 0 0 0 10px;
}

.address_input {
    box-sizing: border-box;
    border: 1px solid #cccccc;
    min-width: 560px;
    min-height: 28px;
    padding: 6px 10px;
    font-size: 14px;
    color: #111111;
}

textarea {
    font-family: "Pretendard-400";
}

.manage_list_flex {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aster_lisk {
    display: flex;
    width: fit-content;
    align-items: center;
    color: #a7a7a7;
    font-size: 15px;
    gap: 4px;
}

.setting_select {
    min-width: 128px;
    border: 1px solid #cccccc;
}

input[type="text"]:not([readonly]) {
    transition: all 0.2s;
}

input[type="text"]:not([readonly]):focus,
input[type="text"]:not([readonly]):active {
    border: 1px solid #13289f;
}

textarea:not([readonly]) {
    transition: all 0.2s;
}

textarea:not([readonly]):focus,
textarea:not([readonly]):active {
    border: 1px solid #13289f;
}

.pop_close_btn {
    background-color: transparent;
}

.user_manage_search {
    flex: auto;
}

.user_manage_search input {
    width: 100%;
}

.detail_table.user_manage_table thead {
    height: auto;
}

.detail_table.user_manage_table thead th {
    box-sizing: border-box;
    padding: 14.5px;
}

.custom_checkbox {
    display: none;
}

.custom_checkbox + label {
    display: inline-flex;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-image: url("../images/checkbox.svg");
    background-size: cover;
    cursor: pointer;
}

.custom_checkbox:checked + label {
    background-image: url("../images/checkbox_checked.svg");
}

.manage_btn_wrap {
    padding-top: 10px;
}

.to_home_link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.user_select_box {
    min-width: 129px;
}

.excel_download {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 7.5px 10px;
    border-radius: 3px;
    border: 1px solid rgba(12, 27, 135, 0.6);
    color: #111111;
    gap: 4px;
    background-color: #ffffff;
    font-family: "Pretendard-600";
    font-size: 15px;
}

.search_box.user_log_box {
    justify-content: start;
}

.detail_table tbody tr:hover .user_log_pop_btn {
    color: #0c1b87;
    text-decoration: underline;
}

.user_log_pop_btn {
    position: relative;
    cursor: pointer;
}

.popup_layout .info_title {
    min-width: 208px;
}

.manage_result_wrap p {
    font-family: "Pretendard-700";
    font-size: 15px;
    color: #222222;
    margin-bottom: 10px;
}

select {
    cursor: pointer;
}

.ol-popup {
    position: absolute;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    bottom: 12px;
    left: -50px;
    min-width: 200px;
    visibility: hidden;
}

.ol-popup.show {
    visibility: visible;
    opacity: 1;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #ccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

#map {
    width: 800px;
    height: 600px;
}

.loading_bar {
    display: none;
    width: 150px;
    height: 150px;
    z-index: 99;
    position: absolute;
    top: 50%;
    left: 45%;
}

.comm_popup {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.comm_popup.on {
    display: flex;
}

/* =========================== left menu ======================== */
.left {
    height: 100vh;
    background-color: #020726;
    width: 250px;
    flex-shrink: 1;
    transition: width 0.3s ease, transform 0.3s ease; /* 너비와 위치 변화에 애니메이션 적용 */
    overflow: hidden; /* 내용이 넘치지 않도록 */
}

.left.closed {
    width: 50px;
    pointer-events: none;
}

.left_ul .depth.active {
    color: #007bff;
}

.left_ul.active .depth span {
    color: #007bff;
    font-weight: bold;
}

.left_list.active a {
    color: #007bff;
    font-weight: bold;
}

.left_ul.active {
    width: 100%;
    background-color: rgba(0, 123, 255, 0.05);
}

.left_ul .depth.icon_menu01 em {
    background: url("../images/menu01_icon.svg") left top no-repeat;
}

.left_ul .depth.icon_menu01.active em {
    background: url("../images/menu01_icon_c.svg") left top no-repeat;
}

.left_ul .depth.icon_menu02 em {
    background: url("../images/menu02_icon.svg") left top no-repeat;
}

.left_ul .depth.icon_menu02.active em {
    background: url("../images/menu02_icon_c.svg") left top no-repeat;
}

.left_ul .depth.icon_menu03 em {
    background: url("../images/menu03_icon.svg") left top no-repeat;
}

.left_ul .depth.icon_menu03.active em {
    background: url("../images/menu03_icon_c.svg") left top no-repeat;
}

.left_ul .depth.icon_menu04 em {
    background: url("../images/menu04_icon.svg") left top no-repeat;
}

.left_ul .depth.icon_menu04.active em {
    background: url("../images/menu04_icon_c.svg") left top no-repeat;
}

.left_ul .depth em {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.left_menu {
    transition: width 0.3s ease, transform 0.3s ease; /* 너비와 위치 변화에 애니메이션 적용 */
}

.left_menu.closed {
    transform: translateX(-200px);
}

.left_menu .left_ul li {
    color: #fff;
    padding-left: 30px;
    /* margin-bottom: 20px; */
}

.left_ul li span a {
    text-decoration: none;
    color: #fff;
}

.main_container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sidebar-toggle {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #020726;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: left 0.3s ease; /* 버튼 이동 애니메이션 */
    z-index: 1000;
}

.sidebar-toggle i {
    font-size: 16px;
}

.add_btn {
    background-color: #0c1b87;
    padding: 8px 10px;
    color: #fff;
}

/* user_mng table */
.button_container {
    margin-top: 20px;
}

.delete_btn,
.back_btn {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
}

.delete_btn {
    background-color: #f44336;
    color: white;
}

.back_btn {
    background-color: #555;
    color: white;
}


.button_container {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* pagination */
.pagination_container {
    display: flex;
    justify-content: center;
}

.clear_file_btn {
    border: none;
    background: none;
    color: red;
    font-size: 16px;
    cursor: pointer;
}

.menu_button {
    padding: 10px 20px;
    border: 1px solid #000;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333;
}

.menu_button.active {
    background-color: #007bff;
    color: #fff;
}

.menu_button.active:hover {
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333;
}

.menu_button:hover {
    background-color: #007bff;
    color: #fff;
}

/* =========================== time series dashboard ======================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: 25% 25% 1fr;
    gap: 5px;
    width: 100%;
    background-color: #dddddd;
    border-radius: 4px;
}

.grid-item {
    border: 1px solid #aaaaaa;
    background-color: #dddddd;
    padding: 8px;
    border-radius: 4px;
}

/* topology status */
.grid-topology-status {
    grid-column: 1 / 3;
    grid-row: 3;
    overflow: hidden;
}

.tree-placeholder {
    min-height: 500px;
    width: 100%;
    box-sizing: border-box;
}

/* operation status */
.grid-operation-status {
    grid-column: 3;
    grid-row: 3;
    display: flex;
    flex-direction: column;
}

.system-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 500px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.metric-title {
    margin-bottom: 10px;
    font-weight: bold;
}

.chart-placeholder {
    min-height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.tab-div {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #aaaaaa;
}

.tab_btn {
    padding: 5px 10px;
    background-color: #aaaaaa;
    border-top: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: white;
    cursor: pointer;
}

.chart-set-container {
    display: flex;
    width: 100%;
    height: 160px;
}

/* 반응형 그리드 조정 */
.edge_overview_chart_grid {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.edge_overview_container {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.edge_overview_info {
    width: 25%;
    overflow: auto;
}

.edge_overview_log_title {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0 0 0;
}


.deployment-tab-container {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.deployment-tab-btn {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    bottom: -1px;
}

.deployment-tab-active {
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #fff;
    font-weight: 600;
}

.device-status-container {
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 10px;
}

.device-status-container h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.donut-chart-container {
    width: 40%;
    min-width: 300px;
    height: 300px;
}

.device-grid-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-height: 300px;
    overflow: auto;
}

.device-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.device-group > .group-text {
    background-color: #5470C6;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    width: 40px;
    white-space: wrap;
    /*text-overflow: ellipsis;*/ /* 넘치는 텍스트를 말줄임표로 표시 */
}

.device-grid {
    display: grid;

    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    width: 100%; /* 부모 요소의 너비를 따름 */

    /*grid-template-columns: repeat(7, minmax(50px, 1fr));*/ /* 각 칸의 최소 너비를 50px로 설정 */
    /*max-width: 420px;*/ /* 7칸 x 50px + gap(10px x 6) = 410px + 약간 여유 */
}

.device-item {
    padding: 6px;
    text-align: center;

    border-radius: 5px;
    background-color: #f9f9f9;
    aspect-ratio: 1 / 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.device-item .name {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}

.status-normal {
    background-color: #91CC75;
}

.status-stopped {
    background-color: #EE6666;
}

.status-delayed {
    background-color: #FAC858;
}

@media (max-width: 768px) {
    .device-status-container {
        flex-direction: column;
    }

    .donut-chart-container {
        width: 100%;
    }

    .device-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .device-grid {
        grid-template-columns: 1fr;
    }
}

.edge-table-container {
    margin-top: 20px;
    border: 1px solid #f5f5f5;
}

.edge-log-table-title {
    background-color: #f5f5f5;
    text-align: center;
    font-weight: 600;
    color: #333;
    padding: 5px 0;
    border-bottom: 1px solid #d5d5d5;
}

.edge-log-table {
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
    width: 100%
}

.edge-log-thead {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.edge-log-tr {
    border-bottom: 1px solid #f5f5f5;
}

.edge-chart-box {
    width: 100%;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
}

.chart-title {
    text-align: center;
    font-weight: 600;
}

.chart-title.edge {
    border-bottom: 1px solid #f5f5f5;
    padding: 5px 0;
}


/* =========================
   Tablet
========================= */
@media (max-width: 768px) {

    .login_sec {
        padding: 20px;
    }

    .login_wrap {
        max-width: 360px;
        width: 100%;
    }

    .login-logo {
        max-width: 180px;
        margin-bottom: 20px;
    }

    .user_input {
        height: 44px;
        font-size: 14px;
    }

    #loginBtn {
        gap: 10px;
    }

    .chk_btn {
        height: 44px;
        font-size: 14px;
        min-width: 300px;
    }
}

/* =========================
   Small Mobile
========================= */
@media (max-width: 480px) {

    .login-logo {
        max-width: 150px;
    }

    .user_label {
        font-size: 13px;
    }

    .user_input {
        height: 42px;
        font-size: 14px;
        padding: 10px 40px 10px 12px;
        min-width: 300px;
    }

    .chk_btn {
        height: 42px;
        font-size: 14px;
    }

    .home-link {
        font-size: 13px;
        margin-top: 16px;
    }
}
