*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #f5f5f7;--surface: #ffffff;--surface-hover: #f0f0f2;--surface-alt: #eef0f4;--border: #e0e0e4;--border-hover: #c8c8ce;--text: #1a1a2e;--text-muted: #8b8b9e;--text-secondary: #5c5c72;--accent: #4f6ef7;--accent-hover: #3b57d9;--accent-light: rgba(79, 110, 247, .08);--danger: #e5484d;--danger-hover: #cd2b31;--success: #30a46c;--warning: #e5a000;--radius: 8px;--radius-lg: 12px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 4px 12px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);--status-active: #30a46c;--status-pending: #e5a000;--status-completed: #4f6ef7;--status-cancelled: #8b8b9e}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg);color:var(--text);min-height:100vh}#root{width:100%;min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:var(--radius);border:1px solid transparent;transition:all .15s ease;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn-secondary{background:transparent;color:var(--text);border-color:var(--border)}.btn-secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-hover)}.btn-danger{background:transparent;color:var(--danger);border-color:var(--danger)}.btn-danger:hover:not(:disabled){background:var(--danger);color:#fff}.btn-full{width:100%}.btn-sm{padding:.375rem .75rem;font-size:.8125rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.8125rem;font-weight:500;color:var(--text-secondary)}.form-group input,.form-group textarea,.form-group select{padding:.625rem .875rem;font-size:.875rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);transition:border-color .15s;font-family:inherit}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--accent)}.form-group textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions{display:flex;gap:.75rem;justify-content:flex-end;padding-top:1rem;border-top:1px solid var(--border)}.error-message{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:var(--radius);color:var(--danger);font-size:.875rem;margin-bottom:1rem}.success-message{padding:.75rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--radius);color:var(--success);font-size:.875rem;margin-bottom:1rem}.text-muted{color:var(--text-muted);font-size:.875rem}.app-layout{display:flex;flex-direction:column;min-height:100vh}.navbar{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100}.navbar-content{max-width:1280px;margin:0 auto;padding:0 1.5rem;height:3.5rem;display:flex;align-items:center;gap:2rem}.navbar-brand{font-size:1rem;font-weight:600;color:var(--text)!important;letter-spacing:-.01em;flex-shrink:0}.navbar-links{display:flex;gap:.25rem;flex:1}.nav-link{padding:.375rem .75rem;font-size:.875rem;color:var(--text-muted)!important;border-radius:var(--radius);transition:all .15s}.nav-link:hover{color:var(--text)!important;background:var(--surface-hover)}.nav-link.active{color:var(--text)!important;background:var(--surface-alt)}.navbar-user{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.user-info{font-size:.8125rem;color:var(--text-secondary);display:flex;align-items:center;gap:.5rem}.role-badge{padding:.125rem .5rem;background:#eef2ff;color:var(--accent);border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.main-content{max-width:1280px;margin:0 auto;padding:2rem 1.5rem;width:100%;flex:1}.loading-state{display:flex;align-items:center;justify-content:center;padding:4rem 2rem;color:var(--text-muted);font-size:.875rem}.empty-state{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:4rem 2rem;text-align:center;color:var(--text-muted)}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:2rem}.login-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-md)}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em;margin-bottom:.5rem}.login-header p{color:var(--text-muted);font-size:.875rem}.login-form{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.sso-section{margin-bottom:1.5rem}.btn-sso{background:var(--surface);color:var(--text);border:1px solid var(--border);font-weight:500;gap:.75rem;padding:.75rem 1.25rem;font-size:.9375rem}.btn-sso:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-hover);box-shadow:var(--shadow)}.sso-divider{display:flex;align-items:center;gap:1rem;margin-top:1.25rem}.sso-divider:before,.sso-divider:after{content:"";flex:1;height:1px;background:var(--border)}.sso-divider span{font-size:.8125rem;color:var(--text-muted);white-space:nowrap}.login-footer{border-top:1px solid var(--border);padding-top:1.5rem;display:flex;flex-direction:column;gap:.75rem;text-align:center}.demo-accounts{font-size:.75rem;color:var(--text-muted);background:var(--surface-alt);padding:.75rem;border-radius:var(--radius)}.demo-accounts p{margin:.25rem 0}.browse-page{display:flex;flex-direction:column;gap:1.5rem}.browse-header{display:flex;justify-content:space-between;align-items:center}.browse-header h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.view-toggle{display:flex;gap:.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.25rem}.toggle-btn{padding:.375rem .5rem;background:transparent;border:none;border-radius:4px;color:var(--text-muted);cursor:pointer;transition:all .15s;display:flex;align-items:center}.toggle-btn:hover{color:var(--text)}.toggle-btn.active{background:var(--surface-alt);color:var(--text)}.browse-filters{display:flex;gap:.75rem;flex-wrap:wrap}.search-input{flex:1;min-width:200px;padding:.625rem .875rem;font-size:.875rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);transition:border-color .15s}.search-input:focus{outline:none;border-color:var(--accent)}.filter-select{padding:.625rem .875rem;font-size:.875rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);cursor:pointer}.filter-select:focus{outline:none;border-color:var(--accent)}.filter-bar{display:flex;gap:.75rem;margin-bottom:1rem}.items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.item-card-link{text-decoration:none!important;color:inherit!important}.item-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:border-color .15s,transform .15s,box-shadow .15s;box-shadow:var(--shadow-sm)}.item-card:hover{border-color:var(--border-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}.item-card.grid .item-image{aspect-ratio:16 / 10;overflow:hidden;background:var(--surface-alt)}.item-card.grid .item-image img{width:100%;height:100%;object-fit:cover}.item-card .no-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--text-muted);font-size:.8125rem;background:var(--surface-alt);min-height:120px}.item-card .no-image.large{min-height:300px}.item-card .item-info{padding:1rem;display:flex;flex-direction:column;gap:.5rem}.item-top-row{display:flex;gap:.5rem;align-items:center}.status-badge{display:inline-block;padding:.125rem .5rem;border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#fff}.status-badge.won{background:var(--success)}.category-tag{display:inline-block;padding:.125rem .5rem;border-radius:999px;font-size:.6875rem;font-weight:500;background:var(--surface-alt);border:1px solid var(--border);color:var(--text-secondary)}.item-name{font-size:1rem;font-weight:600;color:var(--text);line-height:1.3}.item-description{font-size:.8125rem;color:var(--text-muted);line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.item-meta{display:flex;justify-content:space-between;align-items:flex-end;margin-top:.25rem}.item-price .label{display:block;font-size:.6875rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.item-price .value{font-size:1.125rem;font-weight:600;color:var(--accent)}.item-stats{display:flex;flex-direction:column;align-items:flex-end;gap:.125rem;font-size:.75rem;color:var(--text-muted)}.items-list{display:flex;flex-direction:column;gap:.5rem}.items-list .item-card.list{display:flex;flex-direction:row}.items-list .item-card.list .item-image{width:160px;flex-shrink:0;background:var(--surface-alt)}.items-list .item-card.list .item-image img{width:100%;height:100%;object-fit:cover}.items-list .item-card.list .item-info{flex:1;padding:1rem 1.25rem}.item-detail-page{display:flex;flex-direction:column;gap:2rem}.back-btn{align-self:flex-start}.item-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.item-detail-image{border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}.item-detail-image img{width:100%;height:100%;object-fit:cover;max-height:500px}.item-detail-content{display:flex;flex-direction:column;gap:1rem}.item-detail-header{display:flex;gap:.5rem;align-items:center}.item-detail-content h1{font-size:1.75rem;font-weight:600;letter-spacing:-.02em}.item-detail-description{color:var(--text-secondary);font-size:.9375rem;line-height:1.6}.item-detail-pricing{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.price-row{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.price-row .label{color:var(--text-muted)}.price-row .value{font-weight:500;color:var(--text)}.price-row.highlight .value{color:var(--accent);font-size:1.25rem;font-weight:700}.winner-banner{padding:1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--radius);color:var(--success);font-size:.9375rem;font-weight:500}.bid-form{padding:1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.bid-input-row{display:flex;gap:.5rem;align-items:center}.bid-input-row .currency-prefix{font-size:1.125rem;font-weight:600;color:var(--text-muted)}.bid-input-row input{flex:1;padding:.625rem .875rem;font-size:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text)}.bid-input-row input:focus{outline:none;border-color:var(--accent)}.bid-history{display:flex;flex-direction:column;gap:1rem}.bid-history h2{font-size:1.25rem;font-weight:600}.data-table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;font-size:.875rem;box-shadow:var(--shadow-sm)}.data-table th{text-align:left;padding:.75rem 1rem;background:var(--bg);color:var(--text-muted);font-weight:500;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border)}.data-table td{padding:.75rem 1rem;border-bottom:1px solid var(--border);color:var(--text-secondary)}.data-table tr:last-child td{border-bottom:none}.data-table tr:hover td{background:var(--surface-hover)}.data-table .highest-bid td{color:var(--accent);font-weight:500}.table-link{color:var(--accent)!important;font-weight:500}.table-link:hover{text-decoration:underline}.table-item-name{display:flex;align-items:center;gap:.75rem}.table-thumb{width:36px;height:36px;border-radius:4px;object-fit:cover;flex-shrink:0}.status-text{font-weight:500;text-transform:capitalize}.status-text.status-active{color:var(--status-active)}.status-text.status-pending{color:var(--status-pending)}.status-text.status-completed{color:var(--status-completed)}.status-text.status-cancelled{color:var(--status-cancelled)}.action-buttons{display:flex;gap:.5rem}.tab-bar{display:flex;gap:.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.25rem;width:fit-content;margin-bottom:1.5rem}.tab-btn{padding:.5rem 1rem;font-size:.875rem;background:transparent;border:none;border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .15s;font-family:inherit}.tab-btn:hover{color:var(--text)}.tab-btn.active{background:var(--accent);color:#fff}.my-bids-page{display:flex;flex-direction:column;gap:1rem}.my-bids-page h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.admin-layout{display:flex;gap:0;margin:-2rem -1.5rem;min-height:calc(100vh - 3.5rem)}.admin-sidebar{width:220px;background:var(--surface);border-right:1px solid var(--border);padding:1.5rem 0;flex-shrink:0;box-shadow:1px 0 3px #00000008}.sidebar-title{padding:0 1.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:1rem}.sidebar-nav{display:flex;flex-direction:column;gap:.125rem}.sidebar-link{display:flex;align-items:center;gap:.625rem;padding:.5rem 1.25rem;font-size:.875rem;color:var(--text-muted)!important;transition:all .15s}.sidebar-link:hover{color:var(--text)!important;background:var(--surface-hover)}.sidebar-link.active{color:var(--accent)!important;background:#eef2ff;border-right:2px solid var(--accent)}.admin-main{flex:1;padding:2rem;overflow-x:auto}.admin-dashboard{display:flex;flex-direction:column;gap:2rem}.admin-dashboard h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;text-align:center;box-shadow:var(--shadow-sm)}.stat-card.highlight{border-color:var(--accent);background:#f0f4ff}.stat-value{font-size:2rem;font-weight:700;color:var(--text);line-height:1;margin-bottom:.5rem}.stat-card.highlight .stat-value{color:var(--accent)}.stat-label{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.dashboard-section{display:flex;flex-direction:column;gap:.75rem}.dashboard-section h2{font-size:1.125rem;font-weight:600}.section-desc{margin-top:-.5rem}.dashboard-actions{display:flex;gap:.75rem;flex-wrap:wrap}.admin-items-page{display:flex;flex-direction:column;gap:1.5rem}.page-header{display:flex;justify-content:space-between;align-items:center}.page-header h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.admin-item-form-page{max-width:680px}.admin-item-form-page h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em;margin-bottom:1.5rem}.item-form{display:flex;flex-direction:column;gap:1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm)}.image-upload-area{border:2px dashed var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center}.image-preview{display:flex;flex-direction:column;align-items:center;gap:.75rem}.image-preview img{max-width:100%;max-height:200px;border-radius:var(--radius);object-fit:contain}.upload-placeholder input[type=file]{font-size:.875rem;color:var(--text-muted)}.admin-categories-page{display:flex;flex-direction:column;gap:1.5rem}.admin-categories-page h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.category-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow-sm)}.category-input-row{display:flex;gap:.75rem}.category-input-row input{flex:1;padding:.625rem .875rem;font-size:.875rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text)}.category-input-row input:focus{outline:none;border-color:var(--accent)}.admin-users-page{display:flex;flex-direction:column;gap:1.5rem}.admin-users-page h1{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.user-create-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;display:flex;flex-direction:column;gap:1rem;box-shadow:var(--shadow-sm)}.user-create-form h3{font-size:1rem;font-weight:600;margin-bottom:.25rem}.inline-edit-input{padding:.375rem .625rem;font-size:.8125rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);width:100%;font-family:inherit}.inline-edit-input:focus{outline:none;border-color:var(--accent)}.inline-edit-select{padding:.375rem .625rem;font-size:.8125rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);cursor:pointer;font-family:inherit}.inline-edit-select:focus{outline:none;border-color:var(--accent)}@media(max-width:768px){.item-detail-layout{grid-template-columns:1fr}.admin-layout{flex-direction:column}.admin-sidebar{width:100%;border-right:none;border-bottom:1px solid var(--border);padding:1rem 0}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:0 1rem}.sidebar-link{white-space:nowrap}.navbar-content{padding:0 1rem;gap:1rem}.form-row{grid-template-columns:1fr}.browse-filters,.items-list .item-card.list{flex-direction:column}.items-list .item-card.list .item-image{width:100%;aspect-ratio:16/10}}
