/* --------------------------------------
    override bootstrap defaults
-----------------------------------------*/
a,
a:active,
a:visited {
    color: #264e86 !important; /* 6a5acd */
}

a:hover {
    color: #1e3f6b !important; /* A darker shade for hover 5a4bb2 */
    text-decoration: none !important;
}

.btn-primary,
.btn-primary:active,
.btn-primary:visited {
    background-color: #499d44 !important;
}

.btn-primary:hover {
    background-color: #3d8839 !important; /* A darker shade for hover */
}

.btn-danger,
.btn-danger:active,
.btn-danger:visited {
    background-color: #c04b3e !important;
}

.btn-danger:hover {
    background-color: #9b3c31 !important; /* A darker shade for hover */
}

.form-label, /* override bootstrap */
.label {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    font-weight: bold !important;
}

/* --------------------------------------
    common 
-----------------------------------------*/
.success,
.warning,
.error {
    font-size: 16px;
    width: 98%;
    color: white;
    padding: 10px;
    margin: 5px 0 0 0;
}
.success {
    background-color: green;
}
.warning {
    background-color: orange;
}
.error {
    background-color: red;
}

#app_logo_url {
    margin-top: 25px;
}

.breadcrumbs {
    font-size: 14px;
}

.breadcrumbs .divider {
    margin: 0 5px; /* Adjust spacing between divider and breadcrumb links */
    color: #999; /* Adjust divider color */
}

.footer {
    color: grey;
    font-size: 10pt;
    padding: 40px 0;
    text-align: center;
}

.small {
    font-size: 14px;
}

.section_border {
    border-bottom: 1px solid lightgrey;
    margin: 20px 0;
}

.button_disabled {
    cursor: default !important;
    color: grey !important;
}

/* --------------------------------------
    list
----------------------------------------- */
.counter_column {
    width: 30px; /* Set width for the counter column */
    text-align: center; /* Center-align the counter */
}

.chatbot_name_column {
    margin-left: 10px;
    flex-grow: 1; /* Allow the dealer name column to grow and fill remaining space */
}

.list {
    list-style-type: none; /* Remove default list styles */
    margin: 10px 0;
    padding: 0;
}

.list_item {
    display: flex;
    padding: 10px 0; /* Add padding for better readability */
    border-bottom: 1px solid #ccc; /* Add a bottom border for visual separation */
}

.list_item:hover {
    background-color: #f8f8f8;
}

.list_link {
    display: block;
    text-decoration: none; /* Remove default underline from links */
    cursor: pointer;
}

/* CSS for the delete column */
.delete_column {
    margin-left: auto; /* Push the delete column to the right */
}

/* --------------------------------------
    detail 
----------------------------------------- */
.left_section {
    background-color: #f8f8f8;
}

.left_bottom_section {
    padding-top: 0;
}

.right_section {
    padding-bottom: 0;
}

.buttons_section {
    margin-top: 50px;
}

.openai_value {
    font-family: "Courier New", Courier, monospace;
}

.force_upload_button {
    height: 20px;
    margin-top: 5px;
    font-size: 12px;
    padding: 0 7px;
    display: block;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: lightgray;
    color: black;
}

.file_upload_blk {
    font-size: 14px;
    padding: 10px 0;
}

.file_upload_item {
    display: flex;
    justify-content: flex-start;
}

.file_upload_item_date {
    padding-right: 10px;
}

.file_upload_item_name a {
    color: slateblue;
    text-decoration: none;
}

.file_upload_item_name a:hover {
    text-decoration: underline;
}

.file_upload_item_delete {
    font-size: 16px;
    margin-left: auto;
}

.file_upload_item_delete a {
    color: red;
    font-weight: bold;
    text-decoration: none;
}

.file_upload_item_delete a:hover {
    text-decoration: underline;
}

#inv_manual {
    margin: 0 5px;
}

#inv_automatic {
    margin: 25px 5px 0 5px;
}

#inv_view {
    margin: 25px 5px 0 5px;
}

.data_provider_blk {
    background-color: white;
    border: 1px solid lightgray;
    padding: 8px;
}

.data_provider_blk_main {
    width: 90%;
    background-color: white;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid lightgray;
}

.data_provider_blk_bottom {
    text-align: center;
    margin: auto 0;
}

.data_provider_blk_bottom a {
    color: red;
    font-weight: bold;
    text-decoration: none;
}

.data_provider_blk_bottom a:hover {
    text-decoration: underline;
}

.delete_link,
.delete_link:active,
.delete_link:visited {
    color: red !important;
}

.delete_link:hover {
    color: #cc0000 !important;
}

.variable_blk {
    background-color: #e9ecef;
    border: 1px solid lightgray;
    padding: 5px;
}

.demo_invoke_elements_blk {
    background-color: #ffffff;
    border: 1px solid lightgray;
    padding: 5px;
}
