/* ===========================================
   Fulfillment Portal - Styles
   =========================================== */

:root {
  --primary-color: #5c6ac4;
  --primary-hover: #4959bd;
  --success-color: #50b83c;
  --warning-color: #f49342;
  --error-color: #de3618;
  --text-color: #212b36;
  --text-muted: #637381;
  --border-color: #dfe3e8;
  --background: #f4f6f8;
  --card-background: #ffffff;
  --sidebar-bg: #1c2260;
  --sidebar-text: #b4b9e8;
  --sidebar-active: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
  background: var(--background);
}

/* ===========================================
   Login Screen
   =========================================== */

.login-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px;
  background: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.login-container h1 {
  margin-bottom: 8px;
  color: var(--primary-color);
}

.login-container p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.install-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-form input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
}

.install-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(92, 106, 196, 0.2);
}

.help-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===========================================
   Main App Layout
   =========================================== */

#main-app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
  color: var(--sidebar-active);
  font-size: 18px;
}

.shop-name {
  font-size: 12px;
  opacity: 0.7;
}

.nav-menu {
  list-style: none;
  padding: 16px 0;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--sidebar-text);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sidebar-active);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--sidebar-active);
  border-left: 3px solid var(--primary-color);
}

.nav-link .icon {
  font-size: 18px;
}

.badge {
  background: var(--error-color);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-link {
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 13px;
}

.logout-link:hover {
  color: var(--sidebar-active);
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 240px;
  padding: 24px;
  min-height: 100vh;
}

/* ===========================================
   Pages
   =========================================== */

.page {
  display: none;
}

.page.active {
  display: block;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 600;
}

/* ===========================================
   Buttons
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-primary:disabled {
  background: var(--border-color);
  cursor: not-allowed;
}

.btn-secondary {
  background: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--background);
}

.btn-success {
  background: var(--success-color);
  color: white;
}

.btn-danger {
  background: var(--error-color);
  color: white;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* ===========================================
   Dashboard
   =========================================== */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card-background);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 13px;
}

