/* Page-specific styles extracted from account.html */

/* Dashboard Layout */
.dashboard-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media(min-width: 768px) {
  .dashboard-wrap {
    flex-direction: row;
    align-items: flex-start;
  }
}
.dash-sidebar {
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 16px;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 12px;
}
@media(min-width: 768px) {
  .dash-sidebar {
    width: 260px;
    flex-direction: column;
    padding: 24px;
    position: sticky;
    top: 100px;
  }
}
.dash-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  color: var(--navy-soft);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  font-size: 15px;
}
.dash-tab:hover {
  background: #f1f5f9;
  color: var(--navy);
  transform: translateX(4px);
}
.dash-tab.active {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 122, 89, 0.3);
}
.dash-tab.active:hover {
  transform: translateX(0);
}

.dash-content {
  flex: 1;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 32px;
  min-height: 500px;
}

/* Tab Content Visibility */
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: slide-up 0.4s ease forwards; }

@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Filter Chips */
.filter-chips {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-chip {
  padding: 8px 20px;
  border-radius: 24px;
  background: #f8fafc;
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.filter-chip:hover { 
  background: #f1f5f9; 
  border-color: #cbd5e1;
}
.filter-chip.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Order Cards (Premium Look) */
.order-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.order-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.order-header {
  background: #f8fafc;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}
.order-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* Status Colors */
.status-pending { background: #fef3c7; color: #d97706; }
.status-processing { background: #e0f2fe; color: #0284c7; }
.status-dispatched { background: #ffedd5; color: #ea580c; }
.status-delivered { background: #dcfce7; color: #16a34a; }

.order-items {
  padding: 24px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.6;
}
.order-total {
  padding: 16px 24px;
  background: #fafafa;
  border-top: 1px solid #e2e8f0;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* User Info Box */
.user-info-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

/* Review Modal */
.review-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.review-modal-content {
  background: white;
  padding: 32px;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}
.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy-soft);
}
.stars-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.star-btn {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #e2e8f0;
  transition: transform 0.2s, color 0.2s;
}
.star-btn.active {
  color: #fbbf24;
}
.star-btn:hover {
  transform: scale(1.1);
}
.review-emoji {
  font-size: 48px;
  margin-bottom: 8px;
  min-height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 0.5s ease;
}
.review-text-label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  min-height: 24px;
}
.review-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 24px;
  resize: vertical;
  min-height: 100px;
}
.review-textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.1);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
