.chat-ui-export-button {
    position: absolute;
    align-self: anchor-center;
    right: 20px;
    top: 0;
    border: 1px solid #999;
    border-radius: 30px;
    padding: 5px 20px;
    cursor: pointer;
    background-color: #444c57;
    color: #fff;
    font-weight: 500;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

.chat-ui-filter-card {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

.chat-ui-filter-card-header {
    justify-self: anchor-center;
    font-weight: 600;
}

.holographic-card {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.5s ease;
}

.holographic-card h2 {
    color: #0ff;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.holographic-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        0deg,
        transparent,
        transparent 30%,
        rgba(0, 255, 255, 0.3)
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.holographic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.holographic-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

.conversation-user-extend-info {
    color: #9b9c9d;
    white-space: pre-wrap;
}

.message-user-extend-info {
    color: #9b9c9d;
    position: relative;
}

.message-status-icon {
    width: 18px;
    position: absolute;
    top: 12px;
    right: -30px;
    filter: drop-shadow(0 0 1px #fff) 
            drop-shadow(0 0 1px #fff) 
            drop-shadow(0 0 1px #fff);
}

.chat-ui-filter-panel {
    border-radius: 20px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    /* min-width: 300px; */
    /* height: 100%; */
    position: relative;
}

.chat-ui-filter-header {
    color: #4a4a4a;
    font-weight: 600;
    font-size: 17.5px;
    margin-bottom: 16px;
}

.chat-ui-filter-section {
    margin-bottom: 20px;
}

.chat-ui-filter-section-title {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

/* Sentiment options */
.chat-ui-sentiment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-ui-status-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-ui-sentiment-option,
.chat-ui-status-option {
    display: flex;
    align-items: center;
}

.chat-ui-sentiment-option input[type="radio"],
.chat-ui-status-option input[type="radio"] {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 18px;
    min-width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.chat-ui-sentiment-option input[type="radio"]:checked::after,
.chat-ui-status-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2196f3;
}

.chat-ui-status-option label,
.chat-ui-sentiment-option label {
    font-size: 16px;
    color: #333;
    margin: 0;
    align-items: anchor-center;
    display: flex;
    cursor: pointer;
    /* display: flex;
    flex: 1;
    justify-content: space-between; */
}

.chat-ui-status-option label {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.chat-ui-indicator {
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    /* border-radius: 2px; */
    padding-bottom: 20px;
}

.chat-ui-positive {
    background-color: #4caf50;
    /* Green */
}

.chat-ui-negative {
    background-color: #f05545;
    /* Red */
}

.chat-ui-neutral {
    background-color: #ffb74d;
    /* Orange/Yellow */
}

.chat-ui-mixed {
    background-color: #7986cb;
    /* Purple/Blue */
}

/* Status icons */
.chat-ui-icon {
    margin-left: 5px;
    font-size: 16px;
}

/* Action buttons */
.chat-ui-filter-actions {
    /* position: absolute; */
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    /* Match card background */
    padding-top: 10px;
}

.chat-ui-apply-button {
    background-color: #2196f3;
    border-color: #2196f3;
    border-radius: 30px;
}

.chat-ui-reset-button {
    background-color: #0a4e7c;
    border-color: #0a4e7c;
    border-radius: 30px;
}

.chat-ui-apply-button:hover {
    background-color: #0b86e0;
    border-color: #0b86e0;
}

.chat-ui-reset-button:hover {
    background-color: #083a5d;
    border-color: #083a5d;
}

.chat-ui-filter-content {
    flex: 1;
    overflow-y: auto;
}

/* .chat-sidebar {
  background-color: #4B5563;
}

.sidebar-nav .nav-link {
  color: #FFFFFF;
  margin-left: -1rem;
}

.sidebar-nav .nav-link:hover {
  background-color: #374151;
}

.sidebar-nav .nav-group-items .nav-link {
  padding-left: 5.5rem;
  color: #BEBEBE;
}

.sidebar-nav .nav-group-items .nav-link > span {
  margin-left: -0.5rem;
}

.sidebar-nav .nav-group.show .nav-group-toggle {
  color: #FFFFFF;
}

.simplebar-content-wrapper {
  background-color: #3e4554;
}

.sidebar-nav .nav-group.show {
  background-color: #3e4554;
}

.sidebar-brand {
  justify-content: start;
  padding-left: 1.5rem;
}
 */
.sidebar.sidebar-pills .nav-link.active,
.sidebar.sidebar-pills .nav-link:hover {
    color: #7c69ef !important;
    /* font-weight: 500; */
    /* background-color: rgba(0, 0, 0, 0.02); */
    background-color: #4b5563;
}

.sidebar-lg-show > .app-header.bg-light .navbar-brand {
    color: #fff;
    background-color: #4b5563;
}

.app-header.bg-light .navbar-brand {
    color: #000;
    background-color: transparent;
    opacity: 1;
    width: 225px;
    transition: all 0.3s ease-in-out;
}

.bg-v2-custom {
    background-color: #4b5563;
}

.sidebar.sidebar-pills .nav-link {
    color: #fff;
    background-color: #4b5563;
}

.app-header {
    background-color: #fff !important;
}

.sidebar.sidebar-pills .nav-dropdown .nav-link:not(.nav-dropdown-toggle),
.sidebar.sidebar-pills .nav-dropdown .nav-title {
    color: #bebebe !important;
    background-color: #4b5563;
}

.sidebar.sidebar-pills .nav-dropdown .nav-link:not(.nav-dropdown-toggle):hover,
.sidebar.sidebar-pills .nav-dropdown .nav-title:hover {
    color: #7c69ef !important;
}

.sidebar-pills .nav-link.active,
.sidebar-pills .nav-link:hover {
    color: #7c69ef !important;
    background-color: rgba(0, 0, 0, 0.02);
}

@media (max-width: 991.98px) {
    .app-header .navbar-brand {
        display: none;
    }
}

.sidebar-pills a:not(:hover),
.sidebar-pills a:not(:active),
.sidebar-pills a:not(:focus),
.sidebar-pills a:not(.open),
.sidebar-pills a:not(.active),
.sidebar-pills li {
    color: #fff !important;
}

.navbar-filters
    .select2-container--bootstrap.select2-container--below
    .select2-selection,
.navbar-filters .select2.select2-container {
  width: 100% !important;
}


.select2-container .select2-selection--single {
  height: 32px !important;
}
.tab {
    position: relative;
    background-color: #fff;
    border-radius: 20px;
}

.tab .section-input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab__content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.15s ease-out;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: 1px solid #e1e1e1;
    border-top: none;
    /* background-color: #ededed; */
}

/* Using a large value instead of 'unset' for animation */
.tab input:checked ~ .tab__content {
    max-height: 2000px;
    transition: max-height 0.15s ease-in;
}

/* Visual styles */
.accordion {
    color: #1B2A4E;
    overflow: hidden;
}

.tab__label,
.tab__close {
    display: flex;
    color: #000;
    cursor: pointer;
}

.tab__label {
    position: relative;
    display: flex;
    /* border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    border-radius: 20px;
    border: 1px solid #e1e1e1;
    border-bottom: none;
    height: 45px;
    font-weight: 610;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    color: #fff;
    background-color: #444C57;
    text-align: center;
}

.tab__label::after {
    position: absolute;
    right: 21px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    height: 20px;
    width: 15px;
    content: "";
    background-image: var(--dropdown-open);
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    transform-origin: center center; /* Explicitly set both x and y origins */
}

.tab input:checked + .tab__label::after {
    transform: translateY(-50%) rotate(180deg); /* Include translateY to maintain vertical position */
    transform-origin: center center; /* Explicitly set both x and y origins */
}

.tab__content p {
    margin: 0;
    padding: 1rem;
}

.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
    transform-origin: center;
}

@keyframes bounce {
    25% {
        transform: rotate(90deg) translate(.25rem);
    }

    75% {
        transform: rotate(90deg) translate(-.25rem);
    }
}

:root {
    --dropdown-open: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.6%29'%3e%3cpath fill-rule='evenodd' stroke='rgba%28255, 255, 255, 0.6%29' stroke-width='1.5' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

body {
    margin: 0;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1b2a4e;
    text-align: left;
    background-color: #f9fbfd;
    
}

#bp-filters-navbar:not(.show) {
    visibility: hidden;
    height: 0;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    /* transition: height 0.35s ease; */
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .collapsing {
        transition: none;
    }
}

#filter-button {
    display: block !important;
}
/* 
.select2-multiple-filter .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice{
    min-height: 30px;
} */

.tooltip-custom {
    position: relative;
    display: inline-block;
}

.tooltip-image {
    max-width: 400px;
    max-height: 400px;
    -o-object-fit: contain;
       object-fit: contain;
}

.tooltip-custom .tooltiptext-custom {
    visibility: hidden;
    background-color: black;
    min-width: 200px;
    
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 999;
    bottom: 100%;
    left: 50%;
    /* transform: translateX(-50%); */
    margin-bottom: 10px;
}

.tooltip-custom:hover .tooltiptext-custom {
    visibility: visible;
    padding: 5px 10px;
    text-wrap: initial;
    line-height: 1.2;
}

div[data-testid="outgoing-message"] svg {
    vertical-align: baseline;
    padding-right: 3px;
}

.form-group > label {
    font-weight: bold;
}

@media (min-width: 768px) {
    .col-md-9-custom {
        flex: 0 0 calc(100% - 25vw);
        max-width: calc(100% - 25vw);
    }

    .col-md-3-custom {
        flex: 0 0 25vw;
        max-width: 25vw;
        box-sizing: border-box;
    }
}

.horizontal-field {
    /* align-items: center; */
    padding: 20px 20px 20px 20px;
    border: 1px solid #e3e7f0;
    border-radius: 2px;
    margin-bottom: 10px;
    margin-right: 0px;
    margin-left: 0px;
    background-color: #fff;
}

.horizontal-field-value {
    align-self: anchor-center;
}

.form-group.required
    > .horizontal-field
    > .form-group:first-of-type
    > label::after {
    content: " *";
    color: red;
}

.horizontal-field > .form-group > label {
    margin-bottom: 0px !important;
}

.horizontal-field > .form-group {
    margin-bottom: 0px !important;
}


table.dataTable > tbody > tr:has(.whatsapp-flow) {
    background-color: #f3fbfb !important;
}

table.dataTable > tbody > tr:has(.to-be-determined) {
    background-color: #ffcaca !important;
    color: #1b2a4e !important;
    font-weight: bold !important;
}

.general-question {
    white-space: nowrap;
    max-width: 30vw;
    white-space: pre-wrap;
    line-height: 1.5;
    text-overflow: ellipsis;
    display: inline-block;
}

.behavior-card {
    border: 1px solid #e3e7f0;
    border-radius: 5px;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.user-link-icon {
    padding-left: 8px;
    padding-bottom: 4px;
}
