@charset "UTF-8";

body {
    font-size: var(--lwc-fontSize3, 0.8125rem) !important;
}

.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 10px;
}

.m-2 {
    margin: 20px;
}

.m-3 {
    margin: 30px;
}

.m-4 {
    margin: 40px;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-a {
    margin-bottom: auto !important;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px !important;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mr-0 {
    margin-right: 0px !important;
}

.mr-1 {
    margin-right: 10px;
}

.mr-2 {
    margin-right: 20px !important;
}

.mr-4 {
    margin-right: 40px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.ml-1 {
    margin-left: 10px !important;
}

.ml-2 {
    margin-left: 20px !important;
}

.ml-3 {
    margin-left: 30px !important;
}

.ml-4 {
    margin-left: 40px !important;
}

.ml-5 {
    margin-left: 50px !important;
}

.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 10px;
}

.p-2 {
    padding: 20px;
}

.p-3 {
    padding: 30px;
}

.p-4 {
    padding: 40px;
}

.p-5 {
    padding: 50px;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-1 {
    padding-right: 10px;
}

.pr-2 {
    padding-right: 20px;
}

.pr-3 {
    padding-right: 30px;
}

.pr-4 {
    padding-right: 40px;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-1 {
    padding-left: 10px;
}

.pl-2 {
    padding-left: 20px;
}

.pl-3 {
    padding-left: 30px;
}

.pl-4 {
    padding-left: 40px;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 10px;
}

.pt-2 {
    padding-top: 20px;
}

.pt-3 {
    padding-top: 30px;
}

.pt-4 {
    padding-top: 40px !important;
}

.pt-5 {
    padding-top: 50px;
}

.pb-1 {
    padding-bottom: 10px;
}

.pb-2 {
    padding-bottom: 20px;
}

.pb-3 {
    padding-bottom: 30px;
}

.pb-0 {
    padding-bottom: 0px !important;
}



.min-w100 {
    min-width: 100% !important;
}

.w-100 {
    width: 100% !important;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.w-70 {
    width: 70%;
}

.w-60 {
    width: 60%;
}

.w-50 {
    width: 50% !important;
}

.w-40 {
    width: 40%;
}

.w-30 {
    width: 30% !important;
}

.w-20 {
    width: 20%;
}

.w-10 {
    width: 10%;
}

.w-auto {
    width: auto !important;
}

.h-auto {
    height: auto !important;
}

.h-100 {
    height: 100% !important;
}

.h-90 {
    height: 90%;
}

.h-80 {
    height: 80%;
}

.h-70 {
    height: 70% !important;
}

.h-60 {
    height: 60% !important;
}

.h-50 {
    height: 50% !important;
}

.h-40 {
    height: 40% !important;
}

.h-30 {
    height: 30% !important;
}

.h-25 {
    height: 25% !important;
}

.h-20 {
    height: 20%;
}

.h-10 {
    height: 10%;
}

.vh-100 {
    height: 100vh;
}

.border-none {
    border: none;
}

.rounded-circle {
    border-radius: 50px;
}

.bkcolor-trans {
    background-color: transparent;
}

.no-shadow {
    box-shadow: none !important;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

.hide {
    display: none;
}

.bold-text {
    font-weight: bold;
}

.cursor-point {
    cursor: pointer;
}

.m-auto {
    margin: auto !important;
}

.list-none {
    list-style-type: none;
}

.list-none li {
    margin: 8px 0;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.t-0 {
    top: 0;
}

.r-0 {
    right: 0;
}

.b-0 {
    bottom: 0;
}

.l-auto {
    left: auto;
}

.z-1030 {
    z-index: 1030;
}

.f-bolder {
    font-weight: bolder;
}

.fl-r {
    float: right;
}

/* -------Estilos Nav prospección------------*/

.navbar {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 2.5px solid #003764;

}

.btn-Nav {
    background: none !important;
    border: none !important;
    padding: 5px 10px !important;
    margin: 0 5px !important;
    font-size: 16px;
    color: inherit;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-Nav:hover {
    background-color: #E5EBEF !important;
}

.btn-Nav.selected {
    background-color: #E5EBEF !important;
    border-top: 3px solid #003764 !important;
}

.btn-Nav a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
    background-color: transparent !important;
}

.btn-Nav a:hover,
.btn-Nav a:focus {
    background-color: transparent !important;
    box-shadow: none !important;
}

.btn-Nav span {
    display: inline-block;
}

.app-launcher-container {
    position: relative;
    display: inline-block;
}

.app-launcher-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: none;
    z-index: 1000;
}

.app-launcher-menu.show {
    display: block;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.menu-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.menu-close:hover {
    color: #ff4d4d;
}

.menu-apps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-item {
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease-in-out;
}

.app-item:hover {
    background: #EBE8E3;
    color: #007bff !important;
}

.app-item i {
    margin-right: 8px;
    color: #007bff;
}

/* ------------------------------------- */


.input-group-text {
    border: none;
}

.navbar .nav-link {
    font-size: 0.9rem;
    font-weight: bold;
}

/*
.navbar .nav-link:hover {
    text-decoration: underline;
}
*/
.slds-global-header__logo {
    width: 18rem;
    /* height: 24rem; */
    height: 22rem;
    max-width: 100%;
    /* max-height: 4rem; */
    max-height: 2rem;
    /*background-image: url("../../../static/images/iconos-salesforce/logo_navbar.png");*/
    background-image: url("../../../static/images/iconos-salesforce/logo_navbar_2.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}



input.form-control {
    max-width: 100%;
}

.input-group {
    margin-top: 0;
    padding-top: 0;
}

.input-group-addon {
    margin-top: 0;
    padding-top: 0;
    background-color: transparent;
}

.material-icons {
    font-size: 20px;
    margin-top: 0;
    padding-top: 0;
}


.row {
    margin-top: 0;
    padding-top: 0;
    outline: red !important;
}

.input-group {
    margin: 0 !important;
    padding: 0 !important;

}

.input-group-addon {
    padding: 0.375rem 0.75rem;
    font-size: 1.25rem;

}

.form-control {
    margin: 0;
}

.is-empty {
    margin: 0 !important;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 10px;
    width: 100%;
    background-color: white;
    border: 1px solid #000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #FFF;
}

.search-icon {
    margin-right: 10px;
    display: inline-block;
    width: 20px;
    height: 20px
}

.search-button svg {
    width: 100%;
    height: 100%;
}

.btn-container {
    display: flex;
    justify-content: right;
    gap: 3px;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.btn-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#main {
    height: 100%;
    position: relative;
    top: 0;
    width: 100%;

}

.custom-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    height: 100px;
}

.item-image {
    height: 100%;
    width: auto;
}

.item-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.item-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.btn-dash {
    border: 0.5px solid black;
    height: auto;
    background-color: #FFF;
    color: rgba(89, 149, 229, 1);
    text-align: center !important;
    margin: 0;
    padding: 10px;
    text-transform: none;
}

.btn-card {
    max-height: 50px !important;
    background-color: gray;
    margin: 0;
    padding: 10px;
    float: right;
}

.button-corner-dashboard {
    max-height: 10px !important;
    max-width: 10px !important;
}

.button-group {
    display: flex;
    gap: 0px;
    float: right;
}

.button-group-prospecto {
    display: flex;
    gap: 0px;
    float: left;
}

.btn-dash:hover {
    background-color: #ddd;
    color: rgba(89, 149, 229, 1);
}

.last-dashboard-load {
    color: var(--slds-g-color-brand-base-40, #54698d);
}

.dashboard-div {
    background-color: #FFF;
}

.imageCards {
    width: 60%;
    max-width: 100%;
}

.custom-image {
    width: 100%;
    height: auto;
}


.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-container>.card {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    box-sizing: border-box;
}

.card-container .card img {
    max-height: 150px;
    object-fit: contain;
}

#assistantText,
#eventsText,
#tasksText {
    text-align: center;
}


.btn-keyPoints {
    max-height: 50px !important;
    background-color: #fff;
    margin: 0;
    padding: 1px;
    float: right;
    color: #000;
}

.button-group-card {
    display: flex;
    gap: 0;
}

.button-group-card .btn {
    margin: 0;
}

.button-group-card {
    display: inline-flex;
}

.btn-group-keyPoints {
    border: 1px solid black;
}

.row.d-flex.align-items-stretch {
    display: flex;
    flex-wrap: wrap;
    height: 100%
}

.dashboard-card {
    background-color: rgba(10, 24, 42, 1);
}

.card-text {
    color: #fff;
}

.button-corner-dashboard {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 24, 42, 1);
}

.button-corner-dashboard i {
    font-size: 50%;
}

.custom-row-card {
    height: 250px;
    max-height: 300px;
}

.custom-col {
    height: 100%;
    display: table;
}

.centered-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.resizable-table {
    border-collapse: collapse;
    width: 100%;
}

th {
    position: relative;
    user-select: none;
}

th .resize-handle {
    width: 3px;
    cursor: col-resize;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1000;

}

th:hover .resizable-table {
    background-color: #ddd;
}

.btn-toolbar .btn-group {
    margin-left: 5px;
}

.btn-group .dropdown-menu {
    min-width: 100px;
}

.btn-dash .dropdown-menu {
    min-width: 100px;
}

.sticky-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scroll-row {
    position: relative;
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    text-wrap: pretty;
}

.scroll-row.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.scroll-row.show {
    transform: translateY(0);
    opacity: 1;
}

#infinite-table {
    height: 500px;
    z-index: 1 !important;
}

div[contenteditable="true"] {
    border: 1px solid transparent;
    /* Initial transparent border */
    padding: 10px;
    outline: none;
}

#editButton {
    width: 200px;
    margin: 0 auto;
    display: inline;
    display: flex;
    justify-content: flex-end;
}

td:hover #editButton {
    display: block;
}

div[contenteditable="true"]:focus {
    border: 1px solid #000;
    /* Change border color when focused */
}

div[contenteditable="true"]:hover {
    cursor: col-resize;
    display: inline-block;
}

.buttons {
    width: 200px;
    margin: 0 auto;
    display: inline;
}

.action_btn {
    width: 200px;
    margin: 0 auto;
    display: inline;
}


.btn-cancel {
    background-color: white;
    color: blue;
    border: 1px solid blue;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
}

.btn-cancel:hover {
    background-color: #ddd;
    color: white;
}

#nombre-container {
    transition: all 0.3s ease-in-out;
}

.field-container label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#cancelar-btn,
#guardar-btn {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 4px;
    display: none;
}

#cancelar-btn {
    background-color: #ffffff;
    color: rgb(56, 136, 211);
    left: 500px;
}

#guardar-btn {
    background-color: #5076ac;
    color: white;
    left: calc(500px + 120px);
}

