body {
    font-family: Arial, sans-serif;
    background-color: #f1f3f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #202124;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

input {
    flex: 1;
    max-width: 500px;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #dadce0;
    border-radius: 8px 0 0 8px;
    outline: none;
}

input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
}

button {
    padding: 12px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3367d6;
}

/* Grid for tasks */
.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* Individual task cards */
.task-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(60,64,67,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-word;
}

.task-card.completed {
    text-decoration: line-through;
    color: #5f6368;
}

.task-card button {
    background-color: #ea4335;
    padding: 5px 10px;
    border-radius: 5px;
}

.task-card button:hover {
    background-color: #c5221f;
}
