.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.status-new {
    background: #6c757d;
}

.status-accepted {
    background: #0d6efd;
}

.status-shipped {
    background: #fd7e14;
}

.status-done {
    background: #198754;
}

.status-cancel {
    background: #dc3545;
}

.btn-update {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-update:hover {
    opacity: 0.9;
}
.order-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    border: 1px solid #eef1f5;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.order-id {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
}

.order-body {
    margin-bottom: 14px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-row .label {
    color: #6c757d;
    font-size: 13px;
}

.order-row .value {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}

.order-row .price {
    font-size: 16px;
    font-weight: 700;
    color: #198754;
}

.order-footer {
    border-top: 1px dashed #e9ecef;
    padding-top: 12px;
}

.status-form {
    display: flex;
    gap: 10px;
}

.status-select {
    flex: 1;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 14px;
}

.btn-update {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-update:hover {
    background: #0b5ed7;
}
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-delete {
    border: none;
    background: transparent;
    color: #c0392b;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0 6px;
}

.order-delete:hover {
    color: #e74c3c;
    transform: scale(1.15);
}

.delete-form {
    margin: 0;
}
.page-title {
  margin-bottom: 20px;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state p {
  color: #666;
  margin-bottom: 20px;
}

/* DASHBOARD */
.dashboard {
  display: flex;
  gap: 20px;
}

/* SIDEBAR */
.dashboard-menu {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-item {
  padding: 12px 14px;
  background: #f3f3f3;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: 0.2s;
}

.menu-item:hover {
  background: #e6e6e6;
}

.menu-item.active {
  background: #ff6a00;
  color: #fff;
}

/* CONTENT */
.dashboard-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* STORE CARD */
.store-card {
  padding: 20px;
}

.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-city {
  background: #f3f3f3;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
}

.store-desc {
  margin-top: 10px;
  color: #555;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
}

.stat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

/* MOBILE */
@media (max-width: 900px) {
  .dashboard {
    flex-direction: column;
  }

  .dashboard-menu {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .menu-item {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
}
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-date {
  font-size: 13px;
  color: #777;
}

.order-body {
  margin-bottom: 12px;
}

.order-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.order-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #444;
}

.order-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* STATUS */
.status {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
}

.status-new {
  background: #e6f0ff;
  color: #0055cc;
}

.status-accepted {
  background: #fff3cd;
  color: #856404;
}

.status-shipped {
  background: #d1ecf1;
  color: #0c5460;
}

.status-done {
  background: #d4edda;
  color: #155724;
}

/* BUTTONS */
.btn.small {
  padding: 6px 10px;
  font-size: 13px;
}

.btn.danger {
  background: #ffe5e5;
  color: #b30000;
}
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.product-price {
  color: #ff6a00;
  font-weight: 600;
}

.product-actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.product-actions form {
  margin: 0;
}
.settings-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.settings-tabs .tab {
  padding: 8px 14px;
  border-radius: 8px;
  background: #f3f3f3;
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.settings-tabs .tab.active {
  background: #ff6a00;
  color: #fff;
}
.cart-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1.5fr auto auto auto auto;
  align-items: center;
  gap: 10px;
}

.cart-title {
  font-weight: 600;
}

.cart-store {
  font-size: 13px;
  color: #777;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
}

.cart-price,
.cart-sum {
  font-weight: 500;
}

.cart-remove a {
  color: #b30000;
  text-decoration: none;
}

/* TOTAL */
.cart-total {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-line {
  font-size: 18px;
}

.checkout-btn {
  padding: 12px 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-total {
    flex-direction: column;
    gap: 10px;
  }
}
.store-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.store-switch-inline select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  font-size: 14px;
  cursor: pointer;
}

.store-switch-inline select:hover {
  background: #fff;
}