.kanban-column {
    min-height: 300px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    position: relative;
}

.blue-stage {
    background-color: #46719c !important;
    color: white !important;
}

.kanban-card {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: move;
    z-index: 1;
    width: 100%;
    min-width: 100%;
}

.kanban-card.dragging {
    opacity: 0.5;
    width: auto;
}

.panel>.panel-heading {
    padding: 1em;

}

.custom-select {
    display: none;
    width: 100%;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

.custom-content-div {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.custom-input-1 {
    width: 100%;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.custom-wrap-1 {
    word-wrap: break-word;
}

.button-group {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.button-option {
    flex: 1;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.button-option:not(:last-child) {
    border-right: 1px solid #ccc;
}

.button-option.active {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.button-option:hover {
    background-color: #e7e7e7;
}

.button-group[disabled] .button-option {
    background-color: #e9ecef;
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
}

/* Estilos del botón activo */
.btn.active {
    background-color: #355d92 !important;
    color: white !important;
    font-weight: bold;
    border-color: #355d92 !important;
}

/* Botones generales
.btn-status {
    padding: 20px 40px;
    font-weight: bold;
    text-align: center;
    border-radius: 0px;
    cursor: pointer;
    gap: 8px;
    color: rgb(26, 18, 18);
    min-width: 360px; 
    height: 32px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.btn-status.start {
    background-color: #f1f1f1;
    color: black;
    border-top-left-radius: 20px; 
    border-bottom-left-radius: 20px; 
    border-top-right-radius: 0;  
    border-bottom-right-radius: 0; 
    padding-left: 40px; 
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%); 
}

.btn-status.middle {
    position: relative;
    background-color: #f1f1f1;
    color: black;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
}

.btn-status.end {
    background-color: #f1f1f1;
    color: black;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-right: 40px;
    clip-path: polygon(0% 0%, 90% 0%, 95% 10%, 98% 30%, 100% 50%, 98% 70%,90% 100%, 0% 100%, 10% 50%);
}


.btn-status.active .status-text {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.btn-status.active .status-icon {
    display: inline-block; 
    opacity: 1;
    transform: translateY(0);
}

/* Tooltip 
.btn-status[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    pointer-events: none;
}

/* Mostrar tooltip 
.btn-status[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Triángulo del tooltip 
.btn-status[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
} */

/*Mantener posicion de header*/

.sticky-section {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #f8f4f4;
    z-index: 999;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /*border-bottom: 1px solid #0f87ff;  */
}

.content-container {
    margin-top: 80px;
}

.btn-status[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #007bff;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.switch-label {
    margin-left: 10px;
    font-family: Arial, sans-serif;
}

.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.filter-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 4px;
    background-color: #f0f0f0;
    cursor: pointer;
}

.filter-button.calendar {
    background-image: url('calendar-icon.png');
}

.filter-button.tasks {
    background-image: url('tasks-icon.png');
}

.filter-button.call {
    background-image: url('call-icon.png');
}

.activities {
    margin-bottom: 16px;
}

.activities h4 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
}

.activity-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 50%;
}

.icon.green {
    background-color: #4caf50;
}

.icon.blue {
    background-color: #2196f3;
}

.icon.gray {
    background-color: #797878;
}

.icon.grayB {
    background-color: #07314d;
}

.icon.purple {
    background-color: #9c27b0;
}

.details {
    flex-grow: 1;
}

.details p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.date {
    font-size: 12px;
    color: #666;
}

.view-more {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.view-more:hover {
    color: #0056b3;
}

body {
    font-family: 'Comic Sans';
    /*margin: 20px;*/
    font-size: 0.8125rem !important;
}

.tab-container {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: #f8f8f8;
}

.tab.active {
    background-color: white;
    font-weight: bold;
}

.section {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.section-title {
    font-weight: bold;
    margin-bottom: 10px;
}


.modal-footer .save-btn {
    background-color: #007bff;
    color: #ffffff;
}

.modal-footer .close-btn {
    background-color: #ffffff;
    color: #007bff;
    border: 1px solid #000000;
}

.dash-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.filters {
    margin-bottom: 20px;
}

#search {
    padding: 8px;
    width: 300px;
    margin-right: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.salesforce-blue {
    color: #355d92 !important;
}

.salesforce-backglobal {
    background-color: #EBE8E3 !important;
}

.floating-x-button {
    position: absolute;
    top: -50px;
    right: -1px;
    z-index: 1051;
    background-color: white;
    border: 1px solid #d8dde6;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.floating-x-button:hover {
    background-color: #f0f0f0;
}


.floating-x-button svg {
    width: 30px;
    height: 30px;
    fill: #000;
}

/* main styles for roulettes  */
.btn-square-md {
    width: 50px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    height: 32px !important;
    min-width: 50px;
    min-height: 32px;
    text-align: center;
}

.btn-square-md:hover {
    background-color: transparent;
    text-decoration: none;
}

.btn-group .btn {
    background-color: white;
    border-color: grey;
    color: #355d92;
}

button+button {
    margin-left: -1px;
}

.btn-group .btn:not(:last-child) {
    border-right: 1px solid grey;
    /* Adds a line between buttons */
}

.btn-group .btn:last-child {
    border-left: 1px solid grey;
    /* Removes the line after the last button */
}

.listBox {
    border-radius: 5px;
    width: 200px;
    height: 125px;
}

.listBox>option {

    font-size: 0.9rem;
}

.common-header-1 {
    background-color: #f3f3f3;
}

.input-salesfr-bg {
    background-color: #f3f3f3;
}


.icon-w-background>img {
    height: 35px;
    width: 35px;
    background-color: #d8be5f;
    border-radius: 10%;
}

.icon-w-background-ruletas>img {
    height: 35px !important;
    width: 35px !important;
    background-color: #d8be5f !important;
    border-radius: 10%;
}

.icon-w-background-ruleta>img {
    height: 25px !important;
    width: 25px !important;
    background-color: #d8be5f !important;
    border-radius: 10%;
}

.icon-w-background-user>img {
    height: 35px;
    width: 35px;
    background-color: #556888;
    border-radius: 10%;
}

.icon-w-background-lead>img {
    height: 35px;
    width: 35px;
    background-color: #06a59a;
    border-radius: 10%;
}

.icon-w-background-opportunity>img {
    height: 35px;
    width: 35px;
    background-color: #FF5D2D;
    border-radius: 10%;
}

.icon-w-background-files>img {
    height: 35px;
    width: 35px;
    background-color: #939393;
    border-radius: 10%;
}


.icon-w-background-notes>img {
    height: 35px;
    width: 35px;
    background-color: #b60554;
    border-radius: 10%;
}

.icon-w-background-people>img {
    height: 35px;
    width: 35px;
    background-color: #1B96FF;
    border-radius: 10%;
}

.icon-w-background-dashboard>img {
    height: 35px;
    width: 35px;
    background-color: #2F2CB7;
    border-radius: 10%;
}

.icon-w-background-report>img {
    height: 35px;
    width: 35px;
    background-color: #08C6B9;
    border-radius: 10%;
}

.icon-w-background-contacts>img {
    height: 35px;
    width: 35px;
    background-color: #5867e8;
    border-radius: 10%;
}

.icon-w-background-contact>img {
    height: 35px;
    width: 35px;
    background-color: #5867e8;
    border-radius: 10%;
}

.icon-w-background-opportunity>svg {
    height: 35px;
    width: 35px;
    background-color: #FF5D2D;
    border-radius: 10%;
}

.icon-w-background-files>svg {
    height: 35px;
    width: 35px;
    background-color: #939393;
    border-radius: 10%;
}

.icon-w-background-notes>svg {
    height: 35px;
    width: 35px;
    background-color: #b60554;
    border-radius: 10%;
}

.icon-w-background-task>img {
    height: 35px;
    width: 35px;
    background-color: #3ba755;
    border-radius: 10%;
}

.button-fix-1 {
    margin-left: -0.3em;
}

.button-size-25 {
    height: 25px;
    width: 25px;
}

.searchbar-roulette-1 {
    width: 230px;
    max-width: 100%;
    height: 32px;
}

.btn-tool-roulette {
    margin-right: 0.5em;
    background-color: white;
}

.thumb-btn {
    border: none;
    color: white;
    padding: 0;
    font-size: auto;
    cursor: pointer;
    width: 25px;
    height: 25px;
}

.btn-black {
    background-color: #ffffff !important;
    border-color: black !important;
    color: black !important;
}

.btn-black:hover {
    background-color: #fff !important;
    border-color: #000 !important;
}

/*botones footer modales*/
.btn-cancel {
    background-color: #FFFFFF !important;
    color: #355d92 !important;
    transition: background-color 0.3 ease !important;
}

.btn-cancel:hover {
    background-color: #f5f5f5 !important;
}

.btn-guardarContenido {
    background-color: #355d92 !important;
    color: #ffffff !important;
    transition: background-color 0.3 ease !important;
}

.btn-guardarContenido:hover {
    background-color: #38547a !important;
}

#motivos:disabled {
    background-color: #ffffff !important;
    color: #6c757d !important;
    border: 1px solid #ced4da !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.disabled-input:disabled {
    background-color: #ffffff !important;
    /* Fondo claro */
    color: #6c757d !important;
    /* Texto oscuro para mejor contraste */
    border: 1px solid #ced4da !important;
    /* Borde sutil */
    cursor: not-allowed;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    /* Sombra interna ligera */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.disabled-input:disabled::-ms-expand {
    display: none;
}

.disabled-input:disabled {
    background-color: #ffffff !important;
    /* Fondo claro */
    color: #6c757d !important;
    /* Texto oscuro para mejor contraste */
    border: 1px solid #ced4da !important;
    /* Borde sutil */
    cursor: not-allowed;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    /* Sombra interna ligera */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.disabled-input:disabled::-ms-expand {
    display: none;
}

.custom-table-1 {
    font-size: 14px;
}

/*Hover details reportes view*/
.bd-highlight:hover {
    background: var(--slds-g-color-brand-base-90, var(--lwc-colorBackgroundSelection, rgb(216, 230, 254)));
    text-shadow: none;
    color: var(--slds-g-color-neutral-base-10, var(--lwc-colorTextDefault, rgb(24, 24, 24)));
    cursor: pointer;
}

.salesforce-gray {
    background-color: #e8e6e0;
}


.custom-chart-title {
    font-size: 12px !important;
    text-anchor: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.apexcharts-menu-icon {
    display: none !important;
}

.dashboard-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f8f9fa;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2F2CB7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-icon img {
    width: 24px;
    height: 24px;
}

.dashboard-info {
    flex-grow: 1;
    padding-left: 10px;
}

.dashboard-title {
    font-size: 16px;
    font-weight: bold;
}

.dashboard-warning {
    color: #d9534f;
    font-size: 14px;
}

.dashboard-buttons button {
    border: 1px solid #ccc;
    background: white;
    padding: 5px 10px;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
}

.dashboard-buttons button:hover {
    background-color: #f0f0f0;
}

.dropdown-toggle {
    border: 1px solid #ccc;
    background: white;
    padding: 5px 10px;
}

.icon-w-background-25>img {
    height: 30px !important;
    width: 30px !important;
    background-color: #2f2cb7 !important;
    border-radius: 10%;
}

.chart-card {
    /* background-color: #091a3e; */
    /* color: rgb(0, 0, 0); */
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.chart-card-create {
    color: rgb(0, 0, 0);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0px;
    box-sizing: border-box;
    border-radius: 25px;
}

.chart-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    text-transform: bold;
}

.view-report {
    font-size: 12px;
    color: #355D92;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-report:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.slds-button_icon {
    vertical-align: middle;
    justify-content: center;
    display: inline-flex;
}

.slds-button_icon-x-small {
    width: var(--lwc-squareIconXSmallBoundary, 1.25rem);
    height: var(--lwc-squareIconXSmallBoundary, 1.25rem);
    line-height: var(--lwc-lineHeightReset, 1);

}

.grid-stack-item.ui-resizable-autohide {
    opacity: 1 !important;
    z-index: 9999 !important;
}

.circle-background-user>img {
    height: 35px;
    width: 35px;
    background-color: #556888;
    border-radius: 50%;
}

.circle-background-user-25>img {
    height: 25px;
    width: 25px;
    background-color: #556888;
    border-radius: 50%;
}

.common-blue {
    background-color: #355d92;
    color: white;
}

.btn-text-salesforce {
    color: #355d92 !important;
}


.small-text {
    font-size: 0.55rem;
}

.mobile-nav-text-1 {
    display: block;
    margin-top: 8px;
}

.dashboard-canvas {
    width: 100%;
    height: 100vh;
    background-color: #dee8f2;
    overflow-x: hidden;
}

.dashboard-canvas-view {
    width: 100%;
    height: 100%;
    background-color: #EBE8E3 !important;
    overflow-x: hidden;
}

.report-list .list-group-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.report-list .list-group-item.active {
    background-color: #e9ecef;
    border-left: 4px solid #355d92;
    font-weight: bold;
}

.report-item {
    padding: 8px 10px;
}

.report-title {
    margin-bottom: 2px;
}

.report-details {
    margin-top: 0 !important;
}

.row {
    margin: 0 !important;
    padding: 0 !important;
}

.report-link {
    color: #007bff;
    text-decoration: none;
}

.report-link:hover {
    text-decoration: underline;
}

.row-info:hover {
    background-color: var(--slds-g-color-neutral-base-95, #f4f6f9);
    outline-color: var(--slds-g-color-neutral-base-80, #d8dde6);
}

.btn-cancel {
    background-color: #FFFFFF !important;
    color: #355d92 !important;
    transition: background-color 0.3 ease !important;
}

.btn-cancel:hover {
    background-color: #f5f5f5 !important;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-group .btn {
    white-space: nowrap !important;
}

.grid-stack {

    background: transparent;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to left, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: calc(100% / 12) 80px;
    padding: 0 !important;
    z-index: 1;
}

.grid-stack-item {
    /* line added to prevent items reducing size when mobile */
    min-height: 180px !important;
    background: rgb(255, 255, 255);
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    z-index: 1;
    border-radius: 5px;
}

.grid-stack-item-content {
    /* width: 'auto';
    height: 'auto'; */
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}

.custom-apex-tooltip {
    background-color: #0c1c3b;
    color: #FFF;
}

.custom-tooltip {
    background: white;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    min-width: 160px;
    z-index: 9999;
}

.tooltip-header {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
    z-index: 9999;
}

.tooltip-value {
    font-size: 24px;
    font-weight: bold;
    margin: 8px 0;
    z-index: 9999;
}

.tooltip-footer {
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 8px;
    z-index: 9999;
}

.tooltip-footer span {
    display: block;
    line-height: 1.4;
    z-index: 9999;
}

.vertical-center {
    text-align: center;
}

.card-searchbar {
    background-color: #F3F3F3, !important;
}


.counter {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bolder;
}

.info-icon {
    font-size: 14px;
    color: #6c757d
}

.icon-w-background-25-red>img {
    height: 25px;
    width: 25px;
    background-color: #b60554;
    border-radius: 10%;
}

.custom-size-1 {
    width: 30px;
    height: 30px;
}

@media (max-width: 955px) {
    .custom-search-btn {
        width: 100% !important;
        margin-top: 1em !important;
        margin-bottom: 1em !important;
    }
}

.custom-size-1 {
    min-width: 280px !important;
}

.resize-none {
    resize: 'none' !important;
}

.text-widget-content {
    height: 10%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.text-widget-content .scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

#quill-editor-container {
    width: 100% !important;
}

#quill-editor {
    min-height: 200px;
}

.ql-container {
    width: 100% !important;
    border: none !important;
}

.ql-editor {
    width: 100% !important;
    padding: 15px !important;
}

.btn-arrow.first {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 0px 50%);
    width: 100%;
    background-color: #f1f1f1;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.btn-arrow.middle {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
    width: 100%;
    background-color: #f1f1f1;
}

.btn-arrow.end {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 10px 50%);
    width: 100%;
    background-color: #f1f1f1;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.progress-container {
    margin-top: 30px;
}

.anchorTagLink {
    text-decoration: none;
    color: #355D92;
}

.new-calendar-icon-color {
    background-color: #cb65ff;
}

.new-people-icon-color {
    background-color: #1b96ff;
}

.new-task-icon-color {
    background-color: #3ba755;
}

.new-log-call-icon-color {
    background-color: #06a59a;
}

.new-contact-icon-color {
    background-color: #9602c7;
}

.new-email-icon-color {
    background-color: #939393
}

.new-opportunity-icon-color {
    background-color: #FF5D2D;
}

.new-lead-icon-color {
    background-color: #08C6B9;
}

.new-note-icon-color {
    background-color: #b60554;
}

.new-dashboard-icon-color {
    background-color: #2f2cb7 !important;
}

.new-ruleta-icon-color {
    background-color: #d8be5f;
}

/* Estilos tabla dentro de dash */
.table-container {
    position: relative;
    overflow-y: auto;
}

.table-container tr:hover td {
    background-color: #eef4ff;
    color: #032d60;
}

.fixed-header-table {
    width: 100%;
    border-collapse: collapse;
}

.fixed-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.warning-triangle {
    font-size: 1rem;
    cursor: help;
}

.warning-triangle:hover {
    opacity: 0.8;
}

/* Estilos tabla dentro de dash END */
.icon-taskbar {
    width: 40px;
    height: 40px;
}

.dropdown-menu {
    z-index: 9999 !important;
}

.column-selector-container {
    display: flex;
    gap: 20px;
    margin: 20px;
}

.column-list-container {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.column-list {
    list-style: none;
    padding: 0;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.column-list li {
    padding: 8px 12px;
    margin: 5px 0;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.column-list li.selected {
    background: #4285f4;
    color: white;
}

.transfer-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.btn-transfer {
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.reorder-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-reorder {
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.button-trasparente {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}


.dropdown-section {
    padding: 0.25rem 0;
}

.dropdown-section-header {
    padding: 0.25rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
}

.dropdown-divider {
    margin: 0.25rem 0;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

.custom-popover {
    min-width: 400px;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 0.3rem;
}

.popover-header {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

.dropdown-toggle::after,
.fa-gear {
    color: #71757d;
    /* Default arrow color */
    transition: color 0.3s ease-in-out;
}

.dropdown-toggle:hover::after,
.dropdown-toggle:hover .fa-gear {
    /* Change arrow color on hover */
    color: #355d92;
}

.dropdown-toggle-noarrow::after {
    display: none !important;
}

a {
    text-decoration: none !important;
    color: #355D92 !important;
}

a:hover {
    text-decoration: underline;
    color: #355D92;
    cursor: pointer;
}

.salesforce-card {
    background-color: #f3f3f3 !important;
}

.pin-view::after,
.fa-thumbtack,
.fa-caret-down {
    color: #71757d;
    /* Default arrow color */
    transition: color 0.3s ease-in-out;
}

.pin-view:hover::after,
.pin-view:hover .fa-thumbtack,
.pin-view:hover .fa-caret-down {
    color: #355d92;
}

.pin-view::after,
.fa-thumbtack,
.fa-caret-down {
    color: #71757d;
    /* Default arrow color */
    transition: color 0.3s ease-in-out;
}

.pin-view:hover::after,
.pin-view:hover .fa-thumbtack,
.pin-view:hover .fa-caret-down {
    color: #355d92;
}

.salesforce-toast a.duplicate-link {
    color: white !important;
    text-decoration: underline !important;
    text-decoration-color: white !important;
    text-decoration-thickness: 1px !important;
}

.salesforce-toast a.duplicate-link:hover {
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 255, 255, 0.8) !important;
}

.global-table-header {
    color: #444444 !important;
}

.panelIzq {
    width: 100vh;
    height: 100vh;
    background-color: #f3f3f3;
}

.optionView {
    padding: 4px;
}

.optionView:hover {
    cursor: pointer;
    box-shadow: 0 0 0 2px #355d92;
}

.filterPanelX {
    background-color: transparent;
}

.icon-w-background-25-lead>img {
    height: 30px;
    width: 30px;
    background-color: #08C6B9 !important;
    border-radius: 10%;
}

.tooltip .tooltip-inner {
    background-color: #032d60;
    color: white;
    width: fit-content;
}

.salesforce-gray-button {
    background-color: #747474;
}

.salesforce-p {
    color: #444444;
}

.filter-group {
    border-style: solid;
    border-color: black;
}

.save-btn-filters {
    background-color: #355d92 !important;
    color: white !important;
    font-weight: bold;
    border-color: #355d92 !important;
}

.listOptionsView div {
    color: #355d92;
    font-size: 0.9rem;
}

.listOptionsView div:hover {
    color: #355d92;
    background-color: #f3f3f3;
}

.icon-w-background-ruletas-25>img {
    height: 30px !important;
    width: 30px !important;
    background-color: #d8be5f !important;
    border-radius: 10%;
}

.icon-w-background-25-orange>img {
    height: 30px;
    width: 30px;
    background-color: #ff6233;
    border-radius: 10%;
}

.icon-w-background-30-events>img {
    height: 30px;
    width: 30px;
    background-color: #ff6233;
    border-radius: 10%;
}

.selectedBar {
    background: var(--slds-g-color-brand-base-90, var(--lwc-colorBackgroundSelection, rgb(216, 230, 254))) !important;
}

.btn-action-chevron {
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dddbda;
    border-radius: 4px;
    background-color: white;
    color: #706e6b;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action-chevron:hover {
    background-color: #f3f2f2;
    border-color: #c9c7c5;
}

.btn-action-chevron:active {
    background-color: #ebeaea;
}

.btn-action-chevron i {
    font-size: 12px;
}

.filter-logic-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.filter-logic-textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
    width: 100%;
    font-size: 0.875rem;
}

.filter-logic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.filter-logic-title {
    font-weight: bold;
    font-size: 0.875rem;
}

.filter-logic-remove {
    color: #355d92;
    cursor: pointer;
    font-size: 0.875rem;
}

.tableHeadersSalesforce {
    background-color: #f3f3f3;
}

.user-option {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 10px;
}

.user-selection {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-people-icon-color {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-avatar {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.user-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.select2-results__option {
    padding: 0 !important;
}

.select2-results__option--highlighted .user-option {
    background-color: #f8f9fa;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    display: flex;
    align-items: center;
    height: 100%;
}

.select2-container--default {
    .select2-results__option {
        padding: 0;

        &.select2-results__option--highlighted[aria-selected] {
            background-color: #f8f9fa !important;
            color: #212529 !important;

            .user-option {
                background-color: transparent !important;

                .user-name,
                .user-role {
                    color: inherit !important;
                }
            }
        }

        &[aria-selected=true] {
            background-color: #e9ecef !important;
        }
    }

    .select2-search--dropdown {
        padding: 8px;

        .select2-search__field {
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 4px 8px;
        }
    }
}

.new-people-icon-color {
    .user-avatar {
        filter: none !important;
    }
}

#select2-selectUsuario-container {
    padding-top: 0px;
}

.user-selection {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.clear-selection {
    margin-left: auto;
    padding: 0 8px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.clear-selection:hover {
    opacity: 1;
}

.clear-selection svg {
    vertical-align: middle;
}

#containerFiltersDash {
    display: flex;
}

#containerFiltersDash>div {
    width: 20%;
    /* 100 / 5 */
}

.table-container tr.select-report td {
    background-color: #eef4ff !important;
}

.border-custom-blue {
    border-color: #032d60 !important;
}

.noToggle {
    pointer-events: none;
}

.popover-custom-content {
    padding: 10px;
    max-width: 300px;
    font-size: 14px;
}

.popover {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 32px;
    height: 32px;
    background-color: #009688;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-tooltip .tooltip-inner {
    background-color: #ff6b6b;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.custom-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #ff6b6b;
}


/*estandar de modal*/
.modal-sm .modal-dialog {
    max-width: 480px;
}

.modal-md .modal-dialog {
    max-width: 720px;
}

.modal-lg .modal-dialog {
    max-width: 960px;
}

.modal-xl .modal-dialog {
    max-width: 1200px;
}

.modal-content {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 0.25rem;
    border: none;
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dddbda;
    position: relative;
    flex-shrink: 0;
}

.modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    max-height: 70vh;
}

.modal-footer {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #dddbda;
    flex-shrink: 0;
}

.modal-header .floating-x-button {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 2rem;
    height: 2rem;
    background: white;
    border: 1px solid #dddbda;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    cursor: pointer;
}

.modal-header .floating-x-button:hover {
    background-color: #f3f2f2;
}

.modal-header .floating-x-button svg {
    width: 1rem;
    height: 1rem;
    fill: #706e6b;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f3f2f2;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #dddbda;
    border-radius: 4px;
}

/*termina estandar modal*/
.export-option {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    width: 45%;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.export-option:hover {
    border-color: #007bff;
}

.export-option.active {
    border-color: #007bff;
    background-color: #eaf3ff;
}

.option-checkmark {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 30px solid #007bff;
    border-left: 30px solid transparent;
    display: none;
}

.export-option.active .option-checkmark {
    display: block;
}

.option-checkmark::after {
    content: '✔';
    color: white;
    position: absolute;
    top: -25px;
    right: 4px;
    font-size: 14px;
    font-weight: bold;
}

#list-text-split {
    font-size: 13px;
}

/*STYLES FOR EDITING LIST STYLES*/
.cell-pencil:hover,
.cell-lock:hover {
    color: #0070d2;
}

.inline-edit {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 10;
    padding: 8px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.16);
    border: 1px solid #dddbda;
}

.inline-edit input,
.inline-edit select {
    width: calc(100% - 70px);
    padding: 6px;
    border: 1px solid #dddbda;
    border-radius: 4px;
    font-size: 14px;
}

.inline-edit input[type="date"] {
    width: calc(100% - 80px);
    padding-right: 30px;
}

.inline-edit-buttons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.inline-edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
    border-radius: 4px;
}

.inline-edit-btn.check {
    color: #4bca81;
}

.inline-edit-btn.times {
    color: #c23934;
}

.inline-edit-btn:hover {
    background-color: #f3f2f2;
}

.editing {
    position: relative;
    padding: 0;
}

.modified {
    background-color: #fff8e1 !important;
}

.checkbox-header,
.checkbox-cell {
    width: 40px;
    text-align: center;
}

.counter-header,
.counter-cell {
    width: 50px;
    text-align: center;
}

.actions-header,
.actions-cell {
    width: 60px;
    text-align: center;
}

.text-center {
    text-align: center;
}

.save-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f3f2f2;
    padding: 15px 20px;
    border-top: 1px solid #dddbda;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.save-panel-buttons {
    display: flex;
    gap: 10px;
}

.hidden {
    display: none;
}

.table td {
    height: 48px;
    vertical-align: middle;
    padding: 8px 12px;
}

.table td .cell-content {
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alternative-approach .cell-icon {
    display: none;
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.alternative-approach td {
    display: flex;
    align-items: center;
    position: relative;
}

.alternative-approach .cell-content {
    flex: 1;
    padding-right: 30px;
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-new {
    background-color: #e8f5e9;
    color: #2e7d32
}

.status-contact {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-proposal {
    background-color: #fff3e0;
    color: #ef6c00;
}

.status-closed {
    background-color: #fbe9e7;
    color: #d84315;
}

.lead-column {
    flex: 1;
    border-right: 1px solid #e1e8ed;
    padding: 20px;
    overflow-y: auto;
    max-height: 70vh;
}

.lead-column:last-child {
    border-right: none;
}

.lead-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e8ed;
}

.lead-name {
    font-size: 18px;
    font-weight: 600;
}

.timeline {
    padding-left: 20px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3498db;
    border: 2px solid white;
}

.timeline-date {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.timeline-user {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50
}

.timeline-changes {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
}

.change-item {
    margin-bottom: 8px;
    display: flex;
}

.change-field {
    font-weight: 600;
    min-width: 100px;
    color: #2c3e50
}

.change-from {
    color: #e74c3c;
    text-decoration: underline;
    margin-right: 8px;
}

.change-to {
    color: #2ecc71;
    font-weight: 500;
}

.no-changes {
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.badge-blue {
    background-color: #e3f2fd;
    color: #1565c0;
}

/*Estilos iny, Auditorias*/
#modalBodyAuditoria {
    padding: 0;
    display: flex;
    flex-direction: row;
    min-height: 400px;
    max-height: 70vh;
    overflow-y: auto;
    background-color: #fff;
}

.lead-column {
    flex: 1;
    border-right: 1px solid #dddbda;
    padding: 1rem;
    overflow-y: auto;
    background-color: #fff;
}

.lead-column:last-child {
    border-right: none;
}

.lead-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dddbda;
    background-color: #fff;
}

.lead-company {
    color: #706e6b;
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #0176d3;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    background-color: #fff;
    padding: 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid #dddbda;
    transition: all 0.2s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #0176d3;
    border: 2px solid #fff;
    z-index: 2;
}

.timeline-item:hover {
    background-color: #eaf5fe;
    border-color: #0176d3;
}

.timeline-date {
    font-size: 0.8rem;
    color: #706e6b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.timeline-user {
    font-weight: 600;
    color: #080707;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.timeline-user .badge {
    margin-left: 0.5rem;
    background-color: #eaf5fe;
    color: #0176d3;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.timeline-changes {
    background-color: #f3f2f2;
    border-radius: 0.25rem;
    padding: 0.75rem;
    border-left: 3px solid #0176d3;
}

.change-item {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.2rem;
    transition: all 0.2s ease;
}

.change-item:last-child {
    margin-bottom: 0;
}

.change-item:hover {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.change-field {
    font-weight: 600;
    color: #080707;
    margin-right: 0.5rem;
    flex-shrink: 0;
    min-width: 120px;
    font-size: 0.9rem;
}

.change-from,
.change-to {
    padding: 0.25rem 0.5rem;
    border-radius: 0.2rem;
    font-size: 0.85rem;
    margin: 0.15rem 0.25rem;
    font-weight: 500;
}

.change-from {
    background-color: #ea001e;
    color: #fff;
    text-decoration: line-through;
    border: 1px solid #d0011b;
}

.change-to {
    background-color: #4bca81;
    color: #fff;
    border: 1px solid #3db875;
}

.change-item.updated .change-to {
    background-color: #ffb75d;
    color: #080707;
    border: 1px solid #e59a2c;
}

.change-item.added .change-to {
    background-color: #4bca81;
    color: #fff;
}

.change-item.removed .change-from {
    background-color: #ea001e;
    color: #fff;
}

/*Styles List Views*/
.gen-list-item .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.gen-list-item .check-mark {
    font-size: 14px;
    font-weight: bold;
}

.gen-list-item:hover .check-mark {
    color: #ffffff !important;
}

.gen-list-item:hover {
    background-color: #007bff;
}

.gen-list-item:hover .dropdown-item {
    color: #ffffff;
}

.salesforce-toast {
    z-index: 999999 !important;
}

[data-notify="container"] {
    z-index: 999999 !important;
}

.settings-icon-color {
    background-color: #5995e5;
}

/* Report Type Styles */
.object-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.object-card:hover {
    border-color: #007bff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transform: translateY(-2px);
}

.object-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
}

/* Venn Diagram Styles */
.venn-container {
    position: relative;
    height: 400px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.primary-object-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: rgba(0, 123, 255, 0.1);
    border: 3px solid #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.related-object-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.related-object-circle:hover {
    background: rgba(40, 167, 69, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.circle-content {
    text-align: center;
    padding: 10px;
}

.circle-content h5,
.circle-content h6 {
    margin: 0;
    font-size: 0.9rem;
}

.circle-content h6 {
    margin-bottom: 5px;
}

.selected-relationships-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    height: 100%;
}

.relationships-container {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Form styles */
.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-check-input-switch:checked {
    background-color: #38547a;
    border-color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .venn-container {
        height: 300px;
    }

    .primary-object-circle {
        width: 120px;
        height: 120px;
    }

    .related-object-circle {
        width: 100px;
        height: 100px;
    }

    .circle-content h6 {
        font-size: 0.8rem;
    }
}

/* pendientes paps */
.widget-theme-light {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.widget-theme-dark {
    background-color: #001639 !important;
    color: #ffffff !important;
}

.widget-theme-dark .chart-title,
.widget-theme-dark .view-port,
.widget-theme-dark .chart-card-create {
    color: #ffffff !important;
}

.widget-theme-dark .grid-stack-item-content {
    background-color: #001639 !important;
    border-color: #2a4a75 !important;
}

.preview-theme-light {
    background-color: #ffffff;
}

.preview-theme-dark {
    background-color: #001639;
    color: #ffffff;
}

.preview-theme-dark .chart-title,
.preview-theme-dark .view-port {
    color: #ffffff !important;
}

.underline-link:hover {
    text-decoration: underline !important;
}

.table tbody tr:hover {
    background-color: #f3f3f3 !important;
    cursor: pointer;
}

.template-builder {
    background: #f3f2f7;
    min-height: 100vh;
}

.editor-container {
    display: flex;
    height: calc(100vh - 120px);
    gap: 20px;
}

.editor-pane {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.preview-pane {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: auto;
    border: 1px solid #dddbda;
}

.pane-header {
    background: #f3f2f7;
    padding: 12px 15px;
    border-bottom: 1px solid #dddbda;
    font-weight: bold;
    color: #2b2826;
}

.editor-content {
    flex: 1;
    padding: 15px;
    overflow: auto;
}

.preview-content {
    padding: 0;
    background: #f3f2f7;
}

.ql-editor {
    min-height: 400px;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.field-pill {
    background: #f3f2f7;
    border: 1px solid #dddbda;
    border-radius: 15px;
    padding: 4px 12px;
    margin: 2px;
    font-size: 12px;
    cursor: pointer;
}

.field-pill:hover {
    background: #0176d3;
    color: white;
}

.quick-actions {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.template-frame {
    width: 100%;
    min-height: 600px;
    border: none;
    background: white;
}

/*QUILL STYLES*/
/*!
 * Quill Editor v1.3.6
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
.ql-container {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    height: 100%;
    margin: 0px;
    position: relative;
}

.ql-container.ql-disabled .ql-tooltip {
    visibility: hidden;
}

.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before {
    pointer-events: none;
}

.ql-clipboard {
    left: -100000px;
    height: 1px;
    overflow-y: hidden;
    position: absolute;
    top: 50%;
}

.ql-clipboard p {
    margin: 0;
    padding: 0;
}

.ql-editor {
    box-sizing: border-box;
    line-height: 1.42;
    height: 100%;
    outline: none;
    overflow-y: auto;
    padding: 12px 15px;
    tab-size: 4;
    -moz-tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.ql-editor>* {
    cursor: text;
}

.ql-editor p,
.ql-editor ol,
.ql-editor ul,
.ql-editor pre,
.ql-editor blockquote,
.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor h4,
.ql-editor h5,
.ql-editor h6 {
    margin: 0;
    padding: 0;
    counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol,
.ql-editor ul {
    padding-left: 1.5em;
}

.ql-editor ol>li,
.ql-editor ul>li {
    list-style-type: none;
}

.ql-editor ul>li::before {
    content: '\2022';
}

.ql-editor ul[data-checked=true],
.ql-editor ul[data-checked=false] {
    pointer-events: none;
}

.ql-editor ul[data-checked=true]>li *,
.ql-editor ul[data-checked=false]>li * {
    pointer-events: all;
}

.ql-editor ul[data-checked=true]>li::before,
.ql-editor ul[data-checked=false]>li::before {
    color: #777;
    cursor: pointer;
    pointer-events: all;
}

.ql-editor ul[data-checked=true]>li::before {
    content: '\2611';
}

.ql-editor ul[data-checked=false]>li::before {
    content: '\2610';
}

.ql-editor li::before {
    display: inline-block;
    white-space: nowrap;
    width: 1.2em;
}

.ql-editor li:not(.ql-direction-rtl)::before {
    margin-left: -1.5em;
    margin-right: 0.3em;
    text-align: right;
}

.ql-editor li.ql-direction-rtl::before {
    margin-left: 0.3em;
    margin-right: -1.5em;
}

.ql-editor ol li:not(.ql-direction-rtl),
.ql-editor ul li:not(.ql-direction-rtl) {
    padding-left: 1.5em;
}

.ql-editor ol li.ql-direction-rtl,
.ql-editor ul li.ql-direction-rtl {
    padding-right: 1.5em;
}

.ql-editor ol li {
    counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    counter-increment: list-0;
}

.ql-editor ol li:before {
    content: counter(list-0, decimal) '. ';
}

.ql-editor ol li.ql-indent-1 {
    counter-increment: list-1;
}

.ql-editor ol li.ql-indent-1:before {
    content: counter(list-1, lower-alpha) '. ';
}

.ql-editor ol li.ql-indent-1 {
    counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-2 {
    counter-increment: list-2;
}

.ql-editor ol li.ql-indent-2:before {
    content: counter(list-2, lower-roman) '. ';
}

.ql-editor ol li.ql-indent-2 {
    counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-3 {
    counter-increment: list-3;
}

.ql-editor ol li.ql-indent-3:before {
    content: counter(list-3, decimal) '. ';
}

.ql-editor ol li.ql-indent-3 {
    counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-4 {
    counter-increment: list-4;
}

.ql-editor ol li.ql-indent-4:before {
    content: counter(list-4, lower-alpha) '. ';
}

.ql-editor ol li.ql-indent-4 {
    counter-reset: list-5 list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-5 {
    counter-increment: list-5;
}

.ql-editor ol li.ql-indent-5:before {
    content: counter(list-5, lower-roman) '. ';
}

.ql-editor ol li.ql-indent-5 {
    counter-reset: list-6 list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-6 {
    counter-increment: list-6;
}

.ql-editor ol li.ql-indent-6:before {
    content: counter(list-6, decimal) '. ';
}

.ql-editor ol li.ql-indent-6 {
    counter-reset: list-7 list-8 list-9;
}

.ql-editor ol li.ql-indent-7 {
    counter-increment: list-7;
}

.ql-editor ol li.ql-indent-7:before {
    content: counter(list-7, lower-alpha) '. ';
}

.ql-editor ol li.ql-indent-7 {
    counter-reset: list-8 list-9;
}

.ql-editor ol li.ql-indent-8 {
    counter-increment: list-8;
}

.ql-editor ol li.ql-indent-8:before {
    content: counter(list-8, lower-roman) '. ';
}

.ql-editor ol li.ql-indent-8 {
    counter-reset: list-9;
}

.ql-editor ol li.ql-indent-9 {
    counter-increment: list-9;
}

.ql-editor ol li.ql-indent-9:before {
    content: counter(list-9, decimal) '. ';
}

.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 3em;
}

.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
    padding-left: 4.5em;
}

.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
    padding-right: 3em;
}

.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
    padding-right: 4.5em;
}

.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
    padding-left: 6em;
}

.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
    padding-left: 7.5em;
}

.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
    padding-right: 6em;
}

.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
    padding-right: 7.5em;
}

.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
    padding-left: 9em;
}

.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
    padding-left: 10.5em;
}

.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
    padding-right: 9em;
}

.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
    padding-right: 10.5em;
}

.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
    padding-left: 12em;
}

.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
    padding-left: 13.5em;
}

.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
    padding-right: 12em;
}

.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
    padding-right: 13.5em;
}

.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
    padding-left: 15em;
}

.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
    padding-left: 16.5em;
}

.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
    padding-right: 15em;
}

.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
    padding-right: 16.5em;
}

.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
    padding-left: 18em;
}

.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
    padding-left: 19.5em;
}

.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
    padding-right: 18em;
}

.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
    padding-right: 19.5em;
}

.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
    padding-left: 21em;
}

.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
    padding-left: 22.5em;
}

.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
    padding-right: 21em;
}

.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
    padding-right: 22.5em;
}

.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
    padding-left: 24em;
}

.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
    padding-left: 25.5em;
}

.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
    padding-right: 24em;
}

.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
    padding-right: 25.5em;
}

.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
    padding-left: 27em;
}

.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
    padding-left: 28.5em;
}

.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
    padding-right: 27em;
}

.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
    padding-right: 28.5em;
}

.ql-editor .ql-video {
    display: block;
    max-width: 100%;
}

.ql-editor .ql-video.ql-align-center {
    margin: 0 auto;
}

.ql-editor .ql-video.ql-align-right {
    margin: 0 0 0 auto;
}

.ql-editor .ql-bg-black {
    background-color: #000;
}

.ql-editor .ql-bg-red {
    background-color: #e60000;
}

.ql-editor .ql-bg-orange {
    background-color: #f90;
}

.ql-editor .ql-bg-yellow {
    background-color: #ff0;
}

.ql-editor .ql-bg-green {
    background-color: #008a00;
}

.ql-editor .ql-bg-blue {
    background-color: #06c;
}

.ql-editor .ql-bg-purple {
    background-color: #93f;
}

.ql-editor .ql-color-white {
    color: #fff;
}

.ql-editor .ql-color-red {
    color: #e60000;
}

.ql-editor .ql-color-orange {
    color: #f90;
}

.ql-editor .ql-color-yellow {
    color: #ff0;
}

.ql-editor .ql-color-green {
    color: #008a00;
}

.ql-editor .ql-color-blue {
    color: #06c;
}

.ql-editor .ql-color-purple {
    color: #93f;
}

.ql-editor .ql-font-serif {
    font-family: Georgia, Times New Roman, serif;
}

.ql-editor .ql-font-monospace {
    font-family: Monaco, Courier New, monospace;
}

.ql-editor .ql-size-small {
    font-size: 0.75em;
}

.ql-editor .ql-size-large {
    font-size: 1.5em;
}

.ql-editor .ql-size-huge {
    font-size: 2.5em;
}

.ql-editor .ql-direction-rtl {
    direction: rtl;
    text-align: inherit;
}

.ql-editor .ql-align-center {
    text-align: center;
}

.ql-editor .ql-align-justify {
    text-align: justify;
}

.ql-editor .ql-align-right {
    text-align: right;
}

.ql-editor.ql-blank::before {
    color: rgba(0, 0, 0, 0.6);
    content: attr(data-placeholder);
    font-style: italic;
    left: 15px;
    pointer-events: none;
    position: absolute;
    right: 15px;
}

.ql-snow.ql-toolbar:after,
.ql-snow .ql-toolbar:after {
    clear: both;
    content: '';
    display: table;
}

.ql-snow.ql-toolbar button,
.ql-snow .ql-toolbar button {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 24px;
    padding: 3px 5px;
    width: 28px;
}

.ql-snow.ql-toolbar button svg,
.ql-snow .ql-toolbar button svg {
    float: left;
    height: 100%;
}

.ql-snow.ql-toolbar button:active:hover,
.ql-snow .ql-toolbar button:active:hover {
    outline: none;
}

.ql-snow.ql-toolbar input.ql-image[type=file],
.ql-snow .ql-toolbar input.ql-image[type=file] {
    display: none;
}

.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button:focus,
.ql-snow .ql-toolbar button:focus,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar .ql-picker-label:hover,
.ql-snow .ql-toolbar .ql-picker-label:hover,
.ql-snow.ql-toolbar .ql-picker-label.ql-active,
.ql-snow .ql-toolbar .ql-picker-label.ql-active,
.ql-snow.ql-toolbar .ql-picker-item:hover,
.ql-snow .ql-toolbar .ql-picker-item:hover,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected {
    color: #06c;
}

.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button:focus .ql-fill,
.ql-snow .ql-toolbar button:focus .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
    fill: #06c;
}

.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:focus .ql-stroke,
.ql-snow .ql-toolbar button:focus .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-stroke-miter,
.ql-snow .ql-toolbar button:hover .ql-stroke-miter,
.ql-snow.ql-toolbar button:focus .ql-stroke-miter,
.ql-snow .ql-toolbar button:focus .ql-stroke-miter,
.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,
.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
    stroke: #06c;
}

@media (pointer: coarse) {

    .ql-snow.ql-toolbar button:hover:not(.ql-active),
    .ql-snow .ql-toolbar button:hover:not(.ql-active) {
        color: #444;
    }

    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,
    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
        fill: #444;
    }

    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,
    .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,
    .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {
        stroke: #444;
    }
}

.ql-snow {
    box-sizing: border-box;
}

.ql-snow * {
    box-sizing: border-box;
}

.ql-snow .ql-hidden {
    display: none;
}

.ql-snow .ql-out-bottom,
.ql-snow .ql-out-top {
    visibility: hidden;
}

.ql-snow .ql-tooltip {
    position: absolute;
    transform: translateY(10px);
}

.ql-snow .ql-tooltip a {
    cursor: pointer;
    text-decoration: none;
}

.ql-snow .ql-tooltip.ql-flip {
    transform: translateY(-10px);
}

.ql-snow .ql-formats {
    display: inline-block;
    vertical-align: middle;
}

.ql-snow .ql-formats:after {
    clear: both;
    content: '';
    display: table;
}

.ql-snow .ql-stroke {
    fill: none;
    stroke: #444;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.ql-snow .ql-stroke-miter {
    fill: none;
    stroke: #444;
    stroke-miterlimit: 10;
    stroke-width: 2;
}

.ql-snow .ql-fill,
.ql-snow .ql-stroke.ql-fill {
    fill: #444;
}

.ql-snow .ql-empty {
    fill: none;
}

.ql-snow .ql-even {
    fill-rule: evenodd;
}

.ql-snow .ql-thin,
.ql-snow .ql-stroke.ql-thin {
    stroke-width: 1;
}

.ql-snow .ql-transparent {
    opacity: 0.4;
}

.ql-snow .ql-direction svg:last-child {
    display: none;
}

.ql-snow .ql-direction.ql-active svg:last-child {
    display: inline;
}

.ql-snow .ql-direction.ql-active svg:first-child {
    display: none;
}

.ql-snow .ql-editor h1 {
    font-size: 2em;
}

.ql-snow .ql-editor h2 {
    font-size: 1.5em;
}

.ql-snow .ql-editor h3 {
    font-size: 1.17em;
}

.ql-snow .ql-editor h4 {
    font-size: 1em;
}

.ql-snow .ql-editor h5 {
    font-size: 0.83em;
}

.ql-snow .ql-editor h6 {
    font-size: 0.67em;
}

.ql-snow .ql-editor a {
    text-decoration: underline;
}

.ql-snow .ql-editor blockquote {
    border-left: 4px solid #ccc;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 16px;
}

.ql-snow .ql-editor code,
.ql-snow .ql-editor pre {
    background-color: #f0f0f0;
    border-radius: 3px;
}

.ql-snow .ql-editor pre {
    white-space: pre-wrap;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 5px 10px;
}

.ql-snow .ql-editor code {
    font-size: 85%;
    padding: 2px 4px;
}

.ql-snow .ql-editor pre.ql-syntax {
    background-color: #23241f;
    color: #f8f8f2;
    overflow: visible;
}

.ql-snow .ql-editor img {
    max-width: 100%;
}

.ql-snow .ql-picker {
    color: #444;
    display: inline-block;
    float: left;
    font-size: 14px;
    font-weight: 500;
    height: 24px;
    position: relative;
    vertical-align: middle;
}

.ql-snow .ql-picker-label {
    cursor: pointer;
    display: inline-block;
    height: 100%;
    padding-left: 8px;
    padding-right: 2px;
    position: relative;
    width: 100%;
}

.ql-snow .ql-picker-label::before {
    display: inline-block;
    line-height: 22px;
}

.ql-snow .ql-picker-options {
    background-color: #fff;
    display: none;
    min-width: 100%;
    padding: 4px 8px;
    position: absolute;
    white-space: nowrap;
}

.ql-snow .ql-picker-options .ql-picker-item {
    cursor: pointer;
    display: block;
    padding-bottom: 5px;
    padding-top: 5px;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    color: #ccc;
    z-index: 2;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
    fill: #ccc;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
    stroke: #ccc;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-options {
    display: block;
    margin-top: -1px;
    top: 100%;
    z-index: 1;
}

.ql-snow .ql-color-picker,
.ql-snow .ql-icon-picker {
    width: 28px;
}

.ql-snow .ql-color-picker .ql-picker-label,
.ql-snow .ql-icon-picker .ql-picker-label {
    padding: 2px 4px;
}

.ql-snow .ql-color-picker .ql-picker-label svg,
.ql-snow .ql-icon-picker .ql-picker-label svg {
    right: 4px;
}

.ql-snow .ql-icon-picker .ql-picker-options {
    padding: 4px 0px;
}

.ql-snow .ql-icon-picker .ql-picker-item {
    height: 24px;
    width: 24px;
    padding: 2px 4px;
}

.ql-snow .ql-color-picker .ql-picker-options {
    padding: 3px 5px;
    width: 152px;
}

.ql-snow .ql-color-picker .ql-picker-item {
    border: 1px solid transparent;
    float: left;
    height: 16px;
    margin: 2px;
    padding: 0px;
    width: 16px;
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
    position: absolute;
    margin-top: -9px;
    right: 0;
    top: 50%;
    width: 18px;
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {
    content: attr(data-label);
}

.ql-snow .ql-picker.ql-header {
    width: 98px;
}

.ql-snow .ql-picker.ql-header .ql-picker-label::before,
.ql-snow .ql-picker.ql-header .ql-picker-item::before {
    content: 'Normal';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    content: 'Heading 1';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    content: 'Heading 2';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    content: 'Heading 3';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    content: 'Heading 4';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
    content: 'Heading 5';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
    content: 'Heading 6';
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    font-size: 2em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    font-size: 1.5em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    font-size: 1.17em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
    font-size: 1em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
    font-size: 0.83em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
    font-size: 0.67em;
}

.ql-snow .ql-picker.ql-font {
    width: 108px;
}

.ql-snow .ql-picker.ql-font .ql-picker-label::before,
.ql-snow .ql-picker.ql-font .ql-picker-item::before {
    content: 'Sans Serif';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
    content: 'Serif';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
    content: 'Monospace';
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
    font-family: Georgia, Times New Roman, serif;
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
    font-family: Monaco, Courier New, monospace;
}

.ql-snow .ql-picker.ql-size {
    width: 98px;
}

.ql-snow .ql-picker.ql-size .ql-picker-label::before,
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
    content: 'Normal';
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
    content: 'Small';
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
    content: 'Large';
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
    content: 'Huge';
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
    font-size: 10px;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
    font-size: 18px;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
    font-size: 32px;
}

.ql-snow .ql-color-picker.ql-background .ql-picker-item {
    background-color: #fff;
}

.ql-snow .ql-color-picker.ql-color .ql-picker-item {
    background-color: #000;
}

.ql-toolbar.ql-snow {
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    padding: 8px;
}

.ql-toolbar.ql-snow .ql-formats {
    margin-right: 15px;
}

.ql-toolbar.ql-snow .ql-picker-label {
    border: 1px solid transparent;
}

.ql-toolbar.ql-snow .ql-picker-options {
    border: 1px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    border-color: #ccc;
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
    border-color: #ccc;
}

.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {
    border-color: #000;
}

.ql-toolbar.ql-snow+.ql-container.ql-snow {
    border-top: 0px;
}

.ql-snow .ql-tooltip {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 5px #ddd;
    color: #444;
    padding: 5px 12px;
    white-space: nowrap;
}

.ql-snow .ql-tooltip::before {
    content: "Visit URL:";
    line-height: 26px;
    margin-right: 8px;
}

.ql-snow .ql-tooltip input[type=text] {
    display: none;
    border: 1px solid #ccc;
    font-size: 13px;
    height: 26px;
    margin: 0px;
    padding: 3px 5px;
    width: 170px;
}

.ql-snow .ql-tooltip a.ql-preview {
    display: inline-block;
    max-width: 200px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.ql-snow .ql-tooltip a.ql-action::after {
    border-right: 1px solid #ccc;
    content: 'Edit';
    margin-left: 16px;
    padding-right: 8px;
}

.ql-snow .ql-tooltip a.ql-remove::before {
    content: 'Remove';
    margin-left: 8px;
}

.ql-snow .ql-tooltip a {
    line-height: 26px;
}

.ql-snow .ql-tooltip.ql-editing a.ql-preview,
.ql-snow .ql-tooltip.ql-editing a.ql-remove {
    display: none;
}

.ql-snow .ql-tooltip.ql-editing input[type=text] {
    display: inline-block;
}

.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
    border-right: 0px;
    content: 'Save';
    padding-right: 0px;
}

.ql-snow .ql-tooltip[data-mode=link]::before {
    content: "Enter link:";
}

.ql-snow .ql-tooltip[data-mode=formula]::before {
    content: "Enter formula:";
}

.ql-snow .ql-tooltip[data-mode=video]::before {
    content: "Enter video:";
}

.ql-snow a {
    color: #06c;
}

.ql-container.ql-snow {
    border: 1px solid #ccc;
}

.save-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 300px;
    backdrop-filter: blur(10px);
    border-left: 4px solid #007bff;
}

.save-panel.hidden {
    display: none;
}

.save-panel>div:first-child {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    flex: 1;
}

#modified-count {
    color: #007bff;
    font-weight: 700;
    font-size: 16px;
}

.save-panel-buttons {
    display: flex;
    gap: 12px;
}

.save-panel-buttons .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    min-width: 100px;
}

#cancel-all-btn {
    background: #6c757d;
    color: white;
}

#cancel-all-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

#save-all-btn {
    background: #007bff;
    color: white;
}

#save-all-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.save-panel-buttons .btn:active {
    transform: translateY(0);
}

.cell-content {
    display: inline-block;
    width: calc(100% - 30px);
    /* Leave space for pencil */
}

.cell-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    vertical-align: middle;
    margin-left: 5px;
}

.cell-pencil {
    font-size: 12px;
    color: #6c757d;
}

/* Show pencil on cell hover */
td:hover .cell-icon {
    opacity: 1;
}

/* Keep pencil visible when editing */
td.editing .cell-icon {
    opacity: 1;
}

.inline-edit {
    position: relative;
    display: none;
    width: 100%;
}

.editing .inline-edit {
    display: block;
}

.editing .cell-content {
    display: none;
}

.editing .cell-icon {
    display: none;
}

.inline-edit input {
    width: 100%;
    padding: 6px 70px 6px 8px;
    /* Right padding for buttons */
    border: 1px solid #007bff;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.inline-edit-buttons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
    background: white;
    padding: 2px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.inline-edit-btn {
    background: white;
    border: 1px solid #dee2e6;
    cursor: pointer;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
}

.inline-edit-btn.check {
    color: #28a745;
    border-color: #28a745;
}

.inline-edit-btn.times {
    color: #dc3545;
    border-color: #dc3545;
}

.inline-edit-btn.check:hover {
    background-color: #28a745;
    color: white;
}

.inline-edit-btn.times:hover {
    background-color: #dc3545;
    color: white;
}

.inline-edit-btn:active {
    transform: scale(0.95);
}

.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.global-actions-container {
    position: absolute !important;
    z-index: 1060 !important;
    top: 100% !important;
    left: 0 !important;
    max-height: 600px !important;
}

.search-highlight {
    background-color: #fff3cd !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    box-shadow: 0 0 0 1px #ffd700 !important;
}

.search-match-count {
    background: #ffd700;
    color: #000;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.75em;
    margin-left: 4px;
}

.current-search-match {
    background-color: #ffeb3b !important;
    box-shadow: 0 0 0 2px #ff9800 !important;
}

/* Search container styles */
.search-container {
    border-bottom: 1px solid #dee2e6 !important;
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
}

.column-selector-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
}

.search-columns-top {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.columns-main-content {
    display: flex;
    gap: 15px;
    align-items: stretch;
    min-height: 350px;
}

.columns-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: white;
}

.available-columns-panel {
    min-height: 300px;
}

.selected-columns-panel {
    min-height: 300px;
    position: relative;
    padding-bottom: 50px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    flex-shrink: 0;
}

.panel-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.columns-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}

.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 200px;
}

.column-list li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    user-select: none;
    font-size: 13px;
    transition: background-color 0.15s ease;
}

.column-list li:hover {
    background-color: #f8f9fa;
}

.column-list li.selected {
    background-color: #007bff;
    color: white;
}

.transfer-buttons-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 0 5px;
    align-self: center;
}

.transfer-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.move-buttons-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 0.375rem 0.375rem;
}

.move-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#column-counter {
    font-size: 11px;
    padding: 4px 8px;
}

#no-results-warning {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.modal-body {
    overflow: visible;
}

.columns-list-container::-webkit-scrollbar {
    width: 6px;
}

.columns-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.columns-list-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.columns-list-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.column-selector-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
}

.search-columns-top {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.columns-main-content {
    display: flex;
    gap: 15px;
    align-items: stretch;
    min-height: 350px;
}

.columns-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: white;
}

.available-columns-panel {
    min-height: 300px;
}

.selected-columns-panel {
    min-height: 300px;
    position: relative;
    padding-bottom: 50px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    flex-shrink: 0;
}

.panel-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.columns-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}

.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 200px;
}

.column-list li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    user-select: none;
    font-size: 13px;
    transition: background-color 0.15s ease;
}

.column-list li:hover {
    background-color: #f8f9fa;
}

.column-list li.selected {
    background-color: #007bff;
    color: white;
}

.transfer-buttons-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 0 5px;
    align-self: center;
}

.transfer-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.move-buttons-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 0.375rem 0.375rem;
}

.move-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#column-counter {
    font-size: 11px;
    padding: 4px 8px;
}

#no-results-warning {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.modal-body {
    overflow: visible;
}

.columns-list-container::-webkit-scrollbar {
    width: 6px;
}

.columns-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.columns-list-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.columns-list-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.table-responsive {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    margin-top: 10px;

}

#table-report-type thead {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

#infinite-table {
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    position: relative;
    display: block;
}

