
@font-face {
    font-family: 'CodecPro-ExtraBold';
    src:url('Codec-Pro-ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CodecPro';
    src:url('Codec-Pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --main-color: #1d0d3e;
    --secondary-color: #000418;
    /* --background-color: #000418; */
    --background-color: #000314;
    --hh-colora: #3dd1f6;
    --hh-colorb: #ea6cb6;
    --firstfont-color: #000;
    --secondfont-color: #fff;
}

body {
    background: linear-gradient(to right,
                var(--main-color),
                var(--main-color) 50%,
                var(--secondary-color));

    color: var(--font-color);
    font-family: 'CodecPro';
}

.bar {
    height: 120px;
    border: none;
}

.bar h1 {
    font-size: 20px;
    margin-left: 10px;
    color: var(--secondfont-color);
    font-family: 'CodecPro-ExtraBold';
}

.logo {
    margin-left: 30px;
    zoom:70%;

}

.small_button {
    background-color: var(--main-color);
    color: var(--secondfont-color);
    height: 25px;
    width: 25px;
}

.tab-content{
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.centered-content {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 100%;
    height: 100%;
}

.centered-content > span {
    display: flex;
    justify-content: center;
    align-items: center;
}

md-card.full-width {
    width: 100%;
}

md-tabs.md-default-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-ink-bar,
md-tabs.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-ink-bar {
    background-color: #7caddd;
}

md-tabs md-tab-item .md-ripple {
    background-color: #7caddd !important;

}

md-tabs {
    background-color: #fff;
}

md-tab-content {
    padding: 20px;
}

md-tabs-canvas {
    border-bottom: 2px solid var(--hh-colora);
    background: linear-gradient(to right,
    var(--main-color),
    var(--main-color) 50%,
    var(--secondary-color));
}

md-tabs.md-default-theme .md-tab.md-active, md-tabs .md-tab.md-active, md-tabs.md-default-theme .md-tab.md-active md-icon, md-tabs .md-tab.md-active md-icon, md-tabs.md-default-theme .md-tab.md-focused, md-tabs .md-tab.md-focused, md-tabs.md-default-theme .md-tab.md-focused md-icon, md-tabs .md-tab.md-focused md-icon {
    color:var(--secondfont-color);
    font-family: 'CodecPro-ExtraBold';
}

md-radio-button.md-default-theme.md-checked .md-off, md-radio-button.md-checked .md-off {
    border-color: #000000;
}

md-radio-button.md-default-theme .md-on, md-radio-button .md-on  {
    background-color: var(--main-color);
}

md-card {
    border: 2px solid #272727 !important;
    /* border-top: none !important; */
    box-shadow: 10px 10px 10px rgb(0 0 0 / 80%) !important;
    padding: 0 !important;
    border-radius: 7px;
}

md-card md-card-content {
    background-color: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top: none;  /* Make sure there's no border at the top */
    padding: 0px !important;  /* Adjust padding as needed */
}

.card-header {
    /* background-color: #425b74; */
    color:var(--secondfont-color);
    background: linear-gradient(to right,
                var(--main-color),
                var(--main-color) 50%,
                var(--secondary-color));
    padding: 10px 20px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 18px;
    font-weight: bold;
}

.card-content {
    padding: 20px;
}

.card-bottom {
    /* background-color: #425b74; */
    background: linear-gradient(to right,
                var(--main-color),
                var(--main-color) 50%,
                var(--secondary-color));
    padding: 10px 20px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    font-size: 18px;
    border-bottom: 2px solid #272727;  /* Add a matching border at the bottom */
}

.card-header label {
    color: var(--secondfont-color);
}

.md-card .md-card-content label {
    font-size: 30px;
}

.debug-box {
    background-color: #34495e;
    color: #fff;
}

/* Input Components */
.custom-input {
    margin: 10px 20px;
}

.custom-input input {
    font-family: 'CodecPro';
}

.custom-input label, .customlabel {
    font-weight: bolder;
    font-size: 20px;
    color: #555;
}

.custom-input input {
    font-size: 14px;
}

.required-field label:after {
    content: " *";
    color: red;
}

md-input-container.md-input-focused:not([md-no-float]) .md-select-placeholder span:first-child {
    -webkit-transform: none;
    transform: none;
}

md-input-container.custom-size {
    height: 32px;
}

.customlabel {
    color: rgb(63, 63, 63);
    font-weight:bolder;
}

.log-table {
    table-layout: fixed;
    margin-left:15px;
    margin-bottom: 10px;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px;
    border-bottom-left-radius: ;
}

.log-table th,
.log-table td {
    font-family:'Courier New', Courier, monospace;
    border: 1px solid #1d1d1d;
    text-align: left;
    font-size: 10px;
}

.log-table i.fa-circle {
    font-size: 14px;
    vertical-align: middle;
  }

.log-table th {
    background-color: var(--main-color);
    color:#fff;
}

.log-table tr {
    background-color: #313131;
    color:#fff;
}

.log-table td.message-cell {
    max-height: 100px; /* Adjust as needed */
    overflow-y: auto; /* Vertical scrollbar */
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Ensures long words do not cause horizontal overflow */
}

.log-table tr:hover:not(.no-results) {
    background-color: var(--secondary-color);
    color:#fff;
}

/* New style for no-results row */
.log-table tr.no-results td {
    cursor: default;
    background-color: transparent; /* or any color you want for the no-results row */
    color: inherit;
}

.error-log {
    background-color: red;
}

.parameter-table {
    table-layout: fixed;
    margin-left:15px;
    margin-bottom: 10px;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px;
    display: block;
    width: 100%;
    overflow-x: auto;
}

.parameter-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

.parameter-table th,
.parameter-table td {
    border: 1px solid #1d1d1d;
    padding: 8px;
    text-align: left;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden; /* Prevent text from spilling out */
}

.parameter-table i.fa-circle {
    font-size: 14px;
    vertical-align: middle;
  }

.parameter-table th:nth-child(1) { width: 20%; }
.parameter-table th:nth-child(2) { width: 30%; }
.parameter-table th:nth-child(3) { width: 20%; }
.parameter-table th:nth-child(4) { width: 15%; }
.parameter-table th:nth-child(5) { width: 5%; }

.parameter-table th {
    background-color: var(--main-color);
    color:#fff;
}

.parameter-table tr:hover:not(.no-results) {
    background-color: var(--secondary-color);
    cursor: pointer;
    color:#fff;
}

/* New style for no-results row */
.parameter-table tr.no-results td {
    cursor: default;
    background-color: transparent; /* or any color you want for the no-results row */
    color: inherit;
}

.dialog {
    border: 3px solid #313131;
    padding: 20px;
    box-shadow: 10px 10px 10px rgb(0 0 0 / 100%);
    border-radius: 10px;
}

.saveButton {
    background-color: var(--main-color);
}

.cancelButton {
    background-color: #96554f;
}

.dot {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
    margin-left: 10px;
}

.md-toast-done .md-toast-content{
    background: #004f75 !important;
}

.md-toast-error .md-toast-content{
    background: rgb(193, 30, 23) !important;
}

.component-viewer {
    height: 300px; /* Adjust as needed */
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px;
}

.component {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 5px;
}

.component-type {
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}

.component-content {
  font-size: 14px;
}

.component.ng-not-empty {
  background-color: #f9f9f9;
}

md-list-item.md-2-line {
  min-height: 60px;
  height: auto;
  padding: 15px;
}

md-list-item .md-list-item-text p {
    word-break: break-word;
}

/* Styling for width*/
.w-100 {
    width: 100%;
}

/* Styling for typography*/
.text-center {
    text-align: center !important;
}

.text-white {
    color: white;
}

/* Styling for margin*/
.m-0 {
    margin: 0 !important;
}

.ms-1 {
    margin-left: 0.5rem !important;
}

.ms-2 {
    margin-left: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mt-5 {
    margin-top: 2.5rem !important;
}

.me-1 {
    margin-right: 0.5em !important;
}

.me-2 {
    margin-right: 1rem !important;
}

/* Styling for padding*/
.p-0 {
    padding: 0 !important;
}

.pb-0 {
    margin-bottom: 0 !important;
}

/* Styling for list items on hover */
.hover-highlight:hover {
    background-color: #f0f0f0;  /* A light grey background for hover effect */
    cursor: pointer;
}

/* Styling for titles */
h2.md-title {
    color: #333;  /* Darker color for better readability */
    margin-bottom: 15px;
}

/* Styling for kept items for distinction */
.kept-item {
    font-weight: bold;
    border: 2px solid #c0c0c0;
    border-radius: 15px;
    margin-bottom: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 200px;
    width: 400px;
    display: flex;
    align-items: center;
}

/* Styling for chatbot designer */
.chatbot-settings textarea{
    padding: 10px;
    resize: none;
    height: 84px;
}

.chatbot-settings-general {
    margin-right: 20px;
}

.chatbot-settings-general  md-select {
    margin-left: 3px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.chatbot-settings-ui md-slider{
    margin: 0;
    height: 24px;
}

.chatbot-settings-ui md-slider .md-track-container {
    top: 12px;
}

.chatbot-settings-ui md-slider .md-track.md-track-fill {
    background-color: var(--main-color);
}

.chatbot-settings-ui md-slider .md-thumb {
    top: 3px;
}

.chatbot-settings-ui md-slider .md-thumb:after {
    background-color: var(--main-color);
    border-color: var(--secondary-color)
}

.chatbot-settings-ui md-slider .md-sign {
    top: -28px;
    background-color: var(--main-color);
}

.chatbot-settings-ui md-slider .md-sign:after {
    border-top-color:var(--main-color);
}

.chatbot-settings-ui .md-select-value {
    margin: auto auto;
}

.chatbot-settings-ui .grid-container {
    display: grid;
    grid-template-columns: 460px 300px;
    gap: 20px;
}

.chatbot-settings-ui .grid-container div:nth-child(2) .block {
    padding: 0 0 10px 0;
}

.chatbot-settings-ui .grid-container div:nth-child(2) .block:last-child {
    padding: 0;
}

.chatbot-settings-ui .block {
  padding: 0 10px 10px 0;
}

.chatbot-settings-ui .block:last-child {
    padding: 0 10px 0 0;
}

.chatbot-block {
    margin-left: 60px;
    margin-right: 30px;
}

.chatbot-block .code-block {
    position: relative;
    width: 100%;
}

.chatbot-block .code-block textarea{
    margin-left: 8px;
    width: 94%;
    height: 80px;
    resize: none;
}

.chatbot-block .code-block img{
    cursor: pointer;
    width: 18px;
    height: 18px;
    position: absolute;
    bottom: 36px;
    right: -16px;
}

.chatbot-container {
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.5);
}

.chatbot-header {
    padding: 20px;
    clip-path: polygon(100% 0%, 0% 0% , 0.00% 93.38%, 4.00% 94.98%, 8.00% 96.40%, 12.00% 97.56%, 16.00% 98.39%, 20.00% 98.82%, 24.00% 98.85%, 28.00% 98.45%, 32.00% 97.67%, 36.00% 96.54%, 40.00% 95.14%, 44.00% 93.56%, 48.00% 91.90%, 52.00% 90.25%, 56.00% 88.73%, 60.00% 87.43%, 64.00% 86.43%, 68.00% 85.79%, 72.00% 85.56%, 76.00% 85.74%, 80.00% 86.34%, 84.00% 87.30%, 88.00% 88.57%, 92.00% 90.07%, 96.00% 91.71%, 100.00% 93.38%);
}

.chatbot-header h5{
    font-weight: 100;
}

.chatbot-header p{
   margin: 0 0;
}

.chatbot-header img {
    border-radius: 50%;
}

.chatbot-header .icon-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid black;
}

.chatbot-header svg {
    cursor: pointer;
    align-self: center;
    height: 28px;
    width: 28px;
}

p.chatbot-status {
    color: white;
    font-size: 11px;
}

p.chatbot-status::before {
    content: "\A";
    width: 7px;
    height: 7px;
    margin-top: 10px;
    margin-right: 3px;
    border-radius: 50%;
    background: #00CF3D;
    display: inline-block;
}

.chatbot-content {
    --scrollbar-width: 8px;
    --scrollbar-thumb-color: #D5D7DE;
    flex: 1;
    padding: 0 10px 10px 10px;
    overflow-y: scroll;
}

.chatbot-content::-webkit-scrollbar {
    width: var(--scrollbar-width);
}

.chatbot-content::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--scrollbar-thumb-color);
}

.message-bubble {
    display: flex;
}

.message-bubble.user {
    justify-content: flex-end;
}

.message-bubble.user-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 50%;
}

