* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 25px;
    margin-bottom: 20px;
}

.task-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.task-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.task-input:focus {
    border-color: #667eea;
}

.add-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.add-btn:hover {
    transform: translateY(-2px);
}

/* Dairesel İlerleme Çubuğu */
.progress-container {
    margin-bottom: 25px;
    text-align: center;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.progress-circle svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: #e1e5e9;
    stroke-width: 8;
}

.progress-circle-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
    stroke-dasharray: 0 314;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
}

.progress-label {
    font-weight: 600;
    color: #333;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.task-list {
    list-style: none;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.task-item.completed {
    background: #e8f5e8;
    border-left-color: #28a745;
}

.task-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.task-text {
    flex: 1;
    font-size: 16px;
    cursor: pointer;
}

.task-text.completed {
    text-decoration: line-through;
    color: #6c757d;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Company Logo */
.company-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .company-logo {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .company-logo {
        max-width: 200px;
    }
}

.edit-btn {
    background: #17a2b8;
    color: white;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.empty-message {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .card {
        padding: 20px;
    }

    .task-form {
        flex-direction: column;
    }

    .task-input {
        min-width: 100%;
    }

    .add-btn {
        width: 100%;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 15px;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Düzenleme modu */
.task-item.editing .task-text {
    display: none;
}

.task-item .edit-input {
    display: none;
    flex: 1;
    padding: 8px;
    border: 2px solid #667eea;
    border-radius: 5px;
    font-size: 16px;
}

.task-item.editing .edit-input {
    display: block;
}

/* Mobil cihazlarda düzenleme modu butonları */
@media (max-width: 480px) {
    .task-item.editing .task-actions {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .task-item.editing .task-actions .edit-btn,
    .task-item.editing .task-actions .delete-btn {
        width: 100%;
        text-align: center;
    }
}

/* Çıktı dropdown menüsü */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-main-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-color: #28a745;
    position: relative;
}

.export-main-btn:hover {
    background: linear-gradient(135deg, #218838, #1abc9c);
}

.export-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 2px solid #28a745;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 150px;
    margin-top: 5px;
}

.export-option {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: white;
    color: #333;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.export-option:first-child {
    border-radius: 6px 6px 0 0;
}

.export-option:last-child {
    border-radius: 0 0 6px 6px;
}

.export-option:hover {
    background: #f8f9fa;
    color: #28a745;
}

/* Tamamlanan görevleri temizleme butonu */
.clear-completed-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #e1e5e9;
}

.clear-completed-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.clear-completed-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.clear-completed-btn:active {
    transform: translateY(0);
}