#infinite-table table {
    width: max-content !important;
    min-width: 100%;
    table-layout: auto !important;
}

.scrollable-content,
.card-body,
.flex-grow-1,
.overflow-hidden,
.d-flex,
.table-responsive {
    overflow-x: visible !important;
}

@media (max-width: 768px) {
    #infinite-table {
        overflow-x: auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        display: block;
        width: 100%;
        position: relative;
        touch-action: pan-x pan-y;
    }

    #infinite-table table {
        width: max-content !important;
        min-width: 1200px !important;
        table-layout: auto !important;
    }

    #infinite-table .editable-table {
        min-width: 1200px !important;
    }

    #infinite-table .table-responsive {
        overflow-x: auto !important;
        display: block;
    }

    .table-responsive {
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .editable-table th,
    .editable-table td {
        padding: 8px 6px !important;
        font-size: 13px !important;
    }

    .cell-content {
        min-width: 80px !important;
        max-width: 200px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .scrollable-content,
    .card-body,
    .flex-grow-1,
    .overflow-hidden,
    .d-flex {
        overflow-x: auto !important;
    }

    .common-header-1,
    .row.border.rounded-top {
        overflow-x: visible !important;
        min-width: 0 !important;
    }

    .salesforce-backglobal {
        overflow-x: auto !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #infinite-table {
        overflow-x: auto !important;
    }

    #infinite-table table {
        min-width: 1000px !important;
    }

    .editable-table {
        min-width: 1000px !important;
    }
}

