@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

body.auth-page:before {
    min-height: 100vh;
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-image: linear-gradient(60deg, #005ca8 0%, #9adf4e 100%);
}
body {
    background-color: rgb(9 101 73 / 10%);
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
}
body.overlay:after {
    background: rgba(173, 173, 173, 0.8);
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}
label {
    display: inline-block;
    font-weight: 600;
}
.navbar {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
p {
    margin-bottom: 5px;
}
a {
    color: #076549;
    text-underline-offset: 3px;
}
a:hover {
    color: #03a674;
}
input::placeholder {
    color: rgb(209, 209, 209) !important;
}
.form-group {
    width: 100%;
    margin: 10px 0;
}

.form-control,
.form-select {
    border: 1px solid #b9b9b9;
    border-radius: 8px;
    background-color: white;
    /* box-shadow: inset 2px 2px 4px #d7d7d7, inset -4px -4px 10px #ffffff; */
}

.form-select {
    box-shadow: none;
}
.form-check-input {
    border: 1px solid #b9b9b9;
}
.form-control:disabled,
.form-select:disabled,
.form-check-input:disabled {
    background-color: rgb(235 235 235);
    box-shadow: none;
}

/* Common base shadow */
:root {
    --btn-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset -1px -1px 0 rgba(0, 0, 0, 0.05), 0px 3px 6px rgba(0, 0, 0, 0.2), -1px -1px 3px rgba(255, 255, 255, 0.2);
}
:root {
    --btn-shadow-dark: inset 1px 1px 0 rgb(167 167 167 / 30%), inset -1px -1px 0 rgb(86 86 86 / 5%), 0px 3px 6px rgb(119 119 119 / 20%), -1px -1px 3px rgb(216 216 216 / 20%);
}

/* General styling */
.btn-primary,
.btn-danger,
.btn-secondary {
    font-weight: 400;
    transition: all 0.2s ease;
    /* box-shadow: var(--btn-shadow); */
}

/* PRIMARY - Deep Green */
.btn-primary {
    background-color: #076549 !important;
    border: 1px solid #065f44 !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    background-color: #097c59 !important;
    transform: translateY(-1px);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
}
.btn-primary:active {
    background-color: #055238 !important;
    transform: translateY(0);
    /* box-shadow: var(--btn-shadow);  */
}

/* DANGER - Red */
.btn-danger {
    background-color: #dc3545 !important;
    border: 1px solid #c82333 !important;
    color: #ffffff !important;
}
.btn-danger:hover {
    background-color: #e5535f !important;
    transform: translateY(-1px);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
}
.btn-danger:active {
    background-color: #bd2130 !important;
    transform: translateY(0);
    /* box-shadow: var(--btn-shadow); */
}

/* SECONDARY - White */
.btn-secondary {
    background-color: #ffffff !important;
    /* border: 1px solid #ced4da !important; */
    color: #212529 !important;
    /* box-shadow: var(--btn-shadow-dark); */
}
.btn-secondary:hover {
    background-color: #f1f3f5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-secondary:active {
    background-color: #e9ecef !important;
    transform: translateY(0);
    /* box-shadow: var(--btn-shadow); */
}

/* Prevent lingering focus styles */
.btn-primary:focus,
.btn-danger:focus,
.btn-secondary:focus,
.btn-primary:focus-visible,
.btn-danger:focus-visible,
.btn-secondary:focus-visible {
    outline: none !important;
    box-shadow: var(--btn-shadow);
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #000000;
    outline: 0;
    box-shadow: 0px 1px 3px 2px rgb(7 101 73 / 22%);
}

.side-bar {
    margin-top: 70px;
    position: sticky;
    top: 70px;
    /* height: calc(100vh - 40px); */
}
.side-content {
    padding: 0 30px;
}

ul.cf-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
li.cf-menu-item a {
    padding: 5px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #424242;
    white-space: nowrap;
    display: flex;
    margin-bottom: 5px;
    border-radius: 7px;

}
ul.cf-menu i {
    color: #000000;
}
span.menu-item-icon {
    display: inline-block;
    width: 28px;
    text-align: center;
}
.bg-light {
    background-color: #ffffff !important;
}
li.cf-menu-item a.active {
    background: #e5e5e5;
    color: #076549;
    border-radius: 7px;
    /* font-weight: 600; */
}
li.cf-menu-item a.active i {
    color: #076549;
}
li.cf-menu-item a:hover {
    background: #f1f1f1;
    /* transition: .2s; */
}
.cf-menu-heading {
    color: #076549;
}
.color-display {
    height: 24px;
    width: 100px;
    display: inline-block;
    border-radius: 15px;
    position: relative;
    top: 4px;
    border: 1px solid #212529;
}
.content-holder {
    padding: 1rem; /* Bootstrap default spacing unit */
    border-radius: 0.5rem; /* Matches Bootstrap's rounded class (rounded-lg) */
    margin-bottom: 1.5rem; /* ~20px */
    position: relative;
    width: 100%;
    z-index: 100;
    overflow: hidden; /* Prevent content overflow */
    display: block; /* Ensures block-level container */
    /* max-width: 1024px; */
    /* margin: auto; */
}

.content-holder-shadow {
    box-shadow: rgb(64 64 64 / 15%) 0px 6px 24px 0px, rgba(0, 0, 0, 0.1) 0px 0px 0px 1px;
}
.module-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #d7d7d7;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 10px 10px 15px;
}

.module-heading-label {
    /* padding: 6px 14px; */
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.module-heading-label:hover {
    background-color: #e0e7ef; /* hover effect */
}

.module-heading-label.active {
    background-color: #2563eb; /* active blue */
    color: #fff;
}

/*
@media (max-width: 1024px) {
    .content-holder {
        height: auto;
        max-height: 500px !important;
    }
}

@media (max-width: 767px) {
    .content-holder {
        height: auto;
        max-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .content-holder {
        height: auto;
        max-height: 300px !important;
    }
}
*/

.content-holder.popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 750px;
    z-index: 12;
    margin: 0;
    max-height: 90vh;
    overflow: scroll;
}
span.close-pop {
    font-size: 40px;
    position: absolute;
    top: -11px;
    right: 0px;
    opacity: 0.5;
    cursor: pointer;
}
span.close-pop:hover {
    opacity: 1;
}
.text-right.print-formula img {
    cursor: pointer;
    opacity: 0.8;
}
.text-right.print-formula img:hover {
    opacity: 1;
}
/* i {
    color: #076549;
    font-size: 17px;
} */
form.reset-form,
form.forgot-form,
form.login-form,
form.signup-form {
    background: white;
    padding: 30px;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: 10px;
}
.input-group-text {
    border-color: #aeaaaa;
}
input[type="text"]:focus-visible {
    outline: 0;
}
p.info {
    background: rgb(225 200 6 / 14%);
    border-left: 4px solid #076549;
    padding: 20px;
    margin: 20px 0 0;
    font-size: 20px;
    font-weight: 500;
}
ul.filters {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.filters li {
    display: inline-block;
    margin-right: 5px;
}
ul.filters li label {
    margin: 0;
}
.all-actions a {
    cursor: pointer !important;
}
a.disabled-action {
    pointer-events: none;
    opacity: 0.5;
}
input.form-control.price,
input.form-control.percentage {
    display: inline-block;
    /* width: 70px; */
    background: 0;
    padding-left: 0px;
}
.ent-ounce {
    display: none;
}
span.account-types {
    background: #212529;
    display: inline-block;
    padding: 3px 20px;
    border-radius: 15px;
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 14px;
}
p.text-center.text-muted.version-info {
    margin: 20px 0;
}
.account-information {
    right: 20px;
    top: 20px;
    position: absolute;
}
.search-holder {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, 0);
}
.page-item.active .page-link {
    background-color: #076549;
    border-color: #076549;
}
.page-link {
    color: #076549;
}
ul.dash-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.dash-menu li {
    display: inline-block;
    /* background: rebeccapurple; */
    /* padding: 10px; */
    min-width: 220px;
    /* min-height: 200px; */
    margin: 0 10px 10px 0;
    text-align: center;
}
ul.dash-menu li a {
    background: #f4f6f8;
    display: block;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    /*border: 1px solid #d4d4d4;*/
    text-decoration: none;
    transition: 200ms;
    box-shadow: 0 3px 5px #eaeaea;
    background-color: #ffffff;
    box-shadow: var(--p-card-shadow, 0 0px 2px 1px rgba(63, 63, 68, 0.09), 1px 2px 4px 0 rgba(63, 63, 68, 0.15));
    border-radius: 10px;
    box-shadow: rgb(156 154 154 / 40%) 0px 0px 3px, rgb(0 0 0 / 30%) 0px 3px 7px -3px, rgb(132 128 128 / 20%) 0px -3px 0px inset;
}
ul.dash-menu li a:hover {
    color: #ffffff;
    transition: 200ms;
    background: #076549;
    border-color: #076549;
}
ul.dash-menu li a:hover img {
    filter: invert(1);
    transition: 200ms;
}
span.dash-menu-ti {
    display: block;
    margin-top: 20px;
}

/* Mobile */
@media only screen and (max-width: 600px) {
    /* li.cf-menu-item {
        height: 60px;
        width: 60px;
    } */
    /* ul.cf-menu span {
        display: none;
    } */
    li.cf-menu-item a {
        /* height: 60px; */
        /* width: 65px; */
        text-align: center;
    }
    /* .content-holder {
        padding: 1.25rem;
        overflow: scroll;
        font-size: 12px;
    } */
    .account-information {
        position: relative;
        text-align: center;
        top: initial;
        right: initial;
    }
    .search-holder {
        position: relative;
        top: -15px;
        left: 0;
        transform: none;
    }
    .content-holder.popup {
        min-width: 100%;
    }
    .formula-holder h4 {
        text-align: center;
    }
    .no-mobile {
        display: none;
    }
    .table td {
        padding: 2px;
    }
    span.account-types {
        background: #212529;
        display: inline-block;
        padding: 3px 8px;
        border-radius: 15px;
        color: white;
        margin-right: 5px;
        margin-bottom: 2px;
        font-size: 11px;
    }
    button#create {
        padding: 5px 10px;
        min-width: auto;
        top: -55px !important;
        right: 5px !important;
    }
    form#cc-form label {
        margin: 3px 0 0 0;
    }
    form#toner-add label,
    form#edit-toner label {
        margin: 0;
    }
    form#toner-add .mb-3,
    form#edit-toner .mb-3 {
        margin: 3px !important;
    }
    td.toner-name {
        font-size: 12px;
    }
    ul.dash-menu li {
        width: 100%;
    }
    ul.dash-menu li a {
        padding: 10px 20px;
    }
    .paint-holder h4 {
        text-align: center;
        margin-top: 10px;
        font-size: 20px;
    }
    .formula-holder h4 {
        font-size: 20px;
        margin-top: 10px;
    }
}
ul.size-chart-wrap {
    padding: 0 15px;
}
ul.size-chart-wrap b {
    width: 60px;
    display: inline-block;
}
.page-link:hover {
    color: #000000;
}
.system-alert {
    text-align: left;
    padding: 15px 10px;
    font-size: 15px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 1px, rgba(0, 0, 0, 0.24) 0px 1px 1px;
    /* margin-bottom: 10px; */
    float: left;
    width: 100%;
    border-left: 10px solid;
    border-top: 0px solid;
    border-right: 0px solid;
    border-bottom: 0px solid;
    background: rgb(0 0 0 / 100%);
    color: #ffffff;
    border-radius: 5px;
    line-height: 25px;
    font-weight: 400;
}
.system-alert-error {
    border-color: rgb(207 0 0);
    /* background-color: rgb(239 22 22 / 20%); */
    /* color: #000000; */
}
.system-alert-success {
    border-color: rgb(59 193 152 / 100%);
    /* background: rgb(59 193 152 / 20%); */
    /* color: #000000; */
}
.system-alert-info {
    border-color: rgb(255 166 2 / 100%);
    /* background-color:rgb(255 166 2 / 20%); */
    /* color:#000000; */
}
.system-alert-msg {
    border-color: rgb(255 166 2 / 100%);
    /* background-color:rgb(255 166 2 / 20%); */
    /* color:#000000; */
}
.pace .pace-progress {
    background: #076549;
    height: 4px;
    top: 71px;
}
.dropdown-toggle.action:after {
    content: none;
}
.auto-height {
    min-height: auto;
}
.loader {
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 700ms linear infinite;
    display: inline-block;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.bg-success {
    background-color: #076549 !important;
}
div#activation-pop {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    background: white;
    width: 100%;
    max-width: 440px;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 7px;
}
button#dropdownMenu2.action:after {
    content: none;
}
button#dropdownMenu2.action {
    background: #ffffff;
    padding: 4px;
    font-size: 20px;
    border: none;
    cursor: pointer;
}
button#dropdownMenu2:focus-visible {
    outline: none;
}
.app-notifications-block {
    margin-top: 60px;
    /* margin-bottom: 10px; */
    float: left;
    width: 100%;
}
.filters-row {
    float: left;
    width: 100%;
}

