* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    flex: 1;
    margin-bottom: 20px;
}
.main-footer {
    text-align: center;
    color: white;
    font-size: 14px;
    opacity: 0.9;
    padding: 20px;
    width: 100%;
}

.main-footer strong {
    color: #ffe600;
}
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.card p {
    font-size: 14px;
    opacity: 0.9;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.input-group button,
.generate-btn {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.input-group button:hover,
.generate-btn:hover {
    background: #764ba2;
}

#taskList {
    list-style: none;
}

#taskList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f5f5f5;
    margin-bottom: 8px;
    border-radius: 8px;
}

#taskList li button {
    padding: 5px 10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.color-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.color-box {
    flex: 1;
    min-width: 100px;
    height: 150px;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px;    color: white;
    font-weight: bold;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

table th {
    background: #667eea;
    color: white;
}

table tr:hover {
    background: #f5f5f5;
}

table button {
    padding: 5px 10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.back-btn:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {        padding: 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
}