html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    padding: 15px;
    background-image: url(https://wem.io/wp-content/uploads/2023/07/WEM_logo_horizontaal_transparant.svg);
    background-repeat: no-repeat;
    background-position: 15px 15px;
    background-color: #F6F3FD;
}

body > div {
    width: auto;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    top: 50px;
    background-color: white;
}

.chatbox {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: solid 1px #dddaea;
}

.chatbox-messages {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 100px;
    padding: 15px;
    overflow: auto;
}

.chatbox-messages table {
    border: solid 1px #aaa398;
    border-collapse: collapse;
}

.chatbox-messages tr {
    border-top: solid 1px #aaa398;
}

.chatbox-messages tr:nth-child(odd) {
    background-color: #f4f1ed;
}

.chatbox-messages tr:nth-child(even), .chatbox-messages th {
    background-color: #e2ded7;
}

.chatbox-messages td, .chatbox-messages th {
    padding: 4px 40px 4px 10px;
}

.chatbox-message-user {
    border-radius: 5px;
    background-color: #d0d0ed;
    padding: 8px 20px;
    margin-left: 40px;
    margin-bottom: 10px;
}

.chatbox-message-agent {
    border-radius: 5px;
    background-color: #ede9e3;
    padding: 8px 20px;
    margin-right: 40px;
    margin-bottom: 10px;
}

.active-message {
    outline: solid 1px #8064EE;
}

.chatbox-input {
    border: none;
    border-top: solid 1px #dddaea;
    position: absolute;
    height: 99px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 5px;
    outline: none;
}

.eventlog {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: solid 1px #dddaea;
    overflow: auto;
}

#clearLog {
    position: absolute;
    top: -40px;
    right: 0;
    border: none;
    background-color: #8064EE;
    color: white;
    cursor: pointer;
    padding: 4px 16px;
    border-radius: 10px;
}

.log-message {
    border-bottom: solid 1px #dddaea;
    position: relative;
    padding: 5px 15px;
}

.log-message:hover {
    background-color: #dddaea;
}

.log-category {
    font-weight: 600;
}

.log-timestamp {
    position: absolute;
    right: 15px;
    top: 5px;
}

.log-content {
    font-size: 0.8em;
}