.message-bubble.user div {
    padding: 14px;
    margin: 0 0 10px 34px;
}

.message-bubble.bot {
    justify-content: flex-start;
}

.message-bubble.bot div {
    padding: 14px;
    margin: 0 34px 10px 0;
}

.message-bubble .date{
    margin-top: 3px;
    font-size: 10px;
    font-style: italic;
    color: grey;
    margin-bottom: 5px;
}

.message-bubble .date.bot{
    text-align: start;
}

.message-bubble .date.user{
    text-align: end;
}

.message-bubble div {
    padding: 14px;
    word-break: break-word;
    margin: 0;
    display: block;
}

.chatbot-content img {
    height: 26px;
    width: 26px;
    border-radius: 50%;
    align-self: end;
}

.powered-by-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.powered-by-text {
    font-size: 12px;
}

.chatbot-footer {
    --scrollbar-width: 8px;
    --scrollbar-thumb-color: #D5D7DE;
    height: 130px;
    padding: 0px 10px 10px 10px;
    position: relative;
}

.chatbot-footer img {
    cursor: pointer;
    width: 19px;
    height: 19px;
}

.chatbot-footer img#attachment {
    background: #B0B6BC;
    -webkit-mask:url("/icons/attachment.svg") center/contain;
    mask:url("/icons/attachment.svg") center/contain;
}

