html {
    scroll-behavior: smooth;
}

.label-info {
    background-color: #5bc0de;
}

.label {
    padding: .2em .6em .3em;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 500px;
    padding: 10px 0;
    padding-left: 10px;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-cursor {
    color: #f1b218;
}

.bootstrap-tagsinput {
    width: 100%;
}

table {
    font-size: 15px;
}

#phoneclientsfoundcontainer {
    font-size: 13px;
}

.bi-box-arrow-up-right {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}

.bi::before {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}

input.desk-input {
    font-size: 0.87rem;
    border-radius: 0.2rem;
    font-weight: 300;
}

input.desk-input:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.clients-table-all {
    transform: translateZ(0);
}

.sticky-offset {
    top: 10px;
}

.tooltip-inner {
    background-color: #d2d2d4;
    color: #000;
}

.tooltip-arrow {
    background-color: white;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, .bs-tooltip-top .tooltip-arrow::before {
    /* border-top-color: #d2d2d4 !important; */
    border-top-color: #d2d2d4;
}

.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before, .bs-tooltip-bottom .tooltip-arrow::before {
    /* border-bottom-color: #d2d2d4 !important; */
    border-bottom-color: #d2d2d4;
}

.icon-green {
    background-color: rgba(0, 128, 0, 0.548);
    color: rgb(71, 70, 70);
    padding: 5px;
    border-radius: 5px;
}

.icon-pink {
    /* color: pink; */
    background-color: rgba(255, 0, 0, 0.329);
    color: rgb(71, 70, 70);
    padding: 5px;
    border-radius: 5px;
}

.form-check-label {
    user-select: none;
}

.add-new-comment-input {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.btn-mediator {
    color: #000;
    background-color: rgba(255, 0, 0, 0.329);
    border-color: rgba(255, 0, 0, 0.329);
}

.btn-nocontract {
    color: #000;
    background-color: rgba(0, 128, 0, 0.548);
    border-color: rgba(0, 128, 0, 0.548);
}

.btn-lightblue {
    color: #000;
    background-color: #84def0;
    border-color: #84def0;
}

.admin-comment {
    background-color: rgb(139 139 228 / 11%);
}

.agent-comment {
    background-color: rgb(139 139 228 / 11%);
}

.manager-comment {
    background-color: rgb(139 139 228 / 11%);
}

.superadmin-comment {
    background-color: rgb(42 126 42 / 9%);
}

/** grouped notes that are being created from call */
.call-comment-bucket-user { background-color: #ebe1fa;}
.call-comment-bucket-superadmin { background-color: #cdb6f0; }
/** grouped notes that are being created from terain */
.terain-comment-bucket-user { background-color: #fcedc2; }
.terain-comment-bucket-superadmin { background-color: #fad369; }

.bi-emoji-mutan-kupac {
    content: url(/icons/skull.svg);
    width: 20px;
    height: 20px;
    float: left;
}

.btn-table-icon-modal {
    margin-left: 0.25rem;
}

smaller {
    font-size: .675em;
}

/* validation for datetime-local input (views/terains/addnew.blade.php) */

div.datetime-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

label.datetimelabel {
    display: inline-block;
    width: 300px;
}

input:invalid+span::after {
    content: "✖";
    padding-left: 5px;
}

input:valid+span::after {
    content: "✓";
    padding-left: 5px;
}

.textarea-small {
    font-size: 0.8rem;
}

.spinner-border-small {
    height: 0.8rem;
    width: 0.8rem;
}

.spinner-clients-all-superadmin-icon {
    margin-left: 2px;
    height: 0.65rem;
    width: 0.65rem;
}

.connection-client-agent-icon {
    margin-left: 2px;
}

.connection-client-agent-icon-denied {
    color: #f08686;
}

.connection-client-agent-icon-approved {
    color: #90ee90;
}

.client-profile-connection-icon-denied {
    color: lightcoral;
}

.inactive-connection-between-agent-and-client {
    background-color: #c9c9c9 !important;
    color: #eae7e7;
}

/* Ikonica za alarm da blinka */

.blink {
    color: #ff6e6e;
    margin-left: 2px;
    /* margin-right: 0.5rem; */
    animation: blink 3s steps(10, start) infinite;
    -webkit-animation: blink 1s steps(10, start) infinite;
}

@keyframes blink {
    from, to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@-webkit-keyframes blink {
    from, to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}
  
/* kraj css-a za ikonicu za alarm koja blinka */

/* Notification dropdown */

.navbar-user-controls {
    gap: 0.875rem;
}

.navbar-user-profile {
    gap: 0.5rem;
    max-width: 14rem;
    padding: 0.2rem 0.65rem 0.2rem 0.2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

.navbar-user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.navbar-user-name {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-logout-btn {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.dropdown.notification-counter-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 0.25rem;
    padding-right: 0.5rem;
}

.notification-toggle-btn {
    position: relative;
    width: 2.375rem;
    height: 2.375rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    line-height: 1;
}

.notification-toggle-btn .bi-bell {
    font-size: 1.05rem;
}

.notification-toggle-btn.dropdown-toggle::after {
    display: none;
}

.notification-badge-counter {
    position: absolute;
    top: -0.45rem;
    right: -0.55rem;
    z-index: 2;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.28rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.1rem;
    pointer-events: none;
    border: 2px solid #f8f9fa;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

#notificationitems.dropdown-menu,
#notificationitems.notification-dropdown-menu {
    max-height: min(70vh, 480px);
    overflow-x: hidden;
    overflow-y: auto;
    width: min(360px, calc(100vw - 1.5rem));
    min-width: 260px;
    padding: 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.625rem;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.12);
    font-size: 0.8125rem;
}

#notificationitems .notification-dropdown-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#notificationitems .notification-dropdown-header .count-pill {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    letter-spacing: 0;
    text-transform: none;
}

li.li-notification-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

li.li-notification-item:last-child {
    border-bottom: 0;
}

a.dropdown-item.dropdown-notification-item {
    z-index: 1;
    white-space: normal;
    max-width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #1e293b;
    transition: background-color 0.15s ease;
}

a.dropdown-item.dropdown-notification-item:hover,
a.dropdown-item.dropdown-notification-item:focus {
    background-color: #f8fafc;
    color: #0f172a;
}

small.notification-time {
    display: block;
    margin-bottom: 0.2rem;
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

a.dropdown-item.dropdown-notification-item .notification-message {
    display: block;
    color: #334155;
    font-size: 0.8125rem;
    line-height: 1.45;
}

#notificationitems .notification-dropdown-empty {
    padding: 1rem 0.875rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
}

.notification-received {
    color: #fff;
    background-color: #5c636a;
    border-color: #565e64;
    animation: mymove 0.5s infinite;
    animation-iteration-count: 3;
}

@keyframes mymove {
    from {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

    to {
        color: #fff;
        background-color: #47494c;
        border-color: #565e64;
        /* background-color: #509de9;
        border-color: #1885d8; */
    }
}

i.bi-bell-fill {
    /* color: red; */
    animation: markonot 1s infinite;
    animation-iteration-count: 3;
}

@keyframes markonot {
    from {
        color: #fff;
        /* -webkit-text-stroke: 0.2px; */
    }
    
    to {
        color: #fc9c95;
        /* -webkit-text-stroke: 1px; */
    }
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.55);
}

input.client-search-form-element {
    font-size: 13px;
    padding: 8px;
}

.remove-client-note-button {
    padding: 0.3rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    font-size: 10px;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 40%;
}

#sidebar-notification-counter {
    color: white;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 2px;
    border-radius: 40%;
    background-color: rgb(171, 171, 171);
}

#sidebar-phone-access-counter {
    color: white;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 4px;
    border-radius: 40%;
    background-color: #fd7e14;
}

#sidebar-remote-sync-counter {
    color: white;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 6px;
    border-radius: 40%;
    background-color: #fd7e14;
}

.phone-access-agent-banner {
    border-radius: 0.5rem;
}

.phone-access-agent-banner a:not(.btn) {
    font-weight: 500;
}