* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background: hsla(302, 82%, 76%, 1);

    background: linear-gradient(90deg, hsla(302, 82%, 76%, 1) 0%, hsla(258, 40%, 68%, 1) 100%);

    background: -moz-linear-gradient(90deg, hsla(302, 82%, 76%, 1) 0%, hsla(258, 40%, 68%, 1) 100%);

    background: -webkit-linear-gradient(90deg, hsla(302, 82%, 76%, 1) 0%, hsla(258, 40%, 68%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#F492F0", endColorstr="#A18DCE", GradientType=1);
}

.main {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;

}
.inner{
    display: flex;
    flex-direction: column;
    height: 60vh;
    width: 90%;
    max-width: 500px;
    padding: 10px;
    border-radius: 10px;
     background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

}
.wrap-all{
        display: flex;
    justify-content: center;
    align-items: start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
ul{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
}
#usertask{
    width: 80%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-right: 10px;
    margin-bottom: 10px;
   
}
#usertask:focus{
    outline: none;
     box-shadow: 0px 0px 20px grey;
}
#adds{
    /* border-radius: 50%; */
    padding: 5px;   
    margin: 10px 10px 0px 0px ;
    background-color: #eb7fde;
    color: white ;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #432371;
}
#dlt{
  padding: 5px;   
    margin: 10px 10px 0px 0px ;
    background-color: #eb7fde;
    color: white ;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #432371;
}
ul li {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.check-style{
   transform: scale(1.8);
  accent-color: green;  
  cursor: pointer;
  margin-right: 10px;
}

.span-style{
    margin-right: 10px;
}
#update, #delete {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    margin-left: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    color: white;
}

#update {
    background-color: #28a745; /* Bootstrap green */
}

#delete {
    background-color: #dc3545; /* Bootstrap red */
}

#update:hover {
    background-color: #218838;
}

#delete:hover {
    background-color: #c82333;
}
.task-cont{
    flex: 1;
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 5px; 
    scrollbar-width: none;
}
.edit-style{
    flex: 1;
    min-width: 0;
}
.head-todo{
    text-shadow: 0px 0px 10px purple;
    cursor: pointer;
    transition: all 0.3s ease;
}
.head-todo:hover{
    transform: scale(1.2);
}