body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #8387a8;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #c6cedb;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, button {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

#books-list {
    margin-top: 30px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 25px;
    background: #f9f9f9;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

li:nth-child(odd) {
    background: #e9e9e9;
}

.book-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

button.update, button.delete {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
}

button.update {
    background-color: #3928a7;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;


}


button.update:hover{
    background-color: #2a1f6a;
}

button.delete {
    background-color: #dc3545;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.delete:hover {
    background-color: #c82333;
}

@media (max-width: 700px) {
    .container {
        width: 90%;
        padding: 5px;
    }

    form {
        gap: 10px;
    }

    input, button {
        font-size: 14px;
    }
}