:root {
  --fbi-primary: #003366;
  --fbi-secondary: #0056b3;
  --fbi-accent: #ff6b35;
  --fbi-accent-hover: #e85a2a;
  --fbi-success: #28a745;
  --fbi-text: #1a202c;
  --fbi-text-light: #4a5568;
  --fbi-bg-light: #f8fafc;
  --fbi-border: #e2e8f0;
  --fbi-white: #ffffff;
  --wf-space-xs: 4px;
  --wf-space-sm: 8px;
  --wf-space-md: 16px;
  --wf-space-lg: 24px;
  --wf-space-xl: 48px;
  --wf-space-2xl: 80px;
  --container-width: 1320px;
  --header-height: 80px;
  --font-heading: 'Georgia', serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--fbi-text);
  background-color: var(--fbi-bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--fbi-primary);
  margin-top: 0;
  font-family: var(--font-heading);
}

a {
  color: var(--fbi-secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--fbi-border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
}

.top-bar {
  background: var(--fbi-bg-light);
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--fbi-border);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-text {
  font-weight: 800;
  font-size: 24px;
  color: var(--fbi-primary);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-text span {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fbi-accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  font-weight: 600;
  color: var(--fbi-text);
  font-size: 14px;
}

.search-box {
  display: flex;
  border: 1px solid var(--fbi-border);
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  padding: 8px 12px;
  border: none;
  outline: none;
  width: 150px;
}

.search-box button {
  background: var(--fbi-primary);
  color: white;
  border: none;
  padding: 0 12px;
  cursor: pointer;
}

/* Hero Section */
.report-hero {
  padding: var(--wf-space-xl) 0;
  background: linear-gradient(135deg, #001529 0%, #003366 100%);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--wf-space-xl);
}

.report-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-top: 10px;
}

.report-hero .breadcrumb, .report-hero .report-meta {
  color: rgba(255,255,255,0.7);
}

.breadcrumb {
  font-size: 12px;
  color: var(--fbi-text-light);
  margin-bottom: var(--wf-space-md);
}

.report-title-area {
  margin-bottom: var(--wf-space-lg);
}

.report-title-area h1 {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.report-meta {
  font-size: 13px;
  color: var(--fbi-text-light);
  display: flex;
  gap: 20px;
}

/* Main Layout */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Content Sections */
section {
  margin-top: var(--wf-space-xl);
}

main > :first-child {
  margin-top: 0;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--fbi-border);
  margin-bottom: var(--wf-space-lg);
}

.tab-item {
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-item.active {
  border-bottom-color: var(--fbi-primary);
  color: var(--fbi-primary);
}

.report-summary-box {
  background: var(--fbi-bg-light);
  border-left: 5px solid var(--fbi-primary);
  padding: 20px;
  margin: 20px 0;
}

/* Charts & Placeholders */
.chart-container {
  border: 1px solid var(--fbi-border);
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  background: white;
}

.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  border: 1px dashed #ccc;
}

.placeholder-image::after {
  content: attr(data-label);
}

.placeholder-image.tall {
  aspect-ratio: 1 / 1.2;
}

/* Sidebar Widgets */
.sidebar-card {
  border: 1px solid var(--fbi-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: var(--wf-space-lg);
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn-primary {
  background: var(--fbi-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--fbi-accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--fbi-primary);
  color: white;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--fbi-border);
  border-radius: 4px;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.data-table th, .data-table td {
  border: 1px solid var(--fbi-border);
  padding: 12px;
  text-align: left;
}

.data-table th {
  background: var(--fbi-bg-light);
  font-weight: bold;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--fbi-border);
  margin-bottom: 10px;
  border-radius: 4px;
}

.accordion-header {
  padding: 15px;
  background: var(--fbi-bg-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.accordion-content {
  padding: 15px;
  display: none;
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Footer */
footer {
  background: #002b5c;
  color: white;
  padding: var(--wf-space-2xl) 0;
  margin-top: var(--wf-space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  border-bottom: 2px solid var(--fbi-secondary);
  display: inline-block;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  font-size: 14px;
}

/* Specific UI Elements from screenshot */
.market-badge {
  display: inline-block;
  background: #eef5ff;
  color: var(--fbi-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.stat-item {
  background: #fff;
  border: 1px solid var(--fbi-border);
  padding: 15px;
  text-align: center;
}

.stat-label {
  font-size: 12px;
  color: var(--fbi-text-light);
}

.stat-value {
  font-weight: bold;
  color: var(--fbi-primary);
  font-size: 18px;
}

.callout-banner {
  background: linear-gradient(135deg, #004a99 0%, #007bff 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
}

.callout-content h2 {
  color: white;
  margin: 0;
}

.callout-btn {
  background: var(--fbi-accent);
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: bold;
}
