/* Timetrack - light, neutral design system. One accent color, 8px spacing rhythm. */

:root {
  --accent: #1f6feb;
  --accent-hover: #1a5cd8;
  --accent-bg: #eff6ff;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-hover: #f0f2f5;
  --border: #d0d7de;
  --text: #1f2328;
  --text-muted: #59636e;
  --danger: #cf222e;
  --danger-bg: #fff1f0;
  --success: #1a7f37;
  --radius: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --sidebar-w: 220px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: var(--accent);
}

button {
  font-family: inherit;
  font-size: 14px;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 14px;
}

/* ---------- App shell ---------- */

#app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  gap: var(--space-1);
}

.sidebar .brand {
  font-weight: 700;
  font-size: 16px;
  padding: var(--space-2);
  margin-bottom: var(--space-2);
}

.sidebar-section-title {
  padding: var(--space-2) var(--space-2) 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.sidebar-section-title:first-of-type {
  margin-top: 0;
}

.sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.sidebar .nav-link:hover {
  background: var(--bg-hover);
}

.sidebar .nav-link.active {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 600;
}

.nav-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.sidebar .user-box {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.sidebar .user-name {
  font-weight: 600;
}

.sidebar .user-role {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.sidebar .logout-btn {
  margin-top: var(--space-2);
  width: 100%;
}

.topnav {
  display: none;
}

/* ---------- Top bar (workspace name + avatar) ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.topbar .workspace-name {
  font-weight: 600;
}

.avatar-wrap {
  position: relative;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(31, 35, 40, 0.12);
  z-index: 50;
  overflow: hidden;
}

.avatar-menu .avatar-menu-header {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
}

.avatar-menu .avatar-menu-name {
  font-weight: 600;
}

.avatar-menu .avatar-menu-role {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.avatar-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text);
}

.avatar-menu button:hover {
  background: var(--bg-hover);
}

main {
  flex: 1;
  padding: var(--space-4);
  min-width: 0;
}

.view-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 var(--space-3) 0;
}

/* ---------- Cards ---------- */

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
}

.card-title {
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3);
}

.grid-2 > .card {
  min-width: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.btn:hover {
  background: var(--bg-hover);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* The Start button turns solid red while a timer is running (Clockify convention). */
.btn-timer-stop {
  background: var(--danger) !important;
  border-color: var(--danger) !important;
  color: #fff !important;
}

.btn-danger {
  color: var(--danger);
  border-color: var(--border);
}

.btn-danger:hover {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.btn-small {
  padding: 3px 10px;
  font-size: 12px;
}

/* ---------- Form controls ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-2);
  min-width: 0;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.inline-form {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
  flex-wrap: wrap;
}

/* ---------- Tables ---------- */

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: var(--space-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

/* A name column that should shrink/truncate instead of forcing the table
   (and its panel) wider - pair with .col-actions on the fixed-size button
   column so badges/buttons keep their natural width. */
td.col-name {
  width: 100%;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

td.col-actions {
  white-space: nowrap;
}

/* Stack two action buttons instead of side by side, when a row has little
   horizontal room (e.g. the Projects table also carries a name + status).
   A wrapper div (not the <td> itself) becomes the flex container, so the
   cell stays a normal table-cell for layout purposes. */
.actions-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

td.wrap {
  white-space: normal;
}

tr.clickable {
  cursor: pointer;
}

tr.clickable:hover {
  background: var(--bg-hover);
}

.table-scroll {
  overflow-x: auto;
  /* Scroll-shadow hint: fades in at whichever edge still has more table to
     scroll to, and disappears once that edge is fully scrolled past - no JS
     needed. The two "local" layers scroll with the content and mask the
     shadow with solid --bg near the current edge; the two "scroll" layers
     stay put and only show through past that mask when there's still
     off-screen content in that direction. */
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-image: linear-gradient(to right, var(--bg), var(--bg)), linear-gradient(to left, var(--bg), var(--bg)),
    linear-gradient(to right, rgba(31, 35, 40, 0.14), rgba(31, 35, 40, 0)),
    linear-gradient(to left, rgba(31, 35, 40, 0.14), rgba(31, 35, 40, 0));
  background-position: left center, right center, left center, right center;
  background-size: 24px 100%, 24px 100%, 10px 100%, 10px 100%;
  background-attachment: local, local, scroll, scroll;
}

/* ---------- Badges & dots ---------- */

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-active {
  background: #dafbe1;
  color: var(--success);
}

.badge-inactive {
  background: var(--bg-alt);
  color: var(--text-muted);
}

.badge-admin {
  background: var(--accent-bg);
  color: var(--accent);
}

.badge-member {
  background: var(--bg-alt);
  color: var(--text-muted);
}

/* ---------- Tracker view ---------- */

.tracker-bar {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.tracker-bar .desc-input {
  flex: 1;
  min-width: 160px;
}

.timer-display {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  min-width: 90px;
  text-align: center;
}

.week-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.week-nav .week-label {
  font-weight: 600;
  flex: 1;
}

.week-group {
  margin-bottom: var(--space-4);
}

.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2);
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.day-group {
  margin-bottom: var(--space-3);
}

.day-header {
  display: flex;
  justify-content: space-between;
  padding: var(--space-1) var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.entry-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: 6px;
}

.entry-row .entry-project {
  min-width: 180px;
  display: flex;
  align-items: center;
}

.entry-row .entry-desc {
  flex: 1;
  color: var(--text-muted);
}

.entry-row .entry-time {
  color: var(--text-muted);
  white-space: nowrap;
}

.entry-row .entry-duration {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.entry-row .entry-actions {
  display: flex;
  gap: 4px;
}

.week-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding: var(--space-2);
}

/* ---------- Reports ---------- */

.report-tabs {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.report-tabs button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
}

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

.preset-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}

.preset-row button {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 13px;
}

.preset-row button.active {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

.total-hours {
  font-size: 32px;
  font-weight: 700;
}

.total-hours-label {
  color: var(--text-muted);
  font-size: 13px;
}

.bar-cell {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 160px;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  min-width: 80px;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

/* ---------- Misc ---------- */

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
  gap: var(--space-2);
  flex-wrap: wrap;
}

.muted {
  color: var(--text-muted);
}

.empty-state {
  color: var(--text-muted);
  padding: var(--space-4);
  text-align: center;
}

.login-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}

.login-card {
  width: 340px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.login-card h1 {
  font-size: 18px;
  margin: 0 0 var(--space-3) 0;
}

.login-error {
  color: var(--danger);
  font-size: 13px;
  margin-bottom: var(--space-2);
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 35, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--space-4);
  width: 420px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.modal h2 {
  font-size: 16px;
  margin: 0 0 var(--space-3) 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* ---------- Project picker (searchable dropdown) ---------- */

.project-picker {
  position: relative;
}

.project-picker-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.project-picker-btn .placeholder {
  color: var(--text-muted);
}

.project-picker-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 300px;
  max-width: 90vw;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.15);
  z-index: 60;
  display: flex;
  flex-direction: column;
}

.project-picker-panel input[type="text"] {
  margin: var(--space-2);
  width: calc(100% - var(--space-3));
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.project-picker-list {
  max-height: 280px;
  overflow-y: auto;
  padding-bottom: var(--space-2);
}

.project-picker-group-label {
  padding: 4px var(--space-3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.project-picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px var(--space-3);
  cursor: pointer;
}

.project-picker-item:hover {
  background: var(--bg-hover);
}

.project-picker-item .client-label {
  color: var(--text-muted);
  font-size: 12px;
}

/* ---------- Billable toggle ---------- */

.billable-toggle {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.billable-toggle.on {
  color: var(--success);
  border-color: var(--success);
  background: #dafbe1;
}

.billable-dot {
  font-weight: 700;
  color: var(--text-muted);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.billable-dot.on {
  color: var(--success);
}

/* ---------- KPI row (Dashboard) ---------- */

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.kpi-card .kpi-label {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.kpi-card .kpi-value {
  font-size: 24px;
  font-weight: 700;
}

.kpi-card .kpi-sub {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* ---------- Bar chart (day/week/month totals) ---------- */

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 160px;
  padding-top: 24px;
  overflow: hidden;
  width: 100%;
}

.bar-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.bar-chart-value {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bar-chart-bar {
  width: 100%;
  max-width: 32px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}

.bar-chart-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ---------- Donut chart ---------- */

.donut-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.donut-legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.donut-legend-row .legend-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Filter bar (Reports) ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: flex-end;
}

.filter-bar .field {
  min-width: 140px;
}

/* ---------- Chips (Active/Archived/All) ---------- */

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

.chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 13px;
}

.chip.active {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Color palette (Create project modal) ---------- */

.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.color-swatch.selected {
  border-color: var(--text);
}

/* ---------- Row menu (kebab) ---------- */

.row-menu-wrap {
  position: relative;
  display: inline-block;
}

.row-menu-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  width: 28px;
  height: 28px;
  cursor: pointer;
  line-height: 1;
}

.row-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.15);
  z-index: 60;
  min-width: 140px;
  max-width: calc(100vw - 16px);
  overflow: hidden;
}

.row-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
}

.row-menu button:hover {
  background: var(--bg-hover);
}

.row-menu button.danger {
  color: var(--danger);
}

/* ---------- Sub-rows (Reports secondary grouping) ---------- */

.sub-row td:first-child {
  padding-left: var(--space-4);
  color: var(--text-muted);
}

.expand-toggle {
  cursor: pointer;
  color: var(--text-muted);
  margin-right: 6px;
  display: inline-block;
  width: 12px;
}

/* ---------- Warning icon (entries > 24h) ---------- */

.warn-icon {
  color: #9a6700;
  cursor: default;
}

/* ---------- Hint banner ---------- */

.hint-banner {
  background: var(--accent-bg);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  font-size: 13px;
}

/* ---------- Entry row updates (continue / menu) ---------- */

.entry-row .entry-billable {
  width: 16px;
  text-align: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.entry-row .entry-billable.on {
  color: var(--success);
}

.icon-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
}

/* ---------- Toast ---------- */

#toast {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  z-index: 200;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  max-width: 320px;
}

#toast.toast-error {
  background: var(--danger);
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive: collapse to top nav under 700px ---------- */

@media (max-width: 700px) {
  #app {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .topnav {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2);
    gap: var(--space-1);
    align-items: center;
  }

  .topnav .nav-link {
    padding: 6px 10px;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
  }

  .topnav .nav-link.active {
    background: var(--accent-bg);
    color: var(--accent);
    font-weight: 600;
  }

  .topnav .spacer {
    flex: 1;
  }

  main {
    padding: var(--space-3);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .entry-row {
    flex-wrap: wrap;
  }

  .entry-row .entry-project {
    min-width: 120px;
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: var(--space-2) var(--space-3);
  }

  .donut-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
