.curved_login {
    background-image: url("../../../images/bg_login.webp");
    width: 100%;
    height: 100%;
    /* [FIX:auth-bg] contain (а не cover): картинка масштабируется
       пропорционально по своим размерам и помещается целиком — не
       растягивается на всю ширину колонки и не обрезается. */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.app-brand-text.demo {
    text-transform: none;
}

.light-style .datepicker.datepicker-inline table {
    box-shadow: none;
}

.accordion .accordion-item.active {
    box-shadow: none;
}
/*.task-item {
    position: relative;
    padding-left: 25px; !* пространство для круга *!
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}*/

.task-circle {
    width: 16px;
    height: 16px;
    position: absolute;
    left: 5px;
    top: 9px;
}

.task-item:hover .task-circle {
    display: inline-block;
    cursor: pointer;
}
.task-menu-item {
    display: none;
}
.task-menu-item i{
    margin-right: 3px;
}
.task-menu-item i:last-child{
    margin-right: 0px;
}
.task-menu-item i:hover{
    color: #6d70ff;
}
.task-item:hover .task-menu-item {
    display: inline-flex;
    cursor: pointer;
}
.text-del {
    text-decoration: line-through;
}

.task-circle.active i{
    color: #00b300;
}
.event-li {
    list-style: none;
    padding: 3px;
    min-height: 30px;
    align-items: center;
}

.event-li:hover {
    background-color: #fbfbfb;
}

.event-li .text {
    white-space: nowrap; /* Запрещаем перенос строк */
    overflow: hidden; /* Обрезаем все, что не помещается в область */
    text-overflow: ellipsis;
}
.event-li .task-menu-event {
    display: none;
}
.event-li:hover .task-menu-event {
    display: inline-flex;
    cursor: pointer;
}

.task-item .text {
    white-space: nowrap; /* Запрещаем перенос строк */
    overflow: hidden; /* Обрезаем все, что не помещается в область */
    text-overflow: ellipsis;
}

.event-li .circle{
    padding-left: 3px;
}
.event-li .task-event {
    display: none;
}
.event-li:hover .task-event {
    display: inline-flex;
    cursor: pointer;

}
.event-li .task-event i:hover{
    color: #6d70ff;
    cursor: pointer;
}
.event-li .text .circle.active i{
    color: #00b300;
}

.circle.active i{
    color: #00b300;
}

.light-style .flatpickr-calendar {
    box-shadow: none;
}

.light-style .flatpickr-days {
    border: none;
}


.table th {
    letter-spacing: 0;
}
.table > :not(caption) > * > * {
    padding: 2px 2px;
}

.flatpickr-month {
    height: 1.5375rem;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    appearance: menulist;
    cursor: pointer;
    height: auto;
    position: relative;
    width: auto;
}

.noSearch {
    background-color: #787878;
    padding: 5px;
    margin-left: 5px;
    color: #ffffff;
    font-size: 12px;
}

.light-style .flatpickr-day {
    color: #000000;
}
.light-style .flatpickr-day:hover, .light-style .flatpickr-day:focus, .light-style .flatpickr-day.prevMonthDay:hover, .light-style .flatpickr-day.nextMonthDay:hover, .light-style .flatpickr-day.today:hover, .light-style .flatpickr-day.prevMonthDay:focus, .light-style .flatpickr-day.nextMonthDay:focus, .light-style .flatpickr-day.today:focus {
    color: #000000;
}
.tooltip-inner {
    max-width: 400px;
}

/* Фикс мобильных touch: невидимые оверлеи не должны перехватывать нажатия */
.content-backdrop.fade:not(.show) {
    pointer-events: none !important;
}
.layout-overlay:not(.show) {
    pointer-events: none !important;
}
.drag-target {
    pointer-events: none;
}
.layout-menu-expanded .drag-target {
    pointer-events: auto;
}

.layout-navbar, #layout-navbar {
    z-index: 10;
}
#layout-navbar .dropdown-menu {
    margin-left: 0 !important;
    margin-top: 0 !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal) .layout-page:before {
    z-index: 0;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 0 !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 0 !important;
}
.container-p-y:not([class^=pt-]):not([class*=" pt-"]) {
    padding-top: 10px !important;
}

.mb-4 {
    margin-bottom: 0.5rem !important;
}
.card-body-new {
    padding: 0.5rem 0.5rem !important;
}
.breadcrumb {
    --bs-breadcrumb-margin-bottom: 0 !important;
}
.btn-sm, .btn-group-sm > .btn {
    --bs-btn-padding-y: 0.15rem !important;
}

.bxico {
    line-height: 1.15;
    vertical-align: middle;
    font-size: 1.15rem;
}

.mobu {
    color: #9ea9b7;
    position: absolute;
    right: 25px;
    top: 35px;
    transform: translateY(-50%);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    transition: 0.5s;
}

.mobu:hover {
    color: #000000;
    transition: 0.5s;
}

.formInputTable {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 14px;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-align: center; /* Центрирование текста */
}


.table.autocompl td, .table.autocompl th {
    text-align: center;
    vertical-align: middle;
}

.table-row-selected {
    background-color: #63b2f1; /* светло-голубой фон, можно изменить */
}
.linkEventPage {
    cursor: pointer;
}
.linkEventPage svg:hover {
    color: #696cff !important;
}

