:root {
    --primary-color: #007BFF;
    --secondary-color: #4CAF50;
    --danger-color: #dd4814;
    --background-color: #f7f8fc;
    --container-bg: #ffffff;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Prevent scrolling during confetti */
}

.container {
    background-color: var(--container-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative; /* Ensure confetti canvas is positioned correctly */
}

h1 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.header-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.input-container {
    margin-bottom: 10px;
}

input[type="text"] {
    width: 75%;
    padding: 12px 18px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 30px;
    margin-right: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: var(--primary-color);
}

button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    overflow: hidden;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

li.done {
    background-color: #e1ffe1;
    text-decoration: line-through;
    color: #555;
}

button.remove-btn {
    background-color: var(--danger-color);
    padding: 8px 20px;
    border-radius: 5px;
}

button.remove-btn:hover {
    background-color: #c84b13;
}

button.done-btn {
    background-color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 5px;
}

button.done-btn:hover {
    background-color: #388e3c;
}

.buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.timer-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.timer-display {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    padding-left: 10px;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
        width: 90%;
    }

    input[type="text"] {
        width: 70%;
        font-size: 14px;
    }

    button {
        padding: 10px 15px;
        font-size: 14px;
    }

    li {
        padding: 10px;
        font-size: 14px;
    }

    button.remove-btn,
    button.done-btn {
        padding: 5px;
        font-size: 12px;
    }
}
/* Add this to your existing CSS */
#export-btn {
    padding: 12px 20px;
    background-color: #6c757d; /* Gray color for the export button */
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-left: 10px; /* Space between Add Task and Export Tasks buttons */
}

#export-btn:hover {
    background-color: #5a6268; /* Darker gray on hover */
}