@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --accent: #1a5aa6;
  --ink: #10243a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #eef1f4;
  height: 100%;
}

body {
  font-family: Barlow, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #10243a;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #0f3f78;
  text-decoration: underline;
}

input,
select,
button {
  font-family: inherit;
}

::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #c3ccd6;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

/* ── App shell ───────────────────────────────────────────── */

.app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #eef1f4;
  color: #10243a;
  overflow: hidden;
}

/* ── Header ──────────────────────────────────────────────── */

.app-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  flex: none;
}

.app-header__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.app-header__logo {
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  border-radius: 3px;
}

.app-header__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-header__export {
  font-size: 11px;
  color: #8fa6bd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.tab-btn {
  padding: 7px 15px;
  border: 1px solid;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  border-color: #34506d;
  color: #b9c9d8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tab-btn:hover {
  text-decoration: none;
}
.tab-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tab-btn__count {
  font-family: 'IBM Plex Mono', monospace;
  opacity: 0.65;
}

.tab-btn--add {
  margin-left: 6px;
  border-style: dashed;
  border-color: var(--accent);
  color: var(--accent);
}
.tab-btn--add:hover {
  background: var(--accent);
  border-style: solid;
  color: #fff;
}

/* ── KPI strip ───────────────────────────────────────────── */

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d9e0e7;
  flex: none;
  border-bottom: 1px solid #d9e0e7;
}

.kpi {
  background: #fff;
  padding: 12px 18px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7d8b9a;
}

.kpi__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.kpi__value {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.kpi__sub {
  font-size: 12px;
  color: #64748b;
}

.kpi__bars {
  display: flex;
  gap: 3px;
  height: 5px;
  margin-top: 1px;
}

.kpi__bar {
  height: 5px;
  border-radius: 3px;
}

/* ── Filter bar ──────────────────────────────────────────── */

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 8px;
  padding: 10px 18px;
  background: #f7f9fa;
  border-bottom: 1px solid #dde4ea;
  flex: none;
}

.filter-bar__search {
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 280px;
  padding: 7px 10px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  font-size: 13px;
  background: #fff;
  color: #10243a;
}

.filter-bar__select {
  flex: 0 1 220px;
  min-width: 150px;
  padding: 7px 10px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  font-size: 13px;
  background: #fff;
  color: #10243a;
}

.chip-group {
  display: flex;
  gap: 4px;
}

.chip {
  padding: 6px 12px;
  font-size: 12.5px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  cursor: pointer;
  background: #fff;
  color: #32475c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip:hover {
  text-decoration: none;
}
.chip.is-active {
  color: #fff;
}
.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.filter-bar__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-bar__result {
  font-size: 12px;
  color: #64748b;
}

.btn-outline {
  padding: 6px 12px;
  font-size: 12.5px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  cursor: pointer;
  background: #fff;
  color: #10243a;
  text-decoration: none;
}
.btn-outline:hover {
  text-decoration: none;
}

.btn-ghost {
  padding: 6px 12px;
  font-size: 12.5px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  color: #7d8b9a;
}

.btn-primary {
  padding: 6px 12px;
  font-size: 12.5px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

/* ── Board (columns) ─────────────────────────────────────── */

.board {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 10px;
  padding: 12px 18px 18px;
  overflow-x: auto;
  align-items: stretch;
}

.column {
  flex: 1 0 236px;
  min-width: 236px;
  display: flex;
  flex-direction: column;
  background: #f7f9fa;
  border: 1px solid #dde4ea;
  border-radius: 4px;
  min-height: 0;
  transition: background-color 0.1s ease, border-color 0.1s ease;
}
.column.is-drop-target {
  background: #e6eef7;
  border-color: var(--accent);
}

.column__header {
  padding: 10px 12px 9px;
  border-bottom: 1px solid #e3e9ee;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: none;
}

.column__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.column__accent {
  width: 3px;
  height: 14px;
  border-radius: 2px;
}

.column__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.column__count {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #64748b;
}

.column__sum {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #8494a3;
  padding-left: 11px;
}

.column__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.column__empty {
  border: 1px dashed #cfd8e0;
  border-radius: 3px;
  padding: 14px 10px;
  text-align: center;
  font-size: 11.5px;
  color: #9aa8b5;
}

/* ── Card ────────────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid #dde4ea;
  border-left: 3px solid var(--flag-color, #2f7d5b);
  border-radius: 3px;
  padding: 9px 10px;
  cursor: grab;
  box-shadow: 0 1px 1px rgba(16, 36, 58, 0.04);
  display: block;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  border-color: #a9bccd;
  box-shadow: 0 2px 6px rgba(16, 36, 58, 0.09);
  text-decoration: none;
  color: inherit;
}
.card.is-dragging {
  opacity: 0.4;
}

.card__top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.card__nr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #8494a3;
  letter-spacing: 0.02em;
}

.card__due {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  margin-left: auto;
}

.card__avatar {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
  flex: none;
}

.card__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
  margin-bottom: 3px;
}

.card__kunde {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__detail {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card__bar-track {
  height: 4px;
  background: #e7ecf1;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
}

.card__bar-fill {
  height: 4px;
}

.card__stats {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #64748b;
}

.card__stats-hours {
  color: #10243a;
}

.card__stats-pct {
  margin-left: auto;
}

/* ── Maintenance table ───────────────────────────────────── */

.maint-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 18px 20px;
}

