/* FitTrack — demo app styles.
 * Mobile-first: a single "phone" surface centered on the screen. */

:root {
  --brand: #ff6b35;
  --brand-strong: #f7931e;
  --ink: #2b2d33;
  --muted: #8a8f99;
  --surface: #ffffff;
  --bg: #eef1f6;
  --radius-lg: 28px;
  --radius-md: 16px;
  --font: -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

/* Phone surface */
.phone {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Header */
.app-header {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  padding: 28px 24px 24px;
  text-align: center;
}
.app-header__logo {
  font-size: 26px;
  font-weight: 800;
}
.app-header__subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

/* Screen layout */
.screen {
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Lifetime stat */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 12px 0;
}
.stat__value {
  font-size: 56px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.stat__label {
  font-size: 14px;
  color: var(--muted);
}

/* Active timer */
.timer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  background: #fff5ef;
  border: 2px solid #ffd9c2;
  border-radius: 18px;
  padding: 20px;
}
.timer__value {
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.timer__label {
  font-size: 13px;
  color: #b08968;
}

/* Buttons */
.btn {
  border: none;
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.2s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--brand);
}
.btn--stop {
  background: var(--ink);
}

/* Result card */
.result {
  background: linear-gradient(135deg, #fff5ef, #ffffff);
  border: 2px solid #ffe2d1;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}
.result__emoji {
  font-size: 44px;
}
.result__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 6px;
}
.result__stats {
  font-size: 15px;
  color: #5a5f6a;
  margin-top: 10px;
  line-height: 1.6;
}
