@charset "UTF-8";
/* Button */
.btn { display: flex; align-items: center; justify-content: center; border-radius: 6px; text-align: center; transition: 0.35s; z-index:5; }
.btn-sm { height: 38px; font-size: 15px;} 
.btn-md { width: 120px; height: 44px; font-size: 16px; font-weight: 600;} 
.btn-lg { height: 56px; font-size: 16px;} 
.btn-w100p { width: 100%; }
.btn_p12 { padding: 0 12px; }
.btn_p16 { padding: 0 16px; }
.btn_brand {background-color: #317CC1; color: #fff; }
.btn_outline_brand {background-color: #fff; color: #317CC1;border: 1px solid #317CC1;}
.btn_outline_gray {background-color: #fff; color: #333333;border: 1px solid #E5E5EC;}
.btn_gray {background-color: #F1F1F5; color: #333333;}

.c_brand {
  color: #317CC1;
}

.invalid_txt {
  margin-top: 4px;
  color: #FF5454;
  font-size: 14px;
}

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

.btn_area_between {
  justify-content: space-between;
}

.btn_area.end {
  justify-content: flex-end;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
  opacity: 0;
}

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

.modal__inner {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  height: auto;
  padding: 40px;
  border-radius: 24px;
  background-color: #fff;
  transition: 0.45s;
  opacity: 0;
}

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

.modal__content {
  height: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal__content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.modal__content::-webkit-scrollbar-thumb {
  height: 30%;
  background: #dddddd;
  border-radius: 10px;
}

.modal__content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}

.modal__header h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 26px;
  color: #111;
}

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

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

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

.modal__btns.column {
  flex-direction: column;
}

/* Form */
.form-control {
  border: 1px solid #E5E5EC;
  border-radius: 8px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 16px;
  width: 100%;
  height: 56px;
}

.now_disabled {
  background-color: #e9ecef;
}

.form-control::placeholder {
  font-size: 16px;
  color: #999999;
}

.form-control.sm {
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

.form-control.sm::placeholder {
  font-size: 14px;
}

.custom_textarea {
  resize: none;
  border: 1px solid #E5E5EC;
  border-radius: 8px;
  width: 100%;
  min-height: 270px;
  padding: 16px;
}

/* Select */
.select-primary {
  height: 56px;
  line-height: 56px;
  float: none;
  display: inline-block;
}

.select-primary .list {
  width: 100%;
  max-height: 230px;
  overflow-y: auto;
  z-index: 1000;
}

.select-primary:active,
.select-primary.open,
.select-primary:focus {
  border-color: #E5E5EC;
}

.select-primary .option {
  border-bottom: 1px solid #E5E5EC;
  height: 56px;
  line-height: 56px;
  font-size: 16px;
  font-weight: 400;
}

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

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

.select-primary span.current {
  font-size: 16px;
  font-weight: 500;
}

.select-primary .option.focus,
.select-primary .option.selected.focus,
.select-primary .option:hover {
  background-color: #EFF5FA;
  color: #317CC1;
  font-weight: 500;
}

.select-primary:after {
  border-bottom: none;
  border-right: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../_img/common/icon_select_arrow.svg) no-repeat center center / contain;
  transform: translateY(-50%) rotate(0deg);
  margin-top: 0;
  right: 16px;
}

.select-primary.open:after {
  transform: translateY(-50%) rotate(-180deg);
  transform-origin: center !important;
}

/* custom checkbox */
.checkbox--typeA {
  height: 22px;
  font-weight: 400;
  color: #111111;
  line-height: 22px;
}

.checkbox--typeA label {
  display: flex;
  align-items: center;
  height: 100%;
}

.checkbox--typeA.center label {
  justify-content: center;
}

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

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

.checkbox--typeA.center input[type=checkbox]+em {
  margin-right: 0px;
}

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

.header_mo_menu {
  display: none;
}

.mobile_sidebar {
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgb(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  display: none;
}

.mobile_sidebar .header_mo_close_menu {
  display: inline-block;
  width: 28px;
  height: 28px;
  position: absolute;
  top: 13px;
  right: 20px;
  background: url(../_img/common/icon_header_mo_close.svg) no-repeat center center / contain;
}

.mobile_sidebar .sidebar__inner {
  margin-top: 198px;
  padding: 0 20px;
}

nav.mobile_gnb {
  text-align: center;
}

nav.mobile_gnb ul.gnb_ul_1depth>li {
  display: inline-block;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}

nav.mobile_gnb ul.gnb_ul_1depth>li>a {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #fff;
}

nav.mobile_gnb ul.gnb_ul_1depth>li.active>a {
  text-decoration: underline;
}

nav.mobile_gnb ul.gnb_ul_2depth {
  padding-top: 24px;
  display: none;
}

nav.mobile_gnb ul.gnb_ul_2depth li {
  display: inline-block;
  width: 100%;
  height: 26px;
  margin-bottom: 20px;
}

nav.mobile_gnb ul.gnb_ul_2depth li:last-child {
  margin-bottom: 0;
}

nav.mobile_gnb ul.gnb_ul_2depth li a {
  display: inline-block;
  height: 100%;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: #fff;
}

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

.sidebar__inner ul.header_lang li {
  font-size: 24px;
  line-height: 32px;
}

.sidebar__inner ul.header_lang li.active {
  color: #fff;
}

/* Mobile */
@media screen and (max-width:767px) {
  .header_mo_menu {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url(../_img/common/icon_menu.svg) no-repeat center center / contain;
  }
}

/* 로그인 & 회원가입 (폼요소 공통) */
.modal_login .modal__inner {
  max-width: 480px;
}

.form_login .form__content:not(:last-child) {
  margin-bottom: 8px;
}

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

.form__btns.column {
  flex-direction: column;
}

.form__content .input__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
}

/* 검색 */
.form_search .input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form_search .input input {
  background: url(../_img/common/icon_search.svg) no-repeat center left 16px;
  height: 56px;
  padding-left: 42px;
}

.form_search .input .btn_search {
  width: 100px;
  flex-shrink: 0;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 24px;
}

.loading span {
  font-size: 18px;
  font-weight: 500;
  color: #111;
}

.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #317cc1;
  --_m:
    conic-gradient(#0000 10%, #000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: rotateAnimation 1s infinite linear;
}

@keyframes rotateAnimation {
  to {
    transform: rotate(1turn)
  }
}

.upload_file {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.upload_file label {
  display: inline-block;
  width: 95px;
  height: 44px;
  line-height: 44px;
  color: #111111;
  background-color: #fff;
  border: 1px solid #E5E5EC;
  cursor: pointer;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
}

.upload_file input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

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

.select_filelist div {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.upload_name {
  position: relative;
  font-size: 16px;
  color: #111 ;
  background-color: #F1F1F5;
  padding: 4px 8px;
  border-radius: 6px;
}



/* AI 토글 버튼들 시작 */
.ai-switch{ position:relative; display:inline-flex; align-items:center; cursor:pointer; user-select:none; }
.ai-switch input{ display:none; }
.ai-slider{
  width:36px; height:20px; border-radius:9999px; background:#e5e7eb;
  position:relative; transition:.2s; display:inline-block; margin-right:6px;
}
.ai-slider:after{
  content:''; width:16px; height:16px; border-radius:50%; background:#fff;
  position:absolute; top:2px; left:2px; transition:.2s; box-shadow:0 1px 2px rgba(0,0,0,.1);
}
.ai-switch input:checked + .ai-slider{ background:#317cc1; }
.ai-switch input:checked + .ai-slider:after{ left:18px; }
.ai-label{ font-size:12px; color:#555; }
/* AI 토글 버튼들 종료 */