.dashboard-container {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

.dashboard-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--fg);
}

.dashboard-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;
}

.dashboard-title {
  margin-bottom: 40px;
}

.dashboard-title h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dashboard-title p {
  color: var(--fg-muted);
  font-size: 16px;
}

.status-table-container {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
}

.status-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.status-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.status-table tr:last-child td {
  border-bottom: none;
}

.status-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-healthy { background: var(--good); }
.status-slow { background: var(--watch); }
.status-warning { background: var(--watch); }
.status-error { background: #ff7043; }
.status-unknown { background: var(--fg-muted); }

.name-cell {
  font-weight: 500;
  font-family: var(--font-head);
}

.url-cell {
  color: var(--fg-muted);
  font-size: 13px;
}

.response-cell {
  font-family: var(--font-head);
}

.time-cell {
  color: var(--fg-muted);
  font-size: 13px;
}

.muted {
  color: var(--fg-muted);
}

.empty-state {
  text-align: center;
  padding: 48px 20px !important;
  color: var(--fg-muted);
}

.delete-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s;
}

.delete-btn:hover {
  background: rgba(255,112,67,0.1);
  border-color: rgba(255,112,67,0.3);
  color: #ff7043;
}

.add-endpoint-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.add-endpoint-form h2 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

#addEndpointForm {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

#addEndpointForm input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg);
  font-size: 14px;
  font-family: var(--font-body);
}

#addEndpointForm input:focus {
  outline: none;
  border-color: var(--accent);
}

#addEndpointForm button {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: #0d1117;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
  transition: opacity 0.2s;
}

#addEndpointForm button:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 16px 24px;
  }
  .dashboard-main {
    padding: 24px;
  }
  #addEndpointForm {
    grid-template-columns: 1fr;
  }
  .status-table th:nth-child(4),
  .status-table td:nth-child(4),
  .status-table th:nth-child(5),
  .status-table td:nth-child(5) {
    display: none;
  }
}
