html {
    height: 100%;
    margin: 0;
}

/* Stuff for message boxes */
#chat-messages .message-content pre {
    overflow-x: auto;
    white-space: pre;
    position: relative;
    max-width: 685px;
    border-radius: 0px 0px 8px 8px;
    background-color: #2c2c2c;
    margin-top: 0;
    /* Remove top margin to align with header */
}

#chat-messages .message-content pre code {
    display: inline-block;
    min-width: 100%;
    white-space: inherit;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #515151;
    border-radius: 8px 8px 0 0;
    /* Rounded corners on top */
    padding: 5px 10px 10px 10px;
    margin-bottom: -8px;
    /* Overlap with pre element */
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
}

.content {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}


/* Style for the overall chat container */

#chat-messages {
    max-width: 780px;
    margin: auto;
    width: 95%;
    box-sizing: border-box;
}

/* Primary color */
:root {
    --bulma-body-background-color: #202020;
    --bulma-primary: #126d0f;
}

/* Chat input stuff */
.chat-input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.textarea-wrapper {
    position: relative;
    width: 100%;
}

#chat-input-textarea {
    width: 100%;
    /* Adjust this value based on the button and dropdown width */
    box-sizing: border-box;
}

.button-group {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Indicator */
.my-indicator {
    display: none;
}

.htmx-request .my-indicator {
    display: inline;
}

.htmx-request.my-indicator {
    display: inline;
}

/* Logo */
svg text {
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    fill: #000;
    stroke: #000;
    font-size: 240px;
}

/* Message button styles */
.message-button {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message-user:hover .message-button {
    opacity: 1;
}

.message-bot:hover .message-button {
    opacity: 1;
}

.selected {
    border: 2px solid #126d0f;
    border-radius: 4px;
    padding: 1px;
    margin: 2px;
}

.unselected {
    border-radius: 4px;
    padding: 3px;
}

.shiftselected {
    background: #126d0f;
    border-radius: 4px;
    padding: 1px;
    margin: 2px;
}

.shift-pressed *::selection {
    background: transparent;
}

input[type="range"].slider {
    -webkit-appearance: none;
    width: 80%;
    background: transparent;
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    height: 6px;
    border-radius: 2px;
}

input[type="range"].slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: #126d0f;
    cursor: pointer;
}

input[type="range"].slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: #ffffff;
    cursor: pointer;
}