/* BeON Performance Tester Dashboard Styles */

.beon-dashboard-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.be on-dashboard-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 700;
}

.beon-dashboard-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

.beon-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.beon-metric-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.beon-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.beon-metric-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #1e293b;
}

.metric-value.metric-green {
  color: #10b981;
}

.metric-value.metric-orange {
  color: #f59e0b;
}

.metric-value.metric-red {
  color: #ef4444;
}

.metric-detail {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.beon-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.beon-section h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  color: #1e293b;
  font-weight: 600;
}

.beon-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.beon-table thead {
  background: #f8fafc;
}

.beon-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
}

.beon-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.beon-table code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Courier New', monospace;
}

.beon-recommendations {
  background: #fffbeb;
  border-color: #fbbf24;
}

.beon-recommendations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beon-recommendations li {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: white;
  border-left: 4px solid #94a3b8;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.beon-recommendations li.rec-priority-high {
  border-left-color: #ef4444;
}

.beon-recommendations li.rec-priority-medium {
  border-left-color: #f59e0b;
}

.beon-recommendations li.rec-priority-low {
  border-left-color: #10b981;
}

.beon-actions {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
}

.beon-actions a.button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
  transition: all 0.3s;
}

.beon-actions a.button:hover {
  box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .beon-metrics-grid {
    grid-template-columns: 1fr;
  }

  .beon-dashboard-header h1 {
    font-size: 1.5rem;
  }

  .metric-value {
    font-size: 1.5rem;
  }
}