@charset "utf-8";
/* NotoSans */
@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 100;
  src: url(./fonts/NotoSans-Thin.eot);
  src: url(./fonts/NotoSans-Thin.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-Thin.woff2) format('woff2'), url(./fonts/NotoSans-Thin.woff) format('woff'), url(./fonts/NotoSans-Thin.otf) format('opentype');
}
@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 200;
  src: url(./fonts/NotoSans-Light.eot);
  src: url(./fonts/NotoSans-Light.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-Light.woff2) format('woff2'), url(./fonts/NotoSans-Light.woff) format('woff'), url(./fonts/NotoSans-Light.otf) format('opentype');
}
@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 300;
  src: url(./fonts/NotoSans-DemiLight.eot);
  src: url(./fonts/NotoSans-DemiLight.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-DemiLight.woff2) format('woff2'), url(./fonts/NotoSans-DemiLight.woff) format('woff'), url(./fonts/NotoSans-DemiLight.otf) format('opentype');
}
@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 400;
  src: url(./fonts/NotoSans-Regular.eot);
  src: url(./fonts/NotoSans-Regular.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-Regular.woff2) format('woff2'), url(./fonts/NotoSans-Regular.woff) format('woff'), url(./fonts/NotoSans-Regular.otf) format('opentype');
}
@font-face {
  font-family: 'NotoSans';
  font-style: bold;
  font-weight: 600;
  src: url(./fonts/NotoSans-Medium.eot);
  src: url(./fonts/NotoSans-Medium.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-Medium.woff2) format('woff2'), url(./fonts/NotoSans-Medium.woff) format('woff'), url(./fonts/NotoSans-Medium.otf) format('opentype');
}
@font-face {
  font-family: 'NotoSans';
  font-style: bolder;
  font-weight: 700;
  src: url(./fonts/NotoSans-Bold.eot);
  src: url(./fonts/NotoSans-Bold.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-Bold.woff2) format('woff2'), url(./fonts/NotoSans-Bold.woff) format('woff'), url(./fonts/NotoSans-Bold.otf) format('opentype');
}
@font-face {
  font-family: 'NotoSans';
  font-style: bolder;
  font-weight: 800;
  src: url(./fonts/NotoSans-Black.eot);
  src: url(./fonts/NotoSans-Black.eot?#iefix) format('embedded-opentype'), url(./fonts/NotoSans-Black.woff2) format('woff2'), url(./fonts/NotoSans-Black.woff) format('woff'), url(./fonts/NotoSans-Black.otf) format('opentype');
}

html,
body,
.v-application,
.v-application .text-caption,
.v-application .text-button {
  font-family: "NotoSans", "맑은 고딕", "Malgun Gothic", "sans-serif" !important;
}

body {
  margin: 0;
  padding: 0;
  background-color: #e8ebf0;
}
/* 하단 footer 영역 */
footer.c-layout-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 18px 30px;
  background-color: #282929!important;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 999;
}
footer.c-layout-footer .logo {
  display: block;
  width: 120px;
  height: 32px;
  overflow: hidden;
  text-indent: -9999px;
  background: url('../images/flogo.png') no-repeat;
}
footer.c-layout-footer .addr {
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  color: #555555;
  line-height: 33px;
}
/* 상단 header 영역 */
header.c-layout-header {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}
header.c-layout-header .logo {
  display: block;
  width: 120px;
  height: 32px;
  overflow: hidden;
  text-indent: -9999px;
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}
header.c-layout-header.primary {
  background-color: #ffffff !important;
}
header.c-layout-header .v-toolbar__content {
  height: 32px!important;
  margin-top: 18px !important;
  padding-left: 40px;
  padding-right: 40px;
}
/* header 영역의 button icon */
header.c-layout-header button {
  background-color: #e8ebf0;
  width: 32px!important;
  height: 32px!important;
  border-radius: 50%;
  margin-left: 20px;
}
header.c-layout-header button .v-icon {
  font-size: 22px !important;
  color: #000!important;
}
header.c-layout-header button .v-icon:hover {
  color: #0067ff!important;
}
header.c-router-tabs {
  background-color: #2591fe!important;
  border-bottom: 1px solid #ffffff!important;
  z-index: 4!important;
}
header.c-router-tabs .v-toolbar__content {
  padding: 4px 30px!important;
}
header.c-router-tabs .v-slide-group__content a.-router-tab:first-of-type {
  padding-left: 25px!important;
}
header.c-router-tabs .v-tabs-slider-wrapper {
  height: 3px!important;
}
header.c-router-tabs a:hover {
  border-bottom: 3px solid #ffffff!important;
}
header.c-router-tabs .v-tabs-slider {
  border-bottom: 3px solid #00347f!important;
}
header.c-router-tabs a:hover,
header.c-router-tabs a {
  font-size: 14px;
  font-weight: 300;
  color: #ffffff!important;
  padding: 0 30px 0 10px!important;
  border-bottom: 3px solid transparent;
}
header.c-router-tabs button.-router-tab-close-all {
  font-size: 23px!important;
}
header.c-router-tabs .-is-closable button.-router-tab-close {
  top: 20px!important;
  right: 8px!important;
}
header.c-router-tabs .v-slide-group__prev--disabled,
header.c-router-tabs .v-slide-group__next--disabled {
  display: none !important;
}
header.c-router-tabs .v-icon {
  color: #ffffff!important;
}
/* 좌측 메뉴 navigation 영역 */
nav.v-navigation-drawer {
  background-color: #e8ebf0!important;
}
nav.v-navigation-drawer .v-list-item:not(.v-list-item--active):not(.v-list-item--disabled),
nav.v-navigation-drawer a.v-list-item .v-list-item__content,
nav.v-navigation-drawer i.v-icon {
  color: rgba(255, 255, 255, 0.5)!important;
}
nav.v-navigation-drawer .v-list-group__header.active-group .v-list-item__content,
nav.v-navigation-drawer a.v-list-item.active .v-list-item__content,
nav.v-navigation-drawer a.v-list-item.active i.v-icon,
nav.v-navigation-drawer a.v-list-item:hover .v-list-item__content,
nav.v-navigation-drawer a.v-list-item:hover i.v-icon {
  color: rgba(255, 255, 255, 1)!important;
}
/* 중앙 메인 영역 */
.container.-router-container {
  background-color: #e8ebf0 !important;
}
.container.-router-container .v-breadcrumbs__item {
  font-size: 24px;
  font-weight: 700;
  color: #2f3033;
  line-height: 33px;
}
.container.-router-container .v-breadcrumbs__item i.v-icon {
  display: none;
}

