p {
  font-size: 18px;
  text-align: left;
  font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
  font-weight: 300;
}
.jspsych-progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: #f0f0f0;
  z-index: 1000;
}

.jspsych-progress-bar-inner {
  height: 100%;
  background-color: #2e436b;
  width: 0%;
  transition: width 0.3s ease;
}

.jspsych-progress-bar-text {
  position: fixed;
  top: 12px;
  right: 20px;
  font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  color: #2b3952;
  font-size: 14px;
  background-color: rgba(255,255,255,0.8);
  padding: 2px 8px;
  border-radius: 10px;
}

option {
  font-weight: 500;
  color: #2b3952;
  font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
  font-size: 18px;
}

label {
  font-size: 18px;
  text-align: left;
  color: #2b3952;
  font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
}

h2 {
  text-align: center;
  font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
  color: #2b3952;
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 10px;
}

h3 {
  text-align: center;
  font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
  color: #2b3952;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
}

/* Horizontal Response Boxes Layout */
.response-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 20px 0;
  width: 100%;
  justify-content: space-between;
}

.user-input-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.response-textarea {
  font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  padding: 12px;
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f8fafc;
  height: 200px;
  width: 100%;
  box-sizing: border-box;
}

.response-textarea:focus {
  outline: none;
  border-color: #2e436b;
  box-shadow: 0 0 0 2px rgba(46, 67, 107, 0.1);
}

#user_input {
  background-color: white;
  border: 2px solid #2e436b;
}

#user1_input, #user2_input {
  background-color: #f0f4f9;
}

.user-label {
  font-size: 16px;
  font-weight: 500;
  color: #2b3952;
  margin-bottom: 8px;
  text-align: center;
}

/* Rest of your existing CSS remains unchanged */
.outer_card {
  margin: auto;
  background-color: #92a8d1;
  width: 1200px;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.inner_card {
  width: 1150px;
  height: 650px;
  background-color: white;
  border-radius: 8px;
  padding: 50px;
}

.first_row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.question {
  margin-bottom: 5px;
  margin-top: 25px;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  /* width: 500px; */
  line-height: 1.6;
}

.headerInst {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

input[type='radio'] { 
   transform: scale(1.5); 
   margin-right: 10px;
}

.score {
  text-align: left;
  font-weight: 500;
  font-size: 18px;
  margin: 5px;
  margin-left: 10px;
}


#runningScore {
  margin-bottom: 0;
  width: 300px;
  height: 75px;
  border-radius: 8px;
  /*align-self: flex-end;*/
  border: 1px solid #2e436b;
  color: #2e436b;
  background-color: #e8f0ff;
}

.feedback {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.flex_columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 5px;
}

form {<!--from w  w  w . j a v a2  s .  c om-->
  width: 100%;
}

div.aligned-box {
  width: 120px;
  display: inline-block;
  margin: 5px;
  background-color: white;
}

.aligned-box label {
  display:block;
  width: 120px;
  text-align: center;
}

.aligned-box input {
  width: 20px;
  display: block;
  margin: 0px auto;
}




#your_answer {
  font-size: 20px;
  text-align: left;
  color: #2b3952;
  font-weight: 600;
  letter-spacing: 1px;
  margin-left: 120px;
  margin-top: 0;
  margin-bottom: 10px;
}


.below {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  height: 80px;
  margin-top: 10px;
}

#showPredBtn {
  margin: 0;
}

#modelInfoContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  font-weight: 600;
}

#clickBtnContainer {
  display: flex;
  /*justify-content: flex-start;*/
  flex-direction: column;
  align-items: flex-start;
  margin: 10px;
  padding: 0;
}

#modelInfo {
  font-size: 20px;
  font-weight: 600;
  color: #2b3952;
  letter-spacing: 1px;
  margin-bottom: 0;
  margin-top: 25px;
}




/* -------------Buttons */

/* Submit & other jspsych buttons */

input#jspsych-survey-html-form-next.jspsych-btn {
      background-color: #2e436b;
      /*border: 1px solid #222222;*/
      border-radius: 8px;
      color: #fff;
      cursor: pointer;
      display: inline-block;
      font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
      font-size: 20px;
      font-weight: 500;
      line-height: 25px;
      position: relative;
      outline: none;
      padding: 13px 23px;
      text-align: center;
      text-transform: capitalize;
      touch-action: auto;
      transition: box-shadow .2s,-ms-transform .1s,-webkit-transform .1s,transform .1s;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      width: auto;
      letter-spacing: 0.5px;
      margin-top: 15px;
  }

  input#jspsych-survey-html-form-next.jspsych-btn:focus-visible {
      box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
      transition: box-shadow .2s;
    }

   input#jspsych-survey-html-form-next.jspsych-btn:active {
      background-color: #112242;
      /*border-color: #000000;*/
      transform: scale(.96);
    }


   input#jspsych-survey-html-form-next.jspsych-btn:hover {
      background-color: #112242;
    }


  /*view prediction button*/

  .btn {
      background-color: #e8f0ff;
      border: 1px solid #2e436b;
      border-radius: 8px;
      color: #2b3952;
      cursor: pointer;
      display: inline-block;
      font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
      font-size: 20px;
      font-weight: 500;
      line-height: 21px;
      outline: none;
      padding: 12px 27px;
      text-align: center;
      touch-action: auto;
      transition: box-shadow .2s,-ms-transform .1s,-webkit-transform .1s,transform .1s;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      width: auto;
      letter-spacing: 0.5px;
    }

    .btn:focus-visible {
      box-shadow: #7484a3 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
      transition: box-shadow .2s;
    }

    .btn:active {
      background-color: #e8f0ff;
      border-color: #2e436b;
      transform: scale(.96);
    }

    .btn:hover {
      background-color: #cad6ed;
    }




/* -------------- Dropdown -----*/


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

select {
appearance: none;
background-color: transparent;
border: none;
padding: 0;
margin: 0;
width: 190px;
font-family: inherit;
font-size: inherit;
cursor: inherit;
line-height: inherit;
outline: none;
color: #2e436b;
}

select::-ms-expand {
display: none;
display: flex;
align-self: flex-start;
}

/*
:root {
--select-border: #5b79b0;
--select-focus: #2e436b;
--select-arrow: #2e436b;
}*/

.select {
width: 220px;
border: 1px solid #2e436b;
border-radius: 8px;
color: #2e436b;
padding: 0.25em 1em;
font-size: 18px;
cursor: pointer;
line-height: 1.5;
background-color: #e8f0ff;
/*background-image: linear-gradient(to top, #5b79b0, #e8f0ff 33%);*/
display: grid;
grid-template-areas: "select";
align-items: center;
align-self: flex-start;
margin-bottom: 50px;
}

.select::after {
content: "";
width: 0.8em;
color: #2e436b;
height: 0.5em;
background-color: #2e436b;
clip-path: polygon(100% 0%, 0 0%, 50% 100%);
justify-self: end;
}

select,
.select:after {
grid-area: select;
}

select:focus + .focus {
position: absolute;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
border: 2px solid #2e436b;
border-radius: inherit;
}

.select:hover {
  background-color: #cad6ed;
}
