* {
  box-sizing: border-box;
}

:root {
  --page-bg: #eef3f9;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --surface-border: rgba(148, 163, 184, 0.18);
  --text-main: #0f172a;
  --text-soft: #52627a;
  --brand: #1f4fbf;
  --brand-strong: #173b90;
  --brand-deep: #102a63;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shadow-panel: 0 26px 70px rgba(15, 23, 42, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text-main);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  text-decoration: none;
}

.muted {
  color: #64748b;
}

.landing-page {
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(11, 27, 54, 0.76), rgba(28, 61, 116, 0.38)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.landing-overlay {
  min-height: 100vh;
  padding: 34px 28px 64px;
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
  z-index: 60;
}

.app-topbar {
  border-radius: 26px;
  min-height: 78px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.78);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.app-topbar--hero {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(9, 20, 43, 0.22);
}

.hero-brand,
.results-brand {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-brand {
  color: #ffffff;
}

.results-brand {
  color: var(--text-main);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 80;
}

.locale-widget {
  position: relative;
  z-index: 120;
}

.locale-trigger {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(21, 38, 78, 0.34);
  color: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  min-height: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(7, 15, 35, 0.18);
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.locale-trigger:hover {
  transform: translateY(-1px);
  background: rgba(21, 38, 78, 0.5);
  box-shadow: 0 14px 28px rgba(7, 15, 35, 0.24);
}

.locale-trigger__group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.locale-trigger__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
}

.locale-trigger__icon svg,
.locale-trigger__caret svg {
  width: 100%;
  height: 100%;
}

.locale-trigger__text {
  white-space: nowrap;
}

.locale-trigger__separator {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

.locale-currency-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: #173c8f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.locale-currency-badge--panel {
  width: 34px;
  height: 34px;
  font-size: 0.78rem;
  background: #e8f0ff;
  color: #1842aa;
}

.locale-trigger__caret {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 140ms ease;
}

.locale-widget--open .locale-trigger__caret {
  transform: rotate(180deg);
}

.locale-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.22);
  color: #10203d;
  z-index: 2200;
  overflow: hidden;
}

.locale-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 14px;
}

.locale-panel__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.locale-panel__close {
  appearance: none;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.locale-panel__tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid #e2e8f0;
}

.locale-panel__tab {
  appearance: none;
  border: none;
  background: transparent;
  color: #64748b;
  padding: 0 2px 14px;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.locale-panel__tab--active {
  color: #0f172a;
  border-bottom-color: #1f3f8c;
}

.locale-panel__body {
  padding: 18px 22px 22px;
}

.locale-panel__view {
  display: none;
}

.locale-panel__view--active {
  display: block;
}

.locale-options-form,
.locale-options-stack {
  display: grid;
  gap: 12px;
}

.locale-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #dbe4f1;
  background: #f8fbff;
  color: #10203d;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.locale-option:hover {
  transform: translateY(-1px);
  border-color: #bfd0ec;
  background: #f3f8ff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
}

.locale-option--static {
  cursor: default;
}

.locale-option--static:hover {
  transform: none;
}

.locale-option--active {
  border-color: #2f66e9;
  background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%);
}

.locale-option__meta {
  display: grid;
  gap: 4px;
}

.locale-option__title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.locale-option__subtitle {
  font-size: 0.9rem;
  color: #64748b;
}

.locale-option__check {
  min-width: 24px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 900;
  color: #1e4dd8;
}