@media (min-width: 1025px) {
    #infinite-table {
        overflow-x: auto !important;
        overflow-y: auto !important;
    }

    #infinite-table table {
        width: 100% !important;
        min-width: auto !important;
    }
}

.inventory-card-header {
    background-color: #6c757d;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon i {
    color: white;
    font-size: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.whatsapp-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-content {
    text-align: center;
}

.tooltip-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.tooltip-number {
    color: #25d366;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 13px;
}

.btn-chat {
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-chat:hover {
    background-color: #128c7e;
}

.tooltip-arrow {
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

/*STYLES FOR AGENT CONVERSTATION*/
.page-agent-panel {
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.page-agent-panel .container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}

.page-agent-panel .row.g-4.mb-4 {
    flex-shrink: 0;
}

.page-agent-panel>.container-fluid>.row:last-child {
    flex: 1;
    display: flex;
    overflow: hidden;
    margin: 0;
}

.page-agent-panel>.container-fluid>.row:last-child>.col-12 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e3e6ea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #355d92 0%, #1B96FF 100%);
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stats-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.stats-card-icon.primary {
    background: linear-gradient(135deg, #355d92 0%, #1B96FF 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(53, 93, 146, 0.3);
}

.stats-card-icon.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.stats-card-icon.warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
}

.stats-card-icon.danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.stats-card-label {
    font-size: 0.8rem;
    color: #6b6f76;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.stats-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #181818;
    line-height: 1;
}

.stats-card-main {
    height: 100%;
    min-height: 160px;
}

/* Topics Container */
.topics-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e3e6ea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.topics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3e6ea;
}

.topics-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #355d92;
    margin: 0;
    display: flex;
    align-items: center;
}

.btn-refresh-topics {
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px 10px;
    color: #6b6f76;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh-topics:hover {
    background: #f8f9fa;
    color: #355d92;
    border-color: #355d92;
    transform: rotate(90deg);
}

.topics-scroll-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 12px;
    padding: 8px 4px;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.topics-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.topics-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.topics-scroll-container::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.topics-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.topic-card {
    min-width: 140px;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--topic-color, #355d92);
    transition: height 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--topic-color, #355d92);
}

.topic-card:hover::before {
    height: 5px;
}

.topic-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b6f76;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--topic-color, #355d92);
    line-height: 1;
}