.recent-orders {
  background: var(--card-background);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.recent-orders h2 {
  font-size: 16px;
  margin-bottom: 16px;
}

/* ===========================================
   Products
   =========================================== */

.search-bar {
  margin-bottom: 20px;
}

.search-bar input {
  width: 100%;
  max-width: 400px;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 160px;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 16px;
}

.product-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.product-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.product-status.mapped {
  background: #e3f1df;
  color: #108043;
}

.product-status.unmapped {
  background: #fbeae5;
  color: #bf0711;
}

.product-actions {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

/* ===========================================
   Mappings
   =========================================== */

.mappings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mapping-card {
  background: var(--card-background);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.mapping-thumbnail {
  width: 80px;
  height: 80px;
  background: var(--background);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.mapping-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mapping-info {
  flex: 1;
}

.mapping-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.mapping-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.mapping-arrow {
  font-size: 24px;
  color: var(--text-muted);
}

.mapping-actions {
  display: flex;
  gap: 8px;
}

.mapping-variant-status {
  font-size: 11px;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
}

.mapping-variant-status.has-variants {
  background: #e3f1df;
  color: #108043;
}

.mapping-variant-status.no-variants {
  background: #fff3cd;
  color: #856404;
}

/* ===========================================
   Orders
   =========================================== */

.filter-group {
  display: flex;
  gap: 12px;
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
}

.orders-table {
  background: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.orders-table table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.orders-table th {
  background: var(--background);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tr:hover {
  background: var(--background);
}

.order-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.order-status.pending {
  background: #fff3cd;
  color: #856404;
}

.order-status.processing,
.order-status.printing {
  background: #cce5ff;
  color: #004085;
}

.order-status.shipped {
  background: #d4edda;
  color: #155724;
}

.order-status.cancelled,
.order-status.failed {
  background: #f8d7da;
  color: #721c24;
}

/* ===========================================
   Pagination
   =========================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.pagination button {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:hover:not(:disabled) {
  background: var(--background);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination button.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* ===========================================
   Modal
   =========================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--card-background);
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 18px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ===========================================
   Toast Notifications
   =========================================== */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--text-color);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
}

.toast.success {
  background: var(--success-color);
}

.toast.error {
  background: var(--error-color);
}

.toast.warning {
  background: var(--warning-color);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===========================================
   Empty States
   =========================================== */

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

/* ===========================================
   Loading States
   =========================================== */

.loading {
  opacity: 0.5;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===========================================
   Enhanced Orders Page
   =========================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Print Queue Stats Bar */
.stats-bar {
  background: var(--card-background);
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.queue-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.queue-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.queue-stat .stat-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
}

.queue-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.queue-stat.has-errors .stat-value {
  color: var(--error-color);
}

/* Bulk Actions Bar */
.bulk-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e8f4fd;
  border: 1px solid #b8daff;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 20px;
}

.bulk-actions-bar #selected-count {
  font-weight: 500;
  color: var(--primary-color);
}

.bulk-action-buttons {
  display: flex;
  gap: 8px;
}

/* Orders Table Enhancements */
.orders-table-container {
  background: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.orders-table th {
  background: var(--background);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tr:hover {
  background: var(--background);
}

.orders-table tr.selected {
  background: #e8f4fd;
}

.orders-table .checkbox-col {
  width: 40px;
  text-align: center;
}

.orders-table .actions-col {
  white-space: nowrap;
}

.orders-table a {
  color: var(--primary-color);
  text-decoration: none;
}

.orders-table a:hover {
  text-decoration: underline;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.badge-success {
  background: #d4edda;
  color: #155724;
}

.badge-warning {
  background: #fff3cd;
  color: #856404;
}

.badge-danger {
  background: #f8d7da;
  color: #721c24;
}

.badge-secondary {
  background: #e9ecef;
  color: #6c757d;
}

.badge-info {
  background: #cce5ff;
  color: #004085;
}

/* Extra Small Buttons */
.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
}

.btn-warning {
  background: var(--warning-color);
  color: white;
}

.btn-warning:hover {
  background: #e08533;
}

/* Order Detail Modal */
.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.order-detail-section h3 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.order-detail-section p {
  margin-bottom: 4px;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.order-items-table th,
.order-items-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.order-items-table th {
  background: var(--background);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Print Jobs Summary */
.print-jobs-summary {
  display: flex;
  gap: 16px;
  padding: 12px;
  background: var(--background);
  border-radius: 4px;
  margin-bottom: 12px;
}

.print-jobs-summary span {
  font-size: 13px;
}

.text-danger {
  color: var(--error-color) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

/* ===========================================
   Variant Mapper Component
   =========================================== */

.variant-mapper {
  background: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mapper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mapper-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.mapper-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.mapper-actions {
  display: flex;
  gap: 8px;
}

/* Products Info Boxes */
.mapper-products {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--background);
}

.product-box {
  flex: 1;
  padding: 16px;
  background: var(--card-background);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.product-box .product-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.product-box .product-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-box .product-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.product-box.shopify-product {
  border-left: 4px solid #96bf48;
}

.product-box.your-product {
  border-left: 4px solid var(--primary-color);
}

.arrow-connector {
  font-size: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Stats Bar */
.mapper-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.mapper-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mapper-stats .stat-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
}

.mapper-stats .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mapper-stats .progress-bar {
  flex: 1;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.mapper-stats .progress-fill {
  height: 100%;
  background: var(--success-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Variant List */
.variant-list {
  max-height: 600px;
  overflow-y: auto;
}

.variant-list-header {
  display: grid;
  grid-template-columns: 80px 1fr 180px 180px 100px;
  gap: 16px;
  padding: 12px 20px;
  background: var(--background);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  z-index: 10;
}

.variant-row {
  display: grid;
  grid-template-columns: 80px 1fr 180px 180px 100px;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background 0.2s;
}

.variant-row:hover {
  background: var(--background);
}

.variant-row.mapped {
  background: #f8fff8;
}

.variant-row.unmapped {
  background: #fff8f8;
}

/* Status Indicators */
.status-indicator {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.status-indicator.status-mapped {
  background: #d4edda;
  color: #155724;
}

.status-indicator.status-unmapped {
  background: #f8d7da;
  color: #721c24;
}

/* Shopify Variant Info */
.shopify-variant-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.shopify-variant-sku {
  font-size: 12px;
  color: var(--text-muted);
}

/* Match Suggestions */
.match-suggestion {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.suggestion-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  font-size: 10px;
}

.suggestion-tag.size {
  background: #e8f4fd;
  color: #0366d6;
}

.suggestion-tag.color {
  background: #f0e8fd;
  color: #6f42c1;
}

/* Dropdowns */
.variant-row select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  background: white;
}

.variant-row select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(92, 106, 196, 0.2);
}

/* Actions Column */
.col-actions {
  display: flex;
  gap: 4px;
}

/* Loading/Error States */
.variant-mapper .loading-state,
.variant-mapper .error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.variant-mapper .spinner {
  width: 40px;
  height: 40px;
  border-width: 3px;
  margin-bottom: 16px;
}

.variant-mapper .error-message {
  color: var(--error-color);
  margin-bottom: 16px;
}

/* Small spinner for buttons */
.spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===========================================
   Print Area Editor
   =========================================== */

.print-area-editor {
  padding: 20px;
  background: var(--background);
  border-radius: 8px;
}

.print-area-preview {
  position: relative;
  width: 300px;
  height: 400px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 20px;
}

.print-area-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.print-area-overlay {
  position: absolute;
  border: 2px dashed var(--primary-color);
  background: rgba(92, 106, 196, 0.1);
  cursor: move;
  transition: border-color 0.2s;
}

.print-area-overlay:hover {
  border-color: var(--error-color);
  background: rgba(222, 54, 24, 0.1);
}

.print-area-overlay .resize-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 2px;
}

.print-area-overlay .resize-handle.se {
  bottom: -5px;
  right: -5px;
  cursor: se-resize;
}

.print-area-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.print-area-controls .control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.print-area-controls label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
}

.print-area-controls input {
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

/* ===========================================
   Form Select Styling
   =========================================== */

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 32px;
}

/* ===========================================
   Responsive
   =========================================== */

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .main-content {
    margin-left: 0;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .mapping-card {
    flex-direction: column;
    text-align: center;
  }

  .mapping-arrow {
    transform: rotate(90deg);
  }
}
