body {
    font-family: Arial, sans-serif;
    background-color: #F6E3B4; /* Primrose color */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.hidden {
    display: none;
}

#login-container, #inventory-container {
    background-color: #f0fff4; /* Mint color */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
}

input, textarea, button {
    margin: 15px 0;
    padding: 10px;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #98ff98; /* Light mint color */
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #32cd32; /* Darker mint color */
}

li {
    list-style-type: none;
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
}

/* Style for the delete button as a small "X" */
button.delete {
    position: absolute;
    top: 5px; /* Adjusting to move it to the top */
    right: 5px; /* Adjusting to move it to the right */
    background-color: transparent;
    color: white;
    border: none;
    font-size: 14px; /* Decreased the size */
    font-weight: bold;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ff4c4c;
    padding: 0;
}

/* Hover effect for delete button */
button.delete:hover {
    background-color: #ff6b6b;
}

/* Inventory item styles */
.inventory-item {
    background-color: #f0fff4;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    width: 80%;
    position: relative;
}

/* Item details (text section) */
.item-details {
    text-align: left;
    word-wrap: break-word;
    margin-bottom: 10px; /* Add spacing between text and button */
}

/* Add spacing for list items */
ul {
    padding: 0;
    list-style-type: none;
    width: 100%;
}