.maint-table {
  background: #fff;
  border: 1px solid #dde4ea;
  border-radius: 4px;
  overflow: hidden;
}

.maint-row,
.maint-table__head {
  display: grid;
  grid-template-columns: 92px 1fr 1.1fr 118px 96px 96px 84px;
  gap: 12px;
  padding: 9px 14px;
}

.maint-table__head {
  background: #f7f9fa;
  border-bottom: 1px solid #dde4ea;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8b9a;
}

.maint-row {
  border-bottom: 1px solid #eef2f5;
  font-size: 12.5px;
  cursor: pointer;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.maint-row:hover {
  background: #f7f9fa;
  text-decoration: none;
  color: inherit;
}

.maint-row__nr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #8494a3;
}
.maint-row__name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.maint-row__kunde {
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.maint-row__label {
  font-size: 11px;
  color: #64748b;
}
.maint-row__hours {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
}
.maint-row__chf {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: #64748b;
}
.maint-row__pl {
  font-size: 11.5px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #8494a3;
  font-size: 13px;
}

/* ── Turbo frames ────────────────────────────────────────── */
/* turbo-frame has no default display, so it doesn't inherit flex-item
   sizing on its own — without this, .board / .maint-main never get
   height-constrained and each column grows to fit its content instead
   of scrolling internally. */

turbo-frame#board-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Its content (.detail) is position:fixed, so the frame itself doesn't
   need to participate in the app's flex layout at all. */
turbo-frame#detail {
  display: contents;
}
turbo-frame#detail:empty {
  display: none;
}

/* ── Detail panel ────────────────────────────────────────── */

.detail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  background: #fff;
  border-left: 1px solid #cfd8e0;
  box-shadow: -8px 0 28px rgba(16, 36, 58, 0.13);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.detail__header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #e3e9ee;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: none;
}

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

.detail__nr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #8494a3;
}

.detail__flag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
}

.detail__flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.detail__close {
  border: 1px solid #dde4ea;
  background: #fff;
  border-radius: 3px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.detail__close:hover {
  text-decoration: none;
  color: #64748b;
}

.detail__menu {
  position: relative;
  margin-left: auto;
}

.detail__menu-btn {
  border: 1px solid #dde4ea;
  background: #fff;
  border-radius: 3px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.detail__menu-btn:hover {
  color: #10243a;
  border-color: #c3ccd6;
}

.detail__menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  min-width: 180px;
  background: #fff;
  border: 1px solid #cfd8e0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(16, 36, 58, 0.16);
  padding: 4px;
  flex-direction: column;
  gap: 2px;
}
.detail__menu-panel[hidden] {
  display: none;
}
.detail__menu-panel:not([hidden]) {
  display: flex;
}

.detail__menu-item {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 7px 9px;
  font-size: 12.5px;
  color: #10243a;
  border-radius: 3px;
  cursor: pointer;
}
.detail__menu-item:hover {
  background: #f2f5f8;
}
.detail__menu-item--danger {
  color: #b3452f;
}

.detail__menu-divider {
  height: 1px;
  background: #e3e9ee;
  margin: 3px 1px;
}

.detail__menu-label {
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8494a3;
  padding: 4px 9px 2px;
}

.detail__menu-statuses {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 9px 6px;
}

.detail__menu-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch-color, #cfd8e0);
  cursor: pointer;
  padding: 0;
}
.detail__menu-swatch.is-active {
  border-color: #10243a;
}
.detail__menu-swatch--auto {
  background: #fff;
  border: 1px solid #cfd8e0;
  color: #64748b;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.detail__kunde {
  font-size: 13px;
  color: #64748b;
}

.detail__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e3e9ee;
  border: 1px solid #e3e9ee;
  border-radius: 3px;
}

.detail__fact {
  background: #fff;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail__fact-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8494a3;
}

.detail__fact-value {
  font-size: 14px;
  font-weight: 500;
}

.detail__section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.detail__section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8494a3;
}

.detail__phases {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.phase-btn {
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  cursor: pointer;
  background: #fff;
  color: #32475c;
}
.phase-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.detail__text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #32475c;
  white-space: pre-wrap;
  text-wrap: pretty;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8494a3;
}

