[v-cloak] {
  display: none;
}

body {
  background: darkgray;
  margin: 0;
  padding: 0;
  height: 100vh;
}

.container {
  background: white;
}

.lesson-card {
  cursor: pointer;
}

.lesson-card:hover {
  filter: drop-shadow(2px 2px 5px #000);
}

.sentence {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid lightgray;
}

.word {
  margin-right: 5px;
  color: green;
  cursor: pointer;
  display: inline-block;
}

.phone {
  font-size: 24px;
  margin-right: 5px;
  display: inline-block;
}

.wordRed {
  color: red;
}

.wordOrange {
  color: orange;
}

.wordGreen {
  color: green;
}

.phoneRed {
  color: red;
}

.phoneOrange {
  color: orange;
}

.phoneGreen {
  color: green;
}

#radial-scores-container {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

.gapfill-word {
  display: inline-block;
  font-size: 20px;
}

#gapfill-container {
  line-height: 2.5;
  font-family: 'Roboto Mono', monospace;
}

.gapfill-input {
  height: 35px;
  border: 1px solid black;
  padding: 2px;
}

.ngsl-item {
  cursor: pointer;
  border-bottom: 1px solid green;
}

.nawl-item {
  cursor: pointer;
  border-bottom: 1px solid blue;
}

.unknown-item {
  cursor: pointer;
  border-bottom: 1px solid red;
}

.propn-item {
  cursor: pointer;
  border-bottom: 1px solid purple;
}

.number-item {
  cursor: pointer;
  border-bottom: 1px solid yellow;
}

.other-item {
  cursor: pointer;
  border-bottom: 1px solid black;
}

.was-checked {
  background-color: yellow;
}

#loading-modal {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 999999;
  position: fixed;
}

#loading-modal-inner {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: white;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url('/images/loading.gif');
  background-position: center;
  border: 1px solid black;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.75);
}

.tracker-sort {
  cursor: pointer
}

#user-table th {
  background-color: #f5f5f5 !important;
}

#user-table tr {
  cursor: pointer;
}

#user-table tr:hover {
  background-color: darkgray;
}

.user-table-chevron {
  border-radius: 5px;
  padding: 2px;
  margin: 2px;
}

.user-table-chevron:hover {
  background-color: darkgray;
}

.centered-spinner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 75px;
  height: 75px;
}

#user-table td,
#user-table th {
  vertical-align: middle;
}

.activity-sort-div {
  border: 1px solid black;
  padding: 10px;
  cursor: pointer;
  background: white;
  margin-top: 5px;
  border-radius: 5px;
  cursor: move;
}

#lesson-table td,
#lesson-table td {
  vertical-align: middle;
}

.draggable-word {
  background-color: #f5f5f5;
  margin: 5px;
  padding: 10px;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
}

:root {
  --send-bg: #0B93F6;
  --send-color: white;
  --receive-bg: #E5E5EA;
  --receive-text: black;
  --page-background: white;
}

#chat-container {
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid black;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 20px;
  font-weight: normal;
  display: flex;
  flex-direction: column;
  background-color: var(--page-background);
  padding: 10px;
}

.chat-msg {
  display: flex;
  align-items: center;
  word-wrap: break-word;
  margin-bottom: 12px;
  line-height: 24px;
  position: relative;
  padding: 10px 20px;
  border-radius: 25px;
  &:before,
  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 25px;
  }
}

.chat-msg-chatbot {
  cursor: pointer;
  color: var(--send-color);
  background: var(--send-bg);
  align-self: flex-end;
  &:before {
    right: -7px;
    width: 20px;
    background-color: var(--send-bg);
    border-bottom-left-radius: 16px 14px;
  }
  &:after {
    right: -26px;
    width: 26px;
    background-color: var(--page-background);
    border-bottom-left-radius: 10px;
  }
}

.chat-msg-user {
  background: var(--receive-bg);
  color: black;
  align-self: flex-start;
  &:before {
    left: -7px;
    width: 20px;
    background-color: var(--receive-bg);
    border-bottom-right-radius: 16px 14px;
  }
  &:after {
    left: -26px;
    width: 26px;
    background-color: var(--page-background);
    border-bottom-right-radius: 10px;
  }
}

.eigoai-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.eigoai-modal-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 90%;
  max-width: 1000px;
  height: 90%;
  background-color: white;
  z-index: 11;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.eigoai-modal-header {
  sposition: sticky;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.user-table-row:hover {
  background-color: darkgray !important;
}

.institution-row:hover {
  background-color: lightgray;
  cursor: pointer;
}

#header-flex-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

#header-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid black;
  height: 120px;
}

#site-container {
  min-height: 100vh;
  position: relative;
  padding-top: 120px;
  padding-bottom: 150px;
}

.blurred {
  filter: blur(4px);
}

#header-badge-holder {
  flex-direction: row;
}

#header-badge-holder .badge {
  margin-right: 5px;
}

.progress-table-cell-div {
  cursor: pointer;
  border-radius: 5px;
  min-width: 100px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-table-cell-div:hover {
  border: 1px solid black;
}

/* General table styles */

.sortable-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* Container to make the table body scrollable */

.sortable-table-container {
  height: 600px;
  /* Adjust as needed */
  overflow-y: scroll;
  overflow-x: scroll;
  border: 1px solid black;
}

/* Sticky table header */

.sortable-table-header {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Table header cells */

.sortable-table th {
  background-color: #f0f0f0;
  /* Light gray */
  border-right: 1px solid #a0a0a0;
  /* Darker gray */
  padding: 5px;
  text-align: center;
  user-select: none;
}

/* Cursor pointer for sortable headers */

.sortable-th {
  cursor: pointer;
}

/* Hover effect on sortable headers, except when active */

.sortable-th:hover:not(.active-sort) {
  background-color: #d0d0d0;
  /* Slightly darker gray */
}

/* Active sort column */

.active-sort {
  font-weight: bold;
  background-color: #c0c0c0 !important;
  /* Slightly darker than hover */
}

/* Ensure active sort background color persists on hover */

.sortable-th.active-sort:hover {
  background-color: #c0c0c0;
}

/* Table data cells */

.sortable-table td {
  border-bottom: 1px solid #a0a0a0;
  border-right: 1px solid #a0a0a0;
  padding: 5px;
}

.sortable-table tr:hover {
  background-color: lightgray;
  cursor: pointer;
}

/* Text alignment classes */

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.vertical-th {
  writing-mode: vertical-rl;
  min-width: 50px;
}

.status-completed {
  background-color: rgba(0, 255, 0, 0.3) !important;
}

.status-attempted {
  background-color: rgba(0, 0, 255, 0.3) !important;
}

.status-not-attempted {
  background-color: rgba(255, 0, 0, 0.3) !important;
}

.timer-modal {
  height:300px;
  background-color:#f5f5f5;
  position:relative;
}

.timer-modal-btn {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom:0;
  width:200px;
  height:100px;
  font-size:16px;
}

.activity-timer-div {
  font-family: monospace;
  font-size: 16px;
  color: white;
  background-color: #111;
  width: 120px;
  height: 38px;
  line-height: 38px;
  padding: 0;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 3px;
}

.submitted-cell {
  background-color: rgba(0, 255, 0, 0.3) !important;
}

.unsubmitted-cell {
  background-color: rgba(255, 0, 0, 0.3) !important;
}

.clickable-topic-cell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* On hover, slightly shade the background */
.clickable-topic-cell:hover {
  color: blue;
}