body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    direction: rtl;
    text-align: right;
    font-family: 'Tajawal', sans-serif;
}


.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 650px;
    max-width: 92%;
    margin: 40px auto;
    padding: 35px 30px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

img {
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto -50px auto;
}

h1{
    color: rgba(103, 63, 143, 0.862);
    gap:15px;

}
.inputbtn {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}
.inputbtn input{
    flex: 1; 
    padding: 12px 16px;
    border: 1px solid #d8b4fe;
    border-radius: 12px;
    outline: none;
    font-family: 'Tajawal', sans-serif;
}
.inputbtn button{
    padding: 12px 20px;
    background-color: #a78bfa;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}
ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    width: 100%;
}
li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3e8ff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    width: 100%;
}

.completed{
    background-color: rgb(192, 213, 161) !important;
}

.delete, .check-btn, .edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: transform 0.2s;
}



.delete i {
    color: #e74c3c;
}


.check-btn i {
    color: #2ecc71;
}


.edit-btn i {
    color: #3498db;
}


.delete:hover, .check-btn:hover, .edit-btn:hover {
    transform: scale(1.2);
}