:root {
  --epic-accent: #3a6ea5;
  --epic-bg: #f5f6f7;
  --epic-border: #d1d5d9;
  --epic-text: #1f1f1f;
  --epic-muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--epic-bg);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--epic-text);
}

/* Layout */
.epic-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.epic-header {
  background: #ffffff;
  border-bottom: 1px solid var(--epic-border);
  padding: 0.75rem 1.5rem;
}

.epic-header-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.epic-main {
  padding: 1.5rem;
}

/* Card */
.epic-card {
  background: #ffffff;
  border: 1px solid var(--epic-border);
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  max-width: 520px;
}

/* Left accent bar */
.epic-card::before {
  content: "";
  width: 6px;
  background: var(--epic-accent);
}

/* Card body */
.epic-card-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  flex: 1;
}

/* Card title with one rounded edge */
.epic-card-title {
  background: var(--epic-accent);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  border-top-right-radius: 6px;
  display: inline-block;
  margin-bottom: 0.9rem;
}

/* Form */
.epic-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.epic-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.epic-form-row label {
  font-size: 0.85rem;
  color: var(--epic-muted);
}

/* Inputs: square, EPIC-style */
input[type="text"],
select {
  border: 1px solid var(--epic-border);
  border-radius: 0;
  padding: 0.45rem 0.5rem;
  background: #ffffff;
  font-size: 0.9rem;
}

/* Buttons: slight rounding */
button {
  background: var(--epic-accent);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

button:hover {
  background: #2f5a87;
}

.epic-btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.epic-btn-secondary:hover {
  background: #d1d5db;
}

/* Actions row */
.epic-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Hint text */
.epic-hint {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--epic-muted);
}