li.cf-menu-item {
    font-size: 14px;
}

.records-table {
    white-space: nowrap;
}
.form-check-input {
    width: 18px;
    height: 18px;
    position: relative;
    top: -3px;
}
input.form-check-input {
    /* min-width: 50px; */
    /* height: 25px; */
    cursor: pointer;
}
.form-check-input:checked {
    background-color: #076549;
    border-color: #2cb088;
}
.form-check-input:focus {
    border-color: rgb(59 193 152 / 25%);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(59 193 152 / 25%);
}
ul.pagination {
    margin: 0;
}
#create-department-member-popup .btn-check:disabled + .btn,
#create-department-member-popup .btn-check[disabled] + .btn {
    pointer-events: none;
    filter: none;
    opacity: 0.2;
}

.ring-container {
    position: relative;
}

.circle {
    width: 15px;
    height: 15px;
    background-color: #076549;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}
@keyframes ring {
    0% {
        transform: rotate(0);
    }
    10% {
        transform: rotate(30deg);
    }
    20% {
        transform: rotate(-30deg);
    }
    30% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(5deg);
    }
    60% {
        transform: rotate(-5deg);
    }
    70%,
    100% {
        transform: rotate(0);
    }
}
.ringing-animation {
    display: inline-block;
    animation: ring 1s infinite;
    transform-origin: center;
}
.ringring {
    border: 3px solid #076549;
    -webkit-border-radius: 30px;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0;
}
@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1.2, 1.2);
        opacity: 0;
    }
}
div#callNotification {
    position: fixed;
    background: #003424;
    background: linear-gradient(260deg, #c75af7, #000000);
    background: linear-gradient(260deg, #fbc700, #089067);
    padding: 30px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 89px 158px, rgba(0, 0, 0, 0.4) 0px 15px 12px;
    z-index: 1000;
    width: auto;
    min-width: 500px;
    top: 80px;
    right: 30px;
    user-select: none;
    cursor: move;
    cursor: grab;
    z-index: 9999;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    /* background: linear-gradient(135deg, #0f766e, #0d9488, #14b8a6); */
}

.call-icon.animate {
    animation: shake 1s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: rotate(-100deg);
    }
    /* 50% { transform:  rotate(90deg); } */
    /* 60% { transform:  rotate(110deg); } */
    80% {
        transform: rotate(120deg);
    }
    100% {
        transform: rotate(-100deg);
    }
}