/* 툴바 */
.c-grid-toolbar .v-toolbar__title,
.c-page-toolbar .v-toolbar__title {
  font-size: 18px;
  font-weight: 600;
  color: #2f3033;
  line-height: 27px;
}
.c-grid-toolbar .v-toolbar__title i.v-icon,
.c-page-toolbar .v-toolbar__title i.v-icon {
  display: none;
}
.c-grid-toolbar .v-toolbar__content,
.c-page-toolbar .v-toolbar__content {
  align-items: flex-end;
}
.c-grid-toolbar button.v-btn,
.c-page-toolbar button.v-btn {
  font-size: 14px!important;
  margin-left: 10px!important;
  padding: 0 30px;
  border-radius: 5px;
  min-width: 90px!important;
  min-height: 40px;
}
.c-grid-toolbar button.c-primary-button,
.c-page-toolbar button.c-primary-button {
  color: #0067ff;
  border: 1px solid #0067ff;
  background-color: #ffffff;
}
.c-grid-toolbar .c-perpage.c-left-position {
  padding-left: 0;
  margin: 0!important;
}
.c-grid-toolbar .c-perpage .c-label-text {
  background-color: transparent!important;
  border: none;
  width: 90px!important;
  min-width: 90px!important;
  font-weight: 600;
  padding: 7px 0!important;
}
.c-grid-toolbar .c-perpage .c-combo-field {
  width: 150px!important;
  max-width: 150px!important;
}
.c-grid-toolbar .c-perpage fieldset {
  background-color: #ffffff;
}

/* 검색 폼 영역 */
.c-form-search .c-form-search-container {
  margin: 20px 0 15px 0;
  padding: 15px 20px;
  border-radius: 15px;
  font-size: 0;
  line-height: 0;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 52, 127, 0.1);
}
.c-form-search .c-form-search-container button.v-btn {
  font-size: 14px!important;
  font-weight: 300!important;
  min-width: 110px;
  margin-left: 10px;
}
.c-form-search .c-form-search-container button.c-primary-button {
  color: #fff!important;
  border: 1px solid #0067ff!important;
  background-color: #0067ff!important;
}
.c-form-search .c-form-search-container button.c-secondary-button {
  color: #666666;
  border: 1px solid #666666;
  background-color: #ffffff;
}

/* 그리드(table) */
.c-grid {
  margin-top: 20px;
}
.c-grid .tabulator-placeholder-contents,
.c-grid .tabulator-headers .tabulator-col {
  height: 48px;
  line-height: 40px;
}
.c-grid .tabulator-header {
  border-top: solid 2px #2a5a8b;
}
.c-grid .tabulator-header,
.c-grid .tabulator-header .tabulator-col {
  background-color: #f2f7ff!important;
}
.c-grid .tabulator-tableholder .tabulator-cell.row-state-col,
.c-grid .tabulator-tableholder .tabulator-cell.row-selection-col,
.c-grid .tabulator-tableholder .tabulator-cell.row-num-col {
  background-color: #f2f7ff!important;
  line-height: 40px;
}
.c-grid .tabulator-row {
  color: #666666!important;
}
.c-grid .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents {
  font-weight: 300!important;
}
.c-grid .tabulator-responsive-collapse {
  background-color: rgba(0, 0, 0, 0.05);
}
.c-grid .tabulator-responsive-collapse textarea.json-viewer {
  width: 100%;
  height: 300px;
  padding: 0 10px;
  resize: none;
  outline: none;
  font-family: "Courier New";
  color: rgba(0, 0, 0, 0.8);
  background-color: transparent;
}

