@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Maven+Pro:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --ink: #1b1b1b;
  --muted: #71767a;
  --paper: #ffffff;
  --panel: #ffffff;
  --line: #dfe1e2;
  --link: #005ea2;
  --link-hover: #1a4480;
  --header-blue: #1a6cb5;
  --header-navy: #0c3c78;
  --btn: #7b68ee;
  --btn-hover: #6b58de;
  --btn-frame: #ffffff;
  --accent-purple: #8b6bb5;
  --feature-green: #3d8b1d;
  --footer-bg: #12263c;
  --green: var(--link);
  --green-deep: var(--link-hover);
  --gold: var(--header-blue);
  --banner: #fff1d2;
  --banner-ink: #5c4a12;
  --radius: 4px;
  --shadow: 0 4px 18px rgba(20, 35, 55, 0.08);
  --font: "Merriweather", Cambria, Georgia, serif;
  --sans: "Open Sans", "Segoe UI", Tahoma, sans-serif;
  --ui: "Maven Pro", "Open Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
.container {
  width: min(1320px, calc(100% - 7.5rem));
  margin-inline: auto;
}

.alert-banner {
  background: #e8f5fc;
  border-left: 6px solid #00bde3;
  color: #1b1b1b;
  font-size: 0.95rem;
}
.alert-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 0;
}
.alert-banner-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: #1b1b1b;
  color: #fff;
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 700;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.alert-banner p {
  margin: 0;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.site-banner {
  background: var(--banner);
  color: var(--banner-ink);
  border-bottom: 1px solid #e8d9a8;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.92rem;
}
.site-banner p { margin: 0; }

.official-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: #1b1b1b;
}
.official-bar-inner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
}
.official-bar-copy {
  flex: 1;
  min-width: 0;
}
.official-bar-copy > p {
  margin: 0;
  line-height: 1.45;
}
.flag {
  width: 22px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  border: 1px solid #71767a;
  background:
    linear-gradient(180deg, #b22234 0 14%, #fff 14% 28%, #b22234 28% 42%, #fff 42% 56%, #b22234 56% 70%, #fff 70% 84%, #b22234 84% 100%);
  position: relative;
}
.flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38%;
  height: 54%;
  background: #3c3b6e;
}
.how-know-toggle {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.how-know-toggle:hover {
  color: var(--link-hover);
}
.how-know-panel {
  margin-top: 0.55rem;
  padding: 0.75rem;
  background: #f0f0f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.how-know-panel p { margin: 0 0 0.5rem; }
.how-know-panel p:last-child { margin-bottom: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.header-brand-bar {
  background: var(--header-blue);
}
.header-brand-inner {
  display: flex;
  align-items: center;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
}
.brand-name {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-sub { display: none; }
.header-nav-bar {
  background: var(--header-navy);
}
.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  flex-wrap: nowrap;
}
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  font-family: var(--ui);
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.95rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.main-nav a:first-child {
  padding-left: 0;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  border-bottom-color: #9ec3e8;
  background: rgba(255,255,255,0.06);
}
.auth-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--ui);
}
.auth-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.85rem;
  white-space: nowrap;
}
.auth-links a:last-child {
  padding-right: 0;
}
.auth-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.auth-links .btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  margin: 0.35rem 0.2rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.2;
}
.auth-links .btn-header:hover {
  color: #fff;
  filter: brightness(1.05);
}
.auth-links .btn-logout {
  background: #ea5455;
  color: #fff;
}
.auth-links .btn-dashboard {
  background: #7966ff;
  color: #fff;
  margin-right: 0;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1598 / 751;
  min-height: 280px;
  display: grid;
  align-items: center;
  justify-items: stretch;
  background-color: #0c3c78;
  background-image:
    linear-gradient(105deg, rgba(12, 60, 120, 0.55) 0%, rgba(12, 60, 120, 0.18) 42%, transparent 68%),
    url("../img/hero-city.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
}
.hero-inner {
  width: 100%;
  padding: 2.75rem 0 2.75rem clamp(1.75rem, 7vw, 5.5rem);
  text-align: left;
  justify-self: stretch;
  box-sizing: border-box;
}
.hero-label {
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.95;
  text-align: left;
}
.hero-label::before,
.hero-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-purple);
}
.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  max-width: 18ch;
  line-height: 1.15;
  text-align: left;
}
.btn-read-more {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: #7b68ee;
  color: #fff;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  outline: 1.5px solid #fff;
  outline-offset: -6px;
  box-shadow: none;
  transition: none;
}
.btn-read-more:hover,
.btn-read-more:focus {
  color: #fff;
  background: #6b58de;
  outline: 1.5px solid #fff;
  outline-offset: -6px;
  filter: none;
  text-decoration: none;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  font-family: var(--ui);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: #7b68ee;
  color: #fff;
  border: none;
  outline: 1.5px solid #fff;
  outline-offset: -6px;
  padding: 0.85rem 1.5rem;
}
.btn-primary:hover { background: #6b58de; color: #fff; filter: none; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

.section { padding: 2.75rem 0; }
.section-title {
  font-family: var(--font);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}
.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 60ch;
}

