/* GT BANK site theme
   Typography: Geist
   Clean retail banking layout
*/

@import url("https://cdn.jsdelivr.net/fontsource/css/geist:vf@latest/wght.css");

:root {
  --gb-ink: #0a1628;
  --gb-navy: #0c2340;
  --gb-blue: #1164b4;
  --gb-blue-bright: #1a7ad9;
  --gb-blue-deep: #0a4d8c;
  --gb-red: #c8102e;
  --gb-red-soft: rgba(200, 16, 46, 0.08);
  --gb-slate: #243447;
  --gb-mist: #eef2f7;
  --gb-paper: #f5f7fa;
  --gb-white: #ffffff;
  --gb-muted: #5c6b7a;
  --gb-line: #d8e0ea;
  --gb-accent: #1164b4;
  --gb-accent-deep: #0a4d8c;
  --gb-accent-soft: rgba(17, 100, 180, 0.1);
  --gb-gold: #b8860b;
  --gb-danger: #c8102e;
  --gb-success: #0d7a4f;
  --gb-radius: 8px;
  --gb-radius-sm: 6px;
  --gb-radius-lg: 12px;
  --gb-shadow: 0 12px 40px rgba(10, 22, 40, 0.12);
  --gb-shadow-sm: 0 2px 12px rgba(10, 22, 40, 0.06);
  --gb-font: "Geist Variable", "Geist", system-ui, -apple-system, sans-serif;
  --gb-display: "Geist Variable", "Geist", system-ui, sans-serif;
  --themeColor: #1164b4;
  --secondaryColor: #0c2340;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.gb-body,
body.authbody,
.gb-body,
body {
  margin: 0;
  font-family: var(--gb-font) !important;
  color: var(--gb-ink);
  background: var(--gb-paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on, "cv11" on;
}

h1, h2, h3, h4, .gb-display {
  font-family: var(--gb-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--gb-ink);
}

a {
  color: var(--gb-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--gb-blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.gb-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gb-white);
}

.gb-wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Utility bar — US bank pattern */
.gb-topbar {
  background: var(--gb-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.gb-topbar .gb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.gb-topbar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.gb-topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

.gb-topbar-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.gb-topbar select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  font-family: inherit;
  font-size: 0.75rem;
}

/* Primary nav — white sticky bar */
.gb-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--gb-line);
  transition: box-shadow 0.2s ease;
}

.gb-nav.is-scrolled {
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

.gb-nav .gb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 68px;
}

.gb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gb-navy) !important;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  text-decoration: none !important;
}

.gb-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--gb-blue) 0%, var(--gb-navy) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
}

.gb-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-nav-links a {
  color: var(--gb-slate);
  font-weight: 560;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.gb-nav-links a:hover {
  color: var(--gb-blue);
  border-bottom-color: var(--gb-blue);
  text-decoration: none;
}

.gb-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 6px;
  padding: 0.7rem 1.25rem;
  text-decoration: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.gb-btn:hover {
  transform: translateY(-1px);
}

.gb-btn-primary {
  background: var(--gb-blue);
  color: #fff !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.gb-btn-primary:hover {
  background: var(--gb-blue-deep);
  color: #fff !important;
}

.gb-btn-ghost {
  background: transparent;
  color: var(--gb-navy) !important;
  border: 1px solid var(--gb-line);
}

.gb-btn-ghost:hover {
  border-color: var(--gb-blue);
  color: var(--gb-blue) !important;
  background: var(--gb-accent-soft);
}

.gb-btn-dark {
  background: var(--gb-navy);
  color: #fff !important;
}

.gb-btn-dark:hover {
  background: #081a30;
  color: #fff !important;
}

.gb-btn-danger {
  background: var(--gb-red);
  color: #fff !important;
}

.gb-btn-block {
  width: 100%;
}

.gb-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid var(--gb-line);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--gb-navy);
}

/* Hero — full-bleed trust visual */
.gb-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(12, 35, 64, 0.94) 0%, rgba(12, 35, 64, 0.78) 42%, rgba(17, 100, 180, 0.55) 100%),
    url("../../sunset.jpg") center/cover no-repeat;
  color: #fff;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  padding: 4rem 0 4.5rem;
}

.gb-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  animation: gb-rise 0.7s ease both;
}

.gb-hero .gb-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.85rem;
}

