html,
body {
    height: 100vh;
    margin: 0;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer and Edge */
}
.message table::-webkit-scrollbar {
    width: 0.25rem;
    /* Adjust scrollbar width */
    height: 0.25rem;
    /* Adjust scrollbar height */
}

.message table::-webkit-scrollbar-thumb {
    background-color: grey;
    /* Scrollbar thumb color */
    border-radius: 4px;
    /* Rounded corners */
}

.message table::-webkit-scrollbar-track {
    background-color: #E5E7EB;
    /* Scrollbar track color */
}
/* Additional rule for WebKit browsers */
body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

th {
    background-color: #f3f4f6;
}

tr:nth-child(even) {
    background-color: #f9fafb;
}

tr:nth-child(odd) {
    background-color: #ffffff;
}

tr:hover {
    background-color: #f3f4f6;
}

.message img {
    width: fit-content;
    max-width: 12rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.message ul,
.message ol {
    all: revert;
    padding-left: 1rem;
}

.message li>ul,
.message li>ol {
    padding-left: 0.5rem;
}

.message h1,
.message h2,
.message h3,
.message h4,
.message h5,
blockquote,
code {
    all: revert;
}

.message table,
.message th,
.message td {
    border-width: 1px;
}

.message table {
  overflow-x: auto;
}

.message th,
.message td
{
    padding:0.5rem;
}

blockquote {
    border-left: 0.2rem solid #ee6e73;
    margin: 1rem 0;
    padding-left: 1rem;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
}

.message {
    max-width: 100%;
    width: fit-content;
    text-wrap: wrap;
    overflow-wrap: break-word;
    /* padding: 0.5rem; */
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.message img {
    cursor: pointer;
}

.fix-overflow {
    word-break: break-all;
}
.prose table {
    display: block;
    /* Ensures it doesn't affect surrounding elements */
    overflow-x: auto;
    /* Enables horizontal scrolling */
    white-space: nowrap;
    /* Prevents the table content from wrapping */
    max-width: 100%;
    /* Keeps the table responsive */
}

.message a {
    color: #0009b8;
}


.message h1,
.message h2,
.message h3,
.message h4,
.message h5 {
    font-weight: bold !important;
}

.message h1 {
    font-size: 2rem !important;
}

.message h2 {
    font-size: 1.75rem !important;
}


.message h3 {
    font-size: 1.5rem !important;
}

.message h4 {
    font-size: 1.25rem !important;
}

.message h5 {
    font-size: 1rem !important;
}