.topic-percentage {
    font-size: 0.65rem;
    color: #6b6f76;
    font-weight: 500;
}

.topics-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6b6f76;
    font-size: 0.85rem;
    width: 100%;
}

.spinner-small {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #355d92;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.topics-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 0.85rem;
    width: 100%;
    font-style: italic;
}

.content-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e3e6ea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;

    height: calc(100vh - 320px);
    display: flex;
    flex-direction: column;
}



.content-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 16px 20px;
    border-bottom: 1px solid #e3e6ea;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.content-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #181818;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card-title i {
    color: #355d92;
    font-size: 1.5rem;
}

.filters-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-input {
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    min-width: 180px;
}

.filter-input:focus {
    outline: none;
    border-color: #355d92;
    box-shadow: 0 0 0 3px rgba(53, 93, 146, 0.1);
}

.filter-select {
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #355d92;
    box-shadow: 0 0 0 3px rgba(53, 93, 146, 0.1);
}

.btn-filter {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #355d92;
    background: #355d92;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-filter:hover {
    background: #2a4a75;
    border-color: #2a4a75;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 93, 146, 0.3);
}

.btn-filter-outline {
    background: white;
    color: #355d92;
}

.btn-filter-outline:hover {
    background: #f8f9fa;
    color: #2a4a75;
}

