/*-------------------------------------------------------------*/
/* New UI CSS */
/*-------------------------------------------------------------*/

.br-5 {
    border-radius: 5px !important;
}
.br-10 {
    border-radius: 10px !important;
}
.br-50 {
    border-radius: 50px !important;
}

.btn {
    padding: 0.608rem 0.75rem !important;
    border-radius: 10px;
}
.btn-primary {
    color: #fff;
    background-color: #0077BF;
    border-color: #0077BF;
}
.btn-primary:hover {
    color: #fff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}
.btn-primary:focus {
    background: #2c3e50 !important;
}
.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgb(44 118 188 / 68%);
}

.section-row {
    position: relative;
}

.section-row .form-control {
    border-radius: 10px !important;
}
.section-row .card {
    border: 1px solid rgba(0, 0, 0, .125) !important;
    box-shadow: none !important;
    border-radius: 10px !important;
}
.section-row .card .cust-form label {
    margin-bottom: 0px;
    font-weight: 700;
}
a.green-bg-btn, button.green-bg-btn {
    font-size: 16px;
    color: #ffffff;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    border-radius: 10px;
    display: inline-block;
    padding: 10px 26px;
    text-align: center;
    line-height: 1;
    border: 0px solid;
    position: relative;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    background: #408939;
    text-transform: none;
    letter-spacing: 0;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
a.green-bg-btn:hover, button.green-bg-btn:hover {
    color: #ffffff;
}
a.green-bg-btn:before,
button.green-bg-btn:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background: #2b4729;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out
}
a.green-bg-btn:hover::before,
button.green-bg-btn:hover::before {
    -webkit-transform: scale(1);
    transform: scale(1)
}
/*----------------*/
.collapse-card .card-header {
    border-bottom: 0 !important;
}
.collapse-card .card-body {
    display: none !important;
}
.section-row .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: .75rem 1.25rem;
    position: relative;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-row .card-header > .card-title {
    text-transform: capitalize;
    color: #525866;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    margin-bottom: 0em;
    font-weight: 700;
}
.section-row .card-header > .card-tools {
    float: right;
    margin-right: -.625rem;
}
.section-row .card-header .btn-tool {
    background-color: transparent;
    color: #adb5bd;
    font-size: .875rem;
    margin: -.75rem 0;
    padding: .25rem .5rem;
}
.btn-tool:focus, .show .btn-tool {
    box-shadow: none !important;
}
/*-------------*/
.section-row .card-body {
    padding: 1.25rem !important;
    display: block;
}
.section-row .card-title {
    text-transform: uppercase;
    color: #1E1E1E;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    margin-bottom: 1em;
    font-weight: 700;
}

.content-header {
    padding: 25px 0px;
}
.content-header .left {
    display: flex;
    align-items: center;
}
.content-header .right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.content-header .left .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #2c76bc;
    border-radius: 50px;
    margin-right: 15px;
}
.content-header .left i {
    color: #fff;
}
.content-header .left h2 {
    font-size: 22px;
    text-transform: uppercase;
    color: #1E1E1E;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
}
.content-header .left p {
    line-height: 18px;
    margin: 0px;
    color: #6c757d;
}

.search-filter-box .search-form {
    position: relative;
}
.search-filter-box .search-form .search-input {
    width: 100%;
    border: 1px solid #dee1e2;
    height: 40px;
    padding: 6px 20px 6px 40px;
    font-size: 14px;
    border-radius: 10px;
}
.search-filter-box .search-form .searchicon {
    position: absolute; 
    left: 15px;
    top: 15px;
    color: #abb7b8;
}

.color-fill {
    background-color: #F6F8FA;
    border: 0px !important;
    border-radius: 10px;
    padding: 4px 10px 0px 10px;
}
.color-fill .nav-item {
    margin-bottom: 0px !important;
}
.tabs-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.tabs-wrapper .nav-left-scroll, .tabs-wrapper .nav-right-scroll {
    width: 43px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F6F8FA;
    border-radius: 50px;
    cursor: pointer;
}

.tabs-wrapper .nav-left-scroll {
    margin-right: 5px;
}

