/* ===================================== */
/* WCST — LAYOUT                         */
/* ===================================== */
.wcst-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  gap: 48px;
  user-select: none;
}

/* ===================================== */
/* TARGET CARD (top)                     */
/* ===================================== */
.wcst-target-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcst-target-card {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  object-fit: contain;
  background: white;
}

/* ===================================== */
/* REFERENCE CARDS (bottom row)          */
/* ===================================== */
.wcst-refs-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.wcst-ref-btn {
  width: 170px;
  height: 170px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  object-fit: contain;
  background: white;
  border: 3px solid transparent;
  transition: border-color 0.15s, transform 0.1s, box-shadow 0.15s;
}

.wcst-ref-btn:hover {
  border-color: #555;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.wcst-ref-btn.responded {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

/* ===================================== */
/* FEEDBACK                              */
/* ===================================== */
.wcst-fb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

.wcst-fb {
  padding: 32px 64px;
  border-radius: 16px;
  font-size: 36px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  letter-spacing: 2px;
}

.wcst-fb-ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 2px solid #2e7d32;
}

.wcst-fb-err {
  background: #ffebee;
  color: #d32f2f;
  border: 2px solid #d32f2f;
}

.wcst-fb-miss {
  background: #fff3e0;
  color: #e65100;
  border: 2px solid #f57c00;
}

/* ===================================== */
/* INSTRUCTIONS                          */
/* ===================================== */
.wcst-instr-wrap {
  max-width: 740px;
  margin: 0 auto;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  text-align: left;
}

.wcst-instr-wrap h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.wcst-instr-wrap p {
  margin-bottom: 14px;
}

/* ===================================== */
/* JSPSYCH BUTTON OVERRIDE               */
/* ===================================== */
.jspsych-btn,
#jspsych-instructions-next,
#jspsych-instructions-back,
#jspsych-survey-text-next {
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 12px 28px;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, box-shadow 0.2s;
}

.jspsych-btn:hover,
#jspsych-instructions-next:hover,
#jspsych-instructions-back:hover,
#jspsych-survey-text-next:hover {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a3d8f 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  border-color: transparent;
}