.chatbot-footer img#emoji {
    background: #B0B6BC;
    -webkit-mask:url("/icons/emoji.svg") center/contain;
    mask:url("/icons/emoji.svg") center/contain;
}
.chatbot-footer textarea {
    font-size: 12px;
    line-height: 1.22;
    resize: none;
    border: none;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 1px 5px 12px rgba(0, 0, 0, 0.3);
    background: transparent;
}

.chatbot-footer textarea::-webkit-scrollbar {
    width: var(--scrollbar-width);
}

.chatbot-footer textarea::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-footer textarea::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--scrollbar-thumb-color);
}

.chatbot-footer textarea:focus-visible {
    outline: none;
    box-shadow: 1px 5px 12px rgba(0, 0, 0, 0.4);
}

.chatbot-footer .send-button {

    position: absolute;
    /* right: -24px; */
    right: -30px;
    /* top: 56px; */
    top: 20px;
    /* height: 50px;
    width: 50px; */
    height: 60px;
    width: 60px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 1px 8px 1px rgba(0, 0, 0, 0.4);
}

.chatbot-footer .send-button img {
    margin-left: 4px;
    -webkit-mask:url("/icons/paper.svg") center/contain;
    mask:url("/icons/paper.svg") center/contain;
}

.md-button.md-default-theme.md-primary.md-fab, .md-button.md-primary.md-fab, .md-button.md-default-theme.md-primary.md-raised, .md-button.md-primary.md-raised {
   background-color: var(--secondary-color);
}