.tabs-wrapper .nav-right-scroll {
    margin-left: 5px;
}
.nav-tabs .nav-link {
    display: flex;
    align-items: center;
    color: #525866;
    border: 0px solid transparent !important;
    line-height: 20px;
}
.nav-tabs .nav-link .link-count {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    color: #ffffff;
    background-color: #868a97;
    border-radius: 50%;
    font-size: 11px;
    margin-left: 5px;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border-bottom: 2px solid #1176BC !important;
    background-color: transparent;
    color: #0A0D14;
    font-weight: 700;
}
.nav-tabs .nav-link.active .link-count {
    background-color: #2569B3;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-color: transparent !important;
    border-bottom: 2px solid #1176BC !important;
}
.nav-tabs-scroll {
    display: -webkit-inline-box !important;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.badge-outline-primary {
    color: #007bff;
    background-color: #fff;
    border: 1px solid #007bff;
}
.badge-outline-danger {
    color: #dc3545;
    background-color: #fff;
    border: 1px solid #dc3545;
}

:root {
    --switches-bg-color: #F6F8FA;
    --switches-label-color: #868C98 ;
    --switch-bg-color: white;
    --switch-text-color: #0A0D14 ;
}

.switches-success {
    background: rgb(214, 244, 231) !important;
}

.switches-success .switch {
    background: rgb(40, 167, 69) !important;
}

.switches-danger {
    background: rgb(249, 210, 217) !important;
}

.switches-danger .switch {
    background: rgb(220, 53, 69) !important;
}

.switches-success label, .switches-danger label {
    color: #ffffff !important;
}

.switches-success .switch div, .switches-danger .switch div {
    color: #ffffff !important;
}

.switches-container {
    width: 20rem;
    position: relative;
    display: flex;
    padding: 0;
    position: relative;
    background: var(--switches-bg-color);
    line-height: 2.80rem;
    border-radius: 10px;
}

/* input (radio) for toggling. hidden - use labels for clicking on */
.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

/* labels for the input (radio) boxes - something to click on */
.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: var(--switches-label-color);
}

/* switch highlighters wrapper (sliding left / right) 
    - need wrapper to enable the even margins around the highlight box
*/
.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.25rem;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
    /* transition: transform 1s; */
}

/* switch box highlighter */
.switch-wrapper .switch {
    border-radius: 9px;
    background: var(--switch-bg-color);
    height: 100%;
}

.switch-wrapper .switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: var(--switch-text-color) ;
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

/* slide the switch box from right to left */
.switches-container input:nth-of-type(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

/* slide the switch box from left to right */
.switches-container input:nth-of-type(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

/* toggle the switch box labels - first checkbox:checked - show first switch div */
.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
}

/* toggle the switch box labels - second checkbox:checked - show second switch div */
.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
}
.switch-wrapper .switch {
    position: unset;
    display: block;
    width: auto;
}

.checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0px;
}
.checkbox input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    margin-right: 0px !important;
    cursor: pointer;
}
.checkbox label {
    line-height: 1 !important;
    color: #666666 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 0px !important;
}

/* custome radio checklist */
.checklist .checklist-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.checklist .checklist-label {
    font-weight: 700;
    color: #666666;
}

.checklist .checklist-options {
    display: flex;
    gap: 20px;
}

.checklist .checklist-options span {
    margin-left: 7px;
    color: #525866;
}

.checklist input[type="radio"] {
    display: none;
}

.checklist label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border: 1px solid #adb5bd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 0px;
}

.checklist input[type="radio"]:disabled + label {
    cursor: auto;
}

.checklist input[type="radio"]:checked + label.yes {
    color: #00c853;
}

.checklist input[type="radio"]:checked + label.yes::before {
    font-family: 'FontAwesome';
    content: '\f00c';
}

.checklist input[type="radio"]:checked + label.no {
    color: #d32f2f;
}

.checklist input[type="radio"]:checked + label.no::before {
    font-family: 'FontAwesome';
    content: '\f00d';
}

.checklist input[type="radio"]:checked + label.unknown {
    color: #ff9d00;
}

.checklist input[type="radio"]:checked + label.unknown::before {
    font-family: 'FontAwesome';
    content: '\f128';
    font-size: 15px;
}

.status {
    position: relative;
    display: block;
    background-color: #3bb54a;
    text-transform: uppercase;
    line-height: 1;
    font-size: 9px;
    font-weight: 900;
    color: #ffffff;
    border-radius: 3px;
    text-align: center;
    margin-top: 4px;
    padding: 5px 5px 3px;
}

.color-New {
    background-color: #3bb54a;
}
.color-Contacted {
    background-color: #0f75bc;
}
.color-Converted {
    background-color: #f2bb22;
}
.color-Lost {
    background-color: #7f8c8d;
}
.color-Rejected {
    background-color: #f00;
}

.grid-view {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    list-style-type: none !important;
}
.grid-view .item {
    width: calc(100% / 4);
    padding: 0 10px 0 0;
    margin-bottom: 10px;
    list-style-type: none !important
}
.grid-view .gd-5 {
    width: calc(100% / 5) !important;
}
.grid-view .gd-6 {
    width: calc(100% / 6) !important;
}
.grid-view .gd-7 {
    width: calc(100% / 7) !important;
}
.grid-view .gd-8 {
    width: calc(100% / 8) !important;
}
.grid-view .label {
    color: #7E8B8D;
}