#bars {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar {
    background: #ffffff;
    height: 60px;
    width: 5px;
    margin: 0px 4px;
    border-radius: 50px;
    animation: sound 0ms -600ms linear infinite alternate;
}

@keyframes sound {
    0% {
        opacity: 0.35;
        height: 3px;
    }
    100% {
        opacity: 1;
        height: 70px;
    }
}
.text-primary {
    color: #076549 !important;
}
.bar:nth-child(1) {
    animation-duration: 474ms;
}
.bar:nth-child(2) {
    animation-duration: 433ms;
}
.bar:nth-child(3) {
    animation-duration: 407ms;
}
.bar:nth-child(4) {
    animation-duration: 458ms;
}
.bar:nth-child(5) {
    animation-duration: 490ms;
}
.bar:nth-child(6) {
    animation-duration: 427ms;
}
.bar:nth-child(7) {
    animation-duration: 441ms;
}
.bar:nth-child(8) {
    animation-duration: 419ms;
}
.bar:nth-child(9) {
    animation-duration: 487ms;
}
.bar:nth-child(10) {
    animation-duration: 442ms;
}
.bar:nth-child(11) {
    animation-duration: 410ms;
}
.bar:nth-child(12) {
    animation-duration: 420ms;
}
.bar:nth-child(13) {
    animation-duration: 459ms;
}
.bar:nth-child(14) {
    animation-duration: 406ms;
}
.bar:nth-child(15) {
    animation-duration: 461ms;
}
.bar:nth-child(16) {
    animation-duration: 490ms;
}
.bar:nth-child(17) {
    animation-duration: 457ms;
}
.bar:nth-child(18) {
    animation-duration: 422ms;
}
.bar:nth-child(19) {
    animation-duration: 492ms;
}
.bar:nth-child(20) {
    animation-duration: 403ms;
}
.swal2-styled.swal2-confirm {
    background-color: #076549;
}
.ringring.connecting {
    border-color: #a4a4a4;
}
.circle.connecting {
    background-color: #ffde7c;
}
.timer-input {
    width: 25px;
    text-align: center;
    border: none;
    background: transparent;
    color: #e5e5e5;
}
span.bs-tg-holder {
    background: #9bdeff;
    padding: 1px 10px;
    display: inline-block;
    margin: 5px 5px 0 0;
    border-radius: 25px;
    /* box-shadow: 0px 2px 0px 0px #c6c6c6; */
    font-size: 12px;
}
span.bs-tg-action {
    display: inline-block;
    padding: 0 4px;
    margin-left: 10px;
    cursor: pointer;
    color: #a5a5a5;
}
span.bs-tg-action:hover {
    color: #000000;
}