.md-button.md-raised  {
    /* background-color: var(--secondary-color); */
    background-color: var(--hh-colorb);
}

.md-button.md-raised label {
    color: #ffffff;
    font-family: 'CodecPro';
    justify-content: center;
}

/* Styling for checkbox */
md-checkbox {
    min-height: 30px;
}

md-checkbox .md-label {
    margin-top: 12px;
}

md-checkbox.md-default-theme.md-checked .md-icon, md-checkbox.md-checked .md-icon {
    /* background-color: #425b74; */
    /* background-color: var(--main-color); */
    background-color: var(--hh-colora);
}

md-checkbox.md-default-theme:not([disabled]).md-primary.md-checked .md-icon, md-checkbox:not([disabled]).md-primary.md-checked .md-icon {
    background-color: var(--hh-colora);
}

md-checkbox.md-default-theme.md-checked .md-ink-ripple, md-checkbox.md-checked .md-ink-ripple {
    color: rgba(66,91,116,0.5);
}

/* Styling for switch */
md-switch.md-default-theme.md-checked:not([disabled]) .md-bar, md-switch.md-checked:not([disabled]) .md-bar {
    /* background-color: rgba(66,91,116,0.5); */
    background-color: var(--secondary-color);
}

md-switch.md-default-theme.md-checked:not([disabled]) .md-thumb, md-switch.md-checked:not([disabled]) .md-thumb {
    /* background-color: #425b74; */
    background-color: var(--secondary-color);
}

