body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f8;
    display: flex;
    justify-content: center;
    padding-top: 50px;
}

/* 카드 */
.container {
    width: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 헤더 */
.header {
    background: linear-gradient(135deg, #2f6df6, #1e4ed8);
    color: white;
    text-align: center;
    padding: 30px;
}

/* 입력 */
.form-box {
    display: flex;
    gap: 10px;
    padding: 20px;
}

.form-box input {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.form-box button {
    padding: 12px 16px;
    border: none;
    background: #7c9cf5;
    color: white;
    border-radius: 12px;
    font-size: 18px;
}

/* 정보 */
.info {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #555;
}

/* 리스트 */
ul {
    list-style: none;
    padding: 20px;
}

/* 카드 아이템 */
li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 12px;
}

/* 체크 버튼 */
.check-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: white;
    cursor: pointer;
}

/* 완료 시 */
.completed {
    opacity: 0.6;
}

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

/* 텍스트 */
.task-text {
    flex: 1;
}

/* 삭제 */
.delete-btn {
    font-size: 18px;
    color: #888;
}

.delete-btn:hover {
    color: red;
}