/* ============================================
   ORDERS TABLE STYLES
   ============================================ */

.table-responsive {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.orders-table th {
  background-color: #f9f9f9;
  text-align: left;
  padding: 15px;
  font-size: 13px;
  text-transform: uppercase;
  color: #0b2341;
  border-bottom: 2px solid #eeeeee;
}

.orders-table td {
  padding: 15px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 14px;
  color: #444;
}

/* Status Badges */
.status-badge {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}

.status-badge.pending {
  background-color: #fff4e5;
  color: #ff9900;
}

.status-badge.completed,
.status-badge.shipped {
  background-color: #e6fcf5;
  color: #0ca678;
}

.status-badge.cancelled,
.status-badge.failed {
  background-color: #fff5f5;
  color: #fa5252;
}

.status-badge.processing {
  background-color: #e7f5ff;
  color: #228be6;
}

/* View Button */
.btn-view-order {
  text-decoration: none;
  color: #0b2341;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-view-order i {
  font-size: 10px;
  margin-left: 5px;
}

.btn-view-order:hover {
  color: #ff9900;
}

/* Empty State */
.empty-orders {
  text-align: center;
  padding: 50px 0;
}

.empty-orders i {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-orders p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

/* Responsive Table */
@media (max-width: 600px) {
  .orders-table thead {
    display: none;
  }
  .orders-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
  }
  .orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
    text-align: right;
  }
  .orders-table td::before {
    content: attr(data-label);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    text-align: left;
  }
}
