:root {
  --navy: #041F60;
  --blue: #849BFF;
  --orange: #FF914D;
  --cream: #F7F2E7;
  --ink: #0F1333;
  --muted: #6f7893;
  --line: #e8ebf5;
  --card: #ffffff;
  --r: 22px;
  --shadow: 0 8px 32px rgba(4,31,96,.10);
}
body {
  background: linear-gradient(180deg, #f9f7f1 0%, #F7F2E7 60%, #f1f4ff 100%);
  color: var(--ink);
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
}

.wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 12px 12px 110px;
}

/* Topbar */
.topbar-card {
  max-width: 420px;
  width: 100%;
  margin: 24px auto 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(4,31,96,.10);
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 12px 12px 110px;
  box-sizing: border-box;
}
}

.topbar-card .logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .3px;
  color: var(--navy);
  /* Ensures left alignment and vertical centering */
  display: flex;
  align-items: center;
}

.topbar-card .lang {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.topbar-card .lang select {
  border: 1.5px solid var(--line);
  padding: 8px 18px;
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  appearance: none;
  box-shadow: 0 2px 8px rgba(4,31,96,.04);
  cursor: pointer;
  transition: border-color 0.18s;
}
.topbar-card .lang select:focus {
  border-color: var(--navy);
}

/* Bottom navigation */
.bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 100;
  width: 100vw;
  min-width: 320px;
}
.tabs {
  width: 100vw;
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none !important;
  border: none;
  background: none;
  transition: color 0.2s, background 0.2s;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;

}
.tab svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}
.tab.active {
  color: var(--navy);
  background: #f7f8ff;
  border-radius: 14px;
}
.tabs a,
.tabs .tab {
  text-decoration: none !important;
}

@media (max-width: 420px) {
  .tabs {
    width: 100vw;
    max-width: 100vw;
  }
}

/* Card, grid, and pill styles for consistent look */
.card {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 14px;
  border: 1px solid var(--line);
}
.grid {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}
.pill {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px dashed var(--line);
  background: #f7f8ff;
  color: var(--navy);
  font-weight: 700;
  margin-right: 6px;
}
.pill:last-child {
  margin-right: 0;
}
.upcoming7-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.upcoming7-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  padding: 0;
  border-radius: 12px;
}
.upcoming7-date {
  background: #eaf0ff;
  color: #2d3a5a;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 12px;
  display: inline-block;
  margin-bottom: 2px;
}
.upcoming7-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 120px;
}
.upcoming7-planned {
  font-size: 13px;
  color: #7b7b8b;
  font-weight: 500;
  margin-bottom: 0;
}
.upcoming7-btn {
  background: #f7f8ff;
  color: #2d3a5a;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(4,31,96,0.04);
  transition: background 0.18s;
}
.upcoming7-btn:hover {
  background: #eaf0ff;
}
.upcoming7-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.upcoming7-title {
  font-weight: 900;
  font-size: 17px;
}
.upcoming7-plantoday {
  background: #bfcfff;
  color: #2d3a5a;
  border: none;
  border-radius: 8px;
  padding: 7px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.18s;
}
.upcoming7-plantoday:hover {
  background: #a3bfff;
}

</style>