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

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #1a261a;
    color: #2d3748;
    min-height: 100vh;
}

input,
button,
textarea,
select {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

button {
    background: transparent;
    border: none;
    outline: none;
}

main {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-heading {
    font-size: 3.2rem;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.todo-form {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    background: #1a261a;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.input,
.submit-btn {
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.input {
    flex: 1;
    background: #f7fafc;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    cursor: pointer;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.task-item.completed {
    opacity: 0.7;
    border-left-color: #a0aec0;
}

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

.task-title {
    flex: 1;
    font-size: 1.7rem;
    color: #2d3748;
    font-weight: 500;
}

.task-action {
    display: flex;
    gap: 20px;
    align-items: center;
}

.task-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.2s ease;
    cursor: pointer;
}

.task-btn.edit {
    background: rgba(56, 178, 172, 0.1);
    color: #48bb78;
    border: 1px solid rgba(56, 178, 172, 0.3);
}

.task-btn.edit:hover {
    background: rgba(56, 178, 172, 0.2);
    transform: scale(1.05);
}

.task-btn.done {
    background: rgba(72, 187, 120, 0.1);
    color: #96693b;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.task-btn.done:hover {
    background: rgba(72, 187, 120, 0.2);
    transform: scale(1.05);
}

.task-btn.delete {
    background: rgba(245, 101, 101, 0.1);
    color: #f56565;
    border: 1px solid rgba(245, 101, 101, 0.3);
}

.task-btn.delete:hover {
    background: rgba(245, 101, 101, 0.2);
    transform: scale(1.05);
}

.empty-message {
    list-style: none;
    text-align: center;
    font-style: italic;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}