.leadership {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.leadership img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}
.leadership h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font);
  font-size: 1.4rem;
}
.leadership .role {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.leadership p { margin: 0 0 1rem; }

.featured-section {
  background: #f3f5f7;
  padding: 2.75rem 0 3rem;
}
.featured-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem 2.25rem;
  align-items: start;
}
.section-heading {
  margin: 0 0 1.15rem;
  font-family: var(--font);
  font-size: 1.65rem;
  font-weight: 700;
  color: #1b2430;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d5dbe2;
}
.feature-hero-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(20, 35, 55, 0.08);
  margin-bottom: 1rem;
  min-height: 210px;
}
.feature-hero-media {
  min-height: 210px;
  background-color: var(--feature-green);
  background-size: cover;
  background-position: center;
  position: relative;
}
.feature-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(255,255,255,0.18) 0 28%, transparent 30%),
    linear-gradient(160deg, rgba(20, 80, 20, 0.25), rgba(10, 40, 10, 0.35));
}
.feature-hero-body {
  padding: 1.35rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-hero-body time,
.feature-mini-card time,
.press-card time {
  display: block;
  color: #8a93a0;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}
.feature-hero-body h3,
.feature-mini-card h3 {
  margin: 0 0 1rem;
  font-family: var(--ui);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}
.feature-hero-body h3 a,
.feature-mini-card h3 a {
  color: inherit;
  text-decoration: none;
}
.feature-hero-body h3 a:hover,
.feature-mini-card h3 a:hover {
  color: var(--green);
}
.read-more-arrow {
  margin-top: auto;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: #2a3340;
  text-decoration: none;
}
.read-more-arrow:hover { color: var(--green); }
.feature-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-mini-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.15rem 1.2rem 1.1rem;
  box-shadow: 0 4px 18px rgba(20, 35, 55, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.feature-mini-card h3 { font-size: 1.05rem; }
.press-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.press-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 4px 18px rgba(20, 35, 55, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.press-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 35, 55, 0.12);
}
.press-card-title {
  display: block;
  color: #2a3340;
  font-family: var(--ui);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 500;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.story-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 61, 46, 0.12);
}
.story-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.story-card .body { padding: 1rem 1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.story-card time {
  color: var(--muted);
  font-size: 0.85rem;
}
.story-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font);
  font-size: 1.15rem;
  line-height: 1.3;
}
.story-card h3 a { color: inherit; text-decoration: none; }
.story-card h3 a:hover { color: var(--green); }
.story-card p { margin: 0 0 1rem; color: var(--muted); flex: 1; font-size: 0.95rem; }
.read-more { font-weight: 600; margin-top: auto; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: 1.35rem;
}
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.press-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.press-list li:last-child { border-bottom: 0; }
.press-list time {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.press-list a {
  font-weight: 600;
  text-decoration: none;
}
.press-list a:hover { text-decoration: underline; }

.rates-table-wrap { overflow-x: auto; }
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-family: var(--sans);
}
.rates-table th,
.rates-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
}
.rates-table th { background: #eef3ef; font-family: var(--ui); }
.rates-table td:last-child {
  font-family: var(--font);
  font-weight: 700;
}
.rates-meta {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.tool-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}
.tool-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 1.15rem;
}
.tool-card p { margin: 0 0 0.85rem; color: var(--muted); }