/* 그리드 page 처리 */
.c-pagination {
  margin-top: 25px!important;
}
.c-pagination button {
  border-radius: 50%!important;
  width: 30px!important;
  height: 30px!important;
}
.c-pagination button.v-btn.v-btn--disabled.v-btn--has-bg,
.c-pagination button.v-pagination__item.outlined,
.c-pagination button.v-pagination__item {
  border: none!important;
  background-color: transparent!important;
}
.c-pagination button.v-pagination__item:hover,
.c-pagination button.v-pagination__item--active {
  border-radius: 50%;
  width: 30px!important;
  height: 30px!important;
  line-height: 31px;
  font-size: 14px;
  font-weight: 300;
  color: #fff!important;
  background-color: #2591fe!important;
}
.c-pagination .total-count .count {
  font-size: 14px!important;
  font-weight: bold;
  margin: 0 5px;
}

/* input 객체 */
.c-combo-field .v-input__control .v-input__slot {
  height: 40px!important;
  min-height: 32px!important;
}
.c-combo-field .v-input__control .v-input__append-inner {
  margin: 8px 0 0 0!important;
}
.c-combo-field .v-input__control .v-input__slot {
  padding-right: 6px !important;
}
.c-select-field .v-select__selections,
.c-combo-field .v-select__selections,
.c-yes-no-field label.v-label {
  font-size: 15px;
  color: #666666;
}

.c-body-text.c-outlined .c-body-text-content,
.c-image-upload.c-field-outlined,
.c-date-field fieldset,
.c-date-field.v-input--is-focused fieldset,
.c-period-field fieldset,
.c-period-field.v-input--is-focused fieldset,
.c-autocomplete-field.v-text-field--outlined fieldset,
.c-combo-field.v-text-field--outlined fieldset,
.c-select-field.v-text-field--outlined fieldset,
.c-textarea-field.v-text-field--outlined fieldset,
.c-number-field.v-text-field--outlined fieldset,
.c-password-field.v-text-field--outlined fieldset,
.c-text-field.v-text-field--outlined fieldset {
  border: 1px solid #d7dae4!important;
}
.c-combo-field .v-icon,
.c-date-field .v-icon,
.c-period-field .v-icon,
.c-password-field .v-icon {
  border: none!important;
  font-size: 20px!important;
}
.c-yes-no-field.c-field-outlined,
.c-check-field.c-field-outlined {
  border: none;
}
.c-textarea-field {
  font-size: 13px;
}
/* combobox options 영역 */
.v-menu__content {
  border-radius: 5px!important;
}
.v-menu__content .v-list.v-select-list.v-list--dense {
  padding: 0!important;
  border-radius: 5px!important;
  border: 1px solid #d7dae4;
}
.v-menu__content .v-list.v-select-list.v-list--dense .v-list-item {
  font-size: 13px;
  font-weight: 300;
  min-height: 32px;
}
.v-menu__content .v-list.v-select-list.v-list--dense .v-list-item.v-list-item--active {
  border-radius: 5px!important;
  background-color: #0067ff!important;
  color: #ffffff!important;
}
.v-menu__content .v-list.v-select-list.v-list--dense .v-list-item:hover {
  border-radius: 5px!important;
  background-color: #eeeeee!important;
  color: #000000!important;
}

/* form 영역 */
.c-form {
  margin-top: 20px;
  border-top: 2px solid #2a5a8b;
  background-color: #ffffff!important;
}
.c-form .c-label-text {
  font-size: 15px;
  font-weight: 600!important;
  color: #2f3033;
  line-height: 22px;
  background-color: #f2f7ff!important;
  border: none!important;
}
.c-form .c-single-line {
  border-bottom: 1px solid #d7dae4;
}
.c-form .c-text-field input {
  color: #666;
}
.c-form .c-image-upload-out,
.c-form .c-body-text {
  padding: 0 15px!important;
}
.c-form .c-body-text.c-outlined .c-body-text-content {
  padding: 7px 8px!important;
}
.c-form .c-autocomplete-field,
.c-form .c-check-field,
.c-form .c-combo-field,
.c-form .c-date-field,
.c-form .c-editor,
.c-form .c-label-text,
.c-form .c-locale-field .v-text-field--outlined,
.c-form .c-number-field,
.c-form .c-password-field,
.c-form .c-period-field,
.c-form .c-radio-field,
.c-form .c-text-field,
.c-form .c-textarea-field,
.c-form .c-upload,
.c-form .c-yes-no-field {
  padding: 8px 20px 8px 20px;
}
.c-alert-text {
  margin: 0!important;
}
button.c-dialog-btn.primary--text,
button.c-primary-button {
  color: #0067ff!important;
  border: 1px solid #0067ff!important;
  background-color: #ffffff!important;
}
button.c-dialog-btn.grey--text,
button.c-secondary-button {
  color: #666666!important;
  border: 1px solid #666666!important;
  background-color: #ffffff!important;
}
button.v-btn--disabled {
  border-color: rgba(0, 0, 0, .26) !important;
}

