/* Контейнер приложения */
.skg1-app-container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Левая колонка меню */
.skg1-sidebar {
    width: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.skg1-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.skg1-logo h2 {
    font-size: 24px;
    font-weight: bold;
}

.skg1-nav {
    flex: 1;
    padding: 20px 0;
}


/* Правая колонка контента */
.skg1-main-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.skg1-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
}

/* Канбан контейнер */
.skg1-kanban-container {
    display: flex;
    height: 100%;
    gap: 20px;
}

.skg1-kanban-sidebar {
    width: 200px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.skg1-kanban-projects-header h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.skg1-kanban-projects-list {
    margin-top: 15px;
}

.skg1-project-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.skg1-project-item:hover {
    background: #f0f0f0;
}

.skg1-project-item.active {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.skg1-project-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 10px;
}

.skg1-project-name {
    flex: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skg1-kanban-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.skg1-kanban-header {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.skg1-view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.skg1-toggle-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.skg1-toggle-btn.active {
    background: #2196f3;
    color: white;
    border-color: #2196f3;
}

.skg1-project-info {
    margin-top: 15px;
}

.skg1-project-tabs {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.skg1-tab-btn {
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.skg1-tab-btn.active {
    color: #2196f3;
    border-bottom: 2px solid #2196f3;
}

.skg1-tab-content {
    display: none;
    padding: 15px 0;
}

.skg1-tab-content.active {
    display: block;
}

/* Канбан доска */
.skg1-kanban-board {
    flex: 1;
    overflow-x: auto;
}

.skg1-kanban-columns {
    display: flex;
    gap: 15px;
    min-height: 500px;
}

.skg1-kanban-column {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.skg1-column-header {
    padding: 12px;
    border-radius: 12px 12px 0 0;
    font-weight: bold;
    color: white;
    text-align: center;
}

.skg1-column-tasks {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    min-height: 300px;
}

/* Карточка задачи */
.skg1-task-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.skg1-task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.skg1-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.skg1-task-name {
    font-weight: 500;
    font-size: 14px;
    flex: 1;
}

.skg1-task-actions {
    display: flex;
    gap: 5px;
}

.skg1-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.3s;
}

.skg1-icon-btn:hover {
    background: #f0f0f0;
}

.skg1-subtasks-list {
    margin: 8px 0;
    padding-left: 15px;
    font-size: 12px;
    color: #666;
}

.skg1-subtask-item {
    margin: 4px 0;
}

.skg1-task-footer {
    margin-top: 8px;
    font-size: 11px;
    color: #999;
}

/* Модальные окна */
.skg1-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.skg1-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.skg1-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skg1-modal-header h3 {
    margin: 0;
}

.skg1-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.skg1-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.skg1-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.skg1-confirm-content {
    max-width: 400px;
}

/* Формы */
.skg1-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skg1-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skg1-form-row {
    display: flex;
    gap: 15px;
}

.skg1-form-row .skg1-form-group {
    flex: 1;
}

.skg1-input, .skg1-select, .skg1-textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.skg1-input:focus, .skg1-select:focus, .skg1-textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33,150,243,0.1);
}

.skg1-textarea {
    resize: vertical;
}

/* Кнопки */
.skg1-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.skg1-btn-primary {
    background: #2196f3;
    color: white;
}

.skg1-btn-primary:hover {
    background: #1976d2;
}

.skg1-btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.skg1-btn-secondary:hover {
    background: #d0d0d0;
}

.skg1-btn-danger {
    background: #f44336;
    color: white;
}

.skg1-btn-danger:hover {
    background: #d32f2f;
}

/* Списки пользователей и файлов */
.skg1-users-list, .skg1-files-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.skg1-user-item, .skg1-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.skg1-user-item:last-child, .skg1-file-item:last-child {
    border-bottom: none;
}

.skg1-remove-user, .skg1-delete-file {
    background: none;
    border: none;
    cursor: pointer;
    color: #f44336;
    font-size: 16px;
    padding: 4px 8px;
}

.skg1-file-size {
    font-size: 11px;
    color: #999;
    margin-left: 10px;
}

/* Гантт стили */
.skg1-gantt-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skg1-gantt-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.skg1-gantt-nav-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.skg1-gantt-nav-btn:hover {
    background: #e0e0e0;
}

.skg1-gantt-view-buttons {
    display: flex;
    gap: 10px;
}

.skg1-gantt-view-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.skg1-gantt-view-btn.active {
    background: #2196f3;
    color: white;
}

.skg1-gantt-current-date {
    font-weight: bold;
    font-size: 16px;
}

/* Календарь месяц */
.skg1-gantt-month-grid {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.skg1-gantt-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.skg1-gantt-weekday {
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.skg1-gantt-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.skg1-gantt-day {
    min-height: 120px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px;
    background: white;
    cursor: pointer;
    transition: background 0.3s;
}

.skg1-gantt-day:hover {
    background: #f5f5f5;
}

.skg1-gantt-day-empty {
    background: #fafafa;
    min-height: 120px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.skg1-gantt-day-number {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.skg1-gantt-day-tasks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skg1-gantt-task {
    background: #e3f2fd;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skg1-gantt-task:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Неделя и день */
.skg1-gantt-week-view, .skg1-gantt-day-view {
    background: white;
    border-radius: 12px;
    overflow: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.skg1-gantt-week-header, .skg1-gantt-day-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.skg1-gantt-time-col {
    width: 80px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.skg1-gantt-day-header {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    border-right: 1px solid #e0e0e0;
}

.skg1-gantt-week-body, .skg1-gantt-day-body {
    overflow-y: auto;
}

.skg1-gantt-hour-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    min-height: 60px;
}

.skg1-gantt-time-label {
    width: 80px;
    flex-shrink: 0;
    padding: 8px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    font-size: 12px;
    text-align: center;
}

.skg1-gantt-hour-slot, .skg1-gantt-hour-slot-full {
    flex: 1;
    padding: 4px;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.3s;
}

.skg1-gantt-hour-slot:hover, .skg1-gantt-hour-slot-full:hover {
    background: #f5f5f5;
}

.skg1-gantt-hour-slot-full {
    flex: 1;
}

.skg1-gantt-slot-tasks {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Загрузка и ошибки */
.skg1-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: #999;
}

.skg1-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: #f44336;
}

/* Адаптивность */
@media (max-width: 768px) {
    .skg1-kanban-container {
        flex-direction: column;
    }
    
    .skg1-kanban-sidebar {
        width: 100%;
    }
    
    .skg1-form-row {
        flex-direction: column;
    }
    
    .skg1-gantt-hour-slot, .skg1-gantt-hour-slot-full {
        min-width: 100px;
    }
}

/* Скроллбары */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}



/* Добавить в конец файла */

/* Кнопки архивирования проектов */
.skg1-project-archive-btn,
.skg1-project-restore-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s;
}

.skg1-project-item:hover .skg1-project-archive-btn,
.skg1-project-item:hover .skg1-project-restore-btn {
    opacity: 1;
}

.skg1-project-archive-btn:hover {
    background: rgba(255, 193, 7, 0.2);
}

.skg1-project-restore-btn:hover {
    background: rgba(76, 175, 80, 0.2);
}

/* Секции проектов */
.skg1-projects-section {
    margin-bottom: 20px;
}

.skg1-projects-section-title {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin: 15px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.skg1-projects-section-title:first-of-type {
    margin-top: 0;
}

/* Архивные проекты */
.skg1-archived-project {
    opacity: 0.7;
}

.skg1-archived-project:hover {
    opacity: 1;
}

/* Заголовок информации о проекте */
.skg1-project-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.skg1-project-archive-btn-header,
.skg1-project-restore-btn-header {
    padding: 8px 16px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.skg1-project-archive-btn-header:hover {
    background: #f57c00;
}

.skg1-project-restore-btn-header {
    background: #4caf50;
}

.skg1-project-restore-btn-header:hover {
    background: #45a049;
}



/* Кастомные уведомления */
.skg1-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.skg1-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.skg1-notification-content {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

.skg1-notification-success .skg1-notification-content {
    border-left-color: #4caf50;
}

.skg1-notification-error .skg1-notification-content {
    border-left-color: #f44336;
}

.skg1-notification-info .skg1-notification-content {
    border-left-color: #2196f3;
}

.skg1-notification-icon {
    font-size: 20px;
}

.skg1-notification-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.skg1-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0 5px;
}

.skg1-notification-close:hover {
    color: #333;
}

/* Гантт - селектор года */
.skg1-gantt-year-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 12px;
}

.skg1-gantt-year-selector .skg1-select {
    padding: 8px 12px;
}

/* 30-минутные интервалы */
.skg1-gantt-hour-row {
    min-height: 50px;
}

.skg1-gantt-hour-slot,
.skg1-gantt-hour-slot-full {
    min-height: 50px;
}



/* Стили для прогресса загрузки */
.skg1-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.skg1-drop-zone.dragover {
    border-color: #2196f3;
    background: #e3f2fd;
}

.skg1-upload-progress {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 12px;
}

.skg1-progress-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.skg1-progress-filename {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    word-break: break-all;
}

.skg1-progress-bar-container {
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 5px 0;
}

.skg1-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    width: 0%;
    transition: width 0.3s;
    border-radius: 10px;
}

.skg1-progress-status {
    font-size: 11px;
    color: #999;
}

.skg1-progress-status.skg1-progress-success {
    color: #4caf50;
}

.skg1-progress-status.skg1-progress-error {
    color: #f44336;
}

/* Стили для списка файлов */
.skg1-files-list {
    max-height: 300px;
    overflow-y: auto;
}

.skg1-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.skg1-file-item a {
    color: #2196f3;
    text-decoration: none;
    flex: 1;
    word-break: break-all;
}

.skg1-file-item a:hover {
    text-decoration: underline;
}

.skg1-file-size {
    font-size: 11px;
    color: #999;
    margin: 0 10px;
}

.skg1-delete-file {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.skg1-delete-file:hover {
    background: #ffebee;
}



/* Стили для подзадач */
.skg1-subtasks-list {
    margin-top: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.skg1-subtasks-title {
    font-size: 11px;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
    padding-left: 4px;
}

.skg1-subtask-item {
    margin-bottom: 6px;
}

.skg1-subtask-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f8f9fa;
    border-left: 3px solid #2196f3;
    transition: all 0.2s;
}

.skg1-subtask-content:hover {
    background: #e3f2fd;
    transform: translateX(2px);
}

.skg1-subtask-name {
    font-size: 12px;
    cursor: pointer;
    flex: 1;
    color: #333;
}

.skg1-subtask-name:hover {
    text-decoration: underline;
    color: #2196f3;
}

.skg1-subtask-actions {
    display: flex;
    gap: 5px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.skg1-subtask-content:hover .skg1-subtask-actions {
    opacity: 1;
}

.skg1-subtask-actions .skg1-icon-btn {
    font-size: 12px;
    padding: 2px 6px;
}

.skg1-task-dates {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}



/* Стили для контейнера подзадач */
.skg1-subtasks-container {
    margin-top: 12px;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

.skg1-subtasks-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    border-radius: 6px;
    transition: background 0.2s;
}

.skg1-subtasks-header:hover {
    background: rgba(0, 0, 0, 0.03);
}

.skg1-subtasks-toggle {
    font-size: 10px;
    color: #999;
    transition: transform 0.2s;
}

.skg1-subtasks-title {
    font-weight: 500;
}

.skg1-subtasks-counter {
    display: flex;
    gap: 8px;
    margin-left: auto;
    font-size: 11px;
}

.skg1-subtasks-active {
    color: #2196f3;
}

.skg1-subtasks-completed {
    color: #4caf50;
}

.skg1-subtasks-total {
    color: #999;
}

.skg1-subtasks-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skg1-subtask-item {
    border-radius: 8px;
    transition: all 0.2s;
}

.skg1-subtask-item:hover {
    transform: translateX(4px);
}

.skg1-subtask-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 3px solid;
    transition: all 0.2s;
}

.skg1-subtask-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.skg1-subtask-status {
    font-size: 12px;
    flex-shrink: 0;
}

.skg1-subtask-status.completed {
    opacity: 0.7;
}

.skg1-subtask-name {
    font-size: 12px;
    cursor: pointer;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.skg1-subtask-name:hover {
    text-decoration: underline;
    color: #2196f3;
}

.skg1-subtask-dates {
    font-size: 10px;
    color: #999;
    flex-shrink: 0;
}

.skg1-subtask-actions {
    display: flex;
    gap: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.skg1-subtask-content:hover .skg1-subtask-actions {
    opacity: 1;
}

.skg1-subtask-actions .skg1-icon-btn {
    font-size: 11px;
    padding: 4px 6px;
}

.skg1-task-info {
    margin-top: 6px;
}

.skg1-task-description-preview {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
    padding: 4px 0;
    border-top: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Анимация для подзадач */
@keyframes subtaskFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.skg1-subtask-item {
    animation: subtaskFadeIn 0.2s ease;
}



/* В skg1-styles.css добавить */
.skg1-task-card-active {
    box-shadow: 0 0 0 2px #2196f3, 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.skg1-parent-task-info {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.skg1-parent-task-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.skg1-parent-task-name {
    font-weight: 500;
    color: #1976d2;
}

.skg1-parent-task-project {
    font-size: 11px;
    color: #666;
}



/* В skg1-styles.css добавить */

.skg1-subtask-status-icon {
    font-size: 14px;
    min-width: 24px;
    text-align: center;
}

.skg1-subtask-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.skg1-subtask-dates {
    font-size: 10px;
    color: #999;
    white-space: nowrap;
}

.skg1-subtask-actions {
    display: flex;
    gap: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.skg1-subtask-content:hover .skg1-subtask-actions {
    opacity: 1;
}

.skg1-subtask-actions .skg1-icon-btn {
    font-size: 12px;
    padding: 4px 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.skg1-subtask-actions .skg1-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.skg1-subtasks-counter {
    display: flex;
    gap: 8px;
    margin-left: auto;
    font-size: 11px;
}

.skg1-subtasks-active {
    color: #2196f3;
}

.skg1-subtasks-completed {
    color: #4caf50;
}

.skg1-subtasks-total {
    color: #999;
}


/* В skg1-styles.css добавить */
.skg1-select optgroup {
    font-weight: bold;
    color: #333;
    background-color: #f8f9fa;
}

.skg1-select optgroup option {
    font-weight: normal;
    padding-left: 15px;
}



/* В skg1-styles.css добавить */
.skg1-form-hint {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}


/* В skg1-styles.css добавить */
.skg1-btn-danger {
    background: #f44336;
    color: white;
}

.skg1-btn-danger:hover {
    background: #d32f2f;
}

.skg1-btn-success {
    background: #4caf50;
    color: white;
}

.skg1-btn-success:hover {
    background: #45a049;
}



/* В skg1-styles.css добавить */
.skg1-gantt-archive-toggle {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.skg1-gantt-archive-toggle .skg1-toggle-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.skg1-gantt-task-archived {
    opacity: 0.7;
    filter: grayscale(0.3);
}

.skg1-gantt-task-archived-badge {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.8;
}



/* В skg1-styles.css добавить */
.skg1-gantt-task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.skg1-gantt-task:hover {
    transform: translateX(2px);
    filter: brightness(0.95);
}

.skg1-gantt-task-content {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
}

.skg1-gantt-task-title {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skg1-gantt-task-project {
    font-size: 9px;
    opacity: 0.7;
    white-space: nowrap;
}

.skg1-gantt-task-icons {
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.skg1-gantt-task:hover .skg1-gantt-task-icons {
    opacity: 1;
}

.skg1-gantt-task-icons button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background 0.2s;
}

.skg1-gantt-task-icons button:hover {
    background: rgba(0, 0, 0, 0.1);
}

.skg1-gantt-task-archived {
    opacity: 0.7;
    filter: grayscale(0.2);
}

.skg1-gantt-task-archived-badge {
    font-size: 10px;
    margin-left: 4px;
}

#skg1-project-desc-text { border: 1px solid #e2e2e2; }



/* Пустые состояния */
.skg1-empty-projects {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.skg1-empty-projects .skg1-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.skg1-empty-projects .skg1-empty-text {
    margin-bottom: 20px;
    font-size: 14px;
}

.skg1-column-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background: #fafafa;
    border-radius: 12px;
    margin: 10px;
}

.skg1-column-empty .skg1-empty-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.skg1-column-empty .skg1-empty-text {
    font-size: 12px;
}
