@font-face {
  font-family: 'Helvetica Neue LT GEO';
  src: url('../fonts/HelveticaNeue.woff2') format('woff2'),
       url('../fonts/HelveticaNeue.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Helvetica Neue LT GEO';
  src: url('../fonts/HelveticaNeue-Bold.woff2') format('woff2'),
       url('../fonts/HelveticaNeue-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #dfe7ee;
  --card: #ffffff;
  --border: #dfe5e8;
  --muted: #8e969d;
  --muted-2: #a7b0b7;
  --heading: #123f40;
  --text: #4e5b64;
  --primary: linear-gradient(90deg, #1ea6b6 0%, #118fa1 100%);
  --primary-solid: #179cac;
  --dark-panel-1: #0d5967;
  --dark-panel-2: #032f35;
  --input-bg: #ffffff;
  --shadow: 0 12px 35px rgba(13, 41, 53, 0.08);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

body {
  font-family: "Helvetica Neue LT GEO", "Inter", sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--text);
}

/* ─── Top Bar ─── */
.top-bar {
  position: relative;
  z-index: 5;
  background: #179cac;
  border-radius: 14px;
  margin: 0 0 12px 0;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-bar-item:hover {
  opacity: 0.85;
}

.top-bar-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── Layout ─── */
.wrapper {
  width: 100%;
  max-width: 1220px;
}

.auth-shell {
  background: #fdfdfd;
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.65);
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 18px;
  min-height: 760px;
}

.left-panel,
.right-panel {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

/* ─── Left Panel ─── */
.left-panel {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #194a4f;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.left-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.form-box {
  width: 100%;
  max-width: 440px;
}

.title {
  text-align: center;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  color: #0f4145;
  margin-bottom: 10px;
}

/* ─── Form ─── */
.field {
  margin-bottom: 18px;
}

.label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #314249;
}

.label .required {
  color: #3fa8c3;
  margin-left: 3px;
}

.input-wrap {
  position: relative;
}

.input-icon,
.toggle-password {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ea7ae;
}

.input-icon {
  left: 14px;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.toggle-password {
  right: 14px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.2s ease;
}

.toggle-password:hover {
  background: #f2f6f8;
  color: #66717a;
}

.input {
  width: 100%;
  height: 52px;
  border: 1px solid #dfe5e8;
  border-radius: 11px;
  background: var(--input-bg);
  padding: 0 44px 0 42px;
  font-size: 14px;
  color: #33424a;
  outline: none;
  transition: 0.2s ease;
}

.input::placeholder {
  color: #a7afb6;
}

.input:focus {
  border-color: #7bc7d2;
  box-shadow: 0 0 0 4px rgba(28, 158, 172, 0.08);
}

.submit-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(20, 144, 160, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(20, 144, 160, 0.24);
}

.forgot-link {
  text-align: center;
  margin-top: 16px;
}

.forgot-link a {
  color: #3899a7;
  font-size: 14px;
  text-decoration: none;
}

.forgot-link a:hover {
  text-decoration: underline;
}

/* ─── Footer ─── */
.footer {
  margin-top: auto;
  padding-top: 18px;
  text-align: center;
  color: #97a0a8;
  font-size: 13px;
  line-height: 1.7;
}

.footer a {
  color: #3899a7;
  text-decoration: none;
  margin-left: 12px;
}

/* ─── Right Panel ─── */
.right-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    radial-gradient(circle at 15% 10%, rgba(88, 176, 200, 0.45), transparent 28%),
    linear-gradient(135deg, var(--dark-panel-1) 0%, var(--dark-panel-2) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 30px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.38;
  pointer-events: none;
}

/* ─── Floating Cards ─── */
.floating-area {
  position: relative;
  height: 420px;
  margin-top: 10px;
}

.mini-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  border: 3px solid rgba(111, 140, 150, 0.45);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  color: #3c4b53;
}

.card-1 { width: 270px; top: 0; left: 165px; }
.card-2 { width: 295px; top: 140px; left: 110px; z-index: 3; }
.card-3 { width: 300px; top: 95px; right: 45px; z-index: 2; }

.mini-inner { padding: 14px 14px 12px; }

.mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #7f8a93;
  margin-bottom: 10px;
}

.donut-row { display: flex; gap: 16px; align-items: flex-start; }

.donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#2a9dac 0 64%, #f1b336 64% 78%, #f57549 78% 88%, #e8edf0 88% 100%);
  position: relative;
  flex-shrink: 0;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: #fff;
  border-radius: 50%;
}

.stat-amount { font-size: 14px; font-weight: 700; color: #36434b; margin-top: 4px; }

.legend { margin-top: 10px; font-size: 10px; line-height: 1.9; color: #7d8991; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }

.line-group { margin-top: 14px; font-size: 10px; color: #73818a; }

.line {
  height: 6px;
  width: 100%;
  background: #e9edf0;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 5px;
  margin-bottom: 10px;
}

.fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3aa8b8, #2f8394); }
.fill.yellow { background: linear-gradient(90deg, #f0bf42, #eaa312); }

.card-btn {
  height: 28px;
  border-radius: 8px;
  background: #294d62;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.allocation-title { font-size: 11px; color: #6f7a83; margin-bottom: 4px; }
.allocation-value { font-size: 31px; font-weight: 700; color: #2d3e46; margin-bottom: 10px; }

.asset-list { display: grid; gap: 8px; font-size: 11px; }

.asset-item { display: flex; justify-content: space-between; gap: 10px; color: #596771; }
.asset-item strong { display: block; color: #40515a; font-weight: 600; margin-bottom: 2px; }
.asset-item small { color: #93a0a9; }
.asset-item .positive { color: #14929d; font-weight: 600; text-align: right; }

/* ─── Bottom Content ─── */
.content-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px 8px;
}

.logo-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, #33a8b7 0%, #177d8d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 12px 25px rgba(12, 119, 132, 0.35);
}

.logo-badge svg { width: 34px; height: 34px; }

.hero-title {
  font-size: 29px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

.hero-title .light { color: rgba(255,255,255,0.68); font-weight: 500; }

.hero-text {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  line-height: 1.8;
}

.slider-dots { margin-top: 42px; display: flex; justify-content: center; gap: 10px; }

.slider-dots span {
  width: 150px;
  max-width: 18vw;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
  position: relative;
}

.slider-dots span.active::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 58%;
  background: #ffffff;
  border-radius: inherit;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .auth-grid { grid-template-columns: 1fr; }
  .right-panel { min-height: 700px; }
  .floating-area { height: 360px; }
  .card-1 { left: 50%; transform: translateX(-50%); }
  .card-2 { left: 18%; }
  .card-3 { right: 8%; }
}

@media (max-width: 768px) {
  body { padding: 14px; }
  .auth-shell { padding: 12px; }
  .left-panel { padding: 16px; }
  .brand { font-size: 24px; margin-bottom: 18px; }
  .title { font-size: 26px; }
  .right-panel { min-height: 620px; padding: 20px 14px 16px; }
  .floating-area { height: 300px; }
  .mini-card { transform: scale(0.82); transform-origin: top left; }
  .card-1 { left: 35%; }
  .card-2 { left: 4%; top: 118px; }
  .card-3 { right: -8%; top: 82px; }
  .hero-title { font-size: 22px; }
  .hero-text { font-size: 14px; }
  .slider-dots span { width: 72px; }
  .top-bar { gap: 20px; padding: 8px 14px; font-size: 12px; flex-wrap: wrap; }
}
