About
Terms
Privacy
diff --git a/src/index.css b/src/index.css
index c5566f3..8a8e474 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1620,3 +1620,317 @@ aside.menu {
justify-content: center;
padding: 0.25rem;
}
+
+/* Products Tab Styling */
+.products-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 2rem;
+}
+.filters-row {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 2rem;
+}
+.filters-row select {
+ background-color: #ffffff;
+ border: 1px solid var(--border);
+ border-radius: 4px;
+ padding: 0.5rem 1rem;
+ font-size: 0.875rem;
+ outline: none;
+}
+.products-grid {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1.5rem;
+ width: 100%;
+}
+.product-card {
+ width: calc(33.333% - 1rem);
+ background-color: #ffffff;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
+ box-sizing: border-box;
+}
+@media (max-width: 1024px) {
+ .product-card {
+ width: calc(50% - 0.75rem);
+ }
+}
+@media (max-width: 600px) {
+ .product-card {
+ width: 100%;
+ }
+}
+.product-image-container {
+ position: relative;
+ aspect-ratio: 16/9;
+ background-color: var(--surface-container-low);
+ overflow: hidden;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+}
+.product-image-container img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+.stock-badge {
+ position: absolute;
+ top: 0.75rem;
+ right: 0.75rem;
+ padding: 0.25rem 0.5rem;
+ border-radius: 4px;
+ font-size: 0.75rem;
+ font-weight: 600;
+ border: 1px solid transparent;
+}
+.stock-badge.in-stock {
+ background-color: #e6f4ea;
+ color: #137333;
+ border-color: #ceead6;
+}
+.stock-badge.low-stock {
+ background-color: #fef7e0;
+ color: #b06000;
+ border-color: #feebc8;
+}
+.stock-badge.out-of-stock {
+ background-color: #fce8e6;
+ color: #c5221f;
+ border-color: #fad2cf;
+}
+.product-card-body {
+ padding: 1.25rem;
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+}
+.product-category-badges {
+ display: flex;
+ gap: 0.5rem;
+ align-items: center;
+}
+.category-tag {
+ font-size: 0.625rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ background-color: var(--surface-container);
+ color: var(--text-muted);
+ padding: 0.25rem 0.5rem;
+ border-radius: 4px;
+}
+.gi-tag {
+ font-size: 0.625rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ background-color: rgba(107, 26, 44, 0.1);
+ color: var(--primary-container);
+ padding: 0.25rem 0.5rem;
+ border-radius: 4px;
+}
+.product-card-footer {
+ padding: 1rem 1.25rem;
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
+ display: flex;
+ gap: 0.75rem;
+}
+.btn-edit {
+ flex-grow: 1;
+ border: 1px solid var(--border);
+ background-color: transparent;
+ padding: 0.5rem;
+ border-radius: 4px;
+ font-size: 0.75rem;
+ font-weight: 600;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 0.5rem;
+ color: var(--text-dark);
+ transition: background-color 0.2s;
+}
+.btn-edit:hover {
+ background-color: var(--surface-container-low);
+}
+.btn-delete {
+ border: 1px solid #fad2cf;
+ background-color: transparent;
+ color: #c5221f;
+ padding: 0.5rem;
+ border-radius: 4px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: background-color 0.2s;
+}
+.btn-delete:hover {
+ background-color: #fce8e6;
+}
+
+/* Products Tab Styling */
+.products-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 2rem;
+}
+.filters-row {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 2rem;
+}
+.filters-row select {
+ background-color: #ffffff;
+ border: 1px solid var(--border);
+ border-radius: 4px;
+ padding: 0.5rem 1rem;
+ font-size: 0.875rem;
+ outline: none;
+}
+.products-grid {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1.5rem;
+ width: 100%;
+}
+.product-card {
+ width: calc(33.333% - 1rem);
+ background-color: #ffffff;
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
+ box-sizing: border-box;
+}
+@media (max-width: 1024px) {
+ .product-card {
+ width: calc(50% - 0.75rem);
+ }
+}
+@media (max-width: 600px) {
+ .product-card {
+ width: 100%;
+ }
+}
+.product-image-container {
+ position: relative;
+ aspect-ratio: 16/9;
+ background-color: var(--surface-container-low);
+ overflow: hidden;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+}
+.product-image-container img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+.stock-badge {
+ position: absolute;
+ top: 0.75rem;
+ right: 0.75rem;
+ padding: 0.25rem 0.5rem;
+ border-radius: 4px;
+ font-size: 0.75rem;
+ font-weight: 600;
+ border: 1px solid transparent;
+}
+.stock-badge.in-stock {
+ background-color: #e6f4ea;
+ color: #137333;
+ border-color: #ceead6;
+}
+.stock-badge.low-stock {
+ background-color: #fef7e0;
+ color: #b06000;
+ border-color: #feebc8;
+}
+.stock-badge.out-of-stock {
+ background-color: #fce8e6;
+ color: #c5221f;
+ border-color: #fad2cf;
+}
+.product-card-body {
+ padding: 1.25rem;
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+}
+.product-category-badges {
+ display: flex;
+ gap: 0.5rem;
+ align-items: center;
+}
+.category-tag {
+ font-size: 0.625rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ background-color: var(--surface-container);
+ color: var(--text-muted);
+ padding: 0.25rem 0.5rem;
+ border-radius: 4px;
+}
+.gi-tag {
+ font-size: 0.625rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ background-color: rgba(107, 26, 44, 0.1);
+ color: var(--primary-container);
+ padding: 0.25rem 0.5rem;
+ border-radius: 4px;
+}
+.product-card-footer {
+ padding: 1rem 1.25rem;
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
+ display: flex;
+ gap: 0.75rem;
+}
+.btn-edit {
+ flex-grow: 1;
+ border: 1px solid var(--border);
+ background-color: transparent;
+ padding: 0.5rem;
+ border-radius: 4px;
+ font-size: 0.75rem;
+ font-weight: 600;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 0.5rem;
+ color: var(--text-dark);
+ transition: background-color 0.2s;
+}
+.btn-edit:hover {
+ background-color: var(--surface-container-low);
+}
+.btn-delete {
+ border: 1px solid #fad2cf;
+ background-color: transparent;
+ color: #c5221f;
+ padding: 0.5rem;
+ border-radius: 4px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: background-color 0.2s;
+}
+.btn-delete:hover {
+ background-color: #fce8e6;
+}