#helperContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Higher z-index to display over other elements */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    padding-top: 20px; /* Add some padding to position it a bit lower */
}

#removeSelectedContainer {
    position: sticky;
    /* top: 0;  Adjust this value to set the exact distance from the top */
    z-index: 1000; /* Ensure it stays on top of other elements */
    padding: 10px; /* Optional: Add some padding for better spacing */
    margin-bottom: 10px; /* Optional: Add margin at the bottom for spacing */
    border-bottom: 1px solid #ccc; /* Optional: Add a border for better separation */
}

.navbar-custom {
    /* background-color: #102444; */
    color: #102444;
    background-color: #eeeeee;
    padding-left: 20px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}
.navbar-brand, .nav-link {
    color: #102444;
}

.refresh-button-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.modal-content {
    border-radius: 5px; 
    /* background-color: rgba(161, 161, 161, 0.108);  */
    -webkit-backdrop-filter: blur(8px); 
    backdrop-filter: blur(5px);
    box-shadow: none;
    color: #E3E4DD;
}

.chat-title{
    color: #E3E4DD;
}


.modal-header{
    /* background-color: #23325A;  */
    /* background-color: #2E3944; ; */
    /* background-color: #0a437a; */
    background-color: #102444;
    -webkit-backdrop-filter: blur(8px); 
    backdrop-filter: blur(5px); 
    border-radius: 5px 5px 0px 0px;
}

.modal-helper{
    background-color: red; 
    -webkit-backdrop-filter: blur(8px); 
    backdrop-filter: blur(5px); 
}

.modal-body {
    background-color: rgba(161, 161, 161, 0.108); 
    -webkit-backdrop-filter: blur(8px); 
    backdrop-filter: blur(5px);
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
}

/* Custom Navbar Styles */
/* .navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .nav-left {
    margin-right: 15px;
  }
  
  .nav-right {
    margin-left: 15px;
  }
  
  @media (max-width: 991px) {
    .navbar-nav {
      flex-direction: column;
    }
  
    .nav-item {
      width: 100%;
      text-align: left;
    }
  
    .nav-right {
      margin-left: 0;
    }
  } */
  

body {
    background-position: center center;
    background-repeat: no-repeat;
    /* background-color: #D3D9D4; */
    background-color: #F2F0EF;
}

#chat4 .form-control {
    border-color: transparent;
    background-color: #E3E4DD;
    
}

#chat4 .form-control:focus {
    border-color: transparent;
    box-shadow: inset 0px 0 px 1px transparent;
}

.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

#scroll::-webkit-scrollbar {
    background-color: rgba(0, 0, 0, 0.108);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(5px);
    width: 0px;
    height: 0px;
    color: #eee;
}

pre::-webkit-scrollbar {
    background-color: rgba(0, 0, 0, 0.108);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(5px);
    width: 0px;
    height: 0px;
}

div {
    position: relative;
    /* Set position to relative for the container */
}

pre {
    overflow-x: scroll;
    /* Enable horizontal scrolling */
    width: 68vw;
    /* white-space: pre-wrap; Preserve line breaks */
}

pre button {
    position: absolute;
    top: 1px;
    left: calc(68vw - 2rem);
    /* Adjust the position of the button */
    font-size: 0.9rem;
    padding: 0.5rem;
    /* Changed to a positive value */
    background-color: rgb(50, 50, 50);
    border-radius: 50px;
    border: none;
}

.form {
    width: 100%;
}

#questionInput {
    background-color: rgba(253, 253, 253, 0.532);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(5px);
    border: 2px solid rgb(255, 255, 255);
    border-radius: 45px;
    height: 40px;
}

.tooltip-inner {
    background-color: #124E66;
    border-radius: 2px;
    position: relative;
    padding: 2px 10px;
    font-size: small;
}

.tooltip-inner::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgb(100, 100, 100) transparent;
}

pre {
    /* background-color: #dcdcdc; */
    padding: 1em;
    width: 100%;
    overflow-x: auto;
    border-radius: 5px;
    /* border: 1px solid #ddd; */
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 5px;
    margin-bottom: 10px; */
}

/* .search-input {
    width: 850px;
} */

.download-button-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.btn-cute {
    background-color: #a369ff;
    border-color: #a369ff;
    color: white;
    font-weight: bold;
    border-radius: 25px;
}

.btn-cute:hover {
    background-color: #a369ff;
    border-color: #a369ff;
}

.img-span {
    background-color: rgba(253, 253, 253, 0.532);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}


.button-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    border-bottom: 1px solid #ddd;
    padding: 10px; 
}
/* .btn-resume-container {
    margin-left: auto; 
} */
.btn-resume {
    /* background-color: #ffb14e; */
    background-color: #ff9f4d;
    color: #E3E4DD;
    padding: 0.5em 1em;
    margin-left: 10px;
}
/* .condition-column {
    flex: 1;
    text-align: center;
}
.condition-column:not(:last-child) {
    border-right: 1px solid #ddd; 
} */

.input-group .btn {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    /* height: 200px; */
} 


.logo-row {
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 150px;
}



.suggestions .col-md-3 {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
}