/* Styling for color picker */
input[type='color'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 26px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
input[type='color']::-webkit-color-swatch {
    border-radius: 50%;
    border: 1px solid #000000;
}

input[type='color']::-moz-color-swatch {
  border-radius: 50%;
  border: 1px solid #000000;
}

.bot-icon {
    width: 22px;
}

/* Styling for loading dots */
.loading-dots {
    display: flex;
    justify-content: start;
    margin-top: 20px;
    height: 10px;
    width: 100%;
}

.loading-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.loading-dots span:not(:last-child) {
    margin-right: 3px;
}

.loading-dots span:nth-child(1) {
    animation: loading .9s linear 0s infinite alternate;
}

.loading-dots span:nth-child(2) {
    animation: loading .9s linear .3s infinite alternate;
}

.loading-dots span:nth-child(3) {
    animation: loading .9s linear .6s infinite alternate;
}

@keyframes loading {
    from {transform: translateY(0)}
    to {transform: translateY(-10px)}
}

.scrollable-textarea {
    font-family: 'CodecPro';
    font-size: 18px;
    overflow-y: auto; /* Vertical scrollbar will be shown if needed */
    overflow-x: auto; /* Horizontal scrollbar will be shown if needed */
}

md-input-container.md-block.custom-input .scrollable-textarea {
    max-height: 500px;
    overflow-y: auto;
}

.scrollable-textarea {
    background-color: #fff; /* Light background */
    border: 1px solid #ccc; /* Light grey border */
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.1);
    padding: 8px; /* Some padding inside the textarea */
    color: #333; /* Darker text for contrast */
    overflow-y: auto; /* Ensures scrollbar appears when content is long */
}

.scrollable-textarea:focus {
    border-color: var(--hh-colora); /* Light blue border on focus */
    outline: 0; /* Remove default focus outline */
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.1), 0 0 2px var(--hh-colora)
}

.document-upload-container {
    font-family: 'Arial', sans-serif;
    max-width: 600px;
    margin: auto;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    border-radius: 8px;
    border: 2px solid #34495e;
    background: white;
}

.uploaded-files-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    display: block; /* Added to allow for a scrollable tbody */
}

.uploaded-files-table thead,
.uploaded-files-table tbody tr {
    display: table; /* For thead and tbody tr, this makes them behave like a table */
    width: 100%; /* Needed to make them take up the whole space inside the block */
    table-layout: fixed; /* This prevents the table from expanding beyond its set width */
}

.uploaded-files-table thead {
    width: calc( 100% - 1em ); /* Subtract scrollbar width */
}

.uploaded-files-table tbody {
    display: block;
    max-height: 9em; /* for example, to allow 3 items to show before scrolling */
    overflow-y: auto;
}

.uploaded-files-table th,
.uploaded-files-table td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* Additional style to ensure the scrollbar is only visible when necessary */
.uploaded-files-table tbody::-webkit-scrollbar {
    width: 1em;
}

.uploaded-files-table tbody::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.uploaded-files-table tbody::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.scrape-button,
.delete-button {
    background-color: #f5f5f5;
    border: none;
    padding: 6px 12px;
    margin-right: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.scrape-button:hover,
.delete-button:hover {
    background-color: #e1e1e1;
}

.no-files-uploaded {
    text-align: center;
    padding: 10px;
}

.tooltip {
    font-size:16px;
}

.file-upload-area {
    padding-top: 10px;
}

/* chatsession */

.chatSession-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allow items to wrap if needed */
  }

  .chatSession-general-info-box {
    padding: 10px;
    background-color: #f9f9f9; /* Slightly off-white background for distinction */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 4px; /* Rounded corners */
    margin-left: 20px; /* Adds space between the chat header and the info box */
    flex-shrink: 0; /* Prevents the box from shrinking */
    display: flex; /* Enables flexbox layout */
    flex-direction: column; /* Stack children vertically */
    align-items: flex-start; /* Align children to the start (left) */
    max-width: 500px; /* Maximum width of the info box */
  }

