/* ── Global typography to match participant info sheet ── */
body, .jspsych-content, .jspsych-content-wrapper {
  font-family: "Open Sans", Arial, sans-serif;
}
.jspsych-content h1 {
  font-size: 2.5rem; font-weight: 900; text-transform: uppercase;
  color: #c10043; text-align: center; line-height: 1em;
}
.jspsych-content h2 {
  font-size: 1.8rem; font-weight: 700; text-transform: uppercase;
  color: #008198; text-align: center; padding: 0.5em 0;
}
.jspsych-content h3 {
  font-size: 1.2rem; font-weight: 700; text-transform: uppercase;
  color: #008198; text-align: center;
}
.jspsych-content p {
  font-size: 1.1rem; line-height: 1.6;
}
.jspsych-content hr {
  border: none; border-top: 2px solid #0c0c0c; margin: 1em 0;
}

#prompt {
    font-size: 20px;
    margin-block-end: -1em;
    margin-top: 5em;
}

#ljt-prompt-subtext {
    margin-top: 3em;
}

#stimuli {
    font-size: 50px;
    font-weight: bold;
}

.jspsych-content {
    font-size: 20px;
    font-weight: normal;
    max-width: 850px;
}

button, input[type=submit], input.jspsych-btn, button.jspsych-btn {
    padding: 0.75em 2em;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #c10043;
    color: #fff;
    border: 0.2cm solid #1f1f1f;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: normal;
    margin: 1.5em auto 0;
    display: block;
    cursor: pointer;
    outline: none;
    transition: background-color 0.18s, color 0.18s;
}

button:hover, input[type=submit]:hover, input.jspsych-btn:hover, button.jspsych-btn:hover,
button:focus, input[type=submit]:focus, input.jspsych-btn:focus, button.jspsych-btn:focus {
    background-color: #008198;
    color: #fff;
    border-color: #1f1f1f;
    outline: none;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

/* Allow trial screens to scroll if content is taller than viewport */
.jspsych-content-wrapper {
    overflow-y: auto;
    height: auto;
    min-height: 100%;
}


/* Small secondary button (e.g. "show reference animations" toggle) */
.exp-btn {
    padding: 6px 16px;
    font-size: 0.85rem;
    background-color: #f5f5f5;
    color: #333;
    border: 0.2cm solid #1f1f1f;
    text-transform: none;
    letter-spacing: 0;
    display: inline-block;
    margin: 0;
}
.exp-btn:hover {
    background-color: #e8e8e8;
    color: #333;
}

/* Verb choice / catch select buttons */
.verb-choice-btn {
    background: #fff;
    color: #1f1f1f;
    border: 2px solid #1f1f1f;
    border-radius: 8px;
    width: 100%;
    padding: 14px 12px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    display: inline-block;
    margin: 0;
}
.verb-choice-btn:hover {
    background: #c10043;
    color: #fff;
    border-color: #1f1f1f;
}

.verb-choice-btn.selected {
    background: #008198;
    color: #fff;
    border-color: #1f1f1f;
}

.verb-choice-btn.selected:hover {
    background: #008198;
    color: #fff;
    border-color: #1f1f1f;
}


/* Waiting pulse on animation containers before play button appears */
@keyframes anim-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
.anim-waiting {
    animation: anim-pulse 1.8s ease-in-out infinite;
}

/* Confidence slider */
.confidence-slider {
    accent-color: #008198;
    cursor: pointer;
    width: 100%;
    zoom: 1.4;
}

