/* Общие стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    padding: 20px;
}

h1 {
    color: #6c5ce7;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

h2 {
    color: #6c5ce7;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Стиль для добавления задачи */
.new-task {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.new-task-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.new-task-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.new-task-input input:focus {
    outline: none;
    border-color: #6c5ce7;
}

.add-btn {
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

/* Стиль для области с задачами */
.tasks-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.task-column {
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.task-column h3 {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    font-weight: 600;
    color: #2d3436;
}

/* Цвета для разных колонок */
.backlog-column {
    background-color: #e3f2fd;
}

.progress-column {
    background-color: #e8f5e9;
}

.done-column {
    background-color: #fff3e0;
}

.trash-column {
    background-color: #ffebee;
}

/* Стиль для задач с цветными рамками */
.task {
    padding: 14px;
    margin-bottom: 12px;
    margin-left: 4px;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.backlog-task {
    border-left: 4px solid #2196f3;
    margin-bottom: 8px;
}

.progress-task {
    border-left: 4px solid #4caf50;
}

.done-task {
    border-left: 4px solid #ff9800;
}

.trash-task {
    border-left: 4px solid #f44336;
}

/* Контейнер для кнопки очистки под корзиной */
.trash-section {
    grid-column: 4;
    display: flex;
    flex-direction: column;
}

/* Стиль для кнопки Очистить */
.clear-btn {
    background-color: #ffcdd2;
    color: #d32f2f;
    border: 2px solid #ef9a9a;
    border-radius: 8px;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.2s;
}