@import url('/auth/auth.css');

.dash-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.dash-card-wrap {
  width: min(100%, 480px);
  padding: 1px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.45), rgba(168, 85, 247, 0.3));
  box-shadow: var(--shadow);
  animation: fade-up 0.65s ease both;
}

.dash-card {
  width: 100%;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 26, 39, 0.94);
  backdrop-filter: blur(12px);
}

.dash-brand {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--pro-soft);
  color: #ddd6fe;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.dash-header h1 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.dash-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dash-notice {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.45;
}

.dash-notice--info {
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}

.dash-profile {
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

.dash-row dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.dash-row dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
}

.dash-value--success {
  color: var(--success);
  font-weight: 600;
}

.dash-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}

.dash-btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: rgba(59, 130, 246, 0.45);
}

.dash-btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border-strong);
}

.dash-btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(148, 163, 184, 0.08);
}

@media (max-width: 420px) {
  .dash-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