.chatSession-general-info {
  text-align: left; /* Align text to the left */
  font-size: 0.9em; /* Small text for general information */
  display: grid; /* Enables grid layout */
  grid-template-columns: auto 1fr; /* Two columns: label and value */
  grid-gap: 4px; /* Space between label and value */
  width: 100%; /* Full width of the container */
  margin-bottom: 4px; /* Space between each info line */
}

.chatSession-general-info label {
    font-weight: bold; /* Makes labels bold */
    text-align: right; /* Right-align the labels */
    padding-right: 10px; /* Space between label and colon */
  }


  .chatSession-general-info span {
    text-align: left; /* Left-align the values */
  }

  .chatSession-general-info p {
    margin: 0; /* Removes margin for a compact look */
    padding: 2px; /* Adds a bit of padding for readability */
  }

.chatSession-tabs {
    width: 50%; /* Set the tab container to take up 50% of the screen's width */
    margin: 0 auto; /* Center the tab container */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional: adds a subtle shadow for depth */
  }

  .chatSession-messages-container {
    height: 300px; /* Adjust the height as needed */
    overflow-y: auto; /* Enables vertical scrolling */
    border: 1px solid #ccc; /* Adds a border to the container */
    margin: 10px 0; /* Adds some margin around the container */
    padding: 10px; /* Adds some padding inside the container */
    border-radius: 5px; /* Rounds the corners */
  }

  .chatSession-message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff; /* White background for contrast */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Subtle shadow for depth */
  }

  .chatSession-tab-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #f1f1f1;
  }

  .chatSession-tab-list li {
    display: inline-block; /* Use inline-block for spacing between tabs */
    margin-right: 5px; /* Add some space between the tabs */
  }

  .chatSession-tab-list li:last-child {
    margin-right: 0; /* Remove margin for the last tab */
  }

  .chatSession-tab-list li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0 0; /* Rounded corners on the top */
  }

  .chatSession-tab-list li a:hover {
    background-color: #e9e9e9; /* Light grey for hover */
    border-color: #bbb; /* Slightly darker border color for definition */
  }

  .chatSession-tab-list .chatSession-active a {
    background-color: #fff;
    border-bottom: 1px solid white; /* Hides the border on the active tab */
  }

  .chatSession-tab {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 0 4px 4px 4px; /* Rounded corners on the bottom */
    background-color: #fff;
  }

.chatSession-tab.active {
    display: block;
  }

  .chatSession-active a {
    background-color: #fff;
    border-color: #ccc;
    border-bottom: 1px solid white;
  }

  .chatSession-message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }

  .chatSession-message-system {
    background-color: lightblue;
  }

  .chatSession-message-user {
    background-color: lightgreen;
  }

  .chatSession-message-assistant {
    background-color: yellow;
  }

  .chatSession-function-item {
    border-bottom: 1px solid #eee;
    padding: 10px;
    margin-bottom: 10px;
  }

  .chatSession-parameter {
    background: #f0f0f0;
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
  }

input[type=file] {
    width: 95%;
    color: #444;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #555;
}

input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: var(--main-color);
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
    background: #5E5660;
}

.form-section {
    margin-bottom: 20px;
}

.add-button {
    background-color: transparent;
    border: none;
    color: rgb(56, 56, 56);
    cursor: pointer;
    margin-left: 10px;
}

md-input-container {
    margin-right: 10px;
}

md-radio-group, md-checkbox {
    margin-right: 15px;
}

fieldset {
    border: 2px solid #a5a5a5;
    padding: 10px;
    border-radius: 4px;
}

legend {
    font-size: 1.1em;
    font-weight: bold;
    padding: 0 5px;
    width: auto;
}

input[disabled] {
    color: #999;
}

/* @media (max-width: 768px) {
    .form-section {
        flex-direction: column;
    }
} */