
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6fb;
    color:#333;
    padding:40px 20px;
}


.container{
    max-width:1100px;
    margin:auto;
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

header{
    text-align:center;
    margin-bottom:40px;
}

header h1{
    font-size:48px;
    margin-bottom:10px;
    color:#222;
}

header p{
    color:#666;
    font-size:18px;
}


.card{
    border:1px solid #e3e3e3;
    border-radius:10px;
    padding:30px;
    margin-bottom:30px;
    background:#fff;
}

.card h2{
    margin-bottom:18px;
    color:#222;
}

.card p{
    margin-bottom:20px;
    color:#666;
    line-height:1.6;
}


#change-text{
    color:#2e9f45;
    font-size:34px;
    margin-bottom:25px;
    font-weight:500;
}




button{
    background:#2fa84f;
    color:#fff;
    border:none;
    padding:14px 28px;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

button:hover{
    background:#23853c;
}


.toggle-container{
    display:flex;
    align-items:center;
    gap:30px;
    margin-bottom:20px;
}

#box{
    flex:1;
    border:2px dashed #37a84d;
    background:#f2fff3;
    color:#338540;
    text-align:center;
    padding:45px;
    border-radius:6px;
    font-size:28px;
}

.box-info{
    flex:1;
    margin:0;
}


.active{

    background: red !important;
    color: white !important;
    border: 5px solid blue !important;

}


.input-group{
    display:flex;
    gap:15px;
    margin-bottom:20px;
}

.input-group input{
    flex:1;
}


input{
    width:100%;
    padding:15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
    outline:none;
}

input:focus{
    border-color:#2fa84f;
}



#item-list{
    list-style:disc;
    border:1px solid #ddd;
    border-radius:6px;
    padding:20px 35px;
}

#item-list li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    font-size:18px;
}

#item-list li:last-child{
    margin-bottom:0;
}



.delete-btn{
    background:none;
    color:#ff4d73;
    font-size:28px;
    padding:0;
    border:none;
}

.delete-btn:hover{
    background:none;
    color:#d9365f;
}



#name-input{
    margin-bottom:20px;
}

#message{
    background:#e9f2ff;
    border:1px solid #b7d4ff;
    color:#1d4d9c;
    padding:18px;
    border-radius:6px;
    font-size:18px;
}




footer{
    text-align:center;
    margin-top:40px;
    color:#666;
    font-size:16px;
}


@media(max-width:768px){

    .container{
        padding:25px;
    }

    header h1{
        font-size:36px;
    }

    #change-text{
        font-size:28px;
    }

    .toggle-container{
        flex-direction:column;
    }

    .input-group{
        flex-direction:column;
    }

    button{
        width:100%;
    }

}