
/* Flexbox container */
.d-flex {
    display: flex;
}

/* Sidebar container */
.ast-tree-container {
    flex: 0 0 auto; /* Fixed width for the sidebar */
    background-color: #f8f9fa; /* Background color matching the sidebar */
    box-shadow: 5px 0 15px rgb(52 52 52 / 29%);
    height: 100vh;
    padding-right: 0px;
    margin-right: 0px;
    z-index:99;
    overflow-y: auto;
}

/* Content container */
.trzmain {
    flex: 1; /* Takes up the remaining space */
    padding-left: 0px; /*TODO: check later*/
    background-color: #fbfbfb; /* Content background color */
    overflow: scroll;
    height: calc(100vh - 55px);
    padding-bottom: 0px;
}


html {
  font-size: 14px;
}


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 0px;
    overflow:scroll;
   
}

.select2-container .select2-selection__arrow {
    display: none;
 
}
.select2-container {
    width: 100% !important;
}

/* Ensure all .item-select elements maintain consistent styling */


.select2-selection__rendered {
    white-space: normal !important; /* Allow text to wrap */
    word-break: break-word !important; /* Break long words */
    overflow-wrap: break-word !important; /* Ensure wrapping */
    display: block; /* Forces multi-line text */
}

.select2-selection {
    height: auto !important; /* Adjust height dynamically */
}

/* Customizing the card's shadow and border */
.row.shadow-lg {
    border-radius: 15px;
}

/* Ensuring the form input fields have proper focus styling */
.form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

/* Custom styling for the login button */
#login-submit {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s ease;
}

    #login-submit:hover {
        background-color: #0056b3;
    }

/* Customizing the image on the right */
.img-fluid {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Hover effect for links */
a.text-muted:hover {
    color: #0056b3;
    text-decoration: underline;
}

.tableTotalText {
    color:#888;
    text-align:right;
}

.tableTotal {
    text-align: left;
    font-weight: bold;
}

.tlogo {
    width: 200px;
    background-color: #f0f3f5;
    padding:6px;
}

.message-bubble {
    position: relative;
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message-bubble.sent {
    background-color: #dcf8c6;
    color: #000;
    margin-left: 20%;
    border-bottom-right-radius: 4px;
}

.message-bubble.received {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #e5e5ea;
    margin-right: 20%;
    border-bottom-left-radius: 4px;
}

    /* WhatsApp-style tail */
    .message-bubble.sent::after,
    .message-bubble.received::before {
        content: '';
        position: absolute;
        bottom: 0;
        width: 0;
        height: 0;
        border: 6px solid transparent;
    }

.message-bubble.sent::after {
    right: -6px;
    border-left-color: #dcf8c6;
    border-right: 0;
}

.message-bubble.received::before {
    left: -6px;
    border-right-color: #ffffff;
    border-left: 0;
}

#chatContainer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
}



