* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#current-date {
    font-size: 1.1rem;
    opacity: 0.9;
}

.add-task-section, .tasks-section {
    padding: 30px;
}

.add-task-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.add-task-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4facfe;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
}

.tasks-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.task-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.task-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.task-item.completed {
    background: #f8f9fa;
    opacity: 0.7;
}

.task-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 10px;
}

.task-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
}

.task-title.completed {
    text-decoration: line-through;
    color: #888;
}

.task-time {
    background: #4facfe;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
}

.task-notes {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.4;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.btn-complete {
    background: #28a745;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-delete {
    background: #dc3545;
    padding: 8px 16px;
    font-size: 0.9rem;
}

#no-tasks-message {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        border-radius: 10px;
    }
    
    header {
        padding: 20px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .add-task-section, .tasks-section {
        padding: 20px;
    }
    
    .task-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-time {
        margin-left: 0;
        margin-top: 10px;
    }
}