@charset "UTF-8";
:root {
  /* === 브랜드 (제이온 프리미엄: 에메랄드 + 앤틱골드) === */
  --color-main: #0E7C66;        /* 메인 액션 (구 #48BDA0) */
  --color-sub: #14B8A6;         /* 보조·활성 */
  --color-typo: #0B5C4C;        /* 진한 강조 텍스트 */
  --color-main-soft: rgba(14, 124, 102, .10);  /* 메인 연한 배경 (구 #48BDA01A) */
  --color-main-005: rgba(14, 124, 102, .05);
  --color-gold: #B68D40;        /* 프리미엄 포인트 */
  --color-gold-soft: #F3EAD7;   /* 골드 칩/배경 */
  --color-gold-text: #8A6A24;   /* 골드 텍스트(AA) */
  --color-red: #F02C2F;
  --color-bg: #F4F7F5;          /* 쿨 아이보리 */
  --color-surface: #FFFFFF;
  --color-line: #E9EDEB;        /* 경계선 */
  /* === 형태 === */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 14px rgba(16, 40, 34, .06);
  --shadow-float: 0 10px 28px rgba(16, 40, 34, .12);
  --grad-main: linear-gradient(135deg, #0E7C66 0%, #14B8A6 100%);
  --grad-gold: linear-gradient(135deg, #C9A86A 0%, #B68D40 100%);
  --ease-premium: cubic-bezier(.22, .61, .36, 1);
}

/* Button */
/*.btn {
  display: inline-block;
  border-radius: 10px;
  text-align: center;

}*/
.btn {
    display: inline-flex;          /* inline-block → inline-flex */
    align-items: center;           /* 수직 중앙 */
    justify-content: center;       /* 가로 중앙 */
    text-align: center;
    border-radius: 10px;
    /* line-height 제거: 폰트 메트릭 영향 최소화 */
}

.btn-sm {
  height: 40px;
  line-height: 40px;
}

.btn-md {
  height: 46px;
  line-height: 46px;
}

.btn-lg {
  height: 50px;
  line-height: 50px;
  border-radius: 6px;
}

.btn-w100p {
  width: 100%;
}

.btn-textType {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 400;
  color: var(--info_text);
}

.btn:disabled {
  background-color: #8E8E93;
  color: #fff;
}

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

.btn_main {
  background-color: var(--color-main);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 124, 102, .22);
  transition: transform .15s var(--ease-premium), box-shadow .15s var(--ease-premium);
}
.btn_main:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(14, 124, 102, .18);
}

.btn_sub {
  background-color: var(--color-main-soft);
  color: var(--color-main);
}

.btn_typo {
  background-color: var(--color-main-soft);
  color: var(--color-typo);
}

.btn_gradient {
  color: #fff;
  background: var(--grad-main);
  box-shadow: 0 6px 18px rgba(14, 124, 102, .26);
}

/* === 로그인 브랜드 태그라인 (한글 단문, 톤 다운) === */
.login_tagline {
  text-align: center;
  margin-top: -78px;
  margin-bottom: 44px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: #8A938F;
}

/* === 버튼 위계: 보조(외곽선) — filled 주요 버튼과 명확히 구분 === */
.btn_outline {
  background-color: var(--color-surface);
  color: var(--color-main);
  border: 1.5px solid var(--color-main);
  box-shadow: none;
}
.btn_outline:active:not(:disabled) {
  background-color: var(--color-main-soft);
}
/* 외곽선 버튼 안의 아이콘이 흰색 PNG/SVG여도 묻히지 않도록 약하게 보정 */
.btn_outline img { opacity: .9; }

/* === 홈 섹션 타이틀 (골드 액센트 + 일관 타이포) === */
.home__manage > h5,
.home__compare > h5 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 12px;
}
.taking__medicine > div > h5,
.taking__medicine > h5,
.home__manage > h5,
.home__compare > h5,
.home__notice > h5 {
  position: relative;
  padding-left: 12px;
}
.taking__medicine > div > h5::before,
.taking__medicine > h5::before,
.home__manage > h5::before,
.home__compare > h5::before,
.home__notice > h5::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--grad-gold);
}

/* === DDI 맥락 안내 문구 === */
.ddi-hint {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: #8A938F;
  text-align: center;
}

/* Color */
.c_gray600 {
  color: #636366;
}
/* Text */
.info_txt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  vertical-align: middle;
  color: #848487;
}

.info_txt.error {
  color: var(--color-red);
}

/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: #999999;
  z-index: -1;
  opacity: 0;
}

.modal.open {
  z-index: 1000;
  opacity: 1;
}

#modal-alert.open,
#modal-confirm.open {
  z-index: 1100;
}

.modal__inner {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 94px);
  max-width: 300px;
  border-radius: 14px;
  background-color: #fff;
  transition: 0.45s;
  opacity: 0;
}

.modal.open .modal__inner {
  top: 50%;
  opacity: 1;
}

.modal__close {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 16px;
  top: 16px;
}

