/* user/css/dock.css
   도크 UI 전용 (009 규칙)【turn36file1†L14-L20】
*/

/* RIGHT DOCK 내부 UI (패널/리스트/입력) */
#dockMount{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.dockPanel{
  flex: 1 1 0;
  min-height:0;
  display:flex;
  flex-direction:column;
}

.dockPanel .cardHead{ flex: 0 0 auto; }

.dockPanel .cardBody{
  flex: 1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.dockRow{ display:flex; gap:6px; }
.dockRow input{ flex:1; }

.dockList{
  flex: 1 1 auto;
  min-height:0;
  overflow:auto;
  padding-left: 16px;
  margin:0;
}

.dockItem{
  list-style: disc;
  font-size:12px;
  color:#111827;
  margin: 2px 0;
}

/* ===== Dock floating windows (Chat left / Log right) ===== */
/* (기존 layouts.css에 있던걸 dock.css로 이동)【turn36file2†L8-L75】 */

.dockFloatWin{
  position: fixed;
  bottom: 16px;
  z-index: 10000;

  width: 320px;
  height: 260px;

  background: #fff;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  overflow: hidden;
}

.dockFloatWin.isHidden{ display:none; }

.dockFloatWin .dockWinHeader{
  height: 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 10px;

  background: rgba(245,245,245,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);

  cursor: grab;
  user-select: none;
}
.dockFloatWin .dockWinHeader:active{ cursor: grabbing; }

.dockFloatWin .dockWinTitle{
  font-size: 12px;
  opacity: 0.75;
}

.dockFloatWin .dockWinBody{
  height: calc(100% - 32px);
  overflow: auto;
  padding: 8px;
}

/* resize handle (bottom-right) */
.dockFloatWin .dockWinResize{
  position:absolute;
  right: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  cursor: nwse-resize;
  opacity: 0.75;
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 0 55%, rgba(0,0,0,0.18) 55% 65%, transparent 65% 100%),
    linear-gradient(135deg, transparent 0 30%, rgba(0,0,0,0.18) 30% 40%, transparent 40% 100%),
    linear-gradient(135deg, transparent 0 5%, rgba(0,0,0,0.18) 5% 15%, transparent 15% 100%);
}

/* defaults: chat left, log right */
#dockWinChat{ left: 16px; }
#dockWinLog{ right: 16px; }

