body {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    border-color: #f0f0f0;
}
.container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
h1 {
    text-align: center;
    color: #333;
}
.todo-input {
    display: flex;
    margin-bottom: 20px;
}
input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}
#addTodoBtn {
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
#addTodoBtn:hover {
    background-color: #555;
}
ul {
    list-style-type: none;
    padding: 0;
}
li {
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
li:hover {
    background: #fdfdfd;
}
/* Style for completed tasks */
li.completed {
    text-decoration: line-through;
    color: #888;
    opacity: 0.6;
}
li.completed span {
    text-decoration: line-through;
    color: #888;
    opacity: 0.6;
}
.delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
}
.delete-btn:hover {
    background-color: #ffebee;
}
.status-bar {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.attachment-wrapper { 
    position: relative; 
    text-align: center; 
    margin-top: 10px; 
}
.fab-btn { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: #333; 
    color: white; 
    font-size: 24px; 
    border: none; 
    cursor: pointer;
}
.attachment-menu {
    position: absolute; 
    bottom: 60px; 
    left: 50%; 
    transform: translateX(-50%);
    background: white; 
    border: 1px solid #ddd; 
    border-radius: 10px;
    display: flex; 
    flex-direction: column; 
    width: 150px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.attachment-menu button { 
    padding: 10px; 
    border: none; 
    background: none; 
    cursor: pointer; 
    text-align: left; 
}
.attachment-menu button:hover { 
    background: #f0f0f0; 
}
.hidden { 
    display: none; 
}
.close-btn { 
    color: red !important; 
    border-top: 1px solid #eee !important; 
}
/* Each list "Card" */
.task-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* The Title Bar */
.card-header {
    background: #f8f9fa;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.title-input {
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 1.1rem;
    outline: none;
    color: #333;
}

.card-body { padding: 10px; }

/* Strike-through for the specific list items */
.card-list li.completed span {
    text-decoration: line-through;
    opacity: 0.5;
}
@media (max-width: 480px) {
    .container {
        margin: 10px;
        width: auto;
    }
    input[type="text"] {
        font-size: 14px; /* Easier to type on small screens */
    }
}