/* primary color : #0c97fa */
/* secondary color: #052f5f */

/* overide classes*/
.select2-container--classic
    .select2-selection--multiple
    .select2-selection__choice,
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice,
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    background-color: #0c97fa;
    border-color: #0c97fa;
    color: #fff;
}
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #0c97fa;
    color: white;
}
/* end override classes */

/* custom class */
.cursor-pointer {
    cursor: pointer;
}
.z-index-1 {
    z-index: 1;
}
span.duplicate-tag {
    font-size: 9px;
    font-weight: 600;
    background: #f4d03f;
    padding: 3px 7px;
    margin: 5px;
    text-transform: capitalize;
}
/* custom class end */

.fixedCol {
    position: sticky !important;
    left: 0 !important;
    background-color: #f8f9f9 !important;
    .userActivities;
}

/* button styles */
.btn-export {
    background: #f1c40f;
    color: white !important;
}
.btn-export:hover {
    background: #d4ac0d;
}
.btn-import {
    background: #2471a3;
    color: white !important;
}
.btn-import:hover {
    background: #1a5276;
}
.btn-bulk-assign {
    background: #34495e;
    color: white !important;
}
.btn-bulk-assign:hover {
    background: #212f3c;
}
.btn-bulk-assign:disabled {
    background: #212f3c;
}
.btn-bulk-delete {
    background: #e74c3c;
    color: white !important;
}
.btn-bulk-delete:hover {
    background: #b03a2e;
}
.btn-bulk-delete:disabled {
    background: #e74c3c;
}
.btn-reset {
    background: #f39c12;
    color: white !important;
}
.btn-reset:hover {
    background: #af601a;
}
.btn-manage-description {
    background: #04a4c9;
}
.btn-manage-description:hover {
    background: #0283a1;
}
.btn-manage-location-description {
    background: #e53c00;
}
.btn-manage-location-description:hover {
    background: #ce3700;
}
/* end button styles */

/* nav bar style */
.left-sidebar {
    background-color: #ffffff;
}
.sidebar-nav ul .sidebar-item.selected > .sidebar-link,
.sidebar-nav ul .sidebar-item.selected > .sidebar-link.active,
.sidebar-nav ul .sidebar-item > .sidebar-link.active {
    background: hsl(205, 96%, 65%) 15%;
    background: linear-gradient(
        320deg,
        hsl(205, 96%, 65%) 15%,
        hsl(205, 96%, 51%) 100%
    );
    color: #ffffff !important;
}
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link:hover {
    background: hsl(205, 96%, 65%) 15%;
    background: linear-gradient(
        320deg,
        hsl(205, 96%, 65%) 15%,
        hsl(205, 96%, 51%) 100%
    );
    color: #ffffff !important;
}
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active {
    background-color: transparent !important;
    color: #ffffff !important;
}
.sidebar-nav ul .sidebar-item .sidebar-link:hover {
    background: hsl(205, 96%, 65%) 15%;
    background: linear-gradient(
        320deg,
        hsl(205, 96%, 65%) 15%,
        hsl(205, 96%, 51%) 100%
    );
    color: #ffffff !important;
}
.sidebar-nav ul .sidebar-item .sidebar-link:hover.has-arrow::after {
    border-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
::after,
::before {
    box-sizing: border-box;
}
.sidebar-nav ul .sidebar-item .sidebar-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4px;
}
.sidebar-nav ul .sidebar-item .first-level .sidebar-item > .sidebar-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4px;
}
/* end nav bar style */

.form-label {
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: #2a3547;
    font-size: 12px;
    text-transform: capitalize;
}
.breadcrumb {
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 500;
}
/* end nav and tab styles */

/* table styles */
.table-date {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
table thead tr,
tfoot tr {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}

/* tag custom csss */
a:hover {
    cursor: pointer;
}
.error {
    color: red;
    font-size: 12px;
}
/* end tag custom csss */

/* color theme */
.bg-primary-gradient {
    background: linear-gradient(
        149deg,
        rgba(12, 151, 250, 1) 20%,
        rgba(21, 225, 245, 1) 100%
    ) !important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #052f5f !important;
    color: #f1a208 !important;
}
.bg-light-primary {
    background-color: #06a77d !important;
    color: white;
}
.btn {
    --bs-btn-padding-y: 8px;
    font-size: 12px;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0c97fa;
    --bs-btn-border-color: #0c97fa;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #1677cc;
    --bs-btn-hover-border-color: #1677cc;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0b6ec8;
    --bs-btn-active-border-color: #0b6ec8;
}
.btn-outline-primary {
    border-color: #0c97fa;
    color: #0c97fa;
}
.btn-outline-primary:hover {
    background-color: #0c97fa;
    color: white;
}
.btn-primary-gradient {
    --bs-btn-color: #fff;
    background: hsl(205, 96%, 65%) 15% !important;
    background: linear-gradient(
        320deg,
        hsl(205, 96%, 65%) 15%,
        hsl(205, 96%, 51%) 100%
    ) !important;
    --bs-btn-border-color: unset;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #052f5f;
    --bs-btn-hover-border-color: unset;
    --bs-btn-focus-shadow-rgb: 100, 200, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #052f5f;
    --bs-btn-active-border-color: #052f5f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #052f5f;
    --bs-btn-disabled-border-color: #052f5f;
}
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #052f5f;
    --bs-btn-border-color: #052f5f;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #07407f;
    --bs-btn-hover-border-color: #07407f;
    --bs-btn-focus-shadow-rgb: 100, 200, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #07407f;
    --bs-btn-active-border-color: #07407f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #052f5f;
    --bs-btn-disabled-border-color: #052f5f;
}
.form-check-input:checked {
    background-color: #f1a208;
    border-color: #f1a208;
}
/* end color theme */

