/* ── OUTPUT SECTION ── */
#output-section {
  opacity: 0;
  transform: translateY(20px);
  display: none;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

#output-section.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.output-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(232, 53, 42, 0.08);
  padding: 24px 22px;
  margin-top: 20px;
}

@media (min-width: 680px) {
  .output-card { padding: 30px 30px; }
}

/* ── CIRCLE TIMER (output summary) ── */
.circle-timer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(232, 53, 42, 0.08);
  margin-top: 20px;
}

.circle-timer-wrapper {
  position: relative;
  width: 260px; height: 260px;
  opacity: 0;
  transform: scale(0.7);
}

.circle-timer-wrapper.animate-in {
  animation: scaleIn 0.5s ease-out forwards;
}

@media (min-width: 680px) {
  .circle-timer-wrapper { width: 300px; height: 300px; }
}

@media (max-width: 380px) {
  .circle-timer-wrapper { width: 230px; height: 230px; }
}

.arc-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 8px 32px rgba(232, 53, 42, 0.22));
}

.circle-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 20px;
}

.circle-tomato-icon { margin-bottom: 4px; }

.circle-sessions-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.circle-sessions-word {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 4px;
}

.circle-duration-text {
  font-size: 13px;
  color: var(--warm-gray);
}

.circle-total-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--near-black);
}

.circle-info {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  text-align: center;
}

.circle-info-task {
  font-size: 15px;
  font-weight: 500;
  color: var(--near-black);
  margin-bottom: 6px;
  line-height: 1.4;
  word-break: break-word;
}

.circle-info-start {
  font-size: 13px;
  color: var(--warm-gray);
}

.circle-multiday-note {
  font-size: 12px;
  color: var(--warm-gray);
  font-style: italic;
  margin-top: 6px;
  display: none;
}

/* ── START TIMER BUTTON ── */
.btn-start-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: linear-gradient(to right, var(--red), var(--red-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(232, 53, 42, 0.38);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-start-timer:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 28px rgba(232, 53, 42, 0.45);
}

/* ── TIMELINE ── */
.tl-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 16px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tl-item {
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.tl-focus     { border-left: 4px solid var(--red); background: #FFFAF9; }
.tl-break     { border-left: 4px solid var(--green); background: var(--green-light); }
.tl-longbreak {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  box-shadow: 0 0 0 1px rgba(74, 124, 63, 0.18);
}

.tl-icon { flex-shrink: 0; margin-top: 2px; }
.tl-body { flex: 1; }

.tl-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.tl-focus .tl-label { color: var(--red); }
.tl-break .tl-label,
.tl-longbreak .tl-label { color: var(--green); }

.tl-duration {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-gray);
  margin-bottom: 2px;
}

.tl-note { font-size: 12px; color: var(--warm-gray); }

.tl-note-italic {
  font-size: 11px;
  color: var(--warm-gray);
  font-style: italic;
  margin-top: 4px;
}

.timeline-footer {
  font-size: 13px;
  color: var(--warm-gray);
  margin-top: 14px;
  line-height: 1.6;
}

/* ── DEFENSE ── */
.defense-card { border-left: 4px solid var(--yellow); }
.defense-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 5px;
}

.defense-sub {
  font-size: 13px;
  color: var(--warm-gray);
  margin-bottom: 14px;
}

.defense-plan-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.defense-plan-text {
  font-size: 14px;
  color: var(--near-black);
  background: #FFFBF0;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 14px;
  line-height: 1.6;
  border-left: 3px solid var(--yellow);
}

.defense-tip-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--warm-white);
  border-radius: 8px;
  padding: 11px 13px;
}

.defense-tip-icon { flex-shrink: 0; margin-top: 1px; }

.defense-tip {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.7;
  flex: 1;
}

/* ── COMMITMENT ── */
.commit-card { border-top: 4px solid var(--red); }
.commit-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 14px;
}

.commit-field {
  background: var(--white);
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 9px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.commit-field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 64px;
}

.commit-field-value {
  font-size: 14px;
  color: var(--near-black);
  font-weight: 500;
  word-break: break-word;
}

.commit-tagline {
  text-align: center;
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
  margin: 18px 0 14px;
}

.btn-copy {
  width: 100%;
  height: 46px;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-copy:hover { background: var(--red-light); }

.btn-copy.copied {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ── FAWRY BANNER ── */
.fawry-banner {
  background: var(--red-light);
  border-radius: 16px;
  padding: 24px 20px;
  margin-top: 20px;
}

.fawry-banner-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 14px;
}

.fawry-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fawry-row {
  background: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.fawry-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fawry-circle-letter {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.fawry-row-content { flex: 1; }
.fawry-row-word { font-size: 16px; font-weight: 700; color: var(--red); line-height: 1.2; }
.fawry-row-def { font-size: 13px; color: var(--warm-gray); margin-top: 1px; }
