body, html {
    height: 100%;
    color: #0e0e0e;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    overflow-y: auto;
    overflow-x: hidden;
}
.container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    background-color: #eeeeee;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.card-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}
.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    color: #000;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}
input[type="text"].form-control {
    border: 1px solid #ccc;
}

.btn-primary {
    background-image: linear-gradient(to right, #321fdb, #3c4b64);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    outline: none; /* Remove focus border */
}

.btn-primary:hover {
    background-image: linear-gradient(to right, #4432db, #5a677d);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(253, 185, 155, 0.5);
}
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
#loader {
    display: flex;
    margin: auto;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #fff;
}
.article {
    border: 1px solid #334;
    border-radius: 5px;
    padding: 25px;
}
.label-agent, .label-human {
    overflow: hidden;
    margin: 0;
    color: #343434;
    font-family: Roboto;
    font-weight: 600;
    margin: 15px;
    word-break: break-word;
}
.label-agent {
    background: #ffffff;
    border: 1px solid #bebebe;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-left: 25px;
}
.label-human {
    background: rgb(25 128 230);
    color: rgb(248 250 252);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-right: 25px;
}
label > p {
    margin-bottom: 0px;
}
.clearfix {
    clear: both;
}
.chatinput {
    position: fixed;
    bottom: 50px;
}
#dialogue {
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 150px;
  height: 700px;
}
.message-row {
  display: block;
  margin-bottom: 20px;
}
.doclist {
  padding: 10px;
  font-size: 0.9em;
  color: #777;
}
.doclink {
    display: block;
    padding-top:1px;
    padding-bottom: 1px;
    color: #777;
    font-size: 0.9em;
}
.doclink:hover {
    color: #666;
}
.doclink:active {
    color: #555;
}
.doccontent {
    color: #777;
    font-size: 0.9em;
    padding-top: 5px;
    padding-bottom: 1px;
}

$dot-width: 10px;
$dot-color: #3b5998;
$speed: 1.5s;

.typing {
  position: relative;

  span {
    content: '';
    animation: blink $speed infinite;
    animation-fill-mode: both;
    height: $dot-width;
    width: $dot-width;
    background: $dot-color;
    position: absolute;
    left:0;
    top:0;
    border-radius: 50%;

    &:nth-child(2) {
      animation-delay: .2s;
      margin-left: $dot-width * 1.5;
    }

    &:nth-child(3) {
      animation-delay: .4s;
      margin-left: $dot-width * 3;
    }
  }
}


@keyframes blink {
  0% {
    opacity: .1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: .1;
  }
}

.documentdiv {
    max-height: 40vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
    -ms-overflow-style: none;
}

.documentdiv::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

.documentdiv::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.documentdiv::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.documentdiv::-webkit-scrollbar-track {
    background-color: transparent;
}

.hidden {
    display: none !important;
}

.documentshown {
    background-color: #dee2e6 !important;
}

.login-container {
    width: 100%;
}

.bg-dark-blue {
  background-color: #3c4b64;
  color: white;
}
.sidebar {
  min-height: 100vh;
  min-width: 225px;
}
.sidebar .nav-link:hover {
  background-color: #321fdb;
}
.sidebar-right .nav-link:hover {
  background-color: #d69494;
}

.sidebar .nav-link.active {
  background-color: #666f80;
}
.sidebar-right .nav-link.active {
  background-color: #806666;
}

.sidebar .nav-link.active:hover {
  background-color: #d69494;
}

.c-sidebar-brand {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem 1rem 3rem;

  .c-sidebar-brand-minimized {
    display: none;
  }
}
.c-sidebar-brand > span {
    text-shadow: none;
}
.c-sidebar-brand > span:first-of-type {
    color: #ffffff;
}
.c-sidebar-brand > span:last-of-type {
    color: #0085CD;
    font-weight: bold;
}
.sidebar-right > .c-sidebar-brand {
    color: #d69494;
}

.dropzone {
  border: 2px dashed #6c757d;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #6c757d;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dropzone.dragover {
  background-color: #e9ecef;
  border-color: #007bff;
  color: #007bff;
}
.file-info {
  font-size: 0.9rem;
  color: #6c757d;
}
.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.skill-badge {
  font-size: 0.85rem;
  margin: 2px;
  white-space: nowrap;
  border-radius: 25px;
  padding: 5px 15px 5px 15px;
}
.skill-badge-hard {
  background: #B4CFEC;
}
.skill-badge-soft {
  background: #77DD77;
}
.skill-badge-language {
background: #F8B88B;
}
.personality-chart-placeholder {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: bold;
  color: #6c757d;
}
.table-sortable thead {
    cursor: pointer;
}

.table-sortable td,th {
    text-align: center;
}

.score-badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 15px;
}

.badge-skill {
  background-color: #ffc107;
  color: #212529;
}

.badge-personality {
  background-color: #17a2b8;
  color: white;
}

.badge-total {
  background-color: #28a745;
  color: white;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.9rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
}

.styled-table thead tr {
  background-color: #b0c1d4;
  color: white;
  text-align: left !important;
  font-weight: bold;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
  text-align: left !important;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:hover {
  background-color: #eaf4ff;
  cursor: pointer;
}

.table-matches {
    font-size: 0.8rem;
}

.modal-header {
    background-color: #ccc;
}

#debriefModalBody, #workshopModalBody {
    font-size: 1.5rem;
}