html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.graph_box .date_selector_wrap { display: flex; align-items: center; height: 44px; padding: 0 15px; }
.graph_box .date_selector_wrap .btn_date { flex: 0 1 auto; width: 32px; height: 32px; background: url('../img/arrow_nav_back.svg') no-repeat center / 16px 16px;  -webkit-appearance: none; border: none; }
.graph_box .date_selector_wrap .btn_date.next { transform: rotate(180deg); } 
.graph_box .date_selector_wrap .date_title { flex: 0 1 100%; font-weight: 700; font-size: 20px; color: #2A4D83; text-align: center; }
.graph_box .graph_scroll_wrap { position: relative; display: flex; justify-content: center; margin: 0 15px; z-index: 1; }
.graph_box .graph_scroll_wrap .y_axis_bg { position: absolute; top: 13px; left: 0; width: 100%; display: flex; flex-direction: column; font-size: 11px; line-height: 1; z-index: -1; color: #535353; }
.graph_box .graph_scroll_wrap .y_axis_bg .line { position: relative; width: 100%; height: 16px; display: flex; align-items: center; justify-content: flex-start; transform: none; top: auto; border: none; }
.graph_box .graph_scroll_wrap .y_axis_bg .line::before { position: absolute; top: 50%; left: 1.5rem; width: 100%; height: 1px; background: #f0f0f0; content: ''; }
.graph_box .graph_scroll_wrap .y_axis_bg .line::after { display: flex; justify-content: center; width: 1rem; text-align: center; content: attr(data-value); }
.graph_box .graph_list { display: flex;  margin-top: 20px; height: 196px; padding: 0 40px; overflow: auto; }
.graph_box .graph_list .graph_bar { display: flex; height: 100%; flex-direction: column; justify-content: flex-end; align-items: center; gap: 12px; width: 64px; }
.graph_box .graph_list .graph_bar .bar { flex: 0 0 auto; width: 24px; border-radius: 4px; background: #3E7FFF; transition: background .125s ease; }
.graph_box .graph_list .graph_bar.on .bar { box-shadow: inset 0 0 1px 1px #34ff3b; background: #BBD2FF; }
.graph_box .type_selector_wrap { display: flex; justify-content: center; gap: 28px; padding: 13px 0; margin: 32px 16px 0; background: #EEF6FF; border-radius: 8px; }
.graph_box .type_selector_wrap .btn_type { font-size: 16px; line-height: 22px; font-weight: 600; color: #9EBFFF; -webkit-appearance: none; border: none; background: none; }
.graph_box .type_selector_wrap .btn_type.on { color: #226CFF; }
.graph_box .graph_detail_value { display: none; margin: 20px 16px 0; padding: 20px 24px; font-size: 14px; line-height: 12px; font-weight: 400; color: #1e1f21; border-radius: 8px; background: #FEFEFE; box-shadow: 0px 1px 3.7px 0px #00000040; }
.graph_box .graph_detail_value em { font-weight: 700; }
.graph_box .graph_detail_value.on { display: block; }

.filter_list { flex: 0 0 auto; display: flex; padding: 0 20px; gap: 8px; }
.filter_list .btn_filter { display: flex; justify-content: center; align-items: center; padding: 8px 16px; border-radius: 8px; font-size: 15px; line-height: 21px; font-weight: 400; border: 1px solid #eee; background: #fff; color: #1E1F21; transition: background .125s ease, color .125s ease; }
.filter_list .btn_filter.on { background: #3E7FFF; color: #F8F7F5; font-weight: 600; }

/* bottom sheet */
.bottom_sheet { visibility: hidden; opacity: 0; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; background: rgba(0, 0, 0, .3); transition: visibility .2s ease, opacity .2s ease; }
.bottom_sheet.on { visibility: visible; opacity: 1; }
.bottom_sheet .sheet_contents { position: absolute; bottom: 0; left: 0; width: 100%; border-radius: 20px 20px 0 0; background: #fff; transform: translate3d(0, 100%, 0); transition: transform .275s ease; }
.bottom_sheet.on .sheet_contents { transform: translate3d(0, 0, 0); }

.filter_setting_sheet { padding: 50px 16px; }
.filter_setting_sheet .setting_section + .setting_section { margin-top: 26px; }
.filter_setting_sheet .setting_section .title { padding-left: 8px; margin-bottom: 20px; color: #000; font-size: 14px; line-height: 18px; font-weight: 400; }
.filter_setting_sheet .range_wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px; border: 1px solid #4C71F5; border-radius: 7px; }
.filter_setting_sheet .range_wrap .divide { flex: 0 0 auto; display: flex; color: #737681; font-size: 14px; line-height: 18px; font-weight: 500; }
.filter_setting_sheet .range_wrap .range_btn { flex: 0 1 100%; }
.filter_setting_sheet .range_wrap .range_input { display: none; }
.filter_setting_sheet .align_wrap { display: flex; align-items: center; padding: 8px; background: #F2F5FF; border-radius: 7px; gap: 9px; }
.filter_setting_sheet .align_wrap .btn_align { flex: 0 1 50%; display: flex; justify-content: center; align-items: center; color: #737681; font-size: 14px; font-weight: 600; height: 39px; border-radius: 4px; }
.filter_setting_sheet .align_wrap .btn_align.on { background: #4C71F5; color: #FFFFFF; }
.filter_setting_sheet .btn_primary { margin-top: 52px; width: 100%; }
.range_setting_sheet { padding: 50px 16px; }
.range_setting_sheet .picker_container { position: relative; display: flex; justify-content: center; width: 327px; max-width: 100%; gap: 20px; overflow: hidden; touch-action: none; user-select: none; margin: 0 auto; }
.range_setting_sheet .picker_container::before { position: absolute; top: 50%; left: 0; width: 100%; height: 44px; transform: translateY(-50%); background: #F2F5FF; border-radius: 8px; pointer-events: none; content: ''; z-index: -1; }
.range_setting_sheet .picker_container .picker { height: 200px; overflow: hidden; position: relative; width: 80px; }
.range_setting_sheet .picker_container .picker::before, 
.range_setting_sheet .picker_container .picker::after { content: ''; position: absolute; left: 0; right: 0; height: 80px; pointer-events: none; z-index: 1; }
.range_setting_sheet .picker_container .picker::before { top: 0; background: linear-gradient(to bottom, white, transparent); }
.range_setting_sheet .picker_container .picker::after { bottom: 0; background: linear-gradient(to top, white, transparent); }
.range_setting_sheet .picker_container .picker-list { position: absolute; width: 100%; text-align: center; padding: 80px 0; }
.range_setting_sheet .picker_container .picker-item { height: 44px; line-height: 44px; font-size: 16px; font-weight: 400; color: #333; }
.range_setting_sheet .picker_container .selected { color: #007AFF; font-weight: 700; }
.range_setting_sheet .btn_primary { width: 100%; margin-top: 42px; }

/* btn */
.btn { display: flex; justify-content: center; align-items: center; padding: 9px 10px; transition: color .125s ease, background-color .125s ease; }
.btn.btn_light_primary { height: 62px; background: #3E7FFF; color: #FFFFFF; border-radius: 8px; font-weight: 700; }
.btn.btn_light_primary[disabled] { color: #90B6FF; background: #DDEDFF; }
.btn.btn_primary { height: 52px; font-size: 16px; line-height: 19px; font-weight: 700; background: #4C71F5; color: #FFFFFF; border-radius: 8px; }
.btn.btn_primary[disabled] { background: #D3E0F8; }
.btn.btn_flat { height: 52px; font-size: 16px; font-weight: 700; line-height: 29px; background: #F2F5FF; color: #4C71F5; border-radius: 8px; }
.btn.btn_border { height: 52px; border: 1px solid #3E7FFF; border-radius: 8px; font-size: 14px; font-weight: 400; color: #3E7FFF; }
.btn.btn_small { height: auto; font-size: 14px; line-height: 17px; font-weight: 500; }