body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center; /* Align the items at the start = flex-start. or "center" for normal before*/
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    overflow: auto;
}




/* Comment this out when not running strategy selection task  */
#dimOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0);
    pointer-events: none;
    z-index: 2;
    pointer-events: none;  
} 



#videoPlayer {
    width: 640px;
    height: 360px;
    object-fit: fill; /* or 'cover' */
    display: flex;
    justify-content: center; 
    align-items: center;  
    padding-bottom: 10px;

}

#fixationCross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

button {
    background-color: #333333;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 0.25rem;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


#mainContainer {
    min-height: 360px; /* adjust as needed */
    position: relative;
}

/* erase the following if I go with the graph*/

.selected {
    background-color: #D3D3D3; /* Light grey */
    color: black;
}

#emotionContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#emotionGraphContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}








/* LIKERT RATINGS */

.likert-container {
    flex-grow: 1; 
    display: flex;
    justify-content: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem; 
    gap: 0; 
}

.likert-box {
    flex-basis: calc(100% / 7);
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 15px;
    gap: 0; 
}

.likert-box:active {
    background-color: #ccc;
}

.likert-box:hover {
    background-color: #eee;
}

.likert-number {
    font-size: 18px;
}

.likert-label {
    font-size: 12px;
    color: #000;
    margin-top: 5px;
    text-align: center;
    height: auto;
    overflow-wrap: break-word;
}

.emotion-label {
    text-align: center; /* center text horizontally */
    padding: 10px;
}

.main-container {
    display: flex;
    flex-direction: column; /* row here for labels on the side
    align-items: center; /* align items vertically */
    justify-content: space-between; /* add space between the label and likert scale */
    width: 100%;
    padding: 10px 0px; /* add vertical padding */
}


/*Other likert */
.emotion-label {
    font-weight: bold; /* Bold the emotion words */
    
}

.selected-answer {
    background-color: #999; /* Darker shade for selected answer */
    transition: background-color 0.01s;
}


/* MEAN TABLE */

.result-table {
    max-width: 50%;
    margin: 0 auto;
    border-collapse: collapse;
}

.result-table th {
    background-color: #4CAF50;
    color: white;
}

.result-table th, .result-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: flex-start;
}

.result-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.result-table tr:hover {
    background-color: #ddd;
}
html, body {
    height: 100%;
    overflow: auto;
}
.content-text {
    padding: 0 20%;
    align-items: flex-start;
    
}

thead th {
    background-color: green;
    color: white;
}



  body.instructions-body-align {
    align-items: flex-start !important;
  }
  

  button {
    margin: 0 auto;
    display: block;
  }

  


  /* For demographics */

  .noUi-tooltip {
    top: 100%;
    bottom: auto !important;
    transform: translateY(6px);
}


 /* Other */
.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}