.logo {
    height: 40px; 
    filter: invert(1);
}

#app {
    height: calc(100dvh - 100px);
}

#chat {
    margin: 0 auto;
    width: 100%;
    max-width: 720px;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 1em;
}

#intro img {
    height: auto;
    width: 25vw;
    max-width: 128px;
    opacity: 0.1;
}

#response {
    text-align: left;
    width: 100%;
    flex-grow: 1;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

.msg-user {
    text-align: left;
    display: inline-block;
    background: var(--ct-default-accent);
    padding: 0.75em;
    border-radius: 1.25em;
    border-top-left-radius: 0px;
    color: black;
    font-weight: bold;
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 -80px 60px -40px rgba(0, 0, 0, 0.25);
}

.msg-assistant {
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.25);
    border-left: 2px dotted white;
    margin-top: 0;
    margin-bottom: 2em;
    transition: all 0.2s ease;
}

.assistant-response, pre {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.msg-user, .msg-assistant, .assistant-response {
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
}

code {
    color: var(--ct-default-accent);
    font-weight: bold;
}

pre {
    background: #111;
    padding: 16px;
}

pre code {
    display: block;
    width: max-content;
    max-width: 100%;
}

.assistant-buttons button {
    height: 32px;
    padding: 0px 0.5em;
}

.assistant-buttons button:not(.ct-on) {
    background: transparent;
    filter: contrast(5) grayscale(100);
}

.loadindicator {
    animation: load 1s ease-in-out infinite;
    height: 48px;
}

@keyframes load {
  0% {
    transform: translateY(0px);
    opacity: 0.75;
  }

  50% {
    transform: translateY(4px);
    opacity: 1;
    filter: drop-shadow(0 0 4px white);
  }
  100% {
    transform: translateY(0px);
    opacity: 0.75;
  }
}

.input-box {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100px;
}

.input-box textarea {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
    margin-right: 0.5em;
    resize: none;
}

.input-box button {
    width: 48px;
    font-size: 1.5em;
    padding: 0;
}