.agent-table-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
}

.agent-table {
    width: 100%;
    border-collapse: collapse;
}

.agent-table thead {
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.agent-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b6f76;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e3e6ea;
}

.agent-table tbody tr {
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.2s ease;
}

.agent-table tbody tr:hover {
    background: #f8f9fa;
}

.agent-table tbody td {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #495057;
}

.badge-status {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-block;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.btn-action {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    background: white;
    color: #355d92;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-action:hover {
    background: #355d92;
    color: white;
    border-color: #355d92;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(53, 93, 146, 0.2);
}

.pagination-container {
    padding: 14px 20px;
    border-top: 1px solid #e3e6ea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8f9fa;
    flex-shrink: 0;
}

.pagination-info {
    font-size: 0.8rem;
    color: #6b6f76;
}

.pagination-controls {
    display: flex;
    gap: 6px;
}

.pagination-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #355d92;
    color: #355d92;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: #355d92;
    color: white;
    border-color: #355d92;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading-spinner.active {
    display: block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #355d92;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6b6f76;
}

.empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

.chat-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
    animation: fadeInMessage 0.3s ease-in-out;
    clear: both;
    max-width: 100%;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-items: flex-start;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-bubble {
    max-width: 72%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    margin: 2px 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .chat-bubble {
        max-width: 85%;
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

.chat-bubble.bot {
    background-color: #ffffff;
    color: #000000;
    border-radius: 8px;
    border-bottom-left-radius: 2px;
}

.chat-bubble.bot::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 10px 0;
    border-color: transparent #ffffff transparent transparent;
}

.chat-bubble.user {
    background-color: #355d92;
    color: #ffffff;
    border-radius: 8px;
    border-bottom-right-radius: 2px;
}

.chat-bubble.user::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 8px;
    border-color: transparent transparent transparent #355d92;
}

