body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #262626;
}
h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.app-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}
.input-container {
    display: flex;
    margin-bottom: 20px;
}
#task-input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
}
#add-task-btn {
    margin-left: 10px;
    padding: 12px 20px;
    background-color: #ff5c33;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
#add-task-btn:hover {
    background-color: #ff3300;
}
.task-list {
    list-style: none;
    padding: 0;
}
.task-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #ff5c33;
}
.task-item.completed {
    border-left-color: #28a745;
    opacity: 0.7;
}
.task-item.completed .task-text {
    text-decoration: line-through;
}
.task-checkbox {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}
.task-content {
    flex-grow: 1;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.task-text {
    flex-grow: 1;
}
.task-image {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}
.delete-btn {
    margin-left: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
}
.delete-btn:hover {
    background-color: #c82333;
}
.drawing-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.drawing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.drawing-header h2 {
    margin: 0;
    color: #343a40;
}
.canvas-wrapper {
    position: relative;
    touch-action: none;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: white;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
#drawing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
}
.canvas-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.canvas-controls button {
    padding: 8px 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.canvas-controls button:hover {
    background-color: #5a6268;
}
.input-toggle {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}
.input-toggle button {
    flex-grow: 1;
    padding: 12px;
    background-color: #f0f2f4;
    border: 1px solid #ff5c33;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
.input-toggle button.active {
    background-color: #ff5c33;
    color: white;
    border-color: #ff5c33;
}
#add-drawing-task {
    background-color: #ff5c33;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
#add-drawing-task:hover {
    background-color: #ff3300;
}
.handwritten-task {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.handwritten-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}
.offline-indicator {
    background-color: #ffc107;
    color: #343a40;
    text-align: center;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}
.install-button {
    display: none;
    background-color: #ff3300;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 16px;
    margin: 10px auto;
    cursor: pointer;
}