ul#smiles-keyboard li {
    display: inline-block;
    font-size: 30px;
    background: #f7f7f7;
    padding: 6px 0 0 0;
    line-height: 1;
    margin: 1px;
    height: 40px;
    width: 40px;
    text-align: center;
    cursor: pointer;
}

#smiles-keyboard .tab-content > .active {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    /* justify-content: center; */
    align-items: center;
    text-align: center  ;
}

div#message-extras ul li {
    display: inline-block;
    /* padding: 5px; */
    /* border-radius: 50px; */
    /* border: 1px solid #000000; */
    opacity: 0.8;
    overflow: hidden;
    margin-right: 7px;
}

div#message-extras ul li:hover {
    cursor: pointer;
    opacity: 1;
}

.emojis-pop.active {
    transition: .4s;
    transform: translate(0, 0);
    display: block;
}
.emojis-pop {
    position: absolute;
    width: 100%;
    left: 0;
    background: #e6efec;
    box-shadow: 0 10px 20px 10px rgb(0 0 0 / 40%);
    overflow: hidden;
    padding: 10px;
    transition: 0.4s ease-out;
    z-index: 1000;
    bottom: 0;
    transform: translate(0, 100%);
    display: none;
}
.emojis-pop-holder {
    position: absolute;
    max-width: 300px;
    max-height: 500px;
    bottom: 0;
    overflow-y: scroll;
    background: #f3f3f3;
}

