    .new-task {
        background-color: #ffeb3b; /* Цвет выделения для новых задач */
        transition: background-color 0.5s ease;
    }

.task_mobile {
    position: relative;
}

.status-toggle-button {
    
   font-size:11px;
   border:0px;
	
	
	border-radius: 4px;
    transform: translateY(-80%);
    z-index: 1;
}

.status-selection {
    position: absolute;
    right: 0;
    top: 5px; /* Adjust this value as needed */
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    display: none;
}

.status-selection.show {
    display: block;
}

    #description-field {
        width: 100%; /* Установка ширины в 100% */
        height: 182px; /* Здесь можно задать желаемую высоту поля */
        resize: vertical; /* Разрешить вертикальное изменение размера */
    }
.select2-search__field::placeholder {
    color: #b0b4b7 !important;
    font-weight: 500 !important;
}
.width180 {
    max-width: 190px;
}

@media screen and (max-width: 767px) {	
	  .width180 {
    max-width: 153px;
	}
}



@media screen and (max-width: 767px) {
.container-fluid,.container-lg,.container-md,.container-sm,.container-xl {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto
}
}


#scrollToTopBtn {
    display: none; /* Скрываем кнопку по умолчанию */
    position: fixed; /* Фиксируем кнопку в определенном месте на экране */
    bottom: 20px; /* Отступ от нижней части экрана */
    right: 20px; /* Отступ от правой части экрана */
    z-index: 99; /* Размещаем кнопку поверх других элементов */
    border: none; /* Убираем рамку */
    outline: none; /* Убираем обводку */
    background-color: #00A9BD; /* Цвет фона */
    color: white; /* Цвет текста */
    cursor: pointer; /* Изменяем вид курсора */
    padding: 15px; /* Внутренние отступы */
    border-radius: 10px; /* Скругление углов */
    font-size: 18px; /* Размер текста */
    opacity: 0.5; /* Прозрачность */
    transition: opacity 0.3s; /* Плавный переход для прозрачности */
}

#scrollToTopBtn:hover {
    opacity: 1; /* Убираем прозрачность при наведении */
} 

.task-details {
    display: flex;
    align-items: center;
    gap: 10px; /* расстояние между элементами, измените по необходимости */
}

.task-details small {
    margin-right: 10px; /* отступ справа для small элемента */
}

.status-form {
    margin: 0; /* убираем отступы */
    font-size: 11px;
    text-align-last: center;

}

@media screen and (max-width: 767px) {
.department-links {
    font-size:12px;
} 
}

@media screen and (max-width: 767px) {
.department_mob {
    font-size:12px!important;
}
}
@media screen and (max-width: 767px) {
.hide_mobile {
    display:none;
}
}


@media screen and (max-width: 767px) {
#post {
    display:none;
}
}



@media screen and (max-width: 767px) {
.col-lg-4 {
    max-width: 40%!important;
}
}

@media screen and (max-width: 767px) {
.col-lg-9 {
    max-width: 58%!important;
}
}
@media screen and (max-width: 767px) {
.form-label  {
    font-size:11px;
}
}

@media screen and (max-width: 767px) {
.date-options  {
    font-size:11px!important;
}
}


