﻿@charset "UTF-8";

.cardpop {
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s cubic-bezier(.4,2,.6,1);
}

    .cardpop:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.12);
        z-index: 2;
    }

.fs-7 {
    font-size: 0.6rem !important;
    font-weight: bold;
}

.intakePopover {
    --ct-popover-body-color: red;
    --ct-popover-border-width: 2px;
}

.navbar-custom {
    box-shadow: none;
}

.nav-tabs {
    border-bottom: none !important;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

/*.modal-body {
    max-height: calc(100vh - 155px);
    overflow: auto;
}*/

.modal-timeline {
    overflow: auto;
}

.twitter-typeahead, .tt-hint, .tt-input, .tt-menu {
    width: 100%;
    font-size: 12px;
}

.no-wrap {
    white-space: nowrap;
}

/*CASEGRADE COLORING*/
/* Base casegrade styles: only apply color */
.casegrade-0 {
    color: #ff0000 !important;
    font-weight: bold;
}

    .casegrade-0.bar {
        background-color: #ff0000 !important;
        width: 2.5% !important;
    }

.casegrade-5 {
    color: #ff3300 !important;
    font-weight: bold;
}

    .casegrade-5.bar {
        background-color: #ff3300 !important;
        width: 5% !important;
    }

.casegrade-10 {
    color: #ff6600 !important;
    font-weight: bold;
}

    .casegrade-10.bar {
        background-color: #ff6600 !important;
        width: 10% !important;
    }

.casegrade-15 {
    color: #ff8000 !important;
    font-weight: bold;
}

    .casegrade-15.bar {
        background-color: #ff8000 !important;
        width: 15% !important;
    }

.casegrade-20 {
    color: #ff9900 !important;
    font-weight: bold;
}

    .casegrade-20.bar {
        background-color: #ff9900 !important;
        width: 20% !important;
    }

.casegrade-25 {
    color: #ffb200 !important;
    font-weight: bold;
}

    .casegrade-25.bar {
        background-color: #ffb200 !important;
        width: 25% !important;
    }

.casegrade-30 {
    color: #ffcc00 !important;
    font-weight: bold;
}

    .casegrade-30.bar {
        background-color: #ffcc00 !important;
        width: 30% !important;
    }

.casegrade-35 {
    color: #ffe000 !important;
    font-weight: bold;
}

    .casegrade-35.bar {
        background-color: #ffe000 !important;
        width: 35% !important;
    }

.casegrade-40 {
    color: #fff000 !important;
    font-weight: bold;
}

    .casegrade-40.bar {
        background-color: #fff000 !important;
        width: 40% !important;
    }

.casegrade-45 {
    color: #ffff00 !important;
    font-weight: bold;
}

    .casegrade-45.bar {
        background-color: #ffff00 !important;
        width: 45% !important;
    }

.casegrade-50 {
    color: #e5ff00 !important;
    font-weight: bold;
}

    .casegrade-50.bar {
        background-color: #e5ff00 !important;
        width: 50% !important;
    }

.casegrade-55 {
    color: #ccff00 !important;
    font-weight: bold;
}

    .casegrade-55.bar {
        background-color: #ccff00 !important;
        width: 55% !important;
    }

.casegrade-60 {
    color: #b2ff00 !important;
    font-weight: bold;
}

    .casegrade-60.bar {
        background-color: #b2ff00 !important;
        width: 60% !important;
    }

.casegrade-65 {
    color: #99ff00 !important;
    font-weight: bold;
}

    .casegrade-65.bar {
        background-color: #99ff00 !important;
        width: 65% !important;
    }

.casegrade-70 {
    color: #80ff00 !important;
    font-weight: bold;
}

    .casegrade-70.bar {
        background-color: #80ff00 !important;
        width: 70% !important;
    }

.casegrade-75 {
    color: #66ff00 !important;
    font-weight: bold;
}

    .casegrade-75.bar {
        background-color: #66ff00 !important;
        width: 75% !important;
    }

.casegrade-80 {
    color: #4dff00 !important;
    font-weight: bold;
}

    .casegrade-80.bar {
        background-color: #4dff00 !important;
        width: 80% !important;
    }

.casegrade-85 {
    color: #33ff00 !important;
    font-weight: bold;
}

    .casegrade-85.bar {
        background-color: #33ff00 !important;
        width: 85% !important;
    }

.casegrade-90 {
    color: #1aff00 !important;
    font-weight: bold;
}

    .casegrade-90.bar {
        background-color: #1aff00 !important;
        width: 90% !important;
    }

.casegrade-95 {
    color: #00ff00 !important;
    font-weight: bold;
}

    .casegrade-95.bar {
        background-color: #00ff00 !important;
        width: 95% !important;
    }

.casegrade-100 {
    color: #00ff33 !important;
    font-weight: bold;
}

    .casegrade-100.bar {
        background-color: #00ff33 !important;
        width: 100% !important;
    }

[class^="casegrade-"],
[class*=" casegrade-"] {
    color: #000;
    text-align: center;
    vertical-align: middle;
    min-height: 7px; /* Minimum height to make sure it's visible */
    min-width: 2.5%; /* Minimum width to maintain visibility */
}

/* Container for the progress bar and dashed lines */
.progress-container {
    display: flex;
    align-items: center;
    /*width: 100%;*/
    height: 20px;
    position: relative;
}

/* The div showing the 5% progress */
/*.progressy {
    width: 100%;
    height: 8px;
    background-color: #4caf50;*/ /* Green color for the progress */
/*}*/

/* The div with the dashed lines */
.dashed-lines {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    /*border-left: 1px dashed #c5c5c5;*/
    /*border-right: 1px dashed #cccccc;*/
}

/* Dashed lines inside the container */
.dashed-line {
    height: 100%;
    width: 1px;
    border-left: 1px dashed #a7a7a7;
}

.chat-container {
    height: calc(100vh - 228px); /* Adjust for header if needed */
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f8f9fa;
}

.chat-message {
    margin-bottom: 1rem;
}

.chat-form {
    padding: 1rem;
    /*background-color: white;*/
    /*border-top: 1px solid #dee2e6;*/
}

.chat-bubble-user {
    background-color: #d1e7dd;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    max-width: 90%;
    align-self: flex-end;
}

.chat-bubble-bot {
    background-color: #e2e3e5;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    max-width: 90%;
    align-self: flex-start;
}

:host audio {
    padding-top: 10px;
}

pre, code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Inline search-highlight mark (used by DataTable and transcript search) */
mark.search-highlight {
    background-color: #ffe066;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

/*Highlighting for DataTables search results*/
table.dataTable span.highlight {
    background-color: #FFFF88;
    border-radius: 0.28571429rem;
}

table.dataTable span.column_highlight {
    background-color: #ffcc99;
    border-radius: 0.28571429rem;
}

/* Compact Docs Accordion Styles */
.docsAccordion {
    font-size: 0.8rem;
}

    .docsAccordion .accordion-header {
        height: 35px;
    }

    .docsAccordion .accordion-button {
        font-size: 0.8rem;
        font-weight: bold;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        height: 35px;
        line-height: 1.2;
    }

    .docsAccordion .refresh-doc-btn {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        height: 28px;
        line-height: 1;
    }

    .docsAccordion .list-group-item {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        height: 35px;
        line-height: 1.2;
    }

        .docsAccordion .list-group-item .btn-danger {
            margin-left: 0.25rem;
            margin-right: 0.25rem;
            padding-top: 0;
            padding-bottom: 0;
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            height: 28px;
            line-height: 1;
        }

    .docsAccordion .accordion-body .p-2 {
        height: 35px;
        line-height: 1.2;
        display: flex;
        align-items: center;
    }

    /* Equal Height Case Cards with Flexbox - WhosWho page only */
    #rightWindow .scrollable-cards-container .row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    #rightWindow .scrollable-cards-container .col-sm-6 {
        display: flex;
        /*margin-bottom: 1rem;*/
    }

    #rightWindow .scrollable-cards-container .card {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #rightWindow .scrollable-cards-container .card-body {
        display: flex;
        flex-direction: column;
    }

    #rightWindow .scrollable-cards-container .card-body .badge {
        align-self: flex-start;
    }

    /* Push contact info (h6 elements with mt-3 class) to bottom */
    #rightWindow .scrollable-cards-container .card-body h6.mt-3 {
        margin-top: auto !important;
    }
}