.suggestions .col-md-3 .sug-col {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.suggestions .col-md-3 .sug-col:hover {
    overflow: visible;
    white-space: normal;
}

/* Ensure text-overflow with ellipsis */
.sug-col {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 100px;
}

/* Responsive design adjustments */
@media (min-width: 768px) {
    .suggestions .col-md-3 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (min-width: 992px) {
    .suggestions .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}


/* .suggestions {
    margin-top: 175px;
} */

.sug-col {
    border-radius: 25px;
    height: 100px;
}


/* .oc-logo {
    width: 50%; 
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
} */
.oc-logo {
    width: 100px;
    height: auto;
}


.btn-cute {
    background-color: #a369ff;
    border-color: #a369ff;
    color: white;
    font-weight: bold;
    border-radius: 25px;
}

.btn-cute:hover {
    background-color: #a369ff;
    border-color: #a369ff;
}

.form-inline {
    display: flex;
    align-items: center;
}

.form-inline input {
    flex: 1;
    margin-right: 10px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    height: 45px;
}

.form-inline input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.form-inline button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 0.25rem;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 45px;
}

.form-inline button:hover {
    background-color: #0056b3;
}


.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    z-index: 1000;
    transform: translateY(-11%);
}

.search-name-container {
    flex-grow: 1;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.search-name {
    color: black;
    text-align: left;
}
.modal-dialog {
    width: 90%; 
    max-width: 600px;
    height: 80%; 
    max-height: 380px;
    margin: auto; 
}

.modal-content {
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto;
    flex: 1; 
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 100%;
        height: 90%;
        max-width: none;
        max-height: 400px;
    }

    .modal-content {
        border-radius: 0;
    }
}

.modal-footer {
    display: flew;
    justify-content: center;
    align-items: center;
}

.modal-footer .btn-secondary {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.text-link {
    text-decoration: underline;
    color: #CC5500;
    cursor: pointer;
}

.text-link:hover {
    color: #B34700;
    text-decoration: none;
}

.pipe-separator {
    margin: 0 5px;
}

.refine-search-link, .download-link {
    margin: 0;
}

.charcoal-black {
    color: #36454F;
}

.mt-3 {
    display: flex;
    justify-content: center;
}

table.dataframe, .oc-detailed-history-table, .oc-history-table {
    border: none;
    border-radius: 4px;
    border-collapse: separate;
    width: 100%;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

table.dataframe th, .oc-detailed-history-table th, .oc-history-table th {
    padding: 50px 15px 5px 15px;
    background: white;
    text-align: left;
    border-bottom: 2px solid #ffb14e;
    vertical-align: bottom;
}

table.dataframe td, .oc-detailed-history-table td, .oc-detailed-history-table th[scope="row"] {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    white-space: normal !important; /* Add this */
    overflow: visible !important;   /* Add this */

}

/* Add new rule for formatted cells */
.oc-detailed-history-table td:has(strong) {
    white-space: pre-wrap !important;
    max-width: none !important;
}

.oc-detailed-history-table {
    margin-bottom: 50px;
}

select.form-select {
    width: auto;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}


/* Full History Section */
/* Full History Section */
/* Full History Section */

.oc-history-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}


.oc-history-table th {
    padding: 15px;
    background-color: #D15423;
    color: white;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.oc-history-table th[scope="row"], .oc-history-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    border: 1 px solid black
}

.oc-history-table td a.btn-cute {
    background-color: transparent;
    color: #D15423;
    padding: 0;
    text-decoration: underline;
    font-weight: normal;
    text-transform: none;
    border: none;
}

.oc-history-table td a.btn-cute:hover {
    color: #b04a1d;
    text-decoration: none;
}


@media (max-width: 5000px) {
    .oc-history-table,
    .oc-search-modal {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 1515px) {
    .oc-history-table,
    .oc-search-modal {
        width: 100%;
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .oc-history-table,
    .oc-search-modal {
        font-size: 14px;
    }
}

.oc-history-container {
    width: 100%;
    overflow-x: auto;
    max-width: 100%;
    padding-left: 40;
    padding-right: 40;
    box-sizing: border-box;
}


.oc-search-modal {
    background-color: #e9ecef;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.oc-search-modal .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
    justify-content: flex-start;
}

.oc-search-modal label {
    min-width: 120px;
    font-weight: bold;
}

.oc-search-modal input.form-control, 
.oc-search-modal select.form-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

.oc-search-modal select.form-select {
    width: 250px;
}

.oc-search-modal .btn:hover {
    background-color: #b04a1d;
}

.oc-search-modal .form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
}

.oc-search-modal .btn {
    background-color: #D15423;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    padding: 10px 20px;
}

.oc-search-modal .form-actions .btn {
    margin-right: 15px;
}

.oc-search-modal .text-link {
    color: #D15423;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 15px;
}

.oc-search-modal .text-link:hover {
    color: #b04a1d;
}


/* .oc-delete-modal .modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background-color: #eeeeee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
} */

.oc-delete-modal .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-delete-modal .modal-content {
    background-color: #eeeeee;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.oc-delete-modal .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 20px;
}

.oc-delete-modal .modal-body p {
    text-align: center;
    color: #333;
}

.oc-delete-modal .modal-body p span {
    color: red;
}

.oc-delete-modal .button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.oc-delete-modal .button-group .btn {
    width: 150px;
    text-align: center;
}

.oc-delete-modal {
    background-color: transparent;
}


#vendorSheetLink {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-success-text {
    color: #d9531e;
    font-weight: bold;
}



/* #scroll {
    overflow-x: auto;
    white-space: normal;
    max-width: 100%;
    display: block;
    scrollbar-width: thin;
} */

/* #scroll {
    overflow-x: auto;
    white-space: normal;
    max-width: 100%;
    display: block;
    scrollbar-color: rgba(0, 85, 164, 0.6) rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
    border-radius: 3px;
}

#scroll::-webkit-scrollbar {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

#scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 85, 164, 0.6);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

#scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 85, 164, 0.8);
} */

.highlight {
    font-weight: bold;
    color: #0067d4;
}






