@import url("./webgrid.css");

/* 데모 페이지 전용 스타일 (그리드 본체는 webgrid.css).
 * 기존 사이트 이식 시 이 파일은 불필요: webgrid.css만 복사.
 */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

button,
input {
  font:inherit;
}

.app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  min-width: 720px;
}

.board-search {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 10px 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.board-search-title {
  font-size:21.6px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.search-form label {
  font-size:15.6px;
  font-weight: 600;
  color: #344054;
}

.search-form input {
  width: min(320px, 34vw);
  min-width: 180px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.search-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.search-form button {
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.search-form button[type="submit"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.search-form button:hover {
  filter: brightness(0.97);
}

.sheet-tabs button {
  min-height: 30px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
}

.sheet-tabs button:hover {
  background: #eef2f5;
  border-color: var(--line);
}

.grid-wrap {
  min-height: 0;
  overflow: auto;
  background: var(--panel);
  position: relative;
  scrollbar-gutter: stable;
}

.sheet-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 40px;
  padding: 6px 12px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.sheet-tabs .active {
  background: var(--accent);
  color: #fff;
}

.data-status {
  margin-left: auto;
  color: var(--muted);
  font-size:14.4px;
}