.lead-table-btn {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.table-responsive
    .dataTables_wrapper
    .dataTables_paginate
    .paginate_button.current {
    color: #fff;
    background-color: #052f5f;
    border-color: #052f5f;
}
.text-primary {
    color: #0c97fa !important;
}
.text-secondary {
    color: #052f5f !important;
}
.bg-hover-primary:hover {
    color: #0c97fa !important;
}
.form-check-input.primary:checked {
    background-color: #0c97fa;
}
.form-control:focus {
    border-color: #0c97fa;
}
#action-panel {
    border: 1px solid #34495e;
}
.notify-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #052f5f;
    color: #e2a208;
    border-radius: 50px;
    text-align: center;
    border: 1px solid #052f5f;
}

.my-float {
    margin-top: 22px;
}
table {
    font-size: 13px;
}
.app-name {
    background: linear-gradient(
        149deg,
        rgba(12, 151, 250, 1) 20%,
        rgba(21, 225, 245, 1) 100%
    ) !important;
    color: #ffffff;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 2px;
}
.clock {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translateX(-50%) translateY(-50%);
    color: #052f5f;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 5px;
    font-weight: bolder;
    width: 125px;
    text-align: right;
}
.lds-ripple {
    width: 100px;
    height: auto;
    top: 44%;
    /* animation: rotate 0.5s linear infinite; */
}
@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* pagination styles */

.pagination {
    --bs-pagination-font-size: 0.775rem;
    --bs-pagination-color: #0c97fa;
    --bs-pagination-bg: #ffffff;
    --bs-pagination-hover-color: #ffffff;
    --bs-pagination-hover-bg: #052f5f;
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-active-bg: #0c97fa;
    --bs-pagination-active-border-color: #0c97fa;
    --bs-pagination-disabled-color: #052f5f;
    --bs-pagination-disabled-bg: #f3f3f3;
    --bs-pagination-disabled-border-color: #ffffff;
    --bs-pagination-padding-x: 1rem;
    --bs-pagination-padding-y: 0.6rem;
    --bs-pagination-border-radius: 50%;
    gap: 6px;
}

.pagination .page-item button,
.pagination .page-item span {
    border-radius: 50% !important;
}

/* progress loader */
.lds-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000037; /* Solid black background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* Behind the spinner */
}