.emoji-holder-inner {
    max-height: 230px;
    overflow-y: scroll;
    background: white;
}

.emoji-filters {
    padding: 5px;
}

.emoji-filters .item {
    font-size: 20px;
}

.emoji-filters li.nav-item a {
    padding: 3px 10px;
    text-align: center;
    border: 1px solid;
    border-radius: 25px;
    margin: 3px;
}
a.emoji-cat
 {
    padding: 10px;
}
#smiles-keyboard span {
    border: 1px solid #fff;
    margin: 0px;
    border-radius: 5px;
    font-size: 45px;
    line-height: 1;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    padding: 3px 2px 0px 2px;
    width: calc((100% - 140px) / 14);

    text-align: center;
}

#smiles-keyboard a.nav-link {
    padding: 10px;
    text-align: center;
}

#smiles-keyboard ul#tabsList {
    border: none;
}

#smiles-keyboard a.nav-link.text-secondary.active {
    background: black;
    border: 1px solid;
    border-radius: 25px;
    color: #ffffff !important;
}

#smiles-keyboard .nav-tabs .nav-link:focus,
#smiles-keyboard .nav-tabs .nav-link:hover {
    border-radius: 25px;
}

#smiles-keyboard .sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
    min-height: 100px;
}

#smiles-keyboard span:hover {
    background: #ececec;
}

