@charset "UTF-8";

:root {
  --font-family-pretendard: 'Pretendard', sans-serif;
  --font-family-paperlogy: 'Paperlogy', sans-serif;
  --font-family-noto: 'Noto Sans KR', system-ui;

  --scrollbar-bg: transparent; /* 트랙 배경 */
  --scrollbar-thumb: rgba(123, 123, 123, 0.7); /* 기본 썸(막대) */
  --scrollbar-thumb-hover: rgba(123, 123, 123, 0.8);
  --scrollbar-thumb-active: rgba(123, 123, 123, 0.8);
  --scrollbar-corner: transparent; /* 모서리(양 스크롤 만나는 곳) */
  --scrollbar-size: 10px; /* 두께 */
  --scrollbar-radius: 8px; /* 둥근 정도 */

  --background-lighter: #f0f2f4;
  --text-sub: #4c4c4c;
  --color-primary: #4e84ff;
  --border-sub: #e3e3e3;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  scrollbar-width: auto;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
textarea,
p,
blockquote,
th,
td,
input,
select,
button {
  margin: 0;
  padding: 0;
}

fieldset,
img {
  border: 0 none;
}

dl,
ul,
ol,
menu,
li {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

input,
select,
textarea,
button {
  border-radius: 0;
  vertical-align: middle;
}

input::-ms-clear {
  display: none;
}

button {
  border: 0 none;
  background-color: transparent;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

body {
  background-color: #fff;
  direction: ltr;
  -webkit-text-size-adjust: none;
}

body,
th,
td,
input,
select,
textarea,
button {
  font-size: 16px;
  line-height: 1.2;
  font-family: 'Noto Sans KR', system-ui;
  color: #000;
  letter-spacing: -0.8px;
}

address,
caption,
code,
dfn,
em,
strong,
th,
var,
i {
  font-style: normal;
  font-weight: normal;
}

.os_mac body,
.os_mac th,
.os_mac td,
.os_mac input,
.os_mac select,
.os_mac textarea,
.os_mac button {
  letter-spacing: 0;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  background-color: transparent;
}

address,
caption,
cite,
code,
dfn,
em,
var {
  font-style: normal;
}

svg {
  display: block;
}

svg:focus {
  outline: none;
}

.screen-out {
  overflow: hidden;
  position: absolute;
  width: 0;
  height: 0;
  line-height: 0;
  text-indent: -9999px;
}

.icon-common {
  display: inline-block;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  color: transparent;
  vertical-align: top;
}

.btn-primary {
  display: inline-block;
  background-color: var(--baropharm-main-color-blue);
  border-color: var(--baropharm-main-color-blue);
  color: #fff;
  line-height: 30px;
  border-radius: 4px;
  width: 100%;
  padding: 6px 12px;
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: default;
}

input,
input[type='text'],
input[type='tel'],
input[type='email'],
input[type='search'],
select {
  letter-spacing: normal;
}

/* css variable */
:root {
  --baropharm-main-color-blue: #4e84ff;
  --baropharm-main-color-blue-1: #4677e5;
  --baropharm-main-color-blue-2: #375cb3;
  --baropharm-main-font-color-black0: #000;
  --baropharm-success-color: #3cc13b;
}

/* global setup */
body {
  min-width: 1336px;
  min-height: 810px;
  background-color: #fff;
}

body.auto-width-height {
  min-width: auto;
  min-height: auto;
}
body.padding-reset {
  padding: 0;
}
/* 반응형 처리를 위해 기본값으로 초기화 240109@ethan */
body[view-flex='true'] {
  min-width: auto;
  min-height: auto;
}

/*.winOs::-webkit-scrollbar,*/
/*.winOs *::-webkit-scrollbar {*/
/*    width: 9px;*/
/*    opacity: 0;*/
/*    background: transparent;*/
/*}*/

/*.winOs::-webkit-scrollbar-thumb,*/
/*.winOs *::-webkit-scrollbar-thumb {*/
/*    border-radius: 6px;*/
/*    background-color: rgba(0, 0, 0, 0.6);*/
/*}*/

table {
  padding: 0;
  border: 0;
  border-spacing: 0px;
  border-collapse: collapse;
}

th,
td {
  padding: 0;
}

/* date picker */
.datepicker .sc-popover .month-selector {
  height: 200px;
  top: 50px;
}

.datepicker .sc-popover .heading-section {
  padding: 20px 15px 0px 15px;
  font-size: 12px;
}

.datepicker .sc-popover .contents-wrapper.visible {
  display: block;
  width: 200px;
  top: 150px;
  left: 100px;
  z-index: 9999;
}

.sc-popover .arrow {
  width: 12px;
  height: 12px;
}

.day--label.selected:hover,
.day--label.selected,
.day--label:active:not(.disabled) {
  background-color: var(--baropharm-main-color-blue);
  border-color: var(--baropharm-main-color-blue);
  color: #fff;
}

.day.is-today .day--label,
.day.is-today .day--label:hover {
  opacity: 1;
  background: none;
  border-color: var(--baropharm-main-color-blue);
  color: var(--baropharm-main-font-color-black0);
}

.sc-popover .contents-wrapper.visible {
  font-size: 10px;
}

.sc-popover .label {
  font-size: 12px;
}

.day--label {
  font-size: 10px;
}

body .swal2-container {
  z-index: 99999;
}

.progress-dot {
  flex: 1;
  height: 2px;
  background-image: url('https://i.baropharm.com/web/icon-progress-dot.svg');
  background-repeat: repeat-x;
  min-width: 10px;
}

.hover-scale {
  transform: scale(1);
  transition: transform 0.3s;
}

.hover-scale:hover {
  transform: scale(1.1);
}

.POINTER {
  cursor: pointer;
}

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

.ellipsis-two-line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsis-three-line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.paperlogy {
  font-family: 'Paperlogy', sans-serif;
}
.pretendard {
  font-family: 'Pretendard', sans-serif;
}

@font-face {
  font-family: 'Pretendard', sans-serif;
  src: url('/assets/font/Pretendard/PretendardVariable.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('/assets/font/Paperlogy/Paperlogy-5Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('/assets/font/Paperlogy/Paperlogy-7Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* 스크롤바 두께 (세로/가로 공통) */
.winOs *::-webkit-scrollbar,
.winOs ::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

/* 트랙(배경) */
.winOs *::-webkit-scrollbar-track,
.winOs ::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}

/* 썸(막대) */
.winOs *::-webkit-scrollbar-thumb,
.winOs ::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--scrollbar-radius);
  border: 2px solid transparent;
  background-clip: content-box;
}

/* 상태별 */
.winOs *::-webkit-scrollbar-thumb:hover,
.winOs ::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: content-box;
}
.winOs *::-webkit-scrollbar-thumb:active,
.winOs ::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-thumb-active);
  background-clip: content-box;
}

/* 모서리 */
.winOs *::-webkit-scrollbar-corner,
.winOs ::-webkit-scrollbar-corner {
  background: var(--scrollbar-corner);
}
