.sk5-container {
    display: flex;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Левая колонка */
.sk5-left-column {
    width: 250px;
    background: white;
    border-right: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sk5-start-btn {
    margin: 0 15px 20px 15px;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sk5-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.sk5-projects-list, .sk5-my-tasks {
    padding: 0 15px;
    margin-bottom: 20px;
}

.sk5-projects-list h3, .sk5-my-tasks h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sk5-badge {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.sk5-create-project-btn {
    width: 100%;
    padding: 10px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.sk5-create-project-btn:hover {
    background: #e0e0e0;
    border-color: #999;
}

.sk5-project-item {
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.sk5-project-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.sk5-project-item.active {
    border-left-color: #667eea;
    background: #e3f2fd;
}

.sk5-my-task-item {
    padding: 10px;
    margin-bottom: 6px;
    background: #fff3e0;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    border-left: 3px solid #ff9800;
}

.sk5-my-task-item:hover {
    background: #ffe0b2;
}

/* Центральная колонка */
.sk5-center-column {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.sk5-board {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sk5-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.sk5-board-header h2 {
    color: #333;
    font-size: 24px;
}

.sk5-create-task-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.sk5-create-task-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.sk5-tasks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-content: flex-start;
}

.sk5-task-card {
    width: calc(33.333% - 10px);
    min-width: 250px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid;
}

.sk5-task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.sk5-task-card.archived {
    opacity: 0.6;
    filter: grayscale(0.5);
}

.sk5-task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sk5-task-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.sk5-task-actions {
    display: flex;
    gap: 5px;
}

.sk5-task-action {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.sk5-task-action.edit {
    background: #4CAF50;
    color: white;
}

.sk5-task-action.archive {
    background: #FF9800;
    color: white;
}

.sk5-task-action.delete {
    background: #f44336;
    color: white;
}

.sk5-task-action:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.sk5-task-dates {
    font-size: 12px;
    color: #666;
    margin: 10px 0;
}

.sk5-task-users {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
    font-size: 12px;
}

.sk5-task-user {
    background: #e3f2fd;
    padding: 2px 8px;
    border-radius: 12px;
    color: #1976d2;
}

.sk5-task-files {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.sk5-task-file {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.sk5-task-file a {
    color: #667eea;
    text-decoration: none;
}

.sk5-task-file a:hover {
    text-decoration: underline;
}

.sk5-subtasks {
    margin-top: 10px;
    padding-left: 15px;
}

.sk5-subtask-item {
    padding: 8px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 5px;
    font-size: 13px;
    cursor: pointer;
    border-left: 3px solid;
}

.sk5-subtask-item:hover {
    background: #eeeeee;
}

/* Правая колонка */
.sk5-right-column {
    width: 250px;
    background: white;
    border-left: 1px solid rgba(0,0,0,0.1);
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.sk5-project-details {
    height: 100%;
}

.sk5-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin: 15px 0;
}

.sk5-tab {
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    position: relative;
    flex: 1;
}

.sk5-tab.active {
    color: #667eea;
    font-weight: 500;
}

.sk5-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
}

.sk5-tab-content {
    display: none;
    height: calc(100% - 100px);
    overflow-y: auto;
}

.sk5-tab-content.active {
    display: block;
}

/* Модальные окна */
.sk5-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.sk5-modal.active {
    display: flex;
}

.sk5-modal-content {
    background: white;
    border-radius: 12px;
    min-width: 500px;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: sk5-modal-slide 0.3s ease;
}

.sk5-confirm-content {
    min-width: 400px;
}

@keyframes sk5-modal-slide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sk5-modal-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sk5-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.sk5-modal-close:hover {
    opacity: 1;
}

.sk5-modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 70px);
}

/* Формы */
.sk5-form-group {
    margin-bottom: 20px;
}

.sk5-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.sk5-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.sk5-form-control:focus {
    outline: none;
    border-color: #667eea;
}

.sk5-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.sk5-form-row .sk5-form-group {
    flex: 1;
    margin-bottom: 0;
}

.sk5-color-picker {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sk5-color-option {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.sk5-color-option:hover {
    transform: scale(1.1);
}

.sk5-color-option.selected {
    border-color: #333;
    transform: scale(1.1);
}

.sk5-users-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

.sk5-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.sk5-user-item:last-child {
    border-bottom: none;
}

.sk5-user-item select {
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Кнопки */
.sk5-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sk5-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sk5-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.sk5-btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.sk5-btn-secondary:hover {
    background: #d0d0d0;
}

.sk5-btn-danger {
    background: #f44336;
    color: white;
}

.sk5-btn-danger:hover {
    background: #d32f2f;
}

/* Прогресс бар */
.sk5-progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.sk5-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

/* Список файлов */
.sk5-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
}

.sk5-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sk5-file-icon {
    font-size: 20px;
}

.sk5-file-name {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.sk5-file-name:hover {
    text-decoration: underline;
}

.sk5-file-size {
    color: #666;
    font-size: 12px;
}

.sk5-file-delete {
    padding: 4px 8px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.sk5-file-delete:hover {
    background: #d32f2f;
}

/* Скроллбары */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


/* Стили для файлов */
.sk5-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: background 0.2s;
}

.sk5-file-item:hover {
    background: #e9ecef;
}

.sk5-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sk5-file-icon {
    font-size: 18px;
}

.sk5-file-name {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.sk5-file-name:hover {
    text-decoration: underline;
}

.sk5-file-size {
    color: #666;
    font-size: 12px;
}

.sk5-file-date {
    color: #999;
    font-size: 11px;
}

.sk5-file-delete {
    padding: 4px 8px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.sk5-file-delete:hover {
    background: #d32f2f;
}

/* Стили для табов */
.sk5-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin: 15px 0;
    gap: 5px;
}

.sk5-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    position: relative;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
}

.sk5-tab:hover {
    background: #f0f0f0;
    color: #333;
}

.sk5-tab.active {
    color: #667eea;
    font-weight: 500;
}

.sk5-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sk5-tab-content {
    display: none;
    padding: 15px 0;
}

.sk5-tab-content.active {
    display: block;
}



/* Стили для статусов подзадач */
.sk5-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 5px;
}

.sk5-status-active {
    background: #E8F5E9;
    color: #4CAF50;
}

.sk5-status-paused {
    background: #FFF3E0;
    color: #FF9800;
}

.sk5-status-cancelled {
    background: #FFEBEE;
    color: #f44336;
}

.sk5-status-completed {
    background: #F3E5F5;
    color: #9C27B0;
}

/* Улучшенные стили для подзадач */
.sk5-subtask-item {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 5px;
    font-size: 13px;
    cursor: pointer;
    border-left: 3px solid;
    transition: all 0.2s;
}

.sk5-subtask-item:hover {
    background: #eeeeee;
    transform: translateX(5px);
}

.sk5-subtask-item .sk5-subtask-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}


    .sk5-empty-state {
        text-align: center;
        padding: 60px 20px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .sk5-empty-icon {
        font-size: 64px;
        margin-bottom: 20px;
        opacity: 0.5;
    }
    
    .sk5-empty-state h3 {
        color: #333;
        margin-bottom: 10px;
    }
    
    .sk5-empty-state p {
        color: #999;
        margin-bottom: 20px;
    }
    
    .sk5-task-card {
        position: relative;
        transition: all 0.3s ease;
    }
    
    .sk5-task-card.archived {
        opacity: 0.7;
        background: #f5f5f5;
    }
    
    .sk5-task-card.archived::before {
        content: '📦';
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 20px;
        opacity: 0.3;
    }
    
    .sk5-task-description {
        font-size: 13px;
        color: #666;
        margin: 10px 0;
        line-height: 1.5;
        max-height: 60px;
        overflow: hidden;
    }
    
    .sk5-subtasks-header {
        font-size: 12px;
        font-weight: 600;
        color: #666;
        margin: 10px 0 5px 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .sk5-subtask-item {
        position: relative;
        padding: 8px 10px;
        margin-bottom: 5px;
        background: #f8f9fa;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .sk5-subtask-item:hover {
        background: #e9ecef;
        transform: translateX(5px);
    }
    
    .sk5-subtask-name {
        font-size: 13px;
        font-weight: 500;
    }
    
    .sk5-subtask-preview {
        font-size: 11px;
        color: #888;
        margin-top: 3px;
        padding-left: 18px;
    }
    
    .sk5-subtask-meta {
        font-size: 10px;
        color: #999;
        margin-top: 3px;
        padding-left: 18px;
    }
    
    .sk5-subtask-status-icon {
        font-size: 12px;
        min-width: 16px;
    }
    
    .sk5-add-subtask-btn {
        width: 100%;
        margin-top: 10px;
        padding: 8px;
        font-size: 12px;
        background: #f0f0f0;
        border: 1px dashed #ccc;
        color: #666;
    }
    
    .sk5-add-subtask-btn:hover {
        background: #e0e0e0;
        border-color: #999;
    }
    
    .sk5-task-action.restore {
        background: #9C27B0;
        color: white;
    }
    
    .sk5-task-action.restore:hover {
        background: #7B1FA2;
    }
    
    .sk5-task-file-more {
        font-size: 11px;
        color: #999;
        margin-top: 3px;
    }



    .sk5-task-detail {
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 10px;
    }
    
    .sk5-status-badge {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
    }
    
    .sk5-status-active {
        background: #E8F5E9;
        color: #4CAF50;
    }
    
    .sk5-status-paused {
        background: #FFF3E0;
        color: #FF9800;
    }
    
    .sk5-status-cancelled {
        background: #FFEBEE;
        color: #f44336;
    }
    
    .sk5-status-completed {
        background: #F3E5F5;
        color: #9C27B0;
    }
    
    .sk5-subtask-item-detail:hover {
        background: #f0f0f0 !important;
        transform: translateX(5px);
        transition: all 0.2s;
    }



/* Стили для переключателя вида */
.sk5-view-toggle {
    display: flex;
    gap: 5px;
    background: #f0f0f0;
    padding: 3px;
    border-radius: 8px;
}

.sk5-view-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: #666;
}

.sk5-view-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sk5-view-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Стили для архивированных элементов */
.sk5-task-card.archived,
.sk5-subtask-item.archived {
    opacity: 0.7;
    background: #f5f5f5;
    position: relative;
}

.sk5-task-card.archived::before,
.sk5-subtask-item.archived::before {
    content: '📦';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    opacity: 0.5;
}

/* Стили для кнопки восстановления */
.sk5-task-action.restore {
    background: #9C27B0;
    color: white;
}

.sk5-task-action.restore:hover {
    background: #7B1FA2;
}

/* Анимация при архивации/восстановлении */
.sk5-task-card, .sk5-subtask-item {
    transition: all 0.3s ease;
}

.sk5-task-card.archiving,
.sk5-subtask-item.archiving {
    transform: scale(0.95);
    opacity: 0;
}