.gb-hero .gb-brand {
  color: #fff !important;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
}

.gb-hero .gb-brand-mark {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.gb-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  color: #fff;
  max-width: 18ch;
}

.gb-hero p {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 40ch;
  font-weight: 450;
}

.gb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gb-hero .gb-btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.gb-hero .gb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

@keyframes gb-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Quick actions — Chase/BoA product strip */
.gb-quick {
  background: #fff;
  border-bottom: 1px solid var(--gb-line);
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.gb-quick-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--gb-radius-lg);
  border: 1px solid var(--gb-line);
  box-shadow: var(--gb-shadow);
  overflow: hidden;
}

.gb-quick a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  color: var(--gb-ink);
  text-decoration: none;
  border-right: 1px solid var(--gb-line);
  transition: background 0.15s ease;
}

.gb-quick a:last-child {
  border-right: none;
}

.gb-quick a:hover {
  background: var(--gb-mist);
  text-decoration: none;
}

.gb-quick strong {
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--gb-navy);
}

.gb-quick span {
  font-size: 0.8125rem;
  color: var(--gb-muted);
  font-weight: 450;
  line-height: 1.4;
}

.gb-quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gb-accent-soft);
  color: var(--gb-blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.gb-section {
  padding: 4.25rem 0;
}

.gb-section--mist {
  background: var(--gb-mist);
}

.gb-section-head {
  max-width: 540px;
  margin-bottom: 2rem;
}

.gb-section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.gb-section-head p {
  margin: 0;
  color: var(--gb-muted);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 450;
}

.gb-grid {
  display: grid;
  gap: 1.15rem;
}

.gb-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gb-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gb-feature {
  background: var(--gb-white);
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.gb-feature:hover {
  border-color: #b8c9de;
  box-shadow: var(--gb-shadow-sm);
}

.gb-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gb-accent-soft);
  color: var(--gb-blue);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.8rem;
}

.gb-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.0625rem;
}

.gb-feature p {
  margin: 0;
  color: var(--gb-muted);
  line-height: 1.55;
  font-size: 0.9375rem;
  font-weight: 450;
}

.gb-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.gb-panel {
  background: linear-gradient(155deg, var(--gb-navy) 0%, #143a66 55%, var(--gb-blue) 120%);
  color: #fff;
  border-radius: var(--gb-radius-lg);
  padding: 2.25rem;
  min-height: 300px;
  box-shadow: var(--gb-shadow);
  position: relative;
  overflow: hidden;
}

.gb-panel::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -50px;
  right: -40px;
}

.gb-panel h3 {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: #fff;
}

.gb-panel p {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-weight: 450;
}

/* Trust strip */
.gb-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.gb-trust article {
  padding: 1.5rem 1rem;
}

.gb-trust strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.gb-trust span {
  font-size: 0.875rem;
  color: var(--gb-muted);
  font-weight: 500;
}

.gb-footer {
  margin-top: auto;
  background: var(--gb-navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.25rem 0 1.35rem;
  font-size: 0.9rem;
}

.gb-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 450;
}

.gb-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.gb-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.gb-footer h4 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 650;
}

.gb-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-footer li {
  margin-bottom: 0.5rem;
}

.gb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

/* Auth — split panel like major US banks */
.gb-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gb-paper);
}

.gb-auth-visual {
  position: relative;
  background:
    linear-gradient(160deg, rgba(12, 35, 64, 0.92), rgba(17, 100, 180, 0.75)),
    url("../../sunset.jpg") center/cover;
  color: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gb-auth-visual > * {
  position: relative;
  z-index: 1;
}

.gb-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: #fff;
}

.gb-auth-card {
  width: min(400px, 100%);
  animation: gb-rise 0.5s ease both;
}

.gb-auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
}

.gb-auth-card .gb-sub {
  margin: 0 0 1.5rem;
  color: var(--gb-muted);
  font-size: 0.9375rem;
  font-weight: 450;
}

.gb-field {
  margin-bottom: 1.05rem;
}

.gb-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gb-slate);
  margin-bottom: 0.4rem;
}

