:root {
    --background: #000430;
    --secondaryBackground: #171c48;
    --text: #ffffff;
    --purple: #828dff;
    --teal: #24feee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 400px;
}

.stats-container {
    background-color: var(--secondaryBackground);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px var(--teal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.details {
    >h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }
}


.details {
    >p {
        font-size: 14px;
        color: #ccc;
        margin-bottom: 10px;
    }

}

#progress {
    width: 100%;
    height: 8px;
    background: #2e2e60;
    border-radius: 4px;
    overflow: hidden;
}

.progress-amount {
    height: 100%;
    background-color: var(--teal);
    transition: .4s;
}

.stats-number {
    background-color: var(--purple);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
}

form {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
}

form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px 0 0 8px;
    background: #2a2a4f;
    color: var(--text);
}

form button {
    padding: 10px 15px;
    background: var(--purple);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    font-size: 18px;
    cursor: pointer;
}




.task-list {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    /* مهم */
    gap: 10px;
    /* فاصله بین آیتم‌ها */
}

.task-list li {
    width: 100%;
    background-color: #1a1a38;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    /* برای جداسازی چپ و راست */
    align-items: center;
    color: white;
}

.task-list li h3 {
    margin: 0;
    font-size: 16px;
    flex: 1;
    /* پر کنه فضای سمت چپ */
}

.task-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    /* فاصله بین آیکون‌ها */
}

.task-actions input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.task-actions span {
    cursor: pointer;
    font-size: 18px;

}
del{
    text-decoration-color: var(--purple);
    text-decoration-thickness: 2px; 

}

#demo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999; 
}