.checkbox-google {
	display: inline-block;
	height: 28px;
	line-height: 28px;
	margin-right: 10px;
	position: relative;
	/* vertical-align: middle; */
	font-size: 14px;
	user-select: none;
}
.checkbox-google .checkbox-google-switch {
	display: inline-block;	
	width: 36px;
	height: 14px;	
	border-radius: 20px;
	position: relative;
	top: 6px;			
	vertical-align: top;
	background: #9f9f9f;
	transition: .2s;
}
.checkbox-google .checkbox-google-switch:before {
	content: '';
	display: inline-block;	
	width: 20px;	
	height: 20px;
	position: absolute;
	top: -3px;
	left: -1px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 3px 1px -2px rgba(0,0,0,0.2), 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12);
	transition: .15s;		
}
.checkbox-google input[type=checkbox] {
	display: block;	
	width: 0;
	height: 0;	
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.checkbox-google input[type=checkbox]:checked + .checkbox-google-switch {
	background: #9ABEF7;
}
.checkbox-google input[type=checkbox]:checked + .checkbox-google-switch:before {
	background: #1a73e8;
	transform:translateX(18px);
}
 
/* Hover */
.checkbox-google input[type="checkbox"]:not(:disabled) + .checkbox-google-switch {
	cursor: pointer;
	border-color: rgba(0, 0, 0, .3);
}
 
/* Active/Focus */
.checkbox-google input[type="checkbox"]:not(:disabled):active + .checkbox-google-switch:before, 
.checkbox-google input[type="checkbox"]:not(:disabled):focus + .checkbox-google-switch:before {
	animation: checkbox-active-on 0.5s forwards linear;
}
@keyframes checkbox-active-on {
	0% {
		box-shadow: 0 0 0 0 rgba(212,212,212, 0);
	}
	99% {
		box-shadow: 0 0 0 10px rgba(212,212,212, 0.5);
	}
}
 
.checkbox-google input[type="checkbox"]:not(:disabled):checked:active + .checkbox-google-switch:before, 
.checkbox-google input[type="checkbox"]:not(:disabled):checked:focus + .checkbox-google-switch:before {
	animation: checkbox-active-off 0.5s forwards linear;
}
@keyframes checkbox-active-off {
	0% {
		box-shadow: 0 0 0 0 rgba(154,190,247, 0);
	}
	99% {
		box-shadow: 0 0 0 10px rgba(154,190,247, 0.5);
	}
}
 
/* Disabled */
.checkbox-google input[type=checkbox]:disabled + .checkbox-google-switch {
	filter: grayscale(60%);
	border-color: rgba(0, 0, 0, .1);
}
.checkbox-google input[type=checkbox]:disabled + .checkbox-google-switch:before {
	background: #eee;
}

/* Стили для модального окна */
.modal-body {
    display: flex;
    align-items: center;
	justify-content: space-around;
}

/* Контейнер для изображения и информации */
.modal-profile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-top:20px;
    width: 100%;
}

/* Стиль для контейнера изображения */
.profile-image {
    margin-right: 15px;
    border: 1px;
    border-style: hidden;
    border-color: black;
    width: 217px;
    /* object-fit: cover; */
    height: 226px;
    border-radius: 50%;
    overflow: hidden;
}

/* Стиль для изображения */
.profile-image img {
    /* width: 120px; */ /* Ширина изображения */
    /* height: 120px; */ /* Высота изображения */
    object-fit: cover; /* Обрезка изображения для сохранения пропорций */
    border: 2px solid #ddd; /* Рамка вокруг изображения */
    border-radius: 50%; /* Скругленные углы для круглого изображения */
}

/* Стиль для информации о пользователе */
.profile-info {
    flex: 1; /* Заполнение доступного пространства */
}
/* Стиль для таблицы с информацией о пользователе */
.profile-table {
    border-collapse: collapse; /* Убирает двойные границы между ячейками */
    width: 100%; /* Ширина таблицы */
}

/* Стиль для ячеек таблицы */
.profile-table td {
    padding: 5px 10px; /* Отступы внутри ячеек */
    vertical-align: top; /* Выравнивание текста по верхнему краю ячейки */
}

/* Опционально: стили для заголовков таблицы */
.profile-table th {
    text-align: left; /* Выравнивание текста по левому краю */
}

.custom-modal-content {
    background-color: white;
    width: 75%;
}

@media screen and (max-width: 767px) {
.custom-modal-content {
    background-color: white;
    width: 100%;
}
}


/* Стандартное состояние */
#fileNamesContainer {
    border: 2px dashed #ccc;
    padding: 20px;
	min-height: 60px;
    border-radius: 10px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Анимация при перетаскивании */