.data-tools-section {
  background: #fff;
  border-top: 1px solid #dfe1e2;
  padding: 2.5rem 0 3rem;
}
.data-tools-layout {
  display: grid;
  grid-template-columns: 1.65fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.data-center-body {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 1.5rem;
  align-items: start;
}
.data-intro-title {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-family: var(--ui);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--btn);
  text-decoration: none;
}
.data-intro-title:hover { color: var(--btn-hover); }
.data-intro p {
  margin: 0 0 1.15rem;
  color: #3d4551;
  font-size: 0.92rem;
  line-height: 1.55;
}
.btn-view-data {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: #7b68ee;
  color: #fff;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  outline: 1.5px solid #fff;
  outline-offset: -6px;
}
.btn-view-data:hover {
  background: #6b58de;
  color: #fff;
  outline: 1.5px solid #fff;
  outline-offset: -6px;
}
.data-rates-panel {
  text-align: center;
}
.rates-panel-title {
  margin: 0;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1b1b1b;
}
.rates-panel-date {
  margin: 0.25rem 0 0.85rem;
  font-size: 0.85rem;
  color: #71767a;
}
.rate-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}
.rate-tile {
  background: #fff;
  border: 1px solid #dfe1e2;
  border-radius: 2px;
  padding: 0.4rem 0.25rem 0.5rem;
  text-align: center;
}
.rate-tile .label {
  display: block;
  font-family: var(--ui);
  font-size: 0.72rem;
  color: #565c65;
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px solid #e6e6e6;
}
.rate-tile .value {
  display: block;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b1b1b;
  line-height: 1.2;
}
.tool-blocks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.tool-block {
  display: block;
  border-radius: 8px;
  padding: 1.25rem 1.35rem 1.15rem;
  color: #fff;
  text-decoration: none;
  min-height: 140px;
}
.tool-block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.tool-block p {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}
.tool-block span {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.tool-block:hover { color: #fff; filter: brightness(1.05); }
.tool-block-blue { background: #0c3c78; }
.tool-block-gray { background: #3d4551; }

@media (max-width: 700px) {
  .rate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.page-hero {
  background: linear-gradient(120deg, var(--header-navy), var(--header-blue));
  color: #fff;
  padding: 2.25rem 0;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.page-hero p {
  margin: 0.5rem 0 0;
  opacity: 0.92;
  max-width: 55ch;
}

.inner-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(12, 60, 120, 0.92) 0%, rgba(0, 32, 70, 0.88) 55%, rgba(26, 108, 181, 0.75) 100%),
    url("../img/hero-city.jpg") center/cover no-repeat;
  padding: 5.5rem 0 3.5rem;
}
.inner-hero-inner {
  text-align: center;
}
.inner-hero .page-title {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--ui);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}
.page-breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.page-breadcrumb a:hover {
  color: #c5b8ff;
  text-decoration: underline;
}

.inner-hero--login {
  background:
    linear-gradient(120deg, rgba(12, 60, 120, 0.92) 0%, rgba(0, 32, 70, 0.88) 55%, rgba(26, 108, 181, 0.75) 100%),
    url("../img/login-hero.jpg") center/cover no-repeat;
}

.login-section {
  padding: 100px 0;
  background: #fff;
}

.account-wrapper {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 35, 55, 0.08);
  min-height: 634px;
}

.account-left {
  flex: 0 0 45%;
  min-height: 520px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.account-right {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 50px;
}

.account-inner {
  width: 100%;
  max-width: 490px;
}

.account-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.account-title {
  margin: 0;
  font-family: var(--ui);
  font-size: 32px;
  font-weight: 500;
  color: #373e4a;
  line-height: 1.2;
}

.account-welcome {
  margin: 4px 0 0;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  color: #7966ff;
  line-height: 1.5;
}

.account-notice {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background: #e8f5fc;
  border-left: 4px solid #00bde3;
  color: #1b1b1b;
  font-size: 0.9rem;
}

.account-form .form-group {
  margin-bottom: 20px;
}

.account-form label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  color: #535353;
}

.account-form label.required::after {
  content: " *";
  color: #e31c3d;
}

.account-form .form-control {
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px 20px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  background: #fff;
  color: #000;
  font-family: var(--ui);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}

.account-form .form-control:focus {
  border-color: #7966ff;
}

.forgot-link {
  color: #7966ff;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 16px;
}

.forgot-link:hover {
  color: #6350e8;
  text-decoration: underline;
}

.btn-login {
  display: block;
  width: 100%;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  background: #7966ff;
  color: #fff;
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
}

.btn-login:hover {
  background: #6350e8;
}

.account-register {
  margin: 0;
  text-align: center;
  font-family: var(--ui);
  font-size: 14px;
  color: #464646;
}

.account-register a {
  color: #7966ff;
  text-decoration: none;
}

.account-register a:hover {
  color: #6350e8;
  text-decoration: underline;
}

.user-data-section {
  padding: 4.5rem 0 5rem;
  background: #f5f6f8;
}

.user-data-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(20, 35, 55, 0.1);
  padding: 2.25rem 2rem 2rem;
}

.user-data-form .form-group {
  margin-bottom: 1.15rem;
}

.user-data-form label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  color: #535353;
}

