body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.app-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sekundomer uslublari */
.stopwatch-container {
    flex: 1;
    min-width: 350px;
    max-width: 450px;
}

.stopwatch {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.display {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
    font-family: monospace;
}

.stopwatch-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stopwatch-controls button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: opacity 0.3s;
}

#startBtn {
    background-color: #4CAF50;
    color: white;
}

#stopBtn {
    background-color: #f44336;
    color: white;
}

#resetBtn {
    background-color: #2196F3;
    color: white;
}

button:hover {
    opacity: 0.8;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* To-Do List uslublari */
.todo-container {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #6c63ff;
}

.input-section {
    display: flex;
    margin-bottom: 1.5rem;
}

#addBtn {
    padding: 0.8rem 1.5rem;
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

#addBtn:hover {
    background-color: #4d44db;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: #6c63ff;
    color: white;
    border-color: #6c63ff;
}

.counter {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #4d44db;
}

#taskList {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
    padding: 0 10px;
}

.task {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s;
}

.task:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.task.done {
    background-color: #e8f5e9;
}

.task.done .task-text {
    text-decoration: line-through;
    color: #777;
}

.task-text {
    flex-grow: 1;
    margin: 0 1rem;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
}

.task-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.3rem;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.done-btn {
    color: #28a745;
}

.done-btn:hover {
    background-color: rgba(40, 167, 69, 0.1);
}

.delete-btn {
    color: #dc3545;
}

.delete-btn:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.empty-state {
    text-align: center;
    color: #777;
    padding: 2rem;
}