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

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

h2 {
    color: #555;
    margin-bottom: 15px;
}

.form-section {
    margin-bottom: 40px;
}

#itemForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button[type="submit"] {
    background: #4CAF50;
    color: white;
}

button[type="submit"]:hover {
    background: #45a049;
}

#cancelBtn {
    background: #999;
    color: white;
}

#cancelBtn:hover {
    background: #888;
}

.item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.item-content {
    flex: 1;
}

.item h3 {
    color: #333;
    margin-bottom: 8px;
}

.item p {
    color: #666;
    margin-bottom: 10px;
}

.item img {
    width: 120px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.edit-btn {
    background: #2196F3;
    color: white;
}

.edit-btn:hover {
    background: #0b7dda;
}

.delete-btn {
    background: #f44336;
    color: white;
}

.delete-btn:hover {
    background: #da190b;
}