#fileNamesContainer.dragging {
    border-color: #80bdff;
    background-color: #cff8f4;
}

/* Визуальный эффект при успешной загрузке */
.file-preview {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.file-preview img {
    margin-right: 10px;
}


.dropify-container::before {
    content: 'Выберите или перетащите сюда файлы';
	color:#b0b4b7;
    
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Текст не мешает взаимодействию с другими элементами */
    opacity: 1; /* По умолчанию видимый */
    transition: opacity 0.3s ease;
	position: absolute;

	
}

.dropify-container.files-uploaded::before {
    opacity: 0; /* Скрыть текст */
    pointer-events: none;
    transition: opacity 0.3s ease; /* Плавное исчезновение */
}


div#fileNamesContainer:hover {
    background-color: #cff8f4;
	cursor: pointer
}


/* Стили для корректной установки ширины input в Select2 */
.select2-container--default .select2-selection--multiple .select2-search__field {
    width: 100% !important; /* Устанавливаем ширину в 100% от контейнера */
    box-sizing: border-box; /* Учитываем внутренние отступы и границы */
    min-width: 150%; /* Устанавливаем минимальную ширину, чтобы избежать слишком узкого поля */
}

/* Обновление ширины контейнера, чтобы он соответствовал внутреннему содержимому */
.select2-container--default .select2-selection--multiple {
    width: auto !important; /* Автоматическая ширина контейнера */
}

/* Стили для родительского контейнера, чтобы он адаптировался к внутреннему содержимому */
.select2-container--default {
    display: inline-block; /* Убедитесь, что контейнер имеет корректный размер */
    width: auto !important; /* Автоматическая ширина контейнера */
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #5897fb;
    color: white
}

/* Стили для стрелок сортировки */
th {
    position: relative;
    cursor: pointer;
    padding-right: 20px; /* Оставляем место для стрелок */
}

th.sorted {
    background-color: #e9ecef; /* Цвет фона для отсортированного заголовка */
    
}
.sort-arrow {
    display: inline-block;
    margin-left: 5px;
    /* color: red; */
}

.sort-arrow.asc::before {
    content: '\f176'; /* Иконка стрелки вверх из FontAwesome */
    font-family: 'FontAwesome';
    font-size: 12px;
    color: #b0b4b7;
}

.sort-arrow.desc::before {
    content: '\f175'; /* Иконка стрелки вниз из FontAwesome */
    font-family: 'FontAwesome';
    font-size: 12px;
    color: #b0b4b7;
}

/* Стили для индикатора загрузки */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Убедитесь, что индикатор загрузки выше других элементов */
    text-align: center;
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-left: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.search-container {
    position: relative;
    display: inline-block;
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888; /* Цвет иконки по умолчанию */
    font-size: 16px; /* Размер иконки */
    opacity: 0; /* Скрыть иконку по умолчанию */
    transition: opacity 0.3s ease;
}

.search-bar:focus + .clear-search {
    opacity: 1; /* Показать иконку при фокусе на поле поиска */
}

.clear-search:hover {
    color: #000; /* Цвет иконки при наведении */
}



.files-container {
    display: flex;
    flex-wrap: wrap; /* Позволяет файлам переходить на новую строку, если не хватает места */
    gap: 10px; /* Пробел между файлами */
    margin-top: 10px;
}

.file-item {
    position: relative;
    min-width: 45px; /* Ширина иконки */
    text-align: -webkit-center;
    margin: 3px;
}