.chat-bubble:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.chat-label {
    font-size: 0.68rem;
    color: #667781;
    margin: 0 12px 2px 12px;
    font-weight: 500;
}

.chat-message.bot .chat-label {
    text-align: left;
}

.chat-message.user .chat-label {
    text-align: right;
}

#detailModal .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

#detailModal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

#chat-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #e5ddd5;
    border-radius: 8px;
    border: 1px solid #dee2e6;

    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;

    scrollbar-width: thin;
    scrollbar-color: #c1b9b0 transparent;
}

#chat-preview::-webkit-scrollbar {
    width: 5px;
}

#chat-preview::-webkit-scrollbar-track {
    background: transparent;
}

#chat-preview::-webkit-scrollbar-thumb {
    background: #c1b9b0;
    border-radius: 4px;
}


@media (max-width: 768px) {

    .page-agent-panel {
        height: auto;
        overflow: visible;
    }

    .page-agent-panel .container-fluid {
        overflow: visible;
    }

    .content-card {
        height: auto;
    }

    .agent-table-container {
        overflow: visible;
    }

    .stats-card {
        padding: 14px;
    }

    .stats-card-value {
        font-size: 1.5rem;
    }

    .content-card-header {
        padding: 14px 16px;
    }

    .content-card-title {
        font-size: 1.1rem;
    }

    .filters-container {
        width: 100%;
    }

    .filter-input,
    .filter-select {
        width: 100%;
    }

    .agent-table {
        font-size: 0.75rem;
    }

    .agent-table thead th,
    .agent-table tbody td {
        padding: 10px 12px;
    }

    #detailModal .modal-content {
        max-height: 95vh;
    }

    #detailModal .modal-body {
        padding: 1rem;
    }

    /* Chat más compacto en tablet */
    #chat-preview {
        max-height: 260px;
        padding: 12px;
    }

    .chat-bubble {
        max-width: 80%;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

}

