﻿:root {
  --nbk-blue: #004b93;
  --nbk-blue-dark: #00356b;
  --nbk-blue-soft: #eaf3ff;
  --valtech-grey: #2f3136;
  --valtech-grey-2: #3b3d43;
  --valtech-yellow: #ffd200;
  --white: #ffffff;
  --bg: #f4f7fb;
  --text: #20242a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

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

/* login */

.login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 75, 147, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef5ff 48%, #f7f7f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.login-shell {
  width: min(1120px, 100%);
  min-height: 640px;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.login-brand-panel {
  background:
    linear-gradient(135deg, rgba(0, 75, 147, 0.96), rgba(0, 53, 107, 0.98));
  color: var(--white);
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.login-brand-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.22);
}

.brand-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.nbk-logo-box {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: var(--white);
  color: var(--nbk-blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -1px;
}

.brand-kicker {
  color: var(--valtech-yellow);
  font-weight: 700;
  margin-bottom: 12px;
}

.login-brand-panel h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  max-width: 520px;
}

.login-brand-panel p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  z-index: 1;
}

.brand-stats {
  display: flex;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.brand-stats div {
  min-width: 180px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.brand-stats strong {
  display: block;
  font-size: 28px;
}

.brand-stats span {
  color: rgba(255, 255, 255, 0.75);
}

.login-card {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-card-header {
  margin-bottom: 32px;
}

.valtech-mark {
  width: 56px;
  height: 8px;
  border-radius: 99px;
  background: var(--valtech-yellow);
  margin-bottom: 22px;
}

.login-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
  color: var(--valtech-grey);
}

.login-card p {
  margin: 0;
  color: var(--muted);
}

form label {
  display: block;
  font-weight: 700;
  color: var(--valtech-grey);
  margin-bottom: 18px;
}

input {
  display: block;
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 16px;
  margin-top: 8px;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: var(--nbk-blue);
  box-shadow: 0 0 0 4px rgba(0, 75, 147, 0.12);
}

button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

form button {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  background: var(--nbk-blue);
  color: var(--white);
  font-size: 16px;
  margin-top: 8px;
  transition: 0.18s ease;
}

form button:hover {
  background: var(--nbk-blue-dark);
  box-shadow: 0 14px 26px rgba(0, 75, 147, 0.24);
}

.login-error {
  min-height: 22px;
  color: #b91c1c;
  font-weight: 700;
  margin-bottom: 8px;
}

.demo-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

/* dashboard */

.dashboard-body {
  min-height: 100vh;
  display: flex;
  background: var(--bg);
}

.sidebar {
  width: 286px;
  background: var(--valtech-grey);
  color: var(--white);
  min-height: 100vh;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nbk-logo-small {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--white);
  color: var(--nbk-blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.sidebar-brand strong {
  display: block;
  font-size: 17px;
}

.sidebar-brand span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.sidebar-menu {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.sidebar-menu a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  transition: 0.16s ease;
}

.sidebar-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sidebar-menu a.active {
  background: var(--nbk-blue);
  color: var(--white);
  box-shadow: inset 4px 0 0 var(--valtech-yellow);
}

.sidebar-footer {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.yellow-dot {
  width: 10px;
  height: 10px;
  background: var(--valtech-yellow);
  border-radius: 50%;
}

.dashboard-main {
  flex: 1;
  padding: 32px;
  overflow: auto;
}

.topbar {
  min-height: 92px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-kicker {
  margin: 0 0 5px;
  color: var(--nbk-blue);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.topbar h1 {
  margin: 0;
  color: var(--valtech-grey);
  letter-spacing: -0.6px;
}

.admin-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--nbk-blue-soft);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  color: var(--nbk-blue-dark);
  font-weight: 800;
}

.admin-pill button {
  background: var(--valtech-grey);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
}

.page-section {
  margin-top: 26px;
}

.hidden {
  display: none;
}

.summary-hero {
  background:
    linear-gradient(135deg, var(--nbk-blue), var(--nbk-blue-dark));
  color: var(--white);
  border-radius: 30px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.summary-hero::after {
  content: "";
  width: 190px;
  height: 190px;
  background: rgba(255, 210, 0, 0.22);
  position: absolute;
  right: -58px;
  bottom: -72px;
  border-radius: 50%;
}

.section-label {
  margin: 0 0 8px;
  color: var(--valtech-yellow);
  font-weight: 800;
}

.summary-hero h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.summary-hero p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.hero-number {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  padding: 24px 32px;
  min-width: 220px;
  position: relative;
  z-index: 1;
}

.hero-number span {
  color: rgba(255, 255, 255, 0.76);
}

.hero-number strong {
  display: block;
  font-size: 44px;
  margin-top: 6px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 34px;
  color: var(--nbk-blue);
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.metric-card.accent {
  border-top: 5px solid var(--valtech-yellow);
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 18px;
  margin-top: 22px;
}

.panel,
.empty-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header h3 {
  margin: 0;
  color: var(--valtech-grey);
}

.panel-header span {
  background: var(--nbk-blue-soft);
  color: var(--nbk-blue);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.fake-chart {
  height: 260px;
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 32px;
  border-bottom: 1px solid var(--border);
  padding: 0 12px;
}

.fake-chart div {
  flex: 1;
  min-width: 28px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, var(--nbk-blue), var(--nbk-blue-dark));
  position: relative;
}

.fake-chart div:nth-child(even) {
  background: linear-gradient(180deg, var(--valtech-yellow), #d9af00);
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--valtech-grey);
  font-weight: 700;
}

.status-list span {
  width: 10px;
  height: 10px;
  background: var(--nbk-blue);
  border-radius: 50%;
}

.empty-panel {
  min-height: 360px;
  display: grid;
  place-content: center;
  text-align: center;
}

.empty-panel h2 {
  margin: 0 0 8px;
  color: var(--valtech-grey);
}

.empty-panel p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    min-height: 420px;
  }

  .dashboard-body {
    display: block;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
  }

  .cards-grid,
  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .summary-hero,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