.gif-preview {
    /* background-position: center center; */
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
    background-color: #ececec;
    border-radius: 5px;
    border: 1px solid #000000;
    /* display: inline-block; */
    /* margin: 0 0 0 5px; */
    /* box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px; */
    max-width: 100px;
    height: 93px;
    width: 100%;
    width: calc((100% - 70px) / 8);
}
.gif-preview:hover {
    background-color: #dddddd;
    cursor: pointer;
}
.gif-pop.active {
    transition: .4s;
    transform: translate(0, 0%);
    display: block;
}
.gif-pop {
    position: absolute;
    width: 100%;
    left: 0;
    background: #e6efec;
    box-shadow: 0 10px 20px 10px rgb(0 0 0 / 40%);
    overflow: hidden;
    padding: 10px;
    transition: 0.4s ease-out;
    z-index: 1000;
    bottom: 0;
    transform: translate(0, 100%);
    display: none;
}

.gif-content {
    margin: 0px 10px 10px 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-y: scroll;
    max-height: 220px;
    background-color: white;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c2c2c2;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b4b4b4;
}
.processing-text {
    animation: glowFade 500ms ease-in-out infinite;
    margin: 0;
}

@keyframes glowFade {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}
.btn-check:disabled + .btn,
.btn-check[disabled] + .btn {
    opacity: 0.2;
}
.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    filter: grayscale(1) !important;
    opacity: 0.4 !important;
}

.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 60px;
    /* background: #f2f2f2; */
    float: left;
    width: 100%;
    /* margin-top: 10px; */
}

.section-title {
    margin: 0;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.actions-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}
.actions-row h5 {
    margin: 0;
}
.nav-bar-info {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.menu-container {
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: 10px 10px 10px rgb(9 101 73 / 10%);
    z-index: 101;
}
span#memberCall-list-toggle {
    background: #e5e5e5;
    line-height: 1;
    padding-top: 5px;
    border-radius: 25px;
    height: 20px;
    width: 20px;
    text-align: center;
    transition: 0.4s;
    transform: rotate(180deg);
}
span#memberCall-list-toggle.active {
    transform: rotate(0deg);
}

span#memberCall-list-toggle:hover {
    background: #c5c5c5;
}

#memberCall {
    max-width: 350px;
    margin: auto;
}

.keypad button,
.back-key {
    border: 1px solid #bebebe;
    display: inline-block;
    height: 60px;
    width: 100px;
    font-size: 20px;
    padding-top: 0;
    border-radius: 30px;
    background: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
    /* Critical: Avoid double-tap zoom on iOS */
    touch-action: manipulation;
    /* Prevent 300ms delay + double-tap zoom */
}

.keypad button:hover {
    background: #eee;
}

