
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-color: #2a3030;
    color: #E8E8E8;
    min-width: 1300px;
}

* {
    box-sizing: border-box;
}

/* scrollbars For Chrome, Safari and Opera */
::-webkit-scrollbar {
    width: 12px;  /* for vertical scrollbars */
    height: 12px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: #333;
}

::-webkit-scrollbar-thumb {
    background: #555e5e;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #555e5e #333;
}

#title {
    text-align: left;
    font-size: 20px;
    background-color: #3e4444;
    color: #dfa168;
    padding: 10px;
}

#menu {
    background-color: #27405d;
}

.menu-button {
    background-color: #27405d;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
}

.menu-button.selected {
    background-color: #4b82b7;
}

.action-button {
    background-color: #a27144;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
}

.tab-button {
    background-color: #4b82b7;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
}

.themed-button {
    background-color: #4b82b7;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
}

.danger-button {
    background-color: #ff4d4d;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
}

.action-label {
    color: #ffffff;
    border: none;
    padding: 5px;
    margin: 2px;
}

.input-elements {
    background-color: #3e4444;
    color: #cecece;
    border: 1px solid #555e5e;
    padding: 5px;
    margin: 2px;
}

#restore-settings-button, #show-logs-button {
    cursor: pointer;
}

#status-bar-container {
    width: 100%;
}

#status-table {
    width: 100%;
    height: 20px;
    padding: 0px;
    border: none;
    background-color: #808080;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

#splash-table {
    width: 100%;
    padding: 5px;
    border:none;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

#splash-title {
    font-size: 20px;
    color: #dfa168;
    padding: 10px;
}

#splash-text {
    padding: 10px;
}

#form-table {
    width: 100%;
    height: 100px;
    padding: 5px;
    border: none;
    background-color: #343a3a;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

#batch-table {
    width: 100%;
    padding: 5px;
    border:none;
    color: #ffffff;
    margin: 0;
}

#batch-text {
    padding: 10px;
}

#status-table td.status-cell {
    vertical-align: middle;
    background-color: #808080;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

#status-table td.status-cell:first-child {
    width: 150px;
}

#status-table td.status-cell:nth-child(2) {
    width: auto;
}

#status-table td.status-cell:last-child {
    width: 150px;
}

#topic-section {
    display: flex;
    padding: 10px;
    margin-top: 10px;
}

#topic-section select,
#topic-section input {
    margin-right: 10px;
}

#topic-section button {
    margin-right: 10px;
    cursor: pointer;
}

#topic-section input[type="text"] {
    width: 30ch;
}

#settings-table {
    width: 100%;
    border: none;
    padding: 10px;
    border-spacing: 0 10px; /* horizontal spacing = 0, vertical spacing = 5px */
    border-collapse: separate;
    color: #A9A9A9;
    font-style: italic;
}

#settings-table td:first-child {
    width: 150px; /* adjust as needed */
    text-align: right;
    color: #ffffff;
    font-style: normal;
}

#settings-section select {
    width: 14ch;
}

hr {
    border: 0;
    border-top: 1px solid #4b82b7;
}

a, a:visited {
    color: #ace600;
}

#details-box td {
    padding: 10px;
    width: 800px;
    border: 0px solid #4b82b7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    table-layout: fixed;
}

#topic-list-table {
    width: 100%;
    border: none;
    padding: 10px;
    border-spacing: 0 10px; /* horizontal spacing = 0, vertical spacing = 5px */
    border-collapse: separate;
}

#topic-list-table tr {
    background-color: #3e4444;
}

#topic-list-table tr:nth-child(even) {
    background-color: #343a3a;
}

#topic-list-table td:first-child {
    width: 50px; /* adjust as needed */
}

#review-table {
    width: 700px;
    border: 1px solid hsl(180, 5%, 25%);
    background-color: #4e4e4e;
    padding: 10px;
    margin: 10px;
}

#review-header {
    color: #dfa168;
    /* font-family: Helvetica, sans-serif; */
    font-size: 20px;
    padding-top: 10px;
}


.change-editor {
    resize: none;
    padding: 5px;
    border: none;
    background-color: #3e4444;
    color: #cecece;
    text-align: left;
    margin: 10;
    /* font-family: Helvetica, sans-serif; */
    font-size: 14px;
    line-height: 1.50;
    padding: 10px;
}

.readonly-editor {
    resize: none;
    padding: 5px;
    border: none;
    color: #A9A9A9;
    background-color: #27405d;
    text-align: left;
    margin: 10;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-size: 14px;
    line-height: 1.50;
    padding: 10px;
}

