@import url('https://fonts.googleapis.com/css2?family=Delius&display=swap');


.survey-card {
  max-width: 600px;
  margin: 0 auto 15px auto;
  text-align: left;
  font-family: Arial, sans-serif;
}

.survey-title {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.survey-prompt {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Style jsPsych textareas */
.jspsych-survey-text textarea {
  width: 100%;
  max-width: 600px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jspsych-survey-text textarea:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}


/* Card container for instructions */
.instruction-card {
  max-width: 550px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
  color: #333333;
}

.instruction-card h2 {
  margin-top: 0;
  color: #2c3e50;
}

.instruction-card .sub-text {
  color: #666666;
  font-size: 0.95em;
  margin-top: 15px;
}

/* Custom styled button */
.custom-btn {
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 6px;
  background-color: #0056b3;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom-btn:hover {
  background-color: #004085;
}

/* Media layout */
.media-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gif-frame {
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.meet-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Dynamic instruction text styles */
.instruction-prompt {
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.light-prompt {
  color: #888888;
}

.active-prompt {
  color: #155724;
  background-color: #d4edda;
}

html, body { margin: 0; padding: 0; min-height: 100%; width:100%; overflow-x: auto; overflow-y: auto; }
.jspsych-display-element {
  min-height: 100vh; 
  height: auto; 
  width:100%; 
  overflow-x: auto; 
  overflow-y: auto; 
} 
 #instruction-feedback {
  height: 30px; 
  margin-bottom: 50px; 
  text-align: center; 
  font-size: 20px; 
} 
 .choice-box.disabled {
  pointer-events: none; 
  cursor: not-allowed; 
  transform: none; 
  box-shadow: none; 
  opacity: 0.85;

} 
 #feedback {
  font-size: 20px;
    font-family:  'Open Sans', 'Arial', sans-serif;
} 
 .text-image .instruction3 {
  font-size: 20px; 
  text-align: center; 
  margin-bottom: 200px;
} 
 .text-image .meet-image {
  width: min(420px, 42vw);
  height: min(350px, 38vw); 
  object-fit: contain; 
  margin-bottom: 50px; 
  margin-top: 150px;
} 
 .jspsych-content {
  min-height: 100vh; 
  height: auto; 
  margin: auto; 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-start; 
  align-items: center; 
  align-self: center; 
  box-sizing: border-box; 
  padding: 20px 20px 50px 20px; 
  overflow-x: auto } 
 .choice-container {
  position: relative; 
  display: flex; 
  justify-content: center; 
  align-items: flex-start; 
  align-self: flex-start; 
  gap: 50px; 
  width: max-content; 
  min-width: 100%; 
  margin: 0 auto; 
  box-sizing: border-box; 
  height: auto; } 
 .choice-box { position: relative; 
  width: 420px; 
  height: 400px; 
  flex: 0 0 auto;
   border: 3px solid #555; 
   border-radius: 12px; 
   box-sizing: border-box; 
   display: flex; 
   align-items: center; 
   justify-content: center; 
   margin: 0; 
   padding: 10px 20px 20px 20px; 
   overflow: hidden; }

.general-instruction{
  width: 70vw;
  max-width: 70vw;
  min-width: 70vw;
  margin-top:150px;
  text-align: center;
  font-size: 22px;
  line-height: 2;
  box-sizing: border-box;
}
.consent{
  width: 70%;
  text-align: center;
  margin: 0 auto;
  font-size:20px;
  margin-top: 100px;
  line-height: 1.6
}

.choice-image
 {
    width: min(420px, 42vw);
    height: min(350px, 38vw);

    object-fit: contain;


}
.target-image {
    width: min(420px, 42vw);
    height: min(350px, 38vw);

    object-fit: contain;
}

.choice-box.correct-box {
  border-color:  #008000;
  border-width:8px;
  background-color: #ffffff;
}

.choice-box.incorrect-box {
  border-color:#FF1744;
  border-width:8px;
  background-color: #ffffff;
}

.correct-feedback {
    color: black;
    font-size:32px;
    font-weight: bold;
    font-family:  'Open Sans', 'Arial', sans-serif;
}

.incorrect-feedback {
    color: black;
    font-size:32px;
    font-weight: bold;
    font-family:  'Open Sans', 'Arial', sans-serif;
}

.feedback-colored {
    color: #008000;
    font-weight: normal;
    font-weight: bold;
    font-family:  'Open Sans', 'Arial', sans-serif;
    font-size:28px;
}

.incorrect-feedback .feedback-colored {
    color:#FF1744;
    font-weight: normal;
    font-weight: bold;
    font-family:  'Open Sans', 'Arial', sans-serif;
    font-size:28px;

}

@media (max-width: 1000px) {
    .choice-container {
        gap: 20px;
    }
    .choice-box {
        width: 40vw;
        height: 38vw;
    }
    .text-image .meet-image .choice-image .target-image {
        width: 40vw;
        height: 38vw;
    }
    .instruction3 {
        font-size: 16px;
    }

    #instruction-feedback {
        font-size: 16px;
        height: 24px;
        margin-bottom: 50px;
    }
}
.question {
  text-align: center;
  margin-top: 100px; 
  font-size: 20px;
}

.jspsych-btn {
  display: inline-block;
  padding: 6px 12px;
  margin:0;
  font-size: 20px;
  font-weight: 400;
  font-family:  'Open Sans', 'Arial', sans-serif;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #333;
  background-color: #fff;
  border-color: #ccc;
  width: fit-content;
  object-fit: contain;
}
@media (hover: hover) {
  .jspsych-btn:hover {
    background-color: #ddd;
    border-color: #aaa;
  }
}
 @media (hover: hover) {
  .trial-btn:hover {
    background-color: #ddd;
    border-color: #aaa;

  }
}
.choice-box:hover {
    transform: scale(1.04);
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

}


 body {
      background-color: #f4f6f8;
      font-family: Arial, sans-serif;
      text-align: center;
      padding-top: 20px;
    }

    .instruction-text {
      font-size: 20px;
      font-weight: bold;
      color: #333;
      margin-bottom: 25px;
    }

    .target-container {
      margin-bottom: 30px;
    }

    .target-header {
      font-weight: bold;
      font-size: 16px;
      color: #555;
      margin-bottom: 8px;
      letter-spacing: 1px;
    }

    .card-display {
      display: inline-block;
      background: white;
      border: 2px solid #ccc;
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* Adjusted dimensions: Wider than high (240px wide x 160px high) */
    .card-placeholder {
      width: 370px;
      height: auto;
      background-color: #e9ecef;
      border: 2px dashed #adb5bd;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      font-weight: bold;
      color: #6c757d;
    }

    /* Standard Interactive Box Buttons */
    .box-button {
      background-color: #ffffff;
      border: 3px solid #007bff;
      border-radius: 12px;
      padding: 15px;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-block;
      box-shadow: 0 4px 8px rgba(0,0,0,0.08);
      min-width: 260px;
    }

    .box-button:hover {
      transform: translateY(-4px);
      border-color: #0056b3;
      box-shadow: 0 8px 16px rgba(0,0,0,0.15);
      background-color: #f0f7ff;
    }

    .box-label {
      font-weight: bold;
      font-size: 18px;
      color: #007bff;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: 10px;
    }

    /* Colored Feedback Boxes (Static Display) */
    .box-feedback {
      border-radius: 12px;
      padding: 15px;
      display: inline-block;
      min-width: 260px;
      margin: 0 20px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }

    .box-correct {
      background-color: #e8f5e9;
      border: 4px solid #28a745;
    }

    .box-correct .box-label {
      color: #28a745;
    }

    .box-incorrect {
      background-color: #ffebee;
      border: 4px solid #dc3545;
    }

    .box-incorrect .box-label {
      color: #dc3545;
    }

    /* Outcome Text Headers */
    .feedback-status {
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .text-correct {
      color: #28a745;
    }

    .text-incorrect {
      color: #dc3545;
    }

    /* Thick border/outline indicating what the user clicked */
.box-feedback.user-selected {
  outline: 4px solid #0056b3; /* Dark blue ring */
  outline-offset: 4px;
}

/* Accuracy styling examples */
.box-correct {
  border: 3px solid #28a745; /* Green */
  background-color: #e8f8ec;
}

.box-incorrect {
  border: 3px solid #dc3545; /* Red */
  background-color: #fdeaea;
}