.pationt-chat {
    height: 400px;overflow: auto;padding-right: 15px;
}
.pationt-chat .icon {
    width: 40px
}
.pationt-chat .name {
    text-transform : capitalize;
    font-size: 16px;
    color: #0A0D14;
    padding: 0 10px;
}
.pationt-chat .type {
    color: #0077BF;
    background: #E6F2F9;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}
.pationt-chat .company {
    color: #0077BF;
    font-weight: 700;
}
.pationt-chat .note-type {
    color: #0A0D14;
    border: 1px solid rgba(0, 0, 0, .125) !important;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}

.chat {
    height: 400px;overflow: auto;padding-right: 15px;
}
.chat .icon {
    width: 30px
}
.chat .name {
    text-transform : capitalize;
    font-size: 16px;
    color: #7E8B8D;
    padding: 0 10px;
}
.chat .type {
    color: #0077BF;
    background: #E6F2F9;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}
.chat .vertical-dashed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.chat .vertical-dashed-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
}
.chat .vertical-dashed-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 27px;
    bottom: -15px;
    width: 2px;
    border-left: 2px dashed #0077BF;
}
.chat .vertical-dashed-list li::after {
    font-family: 'FontAwesome';
    content: '\f192';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 25px;
    color: #0077BF;
}
.chat .vertical-dashed-list li:last-child::before {
    border: 0px
}

.fc table {
    margin: 0px !important;
}
.fc .fc-button {
    text-transform : capitalize;
}
.fc button, button[disabled]:hover {
    text-transform : capitalize;
    border: 1px solid transparent;
    border-radius: 0.25em;
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.4em 0.65em;
    text-align: center;
    user-select: none;
    vertical-align: middle;
}


@media (max-width: 767px) {
    .grid-view .item, .grid-view .gd-5, .grid-view .gd-6, .grid-view .gd-7, .grid-view .gd-8 {
        width: calc(100% / 2) !important;
    }
}

/* Custome table CSS */
table.customeTable thead .sorting {
    background-image: url(../images/sort_both.png);
}
table.customeTable thead .sorting_asc {
    background-image: url(../images/sort_asc.png);
}
table.customeTable thead .sorting_desc {
    background-image: url(../images/sort_desc.png);
}
table.customeTable thead .sorting, 
table.customeTable thead .sorting_asc, 
table.customeTable thead .sorting_desc {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center right;
}
table.customeTable td.is_sort {
    background-color: #f1f1f1;
}
table.customeTable thead th, table.customeTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9 !important;
}
.table-hover tbody tr:hover {
    color: #212529;
    background-color: #f9f9f9 !important;
}

.text-ellipsis {
    white-space: nowrap;        /* keep text in one line */
    overflow: hidden;           /* hide overflow text */
    text-overflow: ellipsis;    /* add ... at the end */
    width: 100%;               /* must set a width */
    display: inline-block;      /* required for width to work */
}

.clamp-card {
  font-size: 14px;
  position: relative;
}

.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* Show only 2 lines */
  overflow: hidden;
  position: relative;
  margin-bottom: 0px;
}

/* Expanded state */
.clamp-card.expanded .clamp-text {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.clamp-card.expanded .clamp-text::after {
  display: none;
}

.read-btn {
  display: inline-block;
  margin-top: 6px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  text-decoration: underline;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.4);
    z-index: 10;
    border-radius: 12px; /* optional */
}

/* Main modal box */
.upgrade-modal {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    width: 680px;
    max-width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 11;
    overflow: hidden;
}

/* Left side text area */
.upgrade-left {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upgrade-left h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.upgrade-left h2 span {
    font-size: 24px;
    font-weight: 700;
    color: #1976d2; /* Blue highlight */
}

.upgrade-left p {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
}
.upgrade-btn {
    width: 150px;
    padding: 10px 15px;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Right side image */
.upgrade-right {
    background: #f5faff; /* Light soft background like your screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.upgrade-right img {
    width: 200px;
    height: auto;
}

/* Colors */
.red {
    --color: #e53935;
}

.orange {
    --color: #ef6c00;
}

.yellow {
    --color: #fbc02d;
}

.green {
    --color: #2ecc71;
}

.risk-row h3 {
    margin: 0;
    font-size: 18px;
}

.risk-row h3 span {
    font-weight: normal;
    color: #307BC1;
    text-transform: uppercase;
    font-size: 16px;
}

.risk-row p {
    margin: 0;
    color: #666;
}

.risk-row .icon {
    width: 65px; 
    height: 65px; 
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    position: relative;
    margin-right: 1rem;
}

/* Circle Progress */
.risk-row .circle {
    --size: 65px;
    --thickness: 8px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--color) calc(var(--value) * 1%), #F6F8FA 0);
}

.risk-row .circle span {
    position: absolute;
    font-size: 15px;
}

/* Inner white circle */
.risk-row .circle::before {
    content: "";
    position: absolute;
    width: calc(100% - var(--thickness) * 2);
    height: calc(100% - var(--thickness) * 2);
    background: white;
    border-radius: 50%;
}

.ck .ck-editor__editable_inline {
    height: 200px;
}

.ck-content ul, .ck-content ol, 
.ck-notes ul, .ck-notes ol {
    display: block;
    padding-left: 40px !important;
    margin-left: 0 !important;
    margin-bottom: 1rem;
}

.ck-content ul, .ck-content ul li, 
.ck-notes ul, .ck-notes ul li {
    list-style-type: disc !important;
    list-style-position: outside !important;
}

.ck-notes ol, .ck-notes ol li {
    list-style-type: decimal !important;
    list-style-position: outside !important;
}