.modal__close .btn_modal_close {
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url(../_img/icon/icon_modal_close.svg) no-repeat center center / contain;
}

.modal__header {
  text-align: center;
}

.modal__header h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.modal__header p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #4A4A4A;
}

.modal__btns {
  display: flex;
  align-items: center;
  gap: 11px;
}

.modal__btns .btn {
  border-radius: 10px;
  flex: 1;
  height: 41px;
  line-height: 41px;
}

/* Form */
.form-control {
  border: none;
  border-radius: 6px;
  background-color: var(--color-bg);
  padding: 0 16px;
  font-size: 15px;
  width: 100%;
  height: 50px;
}

.form-control::placeholder {
  font-size: 15px;
  font-weight: 400;
  color: #636366;
}

.datepicker {
  /* max-width: 152px; */
  /* text-align: center; */
  font-size: 16px;
  font-weight: 400;
}

/* Select */
.select--typeA {
  height: 46px;
  line-height: 46px;
  float: none;
  background-color: var(--color-bg);
  width: 100%;
  border: none;
  display: inline-block;
}

.select--typeA-noheight {
  /* 기존 .select--typeA의 다른 속성은 상속 */
  height: 40px;
  line-height: 40px;
}

.select--typeA .list {
  width: inherit;
  max-height: 190px;
  overflow-y: auto;
  z-index: 1000;
}

.select--typeA:active,
.select--typeA.open,
.select--typeA:focus {
  border-color: transparent;
}

.select--typeA .option {
  border-bottom: 1px solid transparent;
  height: 40px;
  line-height: 40px;
}

.select--typeA .option:last-child {
  border-bottom: none;
}

.select--typeA .option.selected {
  font-weight: normal;
}

.select--typeA:after {
  border-bottom: none;
  border-right: none;
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(../_img/icon/icon_select_arrow.svg) no-repeat center center / contain;
  transform: translateY(-50%) scale(1);
  margin-top: 0;
  right: 15px;
}

.select--typeA.open:after {
  transform: translateY(-50%) scaleY(-1);
  transform-origin: center !important;
}

/* Checkbox & Radio */
.radio--typeA {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.radio--typeA label {
  display: flex;
  align-items: center;
}

.radio--typeA input[type=radio] {
  display: none;
}

.radio--typeA input[type=radio]+em {
  display: inline-block;
  width: 24px;
  height: 24px;
  font-style: normal;
  border-radius: 50%;
  background: url(../_img/icon/icon_radio.svg) no-repeat center center / contain;
  margin-right: 10px;
}

.radio--typeA input[type=radio]:checked+em {
  background: url(../_img/icon/icon_radio_on.svg) no-repeat center center / contain;
}

.radio--typeB input[type=radio] {
  display: none;
}

.radio--typeB input[type=radio]+em {
  display: inline-block;
  width: 17px;
  height: 17px;
  font-style: normal;
  background: url(../_img/icon/icon_checkbox_A.svg) no-repeat center center / contain;
}

.radio--typeB input[type=radio]:checked+em {
  background: url(../_img/icon/icon_checkbox_A_on.svg) no-repeat center center / contain;
}

.radio--typeC {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

.radio--typeC label {
  display: flex;
  align-items: center;
}

.radio--typeC input[type=radio] {
  display: none;
}

.radio--typeC input[type=radio]+em {
  display: inline-block;
  width: 22px;
  height: 22px;
  font-style: normal;
  border-radius: 50%;
  background: url(../_img/icon/icon_radio_C.svg) no-repeat center center / contain;
  margin-right: 10px;
}

.radio--typeC input[type=radio]:checked+em {
  background: url(../_img/icon/icon_radio_C_on.svg) no-repeat center center / contain;
}

.radio--typeD label {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.radio--typeD input[type=radio] {
  display: none;
}

.radio--typeD input[type=radio]+em {
  display: inline-block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  border-radius: 10px;
  text-align: center;
  font-style: normal;
  background-color: var(--color-bg);
  color: #303030;
  font-size: 14px;
  font-weight: 400;
}

.radio--typeD input[type=radio]:checked+em {
  background-color: var(--color-main);
  color: #fff;
  font-weight: 500;
}
.checkbox--typeA input[type=checkbox] {
  display: none;
}

.checkbox--typeA input[type=checkbox]+em {
  display: inline-block;
  width: 17px;
  height: 17px;
  font-style: normal;
  background: url(../_img/icon/icon_checkbox_A.svg) no-repeat center center / contain;
}

.checkbox--typeA input[type=checkbox]:checked+em {
  background: url(../_img/icon/icon_checkbox_A_on.svg) no-repeat center center / contain;
}

.checkbox--typeA.bookmark input[type=checkbox]+em {
  width: 24px;
  height: 24px;
  background-image: url(../_img/icon/icon_bookmark.svg);
}

.checkbox--typeA.bookmark input[type=checkbox]:checked+em {
  background-image: url(../_img/icon/icon_bookmark_on.svg);
}