.prompt-editor {
    resize: none;
    padding: 5px;
    border: 1px solid #555e5e;
    background-color: #3e4444;
    color: #cecece;
    text-align: left;
    margin: 10;
    /* font-family: Helvetica, sans-serif; */
    font-size: 14px;
    line-height: 1.50;
    padding: 10px;
}

#users-header {
    display: flex;
    justify-content: left;
    padding: 5px;
    margin-top: 5px;
}

#users-header select,
#users-header input {
    margin-right: 10px;
}

#users-header button {
    margin-right: 10px;
    cursor: pointer;
}

#users-header input[type="text"] {
    width: 30ch;
}

.previous-chats-class {
    height:100%; 
    width: 245px;
    overflow-y: auto;
    color: #A9A9A9;
    background-color: #191d1d;
    border: 0px solid #555e5e;
    padding: 5px;
    margin-top: 20px;
    margin-right: 0px;
    margin-bottom: 10px;
    text-align: left;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-size: 14px;
    line-height: 1.75;
}

.chat-history-class {
    height: calc(100vh - 343px);
    width: 800px;
    overflow-y: auto;
    color: #A9A9A9;
    background-color: #2a3030;
    border: 1px solid #555e5e;
    padding: 20px;
    margin: auto; /* Center the element */
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    /* font-family: 'JetBrains Mono', monospace; */
    font-size: 16px;
    line-height: 1.75;
}

.user-input-class {
    width: 750px;
    /* overflow: auto; */
    height: 120px;
    color: #cecece;
    background-color: #2a3030;
    border: 0px;
    padding: 10px;
    margin: auto; /* Center the element */
    display: flex; /* New */
    align-items: flex-start; /* New */
}

#user-chat-input {
    width: 750px;
    resize: none;
    padding: 10px;
    margin: 0px;
    border: 1px solid #555e5e;
    color: #cecece;
    background-color: #2a3030;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    caret-color: #ffffff;
}

.chat-button {
    background-color: #4b82b7;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 0px;
    margin-left: 10px; /* New - Add some space between the textarea and the button */
    margin-bottom: 10px;
    cursor: pointer;
    width: 75px;
    height: 30px;
}

.previous-chat-button {
    position: relative; /* makes the position of the .delete-icon relative to the button. */
    background-color: transparent;
    color: #A9A9A9;
    border: none;
    margin: 0px;
    padding: 0px 20px 0px 0px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.previous-chat-button.selected {
    color: #4b82b7;
}

.delete-icon {
    position: absolute;
    top: 0; /* position the icon at the top of the button */
    right: 5px;  /* position the icon at the right of the button */
    cursor: pointer;
    background-color: transparent;
    color: #4b82b7;
    display: none !important; /* Add !important to override other styles */
}

.previous-chat-button:hover .delete-icon {
    display: block !important; /* Add !important to override other styles */
}

#upload {
    border: 1px solid #555e5e;
    padding: 10px;
    margin: auto;
    width: 650px;
}

#change-doc-title {
    border: 1px solid #555e5e;
    padding: 10px;
    margin: auto;
    width: 650px;
}

#metrics-table {
    width: 100%;
    padding: 5px;
    border:none;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

#metrics-charts {
    background-color: #333;
    display: flex;
    flex-direction: column;
    width: 800px;
    margin-top: 20px;
}

.apexcharts-menu {
    background-color: #000 !important; /* Black background */
    color: #fff !important; /* White textß */
}

.apexcharts-menu-item {
    background-color: #333 !important; /* Dark grey background for items */
    color: #fff !important; /* White text for items */
}

#logoff-title-left {
    font-size: 30px;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    color: #dfa168;
    display: inline-block;
}

#logoff-title-right {
    font-size: 30px;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    color: #4b82b7;
    display: inline-block;
}

.themed-orange-button {
    width: 130px;
    background-color: #dfa168;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 5px;
    margin: 10px;
    cursor: pointer;
}

#logoff-content {
    margin-top: 100px;
    margin-right: auto; 
    margin-left: auto;
}

#logoff-table {
    width: 100%;
    padding: 5px;
    border:none;
    text-align: center;
    margin: 0;
}

#logoff-title {
    font-size: 20px;
    color: #4b82b7;
    padding: 10px;
}

#logoff-text {
    padding: 16px;
    font-size: 16px;
}


.translation-overlay-class {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it is above other content */
    display: none; /* Initially hidden */
}

/* Overlay content */
.translation-overlay-content-class {
    background: white; /* Non-transparent square */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
