/* Orders page styles */
.orders {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #222;
    border-radius: 12px;
  }
  
  .orders h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
  }
  
  .order-list {
    margin-top: 20px;
  }
  
  .order-card {
    display: flex;
    align-items: center;
    background: #333;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.2s;
  }
  
  .order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .order-card img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
  }
  
  .order-info h3 {
    margin-bottom: 5px;
    color: #fff;
  }
  
  .order-info p {
    margin-bottom: 5px;
    color: #ccc;
  }
  
  .view-details-btn,
  .track-order,
  .cancel-order-btn {
    background-color: #ff6b00;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-right: 8px;
    margin-top: 10px;
  }
  
  .view-details-btn:hover,
  .track-order:hover {
    background-color: #e05e00;
  }
  
  .cancel-order-btn {
    background-color: #ff4d4d;
  }
  
  .cancel-order-btn:hover {
    background-color: #e04444;
  }
  
  .no-orders {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 1.1rem;
  }
  
  /* Order details modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .order-details-content {
    background-color: #222;
    margin: 5% auto;
    padding: 25px;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
  }
  
  @keyframes slideIn {
    from {
      transform: translateY(-20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .close-modal:hover {
    color: #fff;
  }
  
  .order-details-content h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
  }
  
  .order-details-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
  }
  
  .order-header-info p {
    margin-bottom: 8px;
    color: #ccc;
  }
  
  .order-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .order-status.processing {
    background-color: #3498db;
    color: #fff;
  }
  
  .order-status.shipped {
    background-color: #2ecc71;
    color: #fff;
  }
  
  .order-status.delivered {
    background-color: #27ae60;
    color: #fff;
  }
  
  .order-status.cancelled {
    background-color: #e74c3c;
    color: #fff;
  }
  
  .order-items-container {
    margin-bottom: 25px;
  }
  
  .order-items-container h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.3rem;
  }
  
  .order-detail-item {
    display: flex;
    padding: 15px;
    background-color: #333;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .order-item-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
  }
  
  .order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .order-item-info h4 {
    margin-bottom: 5px;
    color: #fff;
  }
  
  .order-item-info p {
    margin-bottom: 3px;
    color: #ccc;
    font-size: 0.9rem;
  }
  
  .order-summary {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
  }
  
  .order-summary h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.3rem;
  }
  
  .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #ccc;
  }
  
  .summary-divider {
    height: 1px;
    background-color: #444;
    margin: 10px 0;
  }
  
  .summary-row.total {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .order-details-content {
      width: 90%;
      padding: 20px;
    }
  
    .order-card {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .order-card img {
      width: 100%;
      height: 150px;
      margin-right: 0;
      margin-bottom: 15px;
    }
  
    .order-detail-item {
      flex-direction: column;
    }
  
    .order-item-image {
      width: 100%;
      height: 150px;
      margin-right: 0;
      margin-bottom: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .view-details-btn,
    .track-order,
    .cancel-order-btn {
      display: block;
      width: 100%;
      margin-bottom: 8px;
    }
  }
  
  