body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    min-height: 100vh;
    margin: 0;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 0 1rem;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #34495e;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #3498db;
}

button {
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #2980b9;
}

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

li {
    background: #fff;
    border: 1px solid #ecf0f1;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.1s;
}

li:hover {
    transform: translateX(2px);
    border-left: 3px solid #3498db;
}

.item-content {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.item-desc {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.2rem;
}

.delete-btn {
    background-color: #e74c3c;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-left: 1rem;
}

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