/* lmtsTabbar.css — dhtmlxtabbar.css 대체 (lmtsTabbar.js 전용 스타일) */

.lmts-tabbar {
  position: relative;
  overflow: hidden;
}

/* 탭 버튼 줄 전체: [◀][탭들][▶] */
.lmts-tabbar-head {
  height: 30px;
  display: flex;
  align-items: stretch;
  background: #ebeff2;
  border-bottom: 1px solid #a4bed4;
}

/* 좌우 스크롤 화살표 — 탭이 넘칠 때만 표시 */
.lmts-tab-arrow {
  display: none;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #567;
  cursor: pointer;
  user-select: none;
  background: #dfe6ec;
}
.lmts-tabbar-head.overflow .lmts-tab-arrow {
  display: flex;
}
.lmts-tab-arrow:hover {
  background: #cfd9e2;
  color: #234;
}
.lmts-tab-arrow.disabled {
  color: #b3bec7;
  cursor: default;
  background: #dfe6ec;
}

/* 탭 스크롤 영역 */
.lmts-tabbar-strip {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;           /* Firefox */
}
.lmts-tabbar-strip::-webkit-scrollbar {
  display: none;                   /* Chrome/Edge */
}

/* 개별 탭 */
.lmts-tab {
  flex: 0 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 27px;
  padding: 0 6px 0 10px;
  margin: 0 2px 0 0;
  background: #d8e1e8;
  border: 1px solid #a4bed4;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-size: 12px;
  color: #445;
  user-select: none;
}
.lmts-tab:hover {
  background: #e4ebf0;
}
.lmts-tab.active {
  background: #fff;
  color: #000;
  font-weight: bold;
}

.lmts-tab-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 탭 닫기(X) 버튼 */
.lmts-tab-close {
  flex: 0 0 auto;
  margin-left: 6px;
  width: 14px;
  height: 14px;
  line-height: 13px;
  text-align: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: normal;
  color: #667;
}
.lmts-tab-close:hover {
  background: #c0392b;
  color: #fff;
}

/* 콘텐츠(iframe) 영역 — 탭 줄 아래 나머지 전부 */
.lmts-tabbar-content {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border: 1px solid #a4bed4;
  border-top: none;
  box-sizing: border-box;
}

.lmts-tab-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