.keypad button.mouse-down {
    background: whitesmoke;
}

.keypad button:nth-child(3),
.keypad button:nth-child(6),
.keypad button:nth-child(9),
.keypad button:nth-child(12) {
    margin-right: 0;
}

#memberCall-list button {
    padding: 4px 20px;
    border: 0;
    background: #2a9900;
    top: 6px;
    border-radius: 5px;
    right: 6px;
    font-size: 12px;
    color: white;
    box-shadow: rgb(0 0 0 / 10%) 0px 2px 4px, rgb(40 40 40 / 10%) 0px 7px 26px -5px, rgb(37 37 37 / 30%) 0px -5px 1px inset;
}

span.caller-image.display-inline-block {
    background: #447fda;
    padding: 14px 5px;
    float: left;
    border-radius: 50%;
    position: relative;
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

span.caller-image b {
    position: absolute;
    top: 50%;
    left: 50%;
    line-height: 1;
    transform: translate(-50%, -50%);
    color: #fff;
}

.browser-calling {
    height: 100%;
}

.call-container:hover {
    background: #f9f9f9;
}

.call-block.active {
    translate: 0;
    z-index: 103;
    /* height: 60px; */
}

.call-block__left {
    display: flex;
    align-items: center;
    gap: 7px;
}

.call-block__right {
    display: flex;
    align-items: center;
}

.call-block__item {
    font-size: 14px;
    padding: 5px 20px;
    border-radius: 15px;
}
span.callBlock-dot {
    color: palegoldenrod;
}
.call-block__status,
.call-block__timer {
    background: rgb(255 255 255 / 90%);
    font-weight: bold;
    border-radius: 15px;
    padding: 5px 20px;
}

.call-block__timer {
    color: black;
}

span#callBlock-info {
    background: #ffffff;
    /* max-width: 320px; */
    /* white-space: nowrap; */
    /* text-overflow: ellipsis; */
    /* overflow: hidden; */
    color: black;
}

span.call-status {
    width: 110px;
    display: inline-block;
    white-space: nowrap;
}

div#memberCall-list img {
    height: 50px;
}

.call-entry:hover {
    background: rgb(7 101 73 / 10%);
}

.call-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    /* margin: 10px 15px 0 15px; */
    background: linear-gradient(135deg, #4a90e2, #35bd84);
    background: linear-gradient(135deg, #076549, #ffca00);
    /* color: #fff; */
    border-radius: 0px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    right: 0;
    left: 0;
    transition: 300ms;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    bottom: 0;
    translate: 0 100%;
    margin: 0;
    min-height: 60px;
    z-index: 1003;
    gap: 7px;
    box-shadow: rgb(64 64 64 / 10%) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    user-select: none;
}

.p-2.text-trigger:hover {
    cursor: pointer;
    background: rgb(7 101 73 / 10%);
    transition: 200ms;
}

.p-2.text-trigger {
    position: relative;
}

.text-number,
.text-excerpt {
    padding-left: 10px;
}



.message-media-preview {
    position: relative;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 10px;
}
.message-media-preview i {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ed0000;
    padding: 5px 0 0 0;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 25px;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    /* padding: 6px 0 0 0; */
    color: white;
}
.message-media-item {
    position: relative;
}
.added-media {
    float: left;
    width: 100%;
    /* padding: 0 10px; */
}
.message-media-preview img {
    height: 100px;
    max-width: 150px;
    max-height: 100px;
    border-radius: 5px;
    /* border: 1px solid #ababab; */
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    object-fit: contain;
    /* width: 100%; */
}
.message-media-preview video {
    border-radius: 5px;
    padding: 0;
    margin-bottom: 10px;
    background: #000000;
}
.add-media-block {
    position: absolute;
    bottom: 0;
    z-index: 10000000;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 20px 10px rgb(0 0 0 / 40%);
}
.progress {
    border: 1px solid #000000;
    background: #ffffff;
}

.progress-bar {
    background: #000000;
}

span#char-left {
    border-right: 1px solid #b3b3b3;
    padding: 0 4px 0px 0px;
}

