/* ===== ROMANIA BATTERY FLEX FUND - REDESIGNED TO MATCH WEBSITE STYLE ===== */

/* Remove all custom styling from battery-flex-fund section */
#battery-flex-fund {
  /* Use standard section styles from main stylesheet */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  backdrop-filter: none !important;
  padding: var(--section-padding) !important;
}

#battery-flex-fund::before {
  display: none !important;
}

/* Dashboard Grid - Match Trading Simulator Style */
.flex-fund-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

/* Panels - Match Terminal Style */
.fund-overview-panel,
.fund-metrics-panel,
.fund-strategy-panel {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.1);
  transition: all 0.3s ease;
}

.fund-overview-panel:hover,
.fund-metrics-panel:hover,
.fund-strategy-panel:hover {
  border-color: rgba(var(--accent-color-rgb), 0.5);
  box-shadow: 0 0 25px rgba(var(--accent-color-rgb), 0.15);
}

/* Panel Headers - Terminal Style */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--accent-color-rgb), 0.2);
}

.panel-header h3 {
  font-family: var(--header-font);
  font-size: 1.3rem;
  color: var(--accent-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-header h3::before {
  content: ">";
  color: var(--accent-color);
  font-weight: bold;
}

/* Project Status Badge */
.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 4px;
  font-size: 0.9rem;
  color: #00ff00;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Project Specs Grid */
.project-specs {
  display: grid;
  gap: 25px;
}

.specs-primary,
.specs-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* Spec Items - Match Calculator Style */
.spec-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  border-radius: 6px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.spec-item:hover {
  background: rgba(var(--accent-color-rgb), 0.05);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.15);
}

.spec-item.highlight {
  border-color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.1);
}

.spec-icon {
  font-size: 1.8rem;
  color: var(--accent-color);
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-data {
  flex: 1;
}

.spec-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent-color);
  font-family: var(--header-font);
  margin-bottom: 4px;
}

.spec-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* System Diagram - Hide on redesign, replace with text */
.system-diagram {
  display: none;
}

/* Metrics Visualization */
.metrics-visualization {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.metric-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  border-radius: 6px;
  padding: 20px;
}

.metric-card h4 {
  color: var(--accent-color);
  font-family: var(--header-font);
  font-size: 1.1rem;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-card h4::before {
  content: "▸";
  color: var(--accent-color);
}

/* Chart Containers - Match Dashboard Style */
.chart-container {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 15px;
  margin: 15px 0;
  min-height: 250px;
}

.chart-container canvas {
  max-width: 100%;
  height: auto !important;
}

/* Investment Highlights - Terminal List Style */
.investment-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.investment-highlights li {
  padding: 12px 0 12px 30px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  border-left: 2px solid rgba(var(--accent-color-rgb), 0.3);
  margin-bottom: 10px;
}

.investment-highlights li::before {
  content: ">";
  position: absolute;
  left: 10px;
  color: var(--accent-color);
  font-weight: bold;
}

.investment-highlights li:hover {
  border-left-color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.05);
}

/* Fund Notes - Terminal Style */
.fund-notes {
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent-color);
  padding: 20px;
  margin-top: 30px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Courier New', monospace;
}

.fund-notes::before {
  content: "// NOTE:";
  display: block;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 10px;
  font-family: var(--header-font);
}

/* Market Charts Container */
.market-charts-container {
  margin-top: 25px;
}

/* Finance Metrics Grid */
.finance-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.finance-metric {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  border-radius: 6px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.finance-metric:hover {
  border-color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.05);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  font-family: var(--header-font);
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .flex-fund-dashboard {
    grid-template-columns: 1fr;
  }

  .specs-primary,
  .specs-detail {
    grid-template-columns: 1fr;
  }

  .metrics-visualization {
    grid-template-columns: 1fr;
  }

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

/* Remove ALL old battery-flex-fund specific styling */
.battery-flex-fund {
  all: unset;
}