.form-field input[type="text"],
.form-field input[type="number"] {
  padding: 7px 10px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  font-size: 13px;
  background: #fff;
  color: #10243a;
  width: 100%;
}

.form-field-row {
  display: flex;
  gap: 10px;
}
.form-field-row .form-field {
  flex: 1;
  min-width: 0;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 7px;
}
.form-field--checkbox label {
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  color: #32475c;
}

.new-project__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* ── Compact mode (via ?dense=1) ─────────────────────────── */

.board.is-dense .card__detail {
  display: none;
}

@media (max-width: 720px) {
  .detail {
    width: 100%;
  }
}

/* ── Project tasks (in the detail panel) ─────────────────── */

.tasks {
  gap: 10px;
}

.tasks__header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.tasks__count {
  font-size: 11px;
  color: #64748b;
}

.tasks__toolbar {
  display: flex;
}

.tasks__search {
  width: 100%;
  max-width: none;
}

.tasks__status-chips {
  flex-wrap: wrap;
}

.tasks__archived-toggle {
  align-self: flex-start;
}

.tasks__empty {
  font-size: 12.5px;
  color: #8494a3;
  padding: 8px 0;
}

.tasks__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-row {
  border: 1px solid #e3e9ee;
  border-radius: 4px;
  background: #fff;
}

.task-row__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}
.task-row__summary::-webkit-details-marker {
  display: none;
}
.task-row__summary::marker {
  content: '';
}

.task-status-tag {
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  flex: none;
  background: #eef1f4;
  color: #64748b;
}
.task-status-tag--in_arbeit {
  background: #e4edf7;
  color: #1a5aa6;
}
.task-status-tag--in_review {
  background: #fbeee0;
  color: #b07d17;
}
.task-status-tag--done {
  background: #e3f0e8;
  color: #2f7d5b;
}
.task-status-tag--archiviert {
  background: #eceef0;
  color: #8494a3;
}

.task-row__title {
  flex: 1;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-row__comment-count {
  font-size: 11px;
  color: #8494a3;
}

.task-row__due {
  font-size: 10.5px;
}

.task-row__avatar {
  width: 19px;
  height: 19px;
  font-size: 9px;
}

.task-row__body {
  padding: 2px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid #e3e9ee;
}

.tasks__assignees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.avatar-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  cursor: pointer;
}
.avatar-btn.is-active {
  border-color: var(--ink);
}
.avatar-btn--none {
  background: #e3e9ee !important;
  color: #8494a3;
}

.tasks__due-form {
  display: flex;
  gap: 6px;
}
.tasks__due-form .filter-bar__search {
  max-width: 160px;
}

.tasks__edit-description-toggle {
  cursor: pointer;
  font-size: 11.5px;
  color: var(--accent);
  margin-top: 4px;
}

.tasks__description-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.tasks__description-input {
  padding: 7px 9px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  font-size: 12.5px;
  font-family: inherit;
  resize: vertical;
}

.tasks__comments {
  gap: 8px;
}

.task-comment {
  border-top: 1px solid #eef1f4;
  padding-top: 8px;
  font-size: 12px;
}

.task-comment__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 11px;
  margin-bottom: 3px;
}

.task-comment__avatar {
  width: 17px;
  height: 17px;
  font-size: 8.5px;
}

.task-comment__body {
  color: #32475c;
  line-height: 1.45;
}

.task-comment-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.task-comment-form__author {
  flex: 0 1 140px;
}

.task-comment-form input[type='text'] {
  flex: 1 1 140px;
  padding: 7px 9px;
  border: 1px solid #cfd8e0;
  border-radius: 3px;
  font-size: 12.5px;
}

.tasks__add-form {
  display: flex;
  gap: 6px;
}

.tasks__add-input {
  max-width: none;
}

.tasks__loading {
  font-size: 12px;
  color: #8494a3;
  padding: 6px 0;
}

/* ── Header: user area ──────────────────────────────────────── */

.app-header__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-header__user-name {
  font-size: 12.5px;
  color: #b9c9d8;
}

.app-header__user .btn-outline {
  background: transparent;
  border-color: #34506d;
  color: #b9c9d8;
}
.app-header__user .btn-outline:hover {
  color: #fff;
  border-color: #4a6d8f;
}

/* ── Login page ──────────────────────────────────────────────── */

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef1f4;
}

.login-card {
  width: 320px;
  background: #fff;
  border: 1px solid #d9e0e7;
  border-radius: 6px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-card__error {
  font-size: 12.5px;
  color: #b3452f;
  background: #fbebe7;
  border: 1px solid #f0cfc5;
  border-radius: 3px;
  padding: 8px 10px;
}

.login-card__form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-card__label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8b9a;
  margin-top: 8px;
}

.login-card__form .filter-bar__search {
  flex: none;
  max-width: none;
  width: 100%;
}

.login-card__submit {
  margin-top: 14px;
  text-align: center;
}