#newAccord {
    background: rgba(105, 108, 255, 0.2) !important;
    border-color: rgba(105, 108, 255, 0.2) !important;
    box-shadow: 0 0.125rem 0.25rem rgba(105, 108, 255, 0.45);
}


.new_style {
    left: 20px !important;
    top: -28px !important;
}

.rating-widget {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #8592a3;
    cursor: pointer;
}

.rating-widget span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2.5px;
    min-width: 25px;
    height: 25px;
    border: 2px solid rgba(105, 108, 255, 0.2);
    border-radius: 50%;
    background-color: white;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}
.rating-widget .center{
    position: relative;
    min-width: 42px !important;
    height: 42px !important;
    z-index: 1;
    border: 1px solid transparent !important;
}
.rating-widget .center::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px; /* толщина границы */
    background: conic-gradient(
        var(--color1, #8592a3) 0% var(--percent, 60%),
        var(--color2, #8592a3) var(--percent, 60%) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}
/* Центральный круг — на 20% больше */
.rating-widget span:nth-child(2) {
    padding-top: 2.5px;
    font-size: 12px;
    min-width: 36px;
    height: 36px;
}
.rating-widget span:nth-child(1):hover {
    border: 2px solid rgb(133, 10, 10);
    color: rgb(133, 10, 10);
}

.rating-widget span:nth-child(3):hover {
    border: 2px solid rgb(55, 133, 10);
    color: rgb(55, 133, 10);
}
.rating-widget span:nth-child(2).n {
    border: 2px solid rgb(133, 10, 10);
    color: rgb(133, 10, 10);
}
.rating-widget span:nth-child(2).p {
    border: 2px solid rgb(55, 133, 10);
    color: rgb(55, 133, 10);
}


.rating-widget span.nactive {
    border: 2px solid rgb(133, 10, 10);
    color: rgb(133, 10, 10);
}
.rating-widget span.pactive {
    border: 2px solid rgb(55, 133, 10);
    color: rgb(55, 133, 10);
}
.user-menu {
    width: auto !important;
}
.user-menu .menu-inner .menu-item {
    width: auto !important;
}
/* [FIX:outgoing-ui] Статусы «Исходящих» — палитра по макету заказчика
   12.06.2026: success #00ff00, warning #ffff00, info #00ffff,
   expired #c0c0c0; яркие фоны требуют чёрного шрифта. */
.badge.contact-status-success {
    background-color: #00ff00;
    color: #000;
}
.badge.contact-status-warning {
    background-color: #ffff00;
    color: #000;
}
.badge.contact-status-expired {
    background-color: #c0c0c0;
    color: #000;
}
.contact-toast-dark {
    background-color: #000;
    color: #fff;
}
.badge.contact-status-info {
    background-color: #00ffff;
    color: #000;
}
/* Блок сгенерированной ссылки-приглашения: тёмно-зелёный, белый текст. */
.alert.contact-link-alert {
    background-color: #0f5132;
    border-color: #0f5132;
    color: #fff;
}
/* [FIX:contacts-menu] Подменю user-menu (подпапки). Theme-JS подменю на
   user-menu не инициализируется — тогглер свой (Alpine, cabinet-menu.blade). */
.user-menu .menu-sub-static {
    list-style: none;
    margin: 0;
    padding-left: 1.6rem;
}
.user-menu .menu-sub-static .menu-link {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    font-size: 0.94em;
}
/* [FIX:cabinet-menu-collapse] Меню ЛК: собственный скролл; подменю свёрнуты
   по умолчанию (x-cloak прячет до инициализации Alpine — без «вспышки»).
   flex-grow: aside width:auto сжимался по контенту, и скроллбар menu-inner
   вставал сразу после текста, а не у правого края карточки. */
.user-menu {
    flex: 1 1 auto;
}
.user-menu .menu-inner {
    max-height: calc(100vh - 9rem);
    overflow-y: auto;
    overflow-x: hidden;
}
.user-menu [x-cloak] {
    display: none !important;
}
.user-menu .menu-toggle-static {
    cursor: pointer;
}
.user-menu .menu-chevron {
    margin-left: auto;
    font-size: 0.7em;
    opacity: 0.6;
    transition: transform 0.2s ease;
}
.user-menu .menu-chevron.rotated {
    transform: rotate(180deg);
}
/* [FIX:gen-artifacts-lightbox] Просмотр изображений-артефактов поверх страницы. */
.artifact-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    cursor: zoom-out;
}
.artifact-lightbox[x-cloak] {
    display: none !important;
}
.artifact-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

 .dropdown-menu.new_style {
     position: absolute;
     top: 0 !important; /* появляется прямо под кнопкой */
     right: 0 !important; /* выравнивание по левому краю */
     width: 100%; /* растягиваем по ширине родителя */
     z-index: 2000;
 }

/* если родительский контейнер обрезает содержимое */
.task-event {
    overflow: visible; /* если у вас было hidden */
}

.dropdown-menu {
    position: absolute !important;
    margin-left: 25px !important;
    margin-top: -30px !important;
}


.e1 .jstree-anchor {
    background: #f1f1f1 !important;
}
.e2 .jstree-anchor {
    background: #dbffe1 !important;
}
.e3 .jstree-anchor {
    background: #ffffff !important;
}


/* Remove default bullets */
ul, #myUL {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
    content: "\25B6";
    color: black;
    display: inline-block;
    margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.activeEvent {
    display: inline-flex;
}
