:root {
    --custom-yellow: #aa9a69;
    --custom-yellow-dark: #817152;
}

.custom-yellow-text-color {
    color: var(--custom-yellow);
}

.custom-heart-text-color {
    color: red;
}

.card-header-primary-bg-color {
    background-color: var(--custom-yellow) !important;
    color: white !important;
}

.border-color-custom-yellow {
    border: 2px solid var(--custom-yellow);
}

.card-header-secondary-bg-color {
    background-color: #c9c0a0 !important;
}

.card-header-lighter-bg-color {
    background-color: #e8e5d7 !important;
}

.input-required:after {
    content: '*';
    color: red;
    font-size: 12px;
    margin-left: 2px;
}

.sm-font-btn {
    padding: 0.25rem 0.5rem !important;
    font-size: 12px !important;
    display: inline-flex;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.sm-font-size {
    font-size: 12px !important;
}

.dashed-bottom-border {
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
}

.dashed-top-border {
    border-top: 1px dashed #e0e0e0;
    padding-top: 15px;
}

.edit-icon {
    color: gray;
}

.number-badge-color {
    background-color: var(--custom-yellow);
    color: white;
}

.person-company-card:hover {
    cursor: pointer;
    background-color: #f0f0f0;
}

.sticky-primary-accordion-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1002;
}

.sticky-secondary-accordion-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1001;
}

.toggle-expand-btn {
    width: 30px;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    justify-content: start;
}

.toggle-expand-btn .expand-btn-label {
    opacity: 0;
    visibility: hidden;
    margin-left: 0.5rem;
}

.toggle-expand-btn:hover {
    width: auto;
}

.toggle-expand-btn:hover .expand-btn-label {
    opacity: 1;
    text-wrap: wrap;
    visibility: visible;
}

#loading-spinner {
    z-index: 1050 !important;
}

/* Remove the blue background and border when bootstrap accordion buttons are focused and active */
.accordion-button:not(.collapsed),
.accordion-button:focus {
    background-color: transparent;
    box-shadow: none;
    border: none;
    color: inherit;
}

/* Display the choices and search input on one line, not wrapped */
/* .select2-selection.select2-selection--multiple {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
} */

/* To move the datepicker dropdown to the top level */
.datepicker.datepicker-dropdown {
    z-index: 1050 !important;
}

/* Disable an anchor tag */
a.disabled {
    pointer-events: none;
    cursor: default;
}

/************************************************************************
****************************** Status colors ****************************
************************************************************************/
.status-default-color {
    background-color: #DBDBDB;
}

.status-new-color {
    background-color: #B6FFA1;
}

.status-approach_with_insight-color {
    background-color: #56DFCF;
}

.status-qualification-color {
    background-color: #FFF287;
}

.status-dead-color {
    background-color: #FF8282;
}

.status-spam-color {
    background-color: #DBDBDB;
}

.status-converted-color {
    background-color: #06923E;
}

.status-objection-color {
    background-color: #B6B09F;
}

.status-inactive-color {
    background-color: #948979;
}

.status-business_analysis-color {
    background-color: #4DA8DA;
}

.status-strategic_design-color {
    background-color: #FF7D29;
}

.status-partnership_proposal-color {
    background-color: #FFC107;
}

.status-partnership_agreement-color {
    background-color: #A0C878;
}

.status-closed_won-color {
    background-color: #BBD8A3;
}

.status-closed_lost-color {
    background-color: #E78F81;
}

.status-initial_discussion-color {
    background-color: #FCEF91;
}

.status-cancellation_reversed-color {
    background-color: #AFDDFF;
}

.status-awaiting_training_date-color {
    background-color: #90C67C;
}

.status-legacy_converted-color {
    background-color: #cdc5bb;
}

.status-welcome_email_sent-color {
    background-color: #B6FFA1;
}

.status-awaiting_introduction_call-color {
    background-color: #FCEF91;
}