.user-data-form label.required::after {
  content: " *";
  color: #e31c3d;
}

.user-data-form .form-control {
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  background: #fff;
  color: #000;
  font-family: var(--ui);
  font-size: 15px;
  outline: none;
}

.user-data-form .form-control:focus {
  border-color: #7966ff;
}

.user-data-form .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mobile-field {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.mobile-dial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid #e3e3e3;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: #f7f7f7;
  color: #373e4a;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 500;
}

.mobile-field .form-control {
  border-radius: 0 3px 3px 0;
}

.dashboard-card .account-title {
  text-align: left;
  margin-bottom: 0.5rem;
}

.dashboard-lead {
  margin: 0 0 1.5rem;
  color: #71767a;
  font-family: var(--ui);
}

.dashboard-profile {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
}

.dashboard-profile div {
  padding: 0.75rem 0.9rem;
  background: #f7f8fa;
  border-radius: 4px;
}

.dashboard-profile dt {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #71767a;
  font-family: var(--ui);
}

.dashboard-profile dd {
  margin: 0.2rem 0 0;
  font-family: var(--ui);
  color: #1b1b1b;
  font-weight: 600;
}

.serve-section {
  background: #001433;
  color: #fff;
  padding: 5rem 0 7.5rem;
  position: relative;
  overflow: hidden;
}
.serve-section::before {
  content: "";
  position: absolute;
  inset: -10% auto -10% -5%;
  width: min(55%, 580px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 800' fill='none'%3E%3Cpath d='M40 40c80 60 40 140-20 200s-40 140 30 200 70 140-10 200' stroke='%2378a8ff' stroke-opacity='0.18' stroke-width='1.2'/%3E%3Cpath d='M90 20c90 70 50 160-10 230s-30 150 40 220 80 150 0 220' stroke='%2378a8ff' stroke-opacity='0.14' stroke-width='1.2'/%3E%3Cpath d='M150 0c100 80 60 170 0 250s-20 160 50 240 90 160 10 250' stroke='%2390b8ff' stroke-opacity='0.12' stroke-width='1.2'/%3E%3Cpath d='M210 40c90 70 40 150-20 220s-10 150 45 220 70 140-5 210' stroke='%2378a8ff' stroke-opacity='0.1' stroke-width='1.2'/%3E%3Cpath d='M280 10c95 75 55 165-5 245s-15 155 40 230' stroke='%2390b8ff' stroke-opacity='0.08' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.serve-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 2;
  pointer-events: none;
}
.serve-header {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.serve-title {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #fff;
}
.serve-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
}
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card {
  background-color: #001a3f;
  background-image: radial-gradient(rgba(150, 175, 230, 0.28) 1px, transparent 1px);
  background-size: 14px 14px;
  border: 1px solid rgba(110, 150, 255, 0.55);
  border-radius: 10px;
  padding: 2.35rem 1.4rem 2.85rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 265px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath d='M0 88 H48 L62 98 L78 82 L108 88 L148 68 L178 74 L228 42 L268 50 L318 22 L360 28 L400 8' fill='none' stroke='%237b68ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(123, 104, 238, 0.45));
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 104, 238, 0.15), rgba(123, 104, 238, 0.45), rgba(123, 104, 238, 0.15));
  pointer-events: none;
  z-index: 0;
}
.service-card:hover,
.service-card:focus-within {
  border-color: rgba(123, 104, 238, 0.95);
  box-shadow: 0 0 0 1px rgba(123, 104, 238, 0.4), 0 0 28px rgba(80, 110, 255, 0.3);
}
.service-card-icon {
  color: #8b7cff;
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 1;
}
.service-card-icon svg {
  width: 52px;
  height: 52px;
}
.service-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.service-card p {
  margin: 0 auto;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.testimonials-section {
  background: #fff;
  padding: 5rem 0 6rem;
}
.announces-section {
  background: #f5f7fa;
  padding: 4.5rem 0 5rem;
}
.announces-intro {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.announces-intro .section-subtitle {
  justify-content: center;
}
.announces-title {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #373e4a;
}
.announces-intro p {
  margin: 0;
  color: #565c65;
  font-size: 0.98rem;
  line-height: 1.65;
}
.announces-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.announce-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 10px 1.25rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.announce-card-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eef5;
}
.announce-card-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.announce-card-meta {
  padding: 0.85rem 0.65rem 0;
}
.post-time {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0.35rem 0.45rem;
  background: #7966ff;
  border-radius: 3px;
  color: #fff;
  line-height: 1.15;
}
.post-date {
  font-family: var(--ui);
  font-size: 1.35rem;
  font-weight: 700;
}
.post-month {
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.95;
}
.announce-card-body {
  padding: 0.85rem 0.65rem 0.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.announce-card-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1b2430;
}
.announce-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.announce-card-body h3 a:hover {
  color: var(--btn);
}
.announce-card-body p {
  margin: 0 0 1rem;
  color: #565c65;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}
.announce-read-more {
  font-family: var(--ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--btn);
  text-decoration: none;
}
.announce-read-more:hover {
  color: var(--btn-hover);
  text-decoration: underline;
}
.testimonials-intro {
  max-width: 560px;
  margin-bottom: 3rem;
}
.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: #373e4a;
}
.section-subtitle::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #7966ff;
  flex-shrink: 0;
}
.testimonials-title {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: #373e4a;
}
.testimonials-intro p {
  margin: 0;
  color: #565c65;
  font-size: 0.98rem;
  line-height: 1.65;
}
.testimonial-slider {
  position: relative;
  max-width: 980px;
}
.testimonial-stage {
  position: relative;
}
.testimonial-slide {
  position: relative;
  padding-bottom: 3.25rem;
}
.testimonial-slide[hidden] {
  display: none !important;
}
.testimonial-media {
  width: 68%;
  max-width: 620px;
  height: 420px;
  background-size: cover;
  background-position: center top;
  background-color: #d7dde5;
}
.testimonial-panel {
  position: absolute;
  left: 46%;
  bottom: 3.25rem;
  width: 420px;
  max-width: 50%;
  z-index: 2;
  background: #001b3d;
  color: #fff;
  padding: 2rem 1.75rem 2.1rem;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: 0 12px 32px rgba(0, 20, 50, 0.18);
}
.testimonial-panel h3 {
  margin: 0;
  font-family: var(--ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.testimonial-role {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.testimonial-panel p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}
.testimonial-nav {
  position: absolute;
  left: 46%;
  bottom: 0;
  display: inline-flex;
  align-items: stretch;
  background: #9381ff;
  border-radius: 2px;
  overflow: hidden;
  z-index: 3;
}
.testimonial-nav-btn {
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.testimonial-nav-btn + .testimonial-nav-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.testimonial-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.content-block {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.content-block p { margin-top: 0; }
.article-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
}
.article-layout img.feature {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.site-footer {
  margin-top: 3.5rem;
  background: var(--footer-bg);
  color: #ffffff;
  padding: 0 0 1.75rem;
  position: relative;
}
.footer-seal-wrap {
  display: flex;
  justify-content: center;
  transform: translateY(-42px);
  margin-bottom: -18px;
}
.footer-seal {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--footer-bg), 0 8px 20px rgba(0, 0, 0, 0.35);
  background: #0c2340;

}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  padding-bottom: 2rem;
}
.footer-col h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin: 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
}
.footer-col li:last-child { border-bottom: 0; }
.footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.35;
  padding: 0.55rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-col a:hover {
  color: #9ec3e8;
  text-decoration: underline;
}
.footer-utility {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
}
.footer-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-inline-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.86rem;
}
.footer-inline-nav a {
  color: #fff;
  text-decoration: none;
}
.footer-inline-nav a:hover { text-decoration: underline; color: #9ec3e8; }
.footer-inline-nav span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
}
.footer-plugins {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-plugins a {
  color: #6eb6ff;
  text-decoration: none;
}
.footer-plugins a:hover { text-decoration: underline; }
.footer-social {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 1100px) {
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-layout { grid-template-columns: 1fr; }
  .data-tools-layout,
  .data-center-body { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .announces-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .container {
    width: min(1320px, calc(100% - 2rem));
  }
  .main-nav a:first-child {
    padding-left: 0.95rem;
  }
  .auth-links a:last-child {
    padding-right: 0.85rem;
  }
  .header-nav-inner {
    flex-wrap: wrap;
  }
  .stories-grid,
  .split,
  .article-layout,
  .tools-grid { grid-template-columns: 1fr; }
  .leadership { grid-template-columns: 1fr; }
  .leadership img { width: 120px; height: 120px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-hero-card { grid-template-columns: 1fr; }
  .feature-hero-media { min-height: 160px; }
  .testimonial-media {
    width: 100%;
    max-width: none;
    height: 280px;
  }
  .testimonial-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin: -3.25rem 1rem 0;
  }
  .testimonial-slide { padding-bottom: 3.5rem; }
  .testimonial-nav {
    left: 1rem;
  }
}
@media (max-width: 640px) {
  .stories-grid { grid-template-columns: 1fr; }
  .feature-secondary-row { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero {
    min-height: 220px;
    aspect-ratio: 16 / 9;
    background-position: 70% center;
  }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-seal { width: 96px; height: 96px; }
  .footer-seal-wrap { transform: translateY(-34px); }
  .serve-grid { grid-template-columns: 1fr; }
  .announces-grid { grid-template-columns: 1fr; }
  .serve-section { padding: 3.5rem 0 4rem; }
  .testimonials-section { padding: 3.5rem 0 4rem; }
  .inner-hero { min-height: 220px; padding: 4.25rem 0 2.75rem; }
  .login-section { padding: 3.5rem 0; }
  .account-left { min-height: 220px; }
  .account-right { padding: 2.5rem 1.5rem; }
}
@media (max-width: 900px) {
  .account-wrapper {
    flex-direction: column;
    min-height: 0;
  }
  .account-left {
    flex: none;
    min-height: 280px;
    width: 100%;
  }
  .account-right {
    padding: 3rem 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .dashboard-profile {
    grid-template-columns: 1fr;
  }
  .user-data-card {
    padding: 1.5rem 1.15rem;
  }
}

/* ===== Logged-in dashboard ===== */
.dash-body {
  background: #f9fbfc;
  min-height: 100vh;
}
.dash-header { background: #fff; }
.dash-topbar {
  background: #4582ff;
  color: #fff;
}
.dash-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 1rem;
}
.dash-username {
  color: #fff;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 500;
}
.dash-username:hover { color: #fff; opacity: 0.9; }
.dash-user-menu { position: relative; }
.dash-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 0.9rem;
  padding: 0.35rem 0;
}
.dash-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dfe7ff url("../img/seal.png") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.45);
}
.dash-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  min-width: 190px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(20, 35, 55, 0.16);
  z-index: 40;
}
.dash-user-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  color: #373e4a;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.9rem;
}
.dash-user-dropdown a:hover {
  background: #f4f6f8;
  color: #7966ff;
}
.dash-brandbar {
  background: #0c3c78;
}
.dash-brandbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}
.dash-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dash-brand:hover { color: #fff; }
.dash-brand img { width: 52px; height: 52px; }
.dash-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.dash-nav a,
.dash-nav-parent {
  color: #fff;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.7rem 0.85rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.dash-nav a:hover,
.dash-nav a.active,
.dash-nav-group.active > .dash-nav-parent {
  color: #c5b8ff;
}
.dash-nav-group { position: relative; }
.dash-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(20, 35, 55, 0.16);
  padding: 0.35rem 0;
  z-index: 30;
}
.dash-nav-group:hover .dash-submenu,
.dash-nav-group:focus-within .dash-submenu {
  display: block;
}
.dash-submenu a {
  display: block;
  color: #373e4a !important;
  padding: 0.55rem 1rem;
  white-space: nowrap;
}
.dash-submenu a:hover {
  background: #f4f6f8;
  color: #7966ff !important;
}
.dash-nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.45rem 0.8rem;
  font-family: var(--ui);
  cursor: pointer;
}
.dash-main { min-height: 60vh; }
.dash-section { padding: 2.5rem 0 3.5rem; }
.dash-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.dash-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 5px;
  padding: 1.35rem 1.25rem;
  margin-bottom: 1.15rem;
}
.dash-card-title {
  margin: 0 0 1rem;
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 600;
  color: #373e4a;
}
.dash-balance,
.dash-amount,
.dash-wallet-amount {
  margin: 0;
  font-family: var(--ui);
  font-weight: 400;
  color: #1b1b1b;
  line-height: 1.2;
}
.dash-balance { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.dash-amount { font-size: 1.55rem; margin-bottom: 0.45rem; }
.dash-available-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
}
.dash-available-bar {
  height: 4px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #c5b8ff, #7966ff 55%, #e8e4ff);
}
.dash-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #71767a;
  font-family: var(--ui);
}
.btn-dash-primary {
  display: block;
  width: 100%;
  margin-top: 1.15rem;
  text-align: center;
  text-decoration: none;
  background: #7966ff;
  color: #fff;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-family: var(--ui);
  font-size: 0.95rem;
}
.btn-dash-primary:hover {
  background: #6350e8;
  color: #fff;
}
.dash-link {
  color: #7966ff;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.9rem;
  font-weight: 600;
}
.dash-link:hover { color: #6350e8; text-decoration: underline; }
.dash-sublink {
  color: #71767a;
  font-size: 0.88rem;
  text-decoration: underline;
  font-family: var(--ui);
}
.dash-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.15rem;
}
.dash-insights-head,
.dash-wallets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.25rem 0 0.85rem;
}
.dash-insights-head h6,
.dash-wallets-head h6 {
  margin: 0;
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 500;
}
.dash-select { position: relative; }
.dash-select-btn {
  background: none;
  border: 0;
  color: #7966ff;
  font-family: var(--ui);
  font-size: 0.88rem;
  cursor: pointer;
}
.dash-select-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin: 0.25rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  min-width: 140px;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(20,35,55,0.1);
}
.dash-select-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0.5rem 0.85rem;
  font-family: var(--ui);
  font-size: 0.88rem;
  cursor: pointer;
  color: #373e4a;
}
.dash-select-menu button:hover {
  background: #f4f6f8;
  color: #7966ff;
}
.dash-kyc-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.dash-kyc-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #0c3c78;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: var(--ui);
}
.dash-kyc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4582ff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.dash-kyc-body {
  padding: 1rem 1.1rem;
  font-family: var(--ui);
  color: #535353;
  font-style: italic;
}
.dash-kyc-body p { margin: 0; }
.dash-kyc-body a { color: #7966ff; font-style: normal; }
.dash-wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dash-wallet-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-left: 4px solid #7966ff;
  border-radius: 6px;
  overflow: hidden;
}
.dash-wallet-body {
  padding: 1.25rem 1.1rem 0.85rem;
}
.dash-wallet-icon {
  display: inline-flex;
  color: #7966ff;
  margin-bottom: 0.65rem;
}
.dash-wallet-amount { font-size: 1.55rem; }
.dash-wallet-foot {
  border-top: 1px solid #eee;
  padding: 0.75rem 1.1rem;
}
.dash-wallet-foot a {
  color: #7966ff;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.9rem;
}
.dash-virtual-card {
  text-align: center;
  margin: 1.5rem 0 2rem;
}
.dash-card-activate {
  color: #ea5455;
  font-family: var(--ui);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.dash-virtual-card h4 {
  margin: 0 0 1rem;
  font-family: var(--ui);
  font-weight: 600;
  color: #373e4a;
}
.dash-virtual-card img {
  max-width: min(518px, 100%);
  height: auto;
  margin: 0 auto 0.85rem;
}
.dash-card-holder-label,
.dash-card-holder-name {
  margin: 0.15rem 0;
  color: #755339;
  font-family: var(--ui);
}
.dash-card-holder-label { font-size: 1.05rem; font-weight: 600; }
.dash-card-holder-name { font-size: 0.95rem; }
.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}
.dash-quick-item {
  text-decoration: none;
  color: #373e4a;
  font-family: var(--ui);
  font-size: 0.88rem;
}
.dash-quick-item:hover { color: #7966ff; }
.dash-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  background: #f0edff;
  color: #7966ff;
  font-size: 1.25rem;
}
.dash-quick-mobile { display: none; }
.dash-transactions { padding: 0; overflow: hidden; }
.dash-transactions-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e3e3e3;
}
.dash-transactions-head h6 {
  margin: 0;
  font-family: var(--ui);
  font-size: 1rem;
}
.dash-transactions-empty {
  padding: 2.5rem 1rem;
  text-align: center;
}
.dash-transactions-empty h4 {
  margin: 0;
  color: #9aa0a6;
  font-family: var(--ui);
  font-weight: 500;
}
.dash-page-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 5px;
  padding: 1.75rem 1.5rem;
  max-width: 820px;
}
.dash-page-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--ui);
  font-size: 1.5rem;
  font-weight: 600;
}
.dash-footer {
  background: #12263c;
  color: rgba(255,255,255,0.75);
  padding: 1.25rem 0;
  margin-top: 2rem;
  text-align: center;
  font-family: var(--ui);
  font-size: 0.88rem;
}
.dash-footer p { margin: 0; }
.d-mobile-only { display: none; }
.text-muted { color: #71767a; }

@media (max-width: 980px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-quick-desktop { display: none; }
  .dash-quick-mobile { display: block; }
  .dash-wallets-head { display: none; }
  .dash-wallet-grid { display: none; }
  .d-mobile-only { display: inline; }
  .dash-nav-toggle { display: inline-flex; }
  .dash-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 0.75rem;
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
  }
  .dash-nav.is-open { display: flex; }
  .dash-brandbar-inner { flex-wrap: wrap; padding-block: 0.65rem; }
  .dash-nav-group .dash-submenu {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
  }
  .dash-nav-group.is-open .dash-submenu { display: block; }
  .dash-submenu a { color: #fff !important; }
}

.dash-trx-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-trx-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid #eee;
  font-family: var(--ui);
}
.dash-trx-list li:last-child { border-bottom: 0; }
.dash-trx-list strong {
  display: block;
  color: #373e4a;
  font-size: 0.95rem;
}
.dash-trx-list span {
  display: block;
  color: #71767a;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.dash-trx-list .plus { color: #28c76f; font-weight: 600; }
.dash-trx-list .minus { color: #ea5455; font-weight: 600; }
.dash-filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
.dash-select-menu a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: #373e4a;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.88rem;
}
.dash-select-menu a:hover {
  background: #f4f6f8;
  color: #7966ff;
}
@media (max-width: 700px) {
  .dash-filter-row { grid-template-columns: 1fr; }
}

/* ===== Admin panel ===== */
.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0c3c78, #12263c 55%, #7966ff);
  padding: 1.5rem;
}
.admin-login-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}
.admin-login-top {
  text-align: center;
  margin-bottom: 1.25rem;
}
.admin-login-top img { margin: 0 auto 0.75rem; }
.admin-login-top h1 {
  margin: 0;
  font-family: var(--ui);
  font-size: 1.15rem;
  color: #373e4a;
}
.admin-login-top p {
  margin: 0.35rem 0 0;
  color: #71767a;
  font-size: 0.9rem;
}
.admin-login-hint {
  margin: 1rem 0 0;
  text-align: center;
  color: #71767a;
  font-size: 0.8rem;
}
.admin-body { background: #f3f5f8; min-height: 100vh; }
.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  background: #12263c;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
}
.admin-brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.admin-brand strong { display: block; font-family: var(--ui); }
.admin-brand span { display: block; font-size: 0.75rem; opacity: 0.7; }
.admin-nav { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.admin-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  font-family: var(--ui);
  font-size: 0.92rem;
}
.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(121,102,255,0.25);
  color: #fff;
}
.admin-sidebar-foot {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.85rem;
}
.admin-sidebar-foot a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--ui);
}
.admin-main { min-width: 0; }
.admin-top {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.1rem 1.5rem;
}
.admin-top h1 {
  margin: 0;
  font-family: var(--ui);
  font-size: 1.35rem;
}
.admin-top p {
  margin: 0.2rem 0 0;
  color: #71767a;
  font-size: 0.9rem;
}
.admin-content { padding: 1.25rem 1.5rem 2rem; }
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}
.admin-stat span {
  display: block;
  color: #71767a;
  font-size: 0.8rem;
  font-family: var(--ui);
}
.admin-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-family: var(--ui);
  color: #12263c;
}
.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.admin-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: auto;
  padding: 0.25rem 0;
}
.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eee;
}
.admin-panel-head h2 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--ui);
}
.admin-panel-head a {
  color: #7966ff;
  text-decoration: none;
  font-size: 0.85rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ui);
  font-size: 0.9rem;
}
.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  vertical-align: top;
}
.admin-table th {
  color: #71767a;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.admin-table small {
  display: block;
  color: #71767a;
  margin-top: 0.15rem;
}
.admin-table .plus { color: #28c76f; font-weight: 600; }
.admin-table .minus { color: #ea5455; font-weight: 600; }
.admin-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef0ff;
  color: #5746d6;
  font-size: 0.75rem;
  text-transform: capitalize;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.admin-actions button,
.admin-search button,
.admin-inline-form button {
  border: 0;
  background: #7966ff;
  color: #fff;
  border-radius: 4px;
  padding: 0.4rem 0.65rem;
  font-family: var(--ui);
  font-size: 0.8rem;
  cursor: pointer;
}
.admin-actions button.danger { background: #ea5455; }
.admin-inline-form {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.admin-inline-form input,
.admin-search input,
.admin-filter-row select {
  height: 34px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  padding: 0 0.55rem;
  font-family: var(--ui);
}
.admin-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-search input { flex: 1; max-width: 360px; }
.admin-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.admin-tabs a {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #373e4a;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 0.85rem;
}
.admin-tabs a.active {
  background: #7966ff;
  border-color: #7966ff;
  color: #fff;
}
.admin-filter-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: sticky; top: 0; z-index: 5; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-two-col { grid-template-columns: 1fr; }
}