.locale-note {
  margin: 14px 2px 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.auth-topbar .locale-trigger,
.profile-topbar-actions .locale-trigger {
  background: rgba(244, 247, 251, 0.96);
  color: #17305b;
  border-color: rgba(203, 213, 225, 0.96);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.auth-topbar .locale-trigger:hover,
.profile-topbar-actions .locale-trigger:hover {
  background: #ffffff;
}

.auth-topbar .locale-trigger__icon,
.profile-topbar-actions .locale-trigger__icon,
.auth-topbar .locale-trigger__caret,
.profile-topbar-actions .locale-trigger__caret {
  color: #49617f;
}

.auth-topbar .locale-trigger__separator,
.profile-topbar-actions .locale-trigger__separator {
  background: rgba(148, 163, 184, 0.32);
}

.hero-search-wrap {
  max-width: 1380px;
  margin: 60px auto 0;
  padding: 0 10px;
}

.hero-search-panel {
  color: white;
  max-width: 1220px;
  margin: 0 auto;
}

.hero-copy {
  width: min(900px, 100%);
  margin-left: 0;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-search-panel h1 {
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  margin: 0 0 16px;
  max-width: 860px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-search-panel p {
  font-size: 1.08rem;
  max-width: 780px;
  line-height: 1.75;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-subtitle {
  white-space: normal;
}

.hero-card-cues {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
}

.hero-card-cues--results {
  margin: 0 0 16px;
}

.hero-card-cues--landing .hero-card-cue {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-card-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-card-cues--results .hero-card-cue {
  background: rgba(255, 255, 255, 0.46);
  color: #21406f;
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-card-cue--active {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.hero-card-cues--results .hero-card-cue--active {
  background: linear-gradient(135deg, rgba(31, 79, 191, 0.92), rgba(67, 118, 228, 0.92));
  color: #ffffff;
}

.hero-search-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 30px;
  padding: 28px;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 28px 90px rgba(8, 17, 37, 0.28);
}

.hero-search-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.hero-search-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.hero-field,
.results-search-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-field label,
.results-search-item label {
  font-weight: 700;
  min-height: 22px;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.hero-field input,
.hero-field select,
.results-search-item input,
.results-search-item select {
  border: 1px solid #cfd8e6;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  font-size: 1rem;
  width: 100%;
  min-height: 56px;
  color: var(--text-main);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.hero-field input:focus,
.hero-field select:focus,
.results-search-item input:focus,
.results-search-item select:focus {
  outline: none;
  border-color: rgba(31, 79, 191, 0.42);
  box-shadow: 0 0 0 4px rgba(31, 79, 191, 0.1);
}

.fixed-field .fixed-value {
  border: 1px solid #cfd8e6;
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  min-height: 56px;
  display: flex;
  align-items: center;
  color: var(--text-main);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.hero-search-actions,
.results-search-submit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-btn-large,
.analyze-btn,
.panel-btn {
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, #356de8 100%);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
  box-shadow: 0 16px 36px rgba(31, 79, 191, 0.2);
}

.search-btn-large {
  padding: 15px 30px;
  font-size: 1rem;
  min-width: 160px;
  flex-shrink: 0;
  min-height: 56px;
}

.analyze-btn {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.96rem;
}

.panel-btn {
  padding: 12px 18px;
  font-size: 0.95rem;
}

.results-page,
.result-page,
.profile-page {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(206, 224, 255, 0.48), transparent 34%),
    linear-gradient(180deg, #f4f8fd 0%, #edf3f9 100%);
  min-height: 100vh;
}

.results-page--hero {
  background:
    radial-gradient(circle at top left, rgba(206, 224, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #eff4fb 0%, #edf3f9 100%);
}

.result-page--hero {
  background:
    radial-gradient(circle at top left, rgba(206, 224, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #eef4fb 0%, #edf3f9 100%);
}

.results-hero {
  position: relative;
  padding: 28px 0 126px;
  background:
    linear-gradient(135deg, rgba(11, 27, 54, 0.76), rgba(28, 61, 116, 0.42)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.result-hero {
  position: relative;
  padding: 32px 0 104px;
  background:
    linear-gradient(135deg, rgba(11, 27, 54, 0.76), rgba(28, 61, 116, 0.42)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.profile-hero {
  position: relative;
  padding: 32px 0 98px;
  background:
    linear-gradient(135deg, rgba(11, 27, 54, 0.76), rgba(28, 61, 116, 0.42)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.profile-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(238, 243, 249, 0), #edf3f9 92%);
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(238, 243, 249, 0), #edf3f9 92%);
}

.results-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(238, 243, 249, 0), #edf3f9 92%);
}

.results-shell,
.result-shell,
.profile-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.results-shell--hero {
  position: relative;
  z-index: 30;
  padding-bottom: 0;
}

.results-shell--content {
  position: relative;
  z-index: 10;
  margin-top: -70px;
}

.result-shell--hero {
  position: relative;
  z-index: 30;
  padding-bottom: 0;
}

.result-shell--content {
  position: relative;
  z-index: 10;
  margin-top: -52px;
}

.profile-shell--hero {
  position: relative;
  z-index: 30;
  padding-bottom: 0;
}

.profile-shell--content {
  position: relative;
  z-index: 10;
  margin-top: -48px;
}

.results-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 10px;
  position: relative;
  z-index: 70;
}

.results-brand--hero {
  color: #ffffff;
}

.search-bar-card,
.info-card,
.flight-card,
.summary-card,
.metric-card,
.panel-card,
.lowest-fare-banner {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  border: 1px solid rgba(221, 229, 240, 0.92);
  box-shadow: var(--shadow-soft);
}

.search-bar-card--hero {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 72px rgba(8, 17, 37, 0.22);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 12;
  overflow: visible;
}

.result-hero-panel {
  position: relative;
  z-index: 12;
  padding-top: 4px;
}

.search-bar-card,
.info-card,
.panel-card,
.lowest-fare-banner {
  padding: 24px;
  margin-bottom: 20px;
}

.results-search-form {
  display: block;
}

.results-hero-notch {
  display: none;
}

.results-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(221, 229, 240, 0.92);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.results-summary-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  justify-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.88) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.results-summary-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7c95;
}

.results-summary-value {
  font-size: 1rem;
  font-weight: 700;
  color: #10203d;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.fare-date-picker {
  position: relative;
  z-index: 1;
}

.fare-date-picker.is-open {
  z-index: 2300;
}

.results-page--from-search .results-topbar,
.results-page--from-search .search-bar-card--hero {
  animation-duration: 650ms;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0.86, 0.22, 1);
}

.results-page--from-search .results-topbar {
  animation-name: topbarSettleIn;
}

.results-page--from-search .search-bar-card--hero {
  animation-name: searchBarExpandIn;
}

.results-search-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.results-search-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-search-submit--grid,
.results-search-submit--grid {
  align-self: end;
  display: flex;
  align-items: stretch;
}

.hero-search-submit--grid .search-btn-large,
.results-search-submit--grid .search-btn-large {
  width: 160px;
}

.fare-date-picker {
  position: relative;
}

.fare-date-trigger {
  width: 100%;
  min-height: 56px;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.fare-date-trigger:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.fare-date-trigger[aria-expanded="true"] {
  border-color: #2f66e9;
  box-shadow: 0 0 0 4px rgba(47, 102, 233, 0.12);
}

.fare-date-trigger__text {
  font-variant-numeric: tabular-nums;
}

.fare-date-trigger__icon {
  width: 20px;
  height: 20px;
  color: #0f172a;
  flex-shrink: 0;
}

.fare-date-trigger__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fare-date-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 2301;
  width: min(660px, 88vw);
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dbe5f3;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}

.fare-date-popover__header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fare-date-popover__caption {
  text-align: center;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.98rem;
}

.fare-date-nav {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #dbe5f3;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.fare-date-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #f8fbff;
  border-color: #bfd2f2;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.fare-date-nav:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.fare-date-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fare-date-month {
  display: grid;
  gap: 8px;
}

.fare-date-month__title {
  text-align: center;
  font-weight: 800;
  color: #0f172a;
  font-size: 0.98rem;
}

.fare-date-weekdays,
.fare-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.fare-date-weekdays {
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.fare-date-grid {
  grid-auto-rows: 42px;
}

.fare-date-day {
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  padding: 6px 6px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
}

.fare-date-day:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #eaf4ff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.fare-date-day.is-selected {
  background: linear-gradient(180deg, #4c83ff 0%, #2f66e9 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 102, 233, 0.26);
}

.fare-date-day.is-today:not(.is-selected) {
  background: #eff6ff;
  color: #1d4ed8;
}

.fare-date-day.is-outside-month {
  color: #94a3b8;
}

.fare-date-day:disabled {
  cursor: not-allowed;
  color: #cbd5e1;
  background: #f8fafc;
  box-shadow: none;
}

.fare-date-day__number {
  font-variant-numeric: tabular-nums;
}

.lowest-fare-banner {
  text-align: center;
  border: 1px solid rgba(62, 113, 223, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 255, 0.96) 100%);
}

.lowest-fare-label {
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 600;
}

.lowest-fare-price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 26px 0 16px;
  letter-spacing: -0.03em;
}

.flight-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(320px, 1.95fr) minmax(220px, 1.08fr);
  gap: 0;
  align-items: center;
  padding: 0;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d9e2ee;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.flight-card:hover {
  transform: translateY(-2px);
  border-color: #c2d2ea;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.flight-airline {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  min-height: 122px;
}

.flight-airline-name {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.flight-timeline {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  gap: 10px;
  align-items: center;
  min-height: 122px;
  padding: 22px 26px 22px 12px;
  border-left: 1px solid #e2e8f0;
}

.flight-time {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.flight-airport {
  color: #64748b;
}

.flight-mid {
  text-align: center;
}

.flight-duration {
  font-weight: 700;
  margin-bottom: 6px;
}

.flight-stops {
  color: #64748b;
}

.flight-action {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  min-height: 122px;
  padding: 22px 24px;
  border-left: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.flight-action form {
  width: 100%;
  display: block;
}

.flight-price-panel {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.flight-price-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7c95;
}

.flight-price {
  font-size: 2rem;
  font-weight: 800;
  text-align: left;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.analyze-btn--pro {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  justify-content: center;
}

.floating-back-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.floating-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.28);
  background: #102a63;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.summary-card {
  padding: 24px;
}

.summary-list {
  display: grid;
  gap: 12px;
  line-height: 1.55;
}

.highlight-card {
  background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
}

.recommendation-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, #356de8 100%);
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  margin: 8px 0 14px;
  box-shadow: 0 16px 36px rgba(31, 79, 191, 0.16);
}

.reason-text {
  line-height: 1.8;
  color: #1e293b;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 24px;
  min-height: 126px;
}

.metric-title {
  color: #64748b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.panel-btn-group {
  display: flex;
  gap: 8px;
}

.tooltip-card {
  position: relative;
}

.help-icon {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #334155;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  cursor: help;
  font-weight: 700;
}

.tooltip-box {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  bottom: 140%;
  right: 0;
  width: 240px;
  background: rgba(51, 65, 85, 0.96);
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  z-index: 50;
}

.help-icon:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  padding: 36px 18px;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
}

.modal-card {
  width: min(1100px, 100%);
  background: white;
  border-radius: 22px;
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

@keyframes topbarSettleIn {
  from {
    opacity: 0;
    transform: translateY(-22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes searchBarExpandIn {
  from {
    opacity: 0;
    transform: translateY(-28px) scaleX(0.96) scaleY(0.94);
    transform-origin: center top;
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleX(1) scaleY(1);
  }
}

.error-card {
  border-left: 5px solid #dc2626;
}

@media (max-width: 1180px) {
  .hero-search-grid,
  .results-search-grid,
  .summary-grid,
  .metric-grid,
  .flight-card {
    grid-template-columns: 1fr;
  }

  .hero-search-card,
  .search-bar-card {
    padding: 22px;
  }

  .hero-kicker,
  .hero-copy,
  .hero-card-cues {
    margin-left: 0;
  }

  .results-shell--content {
    margin-top: -52px;
  }

  .result-hero-strip,
  .results-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flight-action,
  .flight-action form,
  .flight-price-panel {
    align-items: flex-start;
    justify-content: flex-start;
    justify-items: start;
  }

  .flight-card {
    gap: 0;
  }

  .flight-airline,
  .flight-timeline,
  .flight-action {
    min-height: auto;
    border-left: none;
  }

  .flight-airline {
    padding: 20px 22px 0;
  }

  .flight-timeline {
    padding: 16px 22px 18px;
  }

  .flight-action {
    padding: 0 22px 22px;
    border-top: 1px solid #e2e8f0;
    background: transparent;
  }

  .hero-search-submit--grid,
  .results-search-submit--grid {
    justify-content: stretch;
  }

  .hero-search-submit--grid .search-btn-large,
  .results-search-submit--grid .search-btn-large {
    width: 100%;
  }

  .fare-date-popover {
    width: min(600px, 92vw);
  }

  .flight-price {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .app-topbar {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .hero-brand,
  .results-brand {
    font-size: 1.36rem;
  }

  .hero-search-panel h1 {
    font-size: 2.5rem;
  }

  .results-hero {
    padding-bottom: 98px;
  }

  .result-hero {
    padding-bottom: 92px;
  }

  .profile-hero {
    padding-bottom: 88px;
  }

  .results-shell--content {
    margin-top: -42px;
  }

  .result-shell--content {
    margin-top: -38px;
  }

  .profile-shell--content {
    margin-top: -32px;
  }

  .hero-card-cues {
    flex-wrap: wrap;
  }

  .result-hero-strip,
  .results-summary-strip {
    grid-template-columns: 1fr;
  }

  .hero-search-bottom,
  .results-search-bottom {
    flex-wrap: wrap;
  }

  .landing-overlay,
  .results-shell,
  .result-shell,
  .profile-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-nav,
  .results-topbar,
  .hero-search-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .fare-date-popover {
    width: min(100vw - 32px, 500px);
    left: 50%;
    transform: translateX(-50%);
    padding: 14px;
  }

  .fare-date-months {
    grid-template-columns: 1fr;
  }

  .flight-timeline {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.user-entry {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.user-entry--light {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(9, 20, 43, 0.18);
  backdrop-filter: blur(12px);
}

.user-entry:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.user-entry__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-entry__fallback {
  font-weight: 800;
  color: #0f172a;
}

.user-entry--light .user-entry__fallback {
  color: #ffffff;
}

.flash-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.flash-message {
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.flash-message--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.flash-message--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.flash-message--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.save-search-card,
.auth-card,
.profile-panel,
.empty-state-card,
.history-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.save-search-card {
  padding: 22px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.save-search-card h3,
.empty-state-card h3,
.profile-panel h2,
.history-card h3 {
  margin-top: 0;
}

.save-search-form,
.inline-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.save-search-form input,
.inline-form input,
.auth-form input,
.auth-form select {
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.98rem;
}

.login-prompt-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.panel-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef4ff 0%, #eef3f9 45%, #f8fafc 100%);
}

.auth-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 18px 42px;
}

.auth-topbar {
  margin-bottom: 22px;
}

.auth-card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.auth-card--wide {
  width: min(760px, 100%);
}

.auth-intro {
  margin-bottom: 24px;
}

.auth-intro h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.auth-kicker {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f66e9;
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  font-weight: 700;
}

.auth-form-grid {
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 18px;
}

.auth-form-grid-full {
  grid-column: 1 / -1;
}

.auth-field-block {
  display: grid;
  gap: 8px;
  align-content: start;
}

.auth-field-block label {
  min-height: 24px;
}

.auth-field-block input {
  width: 100%;
  min-height: 50px;
}

.auth-actions-right {
  display: flex;
  justify-content: flex-end;
}

.auth-register-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-submit {
  min-width: 180px;
}

.auth-footer {
  margin: 20px 0 0;
  color: #475569;
}

.auth-footer--inline {
  margin: 0;
}

.auth-footer a,
.link-button {
  color: #2f66e9;
  font-weight: 700;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.auth-modal-backdrop {
  align-items: center;
}

.auth-modal-card {
  width: min(460px, 100%);
}

.auth-modal-submit {
  width: 100%;
}

.reset-success-box {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  border-radius: 20px;
  padding: 20px;
}

.small-note {
  margin-top: 14px;
}

.profile-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logout-btn,
.danger-btn {
  border: none;
  border-radius: 16px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.ghost-btn {
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  background: white;
  color: #334155;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.logout-btn {
  background: #101828;
  color: white;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.search-btn-large:hover,
.analyze-btn:hover,
.panel-btn:hover,
.ghost-btn:hover,
.logout-btn:hover,
.danger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.search-btn-large:hover,
.analyze-btn:hover,
.panel-btn:hover {
  background: linear-gradient(135deg, var(--brand-strong) 0%, #2e62d8 100%);
}

.ghost-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.danger-btn {
  background: #fee2e2;
  color: #b91c1c;
}

.danger-btn:hover {
  background: #fecaca;
  color: #991b1b;
}

.logout-btn:hover {
  background: #dc2626;
  color: white;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.profile-sidebar-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  border: 1px solid rgba(221, 229, 240, 0.92);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  padding: 26px 24px;
  position: sticky;
  top: 24px;
}

.profile-avatar-wrap {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 94px;
  height: 94px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #e6eef8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__fallback {
  font-size: 2rem;
  font-weight: 800;
  color: #173b90;
}

.profile-avatar-note {
  margin: 0;
  font-size: 0.9rem;
}

.profile-sidebar-meta {
  margin-bottom: 24px;
}

.profile-sidebar-meta h2 {
  margin: 0 0 6px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.profile-sidebar-meta p {
  margin: 0;
  color: #52627a;
  line-height: 1.55;
}

.profile-sidebar-links {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.profile-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  width: 100%;
  padding: 0 16px;
  border-top: 1px solid rgba(203, 213, 225, 0.72);
  border-left: none;
  border-right: none;
  border-bottom: none;
  background: transparent;
  color: #10203d;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.profile-sidebar-link:last-child {
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
}

.profile-sidebar-link:hover {
  color: #173b90;
  background: rgba(238, 244, 255, 0.72);
}

.profile-sidebar-link--active {
  color: #173b90;
  background: linear-gradient(180deg, rgba(235, 242, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
  box-shadow: inset 3px 0 0 #2f66e9;
}

.profile-sidebar-logout {
  display: flex;
  justify-content: flex-start;
}

.logout-btn--wide {
  min-width: 168px;
  justify-content: center;
}

.profile-main {
  display: grid;
  gap: 20px;
}

.profile-panel {
  padding: 24px;
}

.profile-panel-full {
  padding: 24px;
}

.panel-header--stack {
  align-items: flex-start;
  margin-bottom: 4px;
}

.profile-save-btn {
  width: fit-content;
}

.profile-info-panel {
  margin-bottom: 18px;
}

.profile-info-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.profile-info-row {
  display: grid;
  gap: 8px;
}

.profile-info-row label {
  font-weight: 700;
  color: #52627a;
  font-size: 0.92rem;
}

.profile-info-row input {
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 1rem;
}

.profile-info-row input:disabled {
  background: #f8fafc;
  color: #334155;
}

.profile-section-block {
  display: grid;
  gap: 18px;
}

.profile-section-title {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: #eaf0f7;
  font-weight: 800;
  font-size: 1.05rem;
  color: #10203d;
}

.profile-page-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.profile-panel--hidden {
  display: none;
}

.profile-heading-stack {
  display: grid;
  gap: 4px;
}

.profile-history-note {
  margin: 0;
  line-height: 1.25;
  max-width: 34rem;
}

.profile-toolbar,
.profile-edit-actions,
.bulk-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-edit-actions--hidden {
  display: none;
}

.profile-list,
.profile-history-grid {
  display: grid;
  gap: 14px;
}

.profile-list-card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.profile-list-meta {
  display: grid;
  gap: 6px;
  color: #475569;
}

.inline-delete-form {
  display: flex;
  justify-content: flex-start;
}

.history-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.history-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.history-card-body {
  display: grid;
  gap: 8px;
  color: #475569;
}

.history-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.86rem;
}

.history-list-horizontal {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.history-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid transparent;
}

.history-row-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.history-row-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
}

.history-row-subtitle,
.history-row-meta {
  color: #475569;
  line-height: 1.5;
}

.history-row-side {
  display: grid;
  gap: 12px;
  justify-items: end;
  text-align: right;
}

.history-row-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.empty-state-card {
  padding: 24px;
  text-align: center;
}

@media (max-width: 980px) {
  .profile-grid,
  .profile-layout,
  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-sidebar-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .save-search-card,
  .auth-row,
  .profile-topbar-actions,
  .history-row-card {
    align-items: stretch;
  }

  .auth-card,
  .profile-panel,
  .profile-panel-full,
  .profile-sidebar-card {
    padding: 22px;
  }

  .auth-register-bottom {
    flex-direction: column-reverse;
  }

  .user-entry {
    width: 42px;
    height: 42px;
  }

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

  .history-row-side {
    justify-items: start;
    text-align: left;
  }
}
