* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.app-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.app-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px 32px;
    border-radius: 9999px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area h1 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.task-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 450px;
    justify-content: flex-end;
}

.task-form input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 10px 20px;
    border-radius: 50px; 
    color: #0f172a;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.task-form input:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.task-form button {
    background: #6366f1;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 50px; 
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}


.task-form button:hover {
    background: #4f46e5;
}


.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 850px) {
    .kanban-board {
        grid-template-columns: 1fr;
    }
}

.column {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    min-height: 550px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}


.column[data-status="todo"] {
    background: #fdf2f8; 
    border-color: #fbcfe8;
}

.column[data-status="in-progress"] {
    background: #fffbeb;
    border-color: #fde68a;
}

.column[data-status="done"] {
    background: #ecfdf5; 
    border-color: #a7f3d0;
}

.column-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
}

.todo-header { color: #db2777; }
.progress-header { color: #d97706; }
.done-header { color: #059669; }

.count-badge {
    background: rgba(255, 255, 255, 0.7);
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.task-list {
    padding: 12px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
}


.task-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.task-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    word-break: break-word;
}

.task-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.task-actions button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.task-actions button:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.delete-task-btn {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.delete-task-btn:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}