.file-icon {
    width: 48px; /* Ширина иконки */
    height: 48px; /* Высота иконки */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.file-icon img {
    width: 100%; /* Ширина изображения */
    height: 100%; /* Высота изображения */
    object-fit: cover;
    border-radius: 5px;
}

.file-icon i {
    font-size: 36px; /* Размер иконки */
    color: #00A9BD; /* Цвет иконки */
}

.file-name1 {
    margin-top: 5px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.file-item a {
    text-decoration: none;
    color: inherit;
}

.file-icon i:hover {
    text-decoration: none;
    color: #0056b3;
}


/* CSS для индикатора загрузки */
.file-preview.loading {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading::after {
    content: '';
    border: 4px solid #ccc;
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.remove-file {
    position: absolute; /* Позиционируем кнопку относительно контейнера .file-preview */
    top: -25px; /* Располагаем кнопку от верхнего края */
    right: -30px; /* Располагаем кнопку от правого края */

    
    display: flex; /* Центрируем содержимое кнопки */
    align-items: center; /* Выравниваем по вертикали */
    justify-content: center; /* Выравниваем по горизонтали */

    font-size: 14px; /* Размер шрифта кнопки */

}

/* Анимация для успешного копирования */
@keyframes copy-success {
    0% { transform: scale(1); color: #000; }
    50% { transform: scale(1.2); color: #28a745; } /* Зеленый цвет при копировании */
    100% { transform: scale(1); color: #000; }
}

.copy-btn.success i {
    animation: copy-success 0.3s ease-in-out;
	border:0px;
}

select#new_status:hover {
    cursor: pointer;
}


/* Стили для выделения элементов списка при наведении */
.select2-results__option--highlighted {
    background-color:#cff8f4 !important; /* Цвет фона при наведении */
    color: #000 !important; /* Цвет текста при наведении */
	cursor: pointer;
	border-radius: 5px;
}


.card-body .new_timeline li:hover{
background:#cff8f4;
	border-radius: 5px;
	
}

.note-sticker {
    
    text-align: center;
}

.note-sticker .add-note-button {
    cursor: pointer;
   
}
    .note {
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
      
        position: relative;
    }
    .delete-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        color: red;
        font-size: 20px;
        font-weight: bold;
    }
    .input-group textarea {
        min-height: 180px;
    }
	/* Контейнер для содержимого заметки */
.note-content {
    /* Позволяет отображать HTML-контент, сохраненный в базе данных */
    white-space: pre-wrap;
    word-wrap: break-word;
    /* Можно добавить дополнительные стили по вашему выбору */
}

.note-panel {
    position: fixed;
    top: 0px;
    right: -500px;
    width: 500px;
    height: 100%;
    background-color: #f8f9fa;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.note-panel.open {
    right: 0;
}

.note-panel .close-panel {
    text-align: right;
    cursor: pointer;
    color: #000;
}

#notePanel {
    display: none; /* Скрыто по умолчанию */
}

#notePanel.open {
    display: block; /* Отображается при добавлении класса open */
}

     .task-progress {
            
            text-align: center;
            font-family: Arial, sans-serif;
        }

        #progressRange {
            width: 180px;
            appearance: none;
            height: 10px;
            border-radius: 5px;
            background: #ddd;
            outline: none;
            transition: background 0.3s ease;
        }

        #progressRange::-webkit-slider-thumb {
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #00A9BD;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        #progressRange::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #00A9BD;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        #progressValue {
    /* font-size: 20px; */
    font-weight: bold;
    color: #00A9BD;
    margin-left: 5px;
}
.label_progress {
    display: flex;
    margin-bottom: .5rem;
    align-items: baseline;
    flex-wrap: wrap;
}
        .labels {
            display: flex;
            justify-content: space-between;
            width: 180px;
            margin: 0 auto;
            font-size: 14px;
            color: #777;
        }

        .labels span {
            text-align: center;
        }
		
		
		/* Иконка с заметками */
.fa-sticky-note.has-notes {
    color: orange; /* Цвет для задач с заметками */
}

/* Иконка без заметок */
.fa-sticky-note-o.no-notes {
    
}

html {
    scroll-behavior: smooth;
}
.highlighted-comment {
    background-color: #cff8f4; /* Цвет фона для выделения */
    transition: background-color 1s ease-in-out;
}

.highlight-new {
    background-color: #d4edda; /* Зеленый для новых задач */
}

.highlight-changed {
    background-color: #fff3cd; /* Желтый для измененных задач */
}
