.profile-page {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem 3rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.profile-header h1 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  color: #0f172a;
}

.profile-subtitle {
  margin: 0;
  color: #64748b;
}

.profile-refresh {
  padding: 0.55rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  cursor: pointer;
  font-size: 0.95rem;
}

.profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 2.5rem;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-label {
  font-weight: 600;
  color: #1f2937;
}

.profile-value {
  color: #334155;
}

.profile-section h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #0f172a;
}

.profile-instances {
  display: grid;
  gap: 0.75rem;
}

.profile-instance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.profile-instance__name {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', ui-monospace, monospace;
  font-size: 0.95rem;
}

.profile-instance__status {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-empty {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px dashed #cbd5f5;
  color: #64748b;
  text-align: center;
}

.profile-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.profile-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.profile-footer a:hover {
  background: #1f2937;
}

@media (max-width: 720px) {
  .profile-header {
    flex-direction: column;
  }

  .profile-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .profile-instance {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