.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}
.lds-spinner {
    color: currentColor;
    display: inline-block;
    width: 80px;
    height: 80px;
    z-index: 9999; /* On top of the backdrop */
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

.formCardHeader {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    border-radius: 5px;
}

.formCardHeader > i {
    font-size: 24px;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0px 6px 5px 6px !important;
    /* line-height: 2; */
    color: #5a6a85;
    background-color: transparent;
    background-clip: padding-box;
    border: var(--bs-border-width) solid #dfe5ef;
    appearance: none;
    border-radius: 7px;
    box-shadow: unset;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.multi-select .select2-container--default .select2-selection--multiple {
    border: var(--bs-border-width) solid #fa896b !important;
    padding-bottom: 0%;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #f4f4f5;
    color: #27272a;
    border: 1px solid hsl(240, 5%, 75%);
    border-radius: 0.25rem;
    box-sizing: border-box;
    display: inline-flex;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    padding-right: 16px !important;
    padding-left: 4px;
    position: relative;
    max-width: max-content;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    align-items: center;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50%;
    background-color: white;
    color: black;
    border: none;
    margin: 2px 1px 2px 8px;
    position: relative !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove
    span {
    position: absolute !important;
    bottom: -3px !important;
    left: 5px !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__display {
    padding-left: 6px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    height: 1.7rem;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* end progress loader */

.header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activityHistory {
    border-top: var(--bs-border-width) var(--bs-border-style)
        var(--bs-border-color) !important;
}

.userActivities {
    max-height: 400px;
    overflow-y: auto;
}

.settings-tab .nav-item {
    min-width: fit-content;
}

.userActivities .activities .timeline-desc {
    max-width: 620px;
    width: 100%;
    background-color: white;
    margin: 0px 0px 16px 12px !important;
    border: 1px solid black;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.settings-tab::-webkit-scrollbar {
    height: 8px !important; /* for horizontal scrollbar */
}

.settings-tab {
    gap: 6px;
}

.settings-tab .nav-item .nav-link {
    font-size: clamp(12px, 2vw, 14px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding-left: 12px;
    padding-right: 12px;
}

.invalid-feedback {
    display: block;
}

.tab-content #security .row .col-md-6:nth-child(2) {
    border-top: var(--bs-border-width) var(--bs-border-style)
        var(--bs-border-color) !important;
}

.btn-success-gradient {
    background: #1d976c; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to left,
        #93f9b9,
        #1d976c
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to left,
        hsl(159, 68%, 50%),
        hsl(159, 68%, 45%)
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-color: hsl(159, 68%, 45%) !important;
    color: white;
}

.btn-success-gradient:hover {
    color: white;
}

.btn-success-gradient:active,
.btn-success-gradient:focus-visible {
    color: white !important;
}

.search-input {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    padding: 0%;
    cursor: pointer;
}

#searchInput {
    transition: width 175ms ease-in-out, height 175ms ease-in-out,
        border-color 175ms ease-in-out;
}

.search-input-active {
    width: 100% !important;
    height: auto !important;
    border-radius: 5px !important;
    padding-left: 38px !important;
    cursor: text !important;
}

.app-header.fixed-header .navbar {
    margin-top: 10px;
    margin-bottom: 12px;
}

.profile-dropdown .profile-card:hover {
    background-color: #f5f5f5 !important;
}

.profile-dropdown-links {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    font-size: 12px;
    color: #212f3c;
}

.profile-dropdown-links:hover {
    background-color: #f5f5f5;
    color: #212f3c;
}

.nav-link:hover,
.nav-link:active {
    color: #2a3547;
}

.quick-action-dropdown {
    width: 220px !important;
}

.quick-action-dropdown-links {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    font-size: 12px;
    color: #212f3c;
}

.quick-action-dropdown-links:hover {
    background-color: #f5f5f5;
    color: #212f3c;
}

@media (min-width: 576px) {
    /* .tscroll table td:nth-child(3) {
        position: sticky;
        left: 0;
        background-color: #f8f9f9;
    } */

    #secondary-all-leads-table td:nth-child(4) {
        position: sticky;
        left: 0;
        background-color: #f8f9f9;
    }

    #agent-leads-table td:nth-child(3) {
        position: sticky;
        left: 0;
        background-color: #f8f9f9;
    }

    #active-leads-table td:nth-child(4) {
        position: sticky;
        left: 0;
        background-color: #f8f9f9;
    }

    #all-leads-table td:nth-child(4) {
        position: sticky;
        left: 0;
        background-color: #f8f9f9;
    }

    .card--header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #reshufflePeriod {
        max-width: 164px !important;
    }

    .mt-50 {
        margin-top: 52px !important;
    }

    .profile-dropdown-card {
        min-width: 350px;
    }
}

@media (max-width: 575.98px) {
    .lead-table-btn {
        margin: 5px 3px;
    }
    .table-filter {
        margin-bottom: 5px;
    }

    .card--header {
        display: block;
    }

    .card--header h4 {
        text-align: center;
        margin-bottom: 16px !important;
    }

    .card--header div {
        text-align: center;
    }

    .back-btn {
        width: 100%;
        display: block;
    }

    .header-card {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: baseline;
        gap: 24px;
        margin-bottom: 20px;
    }

    .header-card .test1 {
        width: 100%;
    }

    .header-card .test2 {
        width: 100%;
    }

    .header-card .test2 button {
        width: 100%;
    }

    .breadcrumb-item i {
        display: none;
    }

    .card-body {
        padding: 20px 20px;
    }

    #reshufflePeriod {
        min-width: 100%;
    }

    .custom-breadcrumb-create-button {
        width: 100%;
    }

    #searchForm {
        width: 100%;
    }

    .search-input {
        width: 100% !important;
        height: auto !important;
        border-radius: 5px;
        padding-left: 42px;
        cursor: text;
    }

    .fixed-header {
        padding: 0 12px !important;
    }

    .profile-dropdown-card {
        min-width: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .tab-content #security .row .col-md-6:nth-child(2) {
        border-top: none !important;
        border-left: var(--bs-border-width) var(--bs-border-style)
            var(--bs-border-color) !important;
    }
}

@media (min-width: 992px) {
    .activityHistory {
        border-top: none !important;
        border-left: var(--bs-border-width) var(--bs-border-style)
            var(--bs-border-color) !important;
    }

    .tab-content #security .row .col-md-6:nth-child(2) {
        border-top: none !important;
        border-left: var(--bs-border-width) var(--bs-border-style)
            var(--bs-border-color) !important;
    }

    .profile-dropdown-card {
        width: 285px !important;
    }
}
