:root{
  --fx-bg: rgba(20, 24, 28, .55);
  --fx-panel: rgba(18, 22, 26, .72);
  --fx-panel-2: rgba(18, 22, 26, .55);

  --fx-border: rgba(255,255,255,.18);
  --fx-border-soft: rgba(255,255,255,.10);

  --fx-text: rgba(255,255,255,.92);
  --fx-text-dim: rgba(255,255,255,.62);

  --fx-accent: #0d6efd;   /* bootstrap primary */
  --fx-danger: #dc3545;
  --fx-radius: 14px;
}

/* общий контейнер доски */
.fx-kanban {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 8px 2px;
}

/* колонка */
.fx-col {
  width: 320px;
  background: linear-gradient(180deg, var(--fx-panel), var(--fx-panel-2));
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  overflow: hidden;
}

/* заголовок колонки */
.fx-col__head {
  padding: 12px 14px 10px 14px;
  border-bottom: 1px solid var(--fx-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fx-col__title {
  font-weight: 700;
  color: var(--fx-text);
  letter-spacing: .2px;
}

/* поле добавления */
.fx-add {
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.fx-input {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
  border-radius: 10px;
  height: 36px;
  padding: 0 12px;
  outline: none;
  width: 100%;
}

.fx-input::placeholder {
  color: rgba(255,255,255,.45);
}

.fx-btn-plus {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(13,110,253,.55);
  background: rgba(13,110,253,.14);
  color: rgba(255,255,255,.95);
  font-weight: 700;
  line-height: 34px;
}

.fx-btn-plus:hover {
  background: rgba(13,110,253,.22);
}

/* список карточек */
.fx-cards {
  padding: 0 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}

/* карточка */
.fx-card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  padding: 12px 12px;
  cursor: grab;
  user-select: none;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
}

.fx-card:hover {
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.26);
}

.fx-card:active { cursor: grabbing; }

.fx-card__title{
  font-weight: 650;
  color: var(--fx-text);
}

.fx-card__meta{
  margin-top: 6px;
  font-size: 12px;
  color: var(--fx-text-dim);
}

/* подсветка drop зоны (по желанию) */
.fx-drop {
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 10px;
}

.fx-page {
  max-width: 980px;
  padding: 8px 6px;
}

.fx-panel {
  background: linear-gradient(180deg, rgba(18, 22, 26, .78), rgba(18, 22, 26, .55));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.fx-panel__head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fx-panel__title {
  font-weight: 800;
  color: rgba(255,255,255,.92);
  letter-spacing: .2px;
}

.fx-panel__body {
  padding: 16px;
}

.fx-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fx-btn {
  height: 36px;
  border-radius: 10px;
  padding: 0 14px;
  border: 1px solid rgba(13,110,253,.55);
  background: rgba(13,110,253,.14);
  color: rgba(255,255,255,.95);
  font-weight: 600;
}

.fx-btn:hover { background: rgba(13,110,253,.22); }

.fx-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  text-decoration: none;
}

.fx-item:hover {
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.26);
  text-decoration: none;
}

.fx-item__name {
  color: rgba(255,255,255,.92);
  font-weight: 650;
}

.fx-item__meta {
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

.fx-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
}

.fx-modal{
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 26px));
  background: linear-gradient(180deg, rgba(18,22,26,.92), rgba(18,22,26,.78));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  z-index: 2001;
  overflow: hidden;
}

.fx-modal__head{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.fx-modal__body{
  padding: 14px;
}

.fx-modal__foot{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}

.fx-textarea{
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}