textarea#message::placeholder {
    color: #c8c8c8;
    font-size: 14px;
}

textarea#message:focus {
    box-shadow: none;
    border-color: rgb(0, 0, 0);
}

.p-2.text-trigger.unread {
    font-weight: 700;
}

.text-excerpt {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.text-trigger.on-it {
    background: rgb(7 101 73 / 10%);
}

a#send-msg-trigger:hover {
    background: rgb(7 101 73 / 15%);
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #d2d2d2;
    outline: 0;
    box-shadow: none;
}

span.selected-image {
    color: #076549;
}

.call-placeholder {
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 60px, #ddd 180px);
    background-size: 500px;
    animation: shine 1s infinite linear;
}

@keyframes shine {
    0% {
        background-position: -100px;
    }

    50% {
        background-position: 150px;
    }

    100% {
        background-position: 300px;
    }
}

.conversation-trigger {
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.threads-placeholder {
    margin-top: 50px;
}

.load-more-messages {
    background: #f2f2f2;
    padding: 10px;
    box-shadow: 0px 12px 10px #ffffff;
    margin: 0 -15px 20px -16px;
    background: #efefef;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.no-more-messages {
    padding: 10px;
    box-shadow: 0px 12px 10px #ffffff;
    margin: 0 -15px 20px -16px;
    background: #f1f2e2;
    user-select: none;
}

.threads .thread:nth-of-type(1) {
    /* background: red; */
    margin-top: 20px;
}

.all-thread-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.threads {
    background-color: #f8f9fa;
}
.thread {
    /* position: relative; */
    /* margin-right: 40px; */
}
.thread-content {
    max-width: 70%;
    word-wrap: break-word;
}

.thread-bg-out {
    background-color: #076549;
    background-color: #d6f9ef;
}

.threads-container-footer textarea {
    border-radius: 20px;
}

.threads .thread-timestamp {
    font-size: 10px;
}
.conversation-trigger:hover {
    background-color: rgb(7 101 73 / 10%);
}

.conversation-trigger.unread {
    font-weight: 600;
}

.conversation-trigger .avatar {
    position: absolute;
    top: 10px;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-trigger .text-number {
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.2;
    word-break: break-all;
}

.conversation-trigger .text-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    word-break: break-word;
    max-width: 220px;
}

#threads-owner-new {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#threads-owner-new label {
    font-weight: bold;
    font-size: 14px;
}

#threads-owner-new input {
    max-width: 300px;
    font-size: 14px;
    width: 100%;
}
.analytics-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 3rem;
    opacity: 0.1;
    color: #076549;
}

.hover-text-decoration-underline:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.thread-timestamp {
    margin-left: 33px;
    margin-top: 5px;
    color: #076549 !important;
}
.thread.text-end .thread-timestamp {
    margin-left: 0px;
    margin-right: 33px;
}
.thread.text-start .thread-content {
    padding: 10px 15px;
    border-radius: 20px;
}
.thread.text-end .thread-content {
    padding: 10px 15px;
    border-radius: 20px;
    text-align: left;
}
.message-video {
  max-width: 320px;
  width: 100%;            /* or fixed like 300px */
  height: 200px;          /* consistent height for all videos */
  object-fit: contain;    /* keeps aspect ratio, fits within */
  background: #000;       /* fallback for black bars */
  border-radius: 8px;
}
.message-media {
    /* border: 1px solid #3d3d3d; */
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    /* min-height: 100px; */
    /* min-width: 100px; */
    /* max-width: 200px; */
    background-color: #f6f6f6;
}
.message-image {
    max-width: 200px;
    object-fit: contain;
}
span.extra-trig-icon {
    font-size: 16px;
    display: inline-block;
    background: #e9e9e9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
    border-radius: 25px;
}
.dropdown-item.active, .dropdown-item:active {
    text-decoration: none;
    background-color: #076549;
}
.text-0 {
    color: #bababa;
    font-weight: 100;
}