* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #b56afc, #90acda);
    color: #fff;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.container h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.container h1 img {
    width: 50px;
    margin-right: 10px;
}

.container button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(#9418fd, #571094);
    color: #fff;
    font-size: 1rem;
    border: 0;
    border-radius: 40px;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.container button:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.container button img {
    width: 20px;
    margin-right: 8px;
}

.notes-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.note-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.note-wrapper:hover {
    transform: scale(1.009);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.input-box {
    flex: 1;
    min-height: 100px;
    background: #fff;
    color: #333;
    padding: 10px;
    outline: none;
    border: none;
    border-radius: 5px;
    word-break: break-word;
    text-align: left; /* Ensures text remains left-aligned */
}


.note-wrapper img {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin-left: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6363, #ff3e3e);
    padding: 5px;
    transition: transform 0.2s ease;
}

.note-wrapper img:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .container h1 {
        font-size: 1.5rem;
    }

    .note-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .note-wrapper img {
        align-self: flex-end;
        margin-left: 0;
        margin-top: 10px;
    }
}
