/* Minimal Freiraum layout polish using Bulma 1.0 CSS custom properties */

html, body, #app {
  height: 100%;
  margin: 0;
}

.freiraum-task-done {
  text-decoration: line-through;
  opacity: 0.6;
}

.freiraum-task-row {
  border-bottom: 1px solid var(--bulma-border-weak, rgba(0, 0, 0, 0.08));
  transition: background-color 0.12s ease;
}

.freiraum-task-row:last-child {
  border-bottom: none;
}

.freiraum-task-row:hover {
  background-color: var(--bulma-scheme-main-bis, rgba(0, 0, 0, 0.02));
}

.freiraum-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.freiraum-kanban {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  align-items: flex-start;
}

.freiraum-kanban-column {
  min-width: 280px;
  max-width: 340px;
  flex: 0 0 300px;
}

.freiraum-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.freiraum-stepper-step {
  flex: 1 1 130px;
  border-radius: var(--bulma-radius, 6px);
  border: 1px solid var(--bulma-border, rgba(0, 0, 0, 0.12));
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  background-color: var(--bulma-scheme-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.freiraum-stepper-step.is-active {
  border-color: var(--bulma-primary);
  box-shadow: 0 0 0 1px var(--bulma-primary);
}

.freiraum-sidebar-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.75rem;
}

.freiraum-clickable-row {
  cursor: pointer;
}

.freiraum-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.freiraum-header-main {
  flex: 1 1 260px;
  min-width: 0;
}

.freiraum-header-actions {
  flex: 0 1 auto;
  max-width: 100%;
}

.freiraum-header-actions .buttons {
  margin-bottom: 0;
}

.freiraum-header-actions .buttons .button {
  margin-bottom: 0.25rem;
}

.freiraum-tag-content {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
}

.freiraum-tag-content svg {
  display: block;
  flex-shrink: 0;
}

.tag .icon-text {
  align-items: center;
  line-height: 1;
}

.tag .icon-text .icon {
  height: auto;
  width: auto;
}
