:root { --primary: #4a6cf7; --success: #22c55e; --danger: #ef4444; --dark: #0f172a; --bg: #f8fafc; --border: #e2e8f0; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background: var(--bg); color: #334155; }
.hidden { display: none !important; }

.auth-container { height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--dark); }
.auth-card { background: white; padding: 35px; border-radius: 12px; width: 100%; max-width: 400px; text-align: center; }
.auth-card input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 15px; text-align: center; }
.auth-card button { width: 100%; padding: 12px; background: var(--primary); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; }

.dashboard-container { max-width: 1400px; margin: 0 auto; padding: 30px 15px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; background: white; padding: 20px; border-radius: 8px; border: 1px solid var(--border); }
.client-view-btn { background: var(--dark); color: white; text-decoration: none; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; }

.dash-grid-three { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; margin-bottom: 30px; }
@media (max-width: 1024px) { .dash-grid-three { grid-template-columns: 1fr; } }

.dash-section { background: white; padding: 20px; border-radius: 8px; border: 1px solid var(--border); }
.dash-section h2 { font-size: 15px; margin-bottom: 15px; color: var(--dark); border-bottom: 2px solid var(--border); padding-bottom: 8px; }
.custom-form { display: flex; flex-direction: column; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-size: 12px; font-weight: 600; color: #475569; }
input, select, textarea { padding: 9px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; outline: none; }

.size-selector-box { background: #f8fafc; border: 1px dashed #cbd5e1; padding: 10px; border-radius: 6px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.checkbox-group label { font-weight: 500; font-size: 12px; display: flex; align-items: center; gap: 4px; cursor: pointer; }

.img-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; margin-top: 8px; }
.img-preview-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }

.submit-btn { padding: 11px; border: none; color: white; border-radius: 6px; font-weight: 600; cursor: pointer; margin-top: 5px; font-size: 13px; }
.btn-store { background: var(--dark); }
.btn-product { background: var(--primary); }

.admin-list-container { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; max-height: 250px; overflow-y: auto; }
.admin-item-row { background: #f8fafc; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; display: flex; justify-content: space-between; align-items: center; }
.admin-item-info { font-size: 12px; line-height: 1.4; }
.action-buttons { display: flex; gap: 4px; }
.action-btn { border: none; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; cursor: pointer; color: white; }
.btn-edit { background: #eab308; }
.btn-del { background: var(--danger); }

.table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 15px; }
.admin-table th, .admin-table td { padding: 10px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { background: #f8fafc; }
.table-thumb { width: 35px; height: 35px; object-fit: cover; border-radius: 4px; }