/* 레이어 팝업, 다이얼로그 */
.v-dialog header.c-modal-dialog-title.primary,
.v-dialog header.c-modal-popup-title.primary {
  background-color: #2591fe!important;
}
.v-dialog .v-form {
  margin-top: 0!important;
}

.c-data-table,
.c-data-table table,
.c-data-table .v-data-table__wrapper {
  width: 100%;
}
.c-data-table .v-data-table__wrapper {
  border-style: solid;
  border-color: #cccccc;
  border-width: 0 0 1px 1px !important;
}
.c-data-table table thead th.hidden-cell,
.c-data-table table tbody td.hidden-cell {
  display: none !important;
}
.c-data-table table thead th {
  border-top: solid 2px #2a5a8b!important;
  background-color: #f2f7ff!important;
  font-weight: bold !important;
  font-size: 14px!important;
  text-align: center !important;
}
.c-data-table table thead th.text-start {
  text-align: center !important;
}
.c-data-table table thead th,
.c-data-table table tbody td {
  border-right: solid 1px #d2d2d2 !important;
}
.c-data-table table tbody td {
  word-break: break-word;  /* 긴 단어도 자동 줄바꿈 */
  overflow-wrap: break-word;  /* 단어가 너무 길 경우 줄바꿈 */
  white-space: normal;  /* 기본적으로 줄바꿈 허용 */
}

.chat-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 160px);
  background: #f9f9f9;
}

.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-container.empty {
  justify-content: center;
  align-items: center;
}

.message {
  display: flex;
  width: 100%;
}

.message.user {
  justify-content: flex-end;
}

.message.bot {
  justify-content: flex-start;
}

.message-content {
  max-width: 60%;
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  background-color: #f1f0f0;
  white-space: pre-wrap;
}

.message.user .message-content {
  background-color: #dcf8c6;
  border-bottom-right-radius: 0;
}

.message.bot .message-content {
  background-color: #f1f0f0;
  border-bottom-left-radius: 0;
}

/* 입력창 */
.chat-input {
  display: flex;
  padding: 10px;
  background-color: white;
}

.chat-input.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  justify-content: center;
  border: none;
  background-color: transparent;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
}

.chat-input button {
   margin-left: 8px;
  padding: 2px;
  font-size: 10px;
  background-color: #333333;
  color: #ffffff!important;
  border: none;
  border-radius: 50% 50%;
  cursor: pointer;
}

.chat-sidebar {
  width: 100%;
  background-color: #f8f9fa;
  border-right: 1px solid #ddd;
  height: calc(100vh - 136px);
  overflow-y: auto;
  padding: 10px;
}

.chat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  padding: 0 5px;
}

.chat-item:hover {
  background-color: #e9ecef;
}

.chat-title {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-container {
  position: relative;
}

.menu-icon {
  font-size: 18px;
  padding: 0 8px;
  cursor: pointer;
}

.popup-menu {
  width: 120px;
  position: absolute;
  top: 20px;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}

.popup-menu div {
  padding: 4px 12px;
  cursor: pointer;
}

.popup-menu div:hover {
  background-color: #f1f1f1;
}

@media screen and (max-width: 768px) {
  header.c-layout-header {
    height: 56px!important;
  }
  header.c-layout-header span.logo {
    width: 90px;
    height: 24px;
  }
  header.c-layout-header .v-toolbar__content {
    margin-top: 13px !important;
    padding-left: 20px;
  }
  header.c-layout-header button {
    background-color: #e8ebf0;
    width: 26px!important;
    height: 26px!important;
  }
  header.c-layout-header button .v-icon {
    font-size: 15px !important;
  }
  main.v-main {
    padding-top: 56px !important;
  }
  .container.-router-container {
    min-height: calc(100vh - 56px - 56px) !important; /* header, footer */
  }
  .footer {
    height: 56px;
    display: block;
    padding: 20px;
  }
  .footer .f-logo {
    display: none;
  }
  .footer address {
    font-size: 12px;
    line-height: 21px;
    text-align: center;
  }
}

