/* Feature: Pause and verify ("Let's take a kopi break": countdown, questions, result).
   Owner: Jiliana
   Styles for this feature only. Every class starts with pv- so it can't clash with a teammate's.
*/

.screen-pause-verify {
  --kopi-cream: #FBF3E4;   /* paper and cup-saucer cream */
  --kopi-brown: #3B2616;   /* dark kopi: text on cream (13:1) and the menu board */
  --kopi-mid: #5A3A22;     /* kopi in the cup, the progress bar */
  --kopi-green: #1F6B4A;   /* the green pattern on a kopitiam cup (6.3:1 on white) */
  --kopi-sand: #F0D9B0;    /* small text on the dark menu board (10:1) */
}

/* One comfortable column, like a phone screen, even on a wide monitor */
.screen-pause-verify .cust-main { max-width: 40rem; }
.screen-pause-verify h2:focus { outline: none; }
.screen-pause-verify .btn[disabled] { opacity: .5; cursor: not-allowed; }
.screen-pause-verify .btn-link { width: 100%; }

/* ---------- The top card: heading, cup, countdown ---------- */

.pv-hero {
  display: grid; justify-items: center; gap: .75rem; padding: 1.5rem; text-align: center;
  background: var(--kopi-cream); color: var(--kopi-brown);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pv-hero h1 { margin: 0; font-size: 1.875rem; }
.pv-pill {
  margin: 0; padding: .25rem .875rem; border-radius: 999px;
  background: var(--red-tint); color: var(--red-dark); font-size: 1rem; font-weight: 700;
}
.pv-time { margin: 0; font-size: 3.25rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pv-time-label { margin: 0; font-size: 1rem; }
.pv-bar { width: 100%; max-width: 20rem; height: .625rem; overflow: hidden; border-radius: 999px; background: var(--white); }
.pv-bar span { display: block; width: 0; height: 100%; background: var(--kopi-mid); transition: width 1s linear; }
.pv-safe {
  display: flex; align-items: center; gap: .625rem; margin: .25rem 0 0; padding: .875rem 1rem; text-align: left;
  background: var(--white); color: var(--text); border-radius: var(--radius); font-weight: 700;
}
.pv-safe .icon { color: var(--kopi-green); }

/* After the first step the card shrinks so the question is near the top */
.pv-hero--small { gap: .5rem; padding: 1.25rem; }
.pv-hero--small .pv-cup { display: none; }
.pv-hero--small h1 { font-size: 1.5rem; }
.pv-hero--small .pv-time { font-size: 2.5rem; }

/* The kopi cup drawing: flat shapes, no outlines, on a round sand-coloured table top */
.pv-cup { width: 12rem; height: auto; }
.pv-cup-table { fill: var(--kopi-sand); }
.pv-cup-steam { fill: none; stroke: var(--white); stroke-width: 5; stroke-linecap: round; animation: pv-steam 2.5s ease-in-out infinite; }
.pv-cup-white { fill: var(--white); }
.pv-cup-under { fill: var(--divider); }
.pv-cup-shade { fill: var(--slate-tint); }
.pv-cup-handle { fill: none; stroke: var(--white); stroke-width: 11; }
.pv-cup-rim { fill: var(--white); stroke: var(--divider); stroke-width: 1.5; }
.pv-cup-kopi { fill: var(--kopi-mid); }
.pv-cup-shine { fill: none; stroke: var(--kopi-sand); stroke-width: 3; stroke-linecap: round; }
.pv-cup-flower { fill: none; stroke: var(--kopi-green); stroke-width: 2; stroke-linejoin: round; }
.pv-cup-dot { fill: var(--kopi-green); }
@keyframes pv-steam { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* A strip of green and cream, like kopitiam floor tiles, under the top card */
.pv-tiles {
  height: .75rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: repeating-linear-gradient(90deg, var(--kopi-green) 0 1rem, var(--kopi-cream) 1rem 2rem);
}

/* ---------- Cards: the reasons, each question, the result ---------- */

.pv-card {
  margin-top: 1rem; padding: 1.5rem;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.pv-card h2 { font-size: 1.5rem; }
.pv-card h3 { font-size: 1.125rem; margin: 1rem 0 .5rem; }
.pv-count { margin: 0 0 .5rem; color: var(--muted); font-size: 1rem; font-weight: 700; }
.pv-actions { display: grid; gap: .75rem; margin-top: 1.25rem; }
.pv-note { margin: 0; color: var(--muted); font-size: 1rem; text-align: center; }

.pv-reasons { margin-bottom: 1rem; }
.pv-reasons li { display: flex; align-items: flex-start; gap: .75rem; padding: .5rem 0; font-weight: 600; }
.pv-reasons .icon { color: var(--red-dark); }

/* Yes / No / Not sure. The answer picked before is filled in dark. */
.pv-answers { display: grid; gap: .75rem; }
.pv-answers .btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- The kopitiam menu board: "Did anyone say any of these to you?" ---------- */

.pv-board { --focus: var(--white); background: var(--kopi-brown); color: var(--kopi-cream); }
.pv-board .pv-count, .pv-hint { color: var(--kopi-sand); }
.pv-hint { font-size: 1rem; }
.pv-lines { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.pv-line {
  display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 64px; padding: .75rem 1rem;
  background: var(--kopi-cream); color: var(--kopi-brown); text-align: left; cursor: pointer;
  border: 3px solid var(--kopi-cream); border-radius: var(--radius);
  font-size: 1.1875rem; font-weight: 700; line-height: 1.3;
}
/* A ticked line gets a filled green tick and a white edge: shape and icon, not colour alone */
.pv-tick {
  display: grid; place-items: center; flex: none; width: 2rem; height: 2rem;
  border: 2px solid var(--kopi-mid); border-radius: 50%; color: var(--white);
}
.pv-tick .icon { visibility: hidden; }
.pv-line[aria-pressed="true"] { background: var(--white); border-color: var(--white); box-shadow: 0 0 0 3px var(--kopi-green); }
.pv-line[aria-pressed="true"] .pv-tick { background: var(--kopi-green); border-color: var(--kopi-green); }
.pv-line[aria-pressed="true"] .pv-tick .icon { visibility: visible; }
.pv-board .btn-primary { background: var(--kopi-cream); color: var(--kopi-brown); }
.pv-board .btn-primary:hover { background: var(--white); }

/* The red note under every question */
.pv-coach {
  display: flex; align-items: flex-start; gap: .75rem; margin-top: 1rem; padding: 1.25rem;
  background: var(--red-tint); color: var(--red-dark); border-radius: var(--radius-lg); font-weight: 600;
}
.pv-coach p { margin: 0; }

/* ---------- The result ---------- */

/* Icon and words in a pill, so the result is never shown by colour alone */
.pv-result {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .75rem; padding: .25rem .75rem;
  border: 2px solid var(--slate); border-radius: var(--radius);
  background: var(--white); color: var(--slate); font-size: 1rem; font-weight: 700;
}
.pv-result--scam { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.pv-result--careful { background: var(--red-tint); border-color: var(--red); color: var(--red-dark); }
.pv-result--clear { border-color: var(--kopi-green); color: var(--kopi-green); }

.pv-signs li {
  display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .5rem; padding: .875rem;
  background: var(--surface-2); border-radius: var(--radius);
}
.pv-verdict { margin: 1rem 0 0; font-weight: 700; }
.pv-done h1 { font-size: 1.875rem; }

/* "We sent this to the bank's fraud team as case TR-0001" (High risk only) */
.pv-case {
  display: flex; align-items: flex-start; gap: .625rem; margin: 0 0 1rem; padding: .75rem 1rem;
  border-radius: var(--radius); background: var(--surface-2); font-weight: 600;
}
.pv-case .icon { flex: none; margin-top: .1rem; }
.pv-case strong { white-space: nowrap; }   /* keep "TR-0001" on one line */