* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { background: #f4f7f6; color: #333; }
.navbar { background: #2c3e50; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; color: white; }
.navbar a { color: white; text-decoration: none; margin-left: 20px; font-weight: bold; }
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.form-box { background: white; max-width: 400px; margin: 80px auto; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.form-box h2 { margin-bottom: 20px; text-align: center; color: #2c3e50; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.btn { background: #27ae60; color: white; padding: 10px 15px; border: none; border-radius: 4px; cursor: pointer; width: 100%; font-size: 16px; text-align: center; }
.btn:hover { background: #219150; }
.btn-danger { background: #c0392b; }
.btn-danger:hover { background: #962d22; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; margin-top: 20px; }
.product-card { background: white; border-radius: 8px; padding: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); text-align: center; }
.product-card img { max-width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.product-card h3 { margin: 15px 0 10px; font-size: 18px; }
.product-card .price { color: #e74c3c; font-size: 18px; font-weight: bold; margin-bottom: 15px; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; }
.admin-table th, .admin-table td { padding: 12px; border: 1px solid #ddd; text-align: left; }
.admin-table th { background: #2c3e50; color: white; }
.flex-admin { display: flex; gap: 30px; }
.admin-form { flex: 1; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.admin-list { flex: 2; }