.container.full-width {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}


/* ==============================
   TASKS PAGE SPECIFIC STYLES
   ============================== */

.tasks-dashboard {
    padding: 20px;
    width: 100%;
    max-width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-header h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.tasks-lists-container {
    display: grid;
    grid-template-columns: 30% 30% 40%;
    gap: 16px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.tasks-list-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    min-height: 200px;
}

.tasks-list-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.tasks-list-section h2 {
    font-size: 18px;
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

/* Bank column -- no bottom border on h2 until after subtitle */
.bank-section h2 {
    border-bottom: none;
    padding-bottom: 2px;
    margin-bottom: 0;
}

.bank-subtitle {
    font-size: 12px;
    color: #a08060;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Task Input Container */
.task-input-container {
    margin-bottom: 15px;
}

.task-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.task-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(122, 104, 85, 0.1);
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

/* Task Item */
.task-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background-color: var(--light-bg);
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s;
    gap: 10px;
    border-left: 3px solid var(--primary-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.task-item:hover {
    background-color: #f0e9e2;
}

.task-item.completed {
    opacity: 0.7;
    border-left-color: #95a5a6;
}

/* Bank column items get a terracotta accent */
.bank-section .task-item {
    border-left-color: #BB5D4C;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    background-color: white;
}

.task-checkbox.checked {
    background-color: var(--primary-color);
}

.task-checkbox.checked::after {
    content: "\2713";
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.task-text {
    flex: 1;
    font-size: 14px;
    transition: text-decoration 0.3s;
    min-width: 0;
    word-break: break-word;
}

.task-text.completed {
    text-decoration: line-through;
    color: #888;
}

.task-delete {
    font-size: 18px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.task-delete:hover {
    color: #e53e3e;
}

.task-drag-handle {
    cursor: grab;
    color: #aaa;
    font-size: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}

/* Empty state */
.empty-tasks {
    text-align: center;
    padding: 20px;
    color: #888;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
}

/* Sortable styles */
.sortable-ghost {
    opacity: 0.4;
}

.sortable-chosen {
    background-color: #e9e1d8;
}

.sortable-drag {
    opacity: 0.8;
}

/* Checkbox animation */
@keyframes checkAnimation {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.task-checkbox.animate {
    animation: checkAnimation 0.3s ease;
}

/* Edit input */
.task-edit-input {
    flex: 1;
    font-size: 14px;
    padding: 4px 8px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background-color: white;
    outline: none;
    margin-right: 5px;
    min-width: 0;
}

.task-edit-input:focus {
    box-shadow: 0 0 0 2px rgba(122, 104, 85, 0.2);
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1000px) {
    .tasks-lists-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .tasks-lists-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tasks-list-section {
        padding: 12px;
    }

    .tasks-list-section h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .task-input {
        padding: 10px;
        font-size: 14px;
    }

    .task-item {
        padding: 8px 10px;
    }

    .task-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tasks-lists-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