.status-awaiting_check_in_call-color {
    background-color: #ebde7c;
}

.status-support_completed-color {
    background-color: #bce767;
}

.status-closed-color {
    background-color: #cdc5bb;
}

.status-awaiting_check_in_call_2-color {
    background-color: #FCEF91;
}

.status-awaiting_check_in_call_3-color {
    background-color: #f9e75d;
}

.status-session_booked-color {
    background-color: #BBD8A3;
}

.status-in_progress-color {
    background-color: #FFD6BA;
}

.status-closed_without_action-color {
    background-color: #cdc5bb;
}

/************************************************************************
************************** Business area colors *************************
************************************************************************/
.ba-default-color {
    background-color: #DBDBDB;
}

.ba-default-products-color {
    background-color: #DBDBDB;
}

.ba-training-color {
    background-color: #98CE63;
}

.ba-training-products-color {
    background-color: #FFFADC;
}

.ba-partnership-color {
    background-color: #FFDC4A;
}

.ba-partnership-products-color {
    background-color: #FFFBDE;
}

.ba-equipment-color {
    background-color: #C68EFD;
}

.ba-equipment-products-color {
    background-color: #FEEBF6;
}

.ba-post_support-color {
    background-color: #5EABD6;
}

.ba-post_support-products-color {
    background-color: #C4E1E6;
}

/************************************************************************
*************************** Temperature colors **************************
************************************************************************/
.temperature-default-color {
    color: #6c757d;
}

.temperature-hot-color {
    color: #ff0000;
}

.temperature-warm-color {
    color: #FFB22C;
}

.temperature-cold-color {
    color: #74C0FC;
}

/************************************************************************
*************************** Last transaction colors *********************
************************************************************************/
.last-transaction-recent {
    color: green !important;
}

.last-transaction-medium {
    color: orange !important;
}

.last-transaction-old {
    color: red !important;
}

/************************************************************************
************************* Engagement type colors ************************
************************************************************************/
.engagement-type-default-color {
    background-color: #DBDBDB;
}

.engagement-type-lead-color {
    background-color: #EBD6FB;
}

.engagement-type-opportunity-color {
    background-color: #C4E1E6;
}

.engagement-type-post_support-color {
    background-color: #FCD8CD;
}

/************************************************************************
********************  Activity Status colors ****************************
************************************************************************/
.activity-status-default-color {
    background-color: #DBDBDB;
}

.activity-status-placeholder-color {
    background-color: #FFF287;
}

.activity-status-scheduled-color {
    background-color: #56DFCF;
}

.activity-status-held-color {
    background-color: #B6FFA1;
}

.activity-status-completed-color {
    background-color: #06923E;
}

.activity-status-not_held-color {
    background-color: #FF7D29;
}

.activity-status-no_longer_required-color {
    background-color: #948979;
}

.activity-status-draft-color {
    background-color: #FFF287;
}

.activity-status-sent-color {
    background-color: #06923E;
}

.activity-status-not_started-color {
    background-color: #FF7D29;
}

.activity-status-in_progress-color {
    background-color: #B6FFA1;
}

.activity-status-not_feasible-color {
    background-color: #B6B09F;
}

/************************************************************************
************************* Activity type colors ************************
************************************************************************/
.activity-type-default-color {
    background-color: #DBDBDB;
}

.activity-type-email-color {
    background-color: #EBD6FB;
}

.activity-type-call-color {
    background-color: #C4E1E6;
}

.activity-type-meeting-color {
    background-color: #FCD8CD;
}

.activity-type-task-color {
    background-color: #BBD8A3;
}

/******************************************************************************
************************* Activity special type colors ************************
******************************************************************************/
.activity-special-type-color {
    background-color: #ffc107 !important;
}

/******************************************************************************
************************* Document colors ************************
******************************************************************************/
.document-info-default-color {
    background-color: #ECF4E8 !important;
}

.document-type-default-color {
    background-color: #CBF3BB !important;

}