/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #f1f1f1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

/* Main container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    width: 100%;
}

/* Header section */
.head-container {
    padding: 25px 20px;
    border-radius: 20px;
    border: 2px solid #4cafef;
    background: rgba(20, 20, 40, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    gap: 40px;
    justify-content: space-between;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.head-container:hover {
    transform: scale(1.02);
}

/* Progress bar */
#progress {
    height: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

#progressline {
    width: 50%;
    height: 10px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
    box-shadow: 0 0 10px #00f2fe;
}

/* Circular counter */
#num {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    display: flex;
    background: linear-gradient(145deg, #1f1c2c, #928dab);
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6);
}

/* Form section */
form {
    margin-top: 40px;
    width: 100%;
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding: 12px 15px;
    background: #1f1f2e;
    border-radius: 12px;
    border: none;
    outline: none;
    color: #f1f1f1;
    font-size: 16px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
}

input::placeholder {
    color: #aaa;
}

button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #00f2fe, #4facfe);
    color: #000;
    font-size: 28px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 18px rgba(0, 242, 254, 0.6);
}

/* Flower Image */
.flower-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flower-img:hover {
    transform: scale(1.2);
}

/* Task List */
#task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    width: 100%;
    list-style: none;
}

.taskitem {
    display: flex;
    color: #f1f1f1;
    background-color: #1f1f2e;
    padding: 12px;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, background 0.3s ease;
}

.taskitem:hover {
    transform: translateX(8px);
    background: #2c2c3c;
}

/* Completed Task */
.task.completed p {
    text-decoration: line-through;
    color: #00f2fe;
}

/* Task checkbox */
.task input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

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