.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: 0 0 0 1px var(--color-border);
}

.btn {
  font-family: var(--font-mono);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-text-primary);
  background: transparent;
  cursor: pointer;
  margin: 0.5rem 0.5rem 0.5rem 0rem;
}

.btn.primary {
  background: var(--color-text-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
  margin: 0.5rem 0.5rem 0.5rem 0rem;
}

.btn.ghost {
  background: transparent;
}

.timer-bar {
  background: var(--color-accent-green);
  height: 100%;
  width: 100%;
  transition: width 1s linear;
}

.manifest {
  background: var(--color-surface-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
}

.manifest_1 {
  background: #fae3e0;
  border-radius: var(--radius-xl);
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.manifest h2 {
  margin: var(--space-md) 0;
}

.chat-frame {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fafafa;
}

.timer-wrapper {
  width: 100%;
  max-width: 600px;
}

.timer-bar {
  width: 100%;
  height: 32px;
  background: #f6dede; /* lys rosa */
  border-radius: 4px;
  overflow: hidden;
}

.timer-progress {
  height: 100%;
  width: 0%;
  background: #9bd3b0; /* grøn */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  box-sizing: border-box;
  transition: width 1s linear;
}

.timer-label {
  font-weight: 600;
  font-size: 14px;
}

.timer-text {
  margin-top: 6px;
  font-size: 14px;
}

.timer-bar {
  position: relative;
  width: 100%;
  height: 32px;
  background: #f6dede;
  border-radius: 4px;
  overflow: hidden;
}

.timer-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #9bd3b0;
  transition: width 1s linear;
}

.timer-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
}

/* ---------- CHAT ---------- */

.chat {
  border: 1px solid #e4e3e3;
  border-radius: 25px;
  margin-bottom: 2rem;
}

textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid gray;
  border-radius: 25px;
  outline: none;
  margin-bottom: 3rem;
}
