.mobile-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.show {
  display: block;
  opacity: 1;
}

/* Updated Profile Sidebar Styles */
.profile-sidebar {
  background-color: #ffffff;
  border-right: 1px solid #e9ecef;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

/* Mobile Sidebar Modifications */
@media (max-width: 992px) {
  .mobile-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .profile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-right: none;
  }

  .profile-sidebar.show {
    left: 0;
  }

  .orders-content {
    padding: 1rem;
  }
}

/* Close Button for Mobile Sidebar */
.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  padding: 0.25rem;
  line-height: 1;
}

@media (max-width: 992px) {
  .sidebar-close-btn {
    display: block;
  }
}

/* User Info Section */
.user-info {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f3f4;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #08ed58, #017c0f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem auto;
  text-transform: uppercase;
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.user-email {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Navigation Menu */
.profile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #6c757d;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-link:hover {
  background-color: #f8f9fa;
  color: #495057;
  text-decoration: none;
}

.nav-link i {
  margin-right: 0.75rem;
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.nav-link.logout {
  color: #dc3545;
}

.nav-link.logout:hover {
  background-color: #f8d7da;
  color: #721c24;
}

/* Version Info */
.version-info {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f3f4;
  font-size: 0.75rem;
  color: #adb5bd;
  text-align: center;
}

/* Orders Content */
.orders-content {
  padding: 2rem;
  background-color: #ffffff;
}

.orders-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.orders-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.filter-select {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.875rem;
  background-color: white;
}

.date-range-btn {
  background-color: transparent;
  border: 1px solid #dee2e6;
  color: #6c757d;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.date-range-btn:hover {
  border-color: #007bff;
  color: #007bff;
}



.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.order-number {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.order-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-delivered {
  background-color: #d4edda;
  color: #155724;
}

.status-processing {
  background-color: #fff3cd;
  color: #856404;
}

.status-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.status-shipped {
  background-color: #d1ecf1;
  color: #0c5460;
}

.order-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.order-date,
.order-items {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.order-total {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.order-actions {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  background-color: transparent;
  border: 1px solid #dee2e6;
  color: #6c757d;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.mobile-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.show {
  display: block;
  opacity: 1;
}

/* Close Button for Mobile Sidebar */
.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  padding: 0.25rem;
  line-height: 1;
  z-index: 10;
}

/* Update your existing mobile responsive CSS */
@media (max-width: 992px) {
  .mobile-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-close-btn {
    display: block;
  }

  .col-lg-3.d-none.d-lg-block {
    display: block !important;
  }

  .profile-sidebar {
    position: fixed !important;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-right: none;
    transition: left 0.3s ease;
    background-color: #ffffff;
    padding: 2rem;
  }

  .profile-sidebar.show {
    left: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .orders-header {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    justify-content: space-between;
  }

  .order-details {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .order-info {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .order-actions {
    justify-content: center;
  }
}