@media (max-width: 575.98px) {
    #detailModal .modal-dialog {
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none !important;
    }

    #detailModal .modal-content {
        border-radius: 18px 18px 0 0;
        max-height: 92dvh;
        border: none;
    }

    #detailModal .modal-header {
        padding: 14px 16px 12px;
        position: relative;
    }

    #detailModal .modal-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 36px;
        height: 4px;
        background: #dee2e6;
        border-radius: 2px;
    }

    #detailModal .modal-body {
        padding: 0.75rem;
    }

    #chat-preview {
        max-height: 200px;
        padding: 10px;
        gap: 6px;
    }

    .chat-bubble {
        max-width: 88%;
        font-size: 0.8125rem;
        padding: 7px 10px;
    }

    .chat-label {
        font-size: 0.63rem;
        margin: 0 8px 2px 8px;
    }
}

.chat-message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.chat-message.user {
    margin-left: auto;
}

.chat-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #6c757d;
}

.chat-bubble {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    word-wrap: break-word;
}

.chat-bubble.user {
    background-color: #007bff;
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.chat-bubble.bot {
    background-color: #e9ecef;
    color: #212529;
    border-bottom-left-radius: 0.25rem;
}

.customer-info-summary {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.customer-info-summary div {
    margin-bottom: 0.25rem;
}

.customer-info-summary i {
    width: 1.25rem;
    color: #6c757d;
}