/* Dashboard page specific styles */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-chart {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-top: 20px;
}

.chart-bar {
  flex: 1;
  background: var(--color-primary);
  border-radius: 6px 6px 0 0;
  min-height: 4px;
  position: relative;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-bar:hover {
  opacity: 0.75;
}

.chart-bar-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  white-space: nowrap;
  display: none;
  pointer-events: none;
  margin-bottom: 4px;
}

.chart-bar:hover .chart-bar-tooltip {
  display: block;
}

.plan-usage-section {
  margin-top: 16px;
}

.plan-usage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.87rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.plan-usage-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.plan-usage-label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.plan-usage-value {
  font-weight: 700;
  color: var(--color-text);
}

.server-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-size: 0.87rem;
  margin-top: 14px;
  border: 1px solid var(--color-border-light);
  transition: border-color var(--transition);
}

.server-info:hover {
  border-color: var(--color-border);
}

.server-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.server-dot.healthy { background: var(--color-success); box-shadow: 0 0 0 4px var(--color-success-light); }
.server-dot.degraded { background: var(--color-warning); box-shadow: 0 0 0 4px var(--color-warning-light); }
.server-dot.unhealthy { background: var(--color-danger); box-shadow: 0 0 0 4px var(--color-danger-light); }
.server-dot.unknown { background: var(--color-text-muted); box-shadow: 0 0 0 4px var(--color-surface-alt); }

/* Enter Workspace button */
.btn-enter-workspace {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}

.btn-enter-workspace:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.btn-enter-workspace:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.btn-enter-workspace i {
  font-size: 0.9rem;
}
