* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-bar {
    display: flex;
    justify-content: space-around;
    background: #5DBB63;
    padding: 12px 0;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.tab-button {
    border: none;
    background: none;
    color: white;
    padding: 12px 20px;
    flex: 1;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.tab-button:hover {
    background: rgba(255,255,255,0.1);
}

.tab-button.active {
    background: rgba(255,255,255,0.2);
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 15px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(93,187,99,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93,187,99,0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #5DBB63;
}

textarea {
    height: 120px;
    resize: vertical;
}

button {
    background: #5DBB63;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}

button:hover {
    background: #4ca954;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

.clear-btn {
    background: #ff6b6b;
    margin: 10px 0;
}

.clear-btn:hover {
    background: #ff5252;
}

.list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
}

.list-item {
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.list-item:hover {
    background-color: #f8f9fa;
    border-color: #5DBB63;
    transform: translateX(2px);
}

.delete-btn {
    background: #ff6b6b;
    padding: 8px 16px;
    font-size: 14px;
}

.edit-btn, .move-btn {
    background: #5DBB63;
    padding: 8px 16px;
    font-size: 14px;
    margin-right: 8px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.item-text {
    font-size: 16px;
    flex-grow: 1;
}

.item-actions {
    display: flex;
    gap: 8px;
}

.item-input {
    flex-grow: 1;
	margin-right: 10px;
}