.gb-field input,
.gb-field select,
.gb-field textarea,
.gb-auth-card .form-control,
.authbody .form-control {
  width: 100%;
  border: 1px solid #c5d0dc;
  background: #fff;
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.975rem;
  color: var(--gb-ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gb-field input:focus,
.gb-auth-card .form-control:focus {
  border-color: var(--gb-blue);
  box-shadow: 0 0 0 3px var(--gb-accent-soft);
}

.gb-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.35rem 0 1.15rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.gb-page-hero {
  background: linear-gradient(120deg, var(--gb-navy), #143a66 60%, var(--gb-blue));
  color: #fff;
  padding: 4.5rem 0 3.25rem;
}

.gb-page-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: #fff;
}

.gb-page-hero p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 450;
}

.gb-prose {
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius-lg);
  padding: 2rem;
  line-height: 1.7;
  color: var(--gb-slate);
  font-weight: 450;
}

.gb-prose h2, .gb-prose h3 {
  color: var(--gb-ink);
}

/* Accounts portal overrides */
body #content.main-content,
.main-content {
  background: var(--gb-paper) !important;
}

.header-container.fixed-top,
.header.navbar {
  background: var(--gb-navy) !important;
  border: none !important;
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.18);
}

.header-container .navbar-item .nav-link,
.header-container .theme-brand a,
#sidebar .menu > .menu-item > a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--gb-font) !important;
}

#sidebar {
  background: #0a1c33 !important;
  box-shadow: var(--gb-shadow-sm);
}

#sidebar .theme-brand,
.sidebar-wrapper {
  background: #0a1c33 !important;
}

.widget,
.widget-content-area,
.statbox,
.card {
  border-radius: 10px !important;
  border: 1px solid var(--gb-line) !important;
  box-shadow: var(--gb-shadow-sm) !important;
}

.widget-account-invoice-three .widget-heading {
  background: linear-gradient(145deg, var(--gb-navy), var(--gb-blue)) !important;
  border-radius: 10px 10px 0 0 !important;
}

.btn-primary,
.btn.btn-primary,
button.btn-primary {
  background: var(--gb-blue) !important;
  border-color: transparent !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-family: var(--gb-font) !important;
}

.form-control {
  border-radius: 6px !important;
  font-family: var(--gb-font) !important;
}

#load_screen .loader {
  background: var(--gb-paper) !important;
}

.spinner-grow {
  color: var(--gb-blue) !important;
  background-color: var(--gb-blue) !important;
}

.header-container .navbar-item.theme-brand::after {
  content: "GT BANK";
  color: #fff;
  font-family: var(--gb-font);
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 0.35rem;
  letter-spacing: -0.03em;
}

/* AdminLTE */
.skin-blue .main-header .logo,
.skin-blue .main-header .navbar,
.skin-blue .main-sidebar {
  background-color: var(--gb-navy) !important;
}

.skin-blue .main-header .logo {
  background: #08182c !important;
  font-family: var(--gb-font);
  font-weight: 700;
}

.skin-blue .sidebar-menu > li.active > a,
.skin-blue .sidebar-menu > li:hover > a {
  background: rgba(17, 100, 180, 0.22) !important;
  border-left-color: var(--gb-blue) !important;
}

.content-wrapper {
  background: var(--gb-paper) !important;
}

.box {
  border-radius: 8px !important;
  border-top-color: var(--gb-blue) !important;
  box-shadow: var(--gb-shadow-sm) !important;
}

.login-page {
  background: linear-gradient(145deg, var(--gb-navy), #143a66 55%, var(--gb-blue)) !important;
  font-family: var(--gb-font) !important;
}

.login-box-body {
  border-radius: 10px !important;
  box-shadow: var(--gb-shadow) !important;
}

.login-box-body .btn-primary {
  background: var(--gb-blue) !important;
  border: none !important;
  border-radius: 6px !important;
}

@media (max-width: 980px) {
  .gb-grid-3,
  .gb-grid-2,
  .gb-split,
  .gb-footer-grid,
  .gb-auth,
  .gb-quick-inner,
  .gb-trust {
    grid-template-columns: 1fr;
  }

  .gb-quick a {
    border-right: none;
    border-bottom: 1px solid var(--gb-line);
  }

  .gb-auth-visual {
    min-height: 220px;
    padding: 1.5rem;
  }

  .gb-nav-links,
  .gb-nav-actions .gb-btn-ghost {
    display: none;
  }

  .gb-nav.is-open .gb-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: #fff;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--gb-line);
    box-shadow: var(--gb-shadow-sm);
  }

  .gb-menu-toggle {
    display: inline-grid;
    place-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
