/* ============================================
   PANEL LAYOUT
   ============================================ */

.panel-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: calc(100vh - 160px);
  background: #f5f6fa;
  padding: 30px 40px 50px;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */

.panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* User Card */
.sidebar-user-card {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 30px;
  color: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}


.user-card-header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.user-card-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E91E63;
  box-shadow: none;
}

.user-card-verified {
  position: absolute;
  bottom: 0;
  right: calc(50% - 40px);
  background: #E91E63;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid #2c3e50;
}

.user-card-body {
  text-align: center;
  margin-bottom: 20px;
}

.user-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.user-card-body p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.user-card-footer {
  display: flex;
  gap: 10px;
  align-items: center;
}

.balance-btn {
  flex: 1;
  background: #E91E63;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.balance-btn:hover {
  background: #C2185B;
}

.balance-btn strong {
  margin-left: auto;
}

.settings-btn,
.logout-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.logout-btn {
  background: #E91E63;
  border-color: #E91E63;
  color: white;
}

.logout-btn:hover {
  background: #C2185B;
}

/* Sidebar Menu */
.sidebar-menu {
  background: white;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: rgba(233, 30, 99, 0.06);
  color: #E91E63;
}

.menu-item.active {
  background: #E91E63;
  color: white;
}

.menu-item.active i {
  color: white;
}

.menu-item i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  color: #E91E63;
}

/* ============================================
   MAIN CONTENT STYLES
   ============================================ */

.panel-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.orders-section .panel-header {
  margin-bottom: 0;
  padding: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e9ed;
}

.panel-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.panel-header p {
  font-size: 13px;
  color: #666;
}

.panel-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 25px;
  align-items: start;
  margin-top: -56px;
}

.content-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 56px;
}

.content-right {
  display: flex;
  flex-direction: column;
}

/* Section Styles */
.panel-section {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.orders-section {
  padding: 0;
}

.orders-section .panel-header {
  padding: 20px;
}

.orders-section .orders-list {
  padding: 0 20px 20px 20px;
}

.orders-section .orders-pagination {
  padding: 20px;
  margin-top: 0;
}

.orders-section .orders-empty-state {
  padding: 60px 20px;
}


.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.view-all-link,
.edit-link {
  background: none;
  border: none;
  color: #E91E63;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.view-all-link:hover,
.edit-link:hover {
  opacity: 0.7;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 30px 20px;
}

.empty-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.empty-icon i {
  font-size: 20px;
  color: #999;
}

.empty-state p {
  font-size: 13px;
  color: #666;
}

/* Recent Orders List */
.recent-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-order-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.recent-order-card:hover {
  background: #f0f1f5;
}

.recent-order-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.recent-order-info {
  flex: 1;
  min-width: 0;
}

.recent-order-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.recent-order-info p {
  font-size: 12px;
  color: #666;
}

.recent-order-btn {
  padding: 6px 16px;
  background: #E91E63;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.recent-order-btn:hover {
  background: #C2185B;
  transform: scale(1.05);
}

/* Notifications List */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Notification Card */
.notification-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(233, 30, 99, 0.04);
  border-radius: 10px;
  border-left: 3px solid #E91E63;
  transition: all 0.2s ease;
}

.notification-card:hover {
  background: rgba(233, 30, 99, 0.06);
}

.notification-card.notification-completed {
  background: rgba(102, 187, 106, 0.04);
  border-left-color: #66BB6A;
}

.notification-card.notification-completed:hover {
  background: rgba(102, 187, 106, 0.06);
}

.notification-card.notification-completed .notification-icon {
  background: #66BB6A;
}

.notification-card.notification-processing {
  background: rgba(66, 165, 245, 0.04);
  border-left-color: #42A5F5;
}

.notification-card.notification-processing:hover {
  background: rgba(66, 165, 245, 0.06);
}

.notification-card.notification-processing .notification-icon {
  background: #42A5F5;
}

.notification-card.notification-welcome {
  background: rgba(233, 30, 99, 0.04);
  border-left-color: #E91E63;
}

.notification-card.notification-welcome:hover {
  background: rgba(233, 30, 99, 0.06);
}

.notification-card.notification-welcome .notification-icon {
  background: #E91E63;
}

.notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #E91E63;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.notification-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.notification-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Personal Information Card */
.personal-info-card {
  height: fit-content;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e8e9ed;
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E91E63;
  font-size: 16px;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

.info-value {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Mobile User Card - Hidden on desktop */
.mobile-user-card {
  display: none;
}

@media (max-width: 1024px) {
  .panel-layout {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .panel-sidebar {
    display: none;
  }

  .panel-content {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .content-left {
    padding-top: 0;
  }

  .content-right {
    order: 2;
  }

  /* Show mobile user card */
  .mobile-user-card {
    display: block;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
  }

  .mobile-user-card .user-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
  }

  .mobile-user-card .user-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E91E63;
    box-shadow: none;
  }

  .mobile-user-card .user-card-verified {
    position: absolute;
    bottom: 0;
    right: calc(50% - 40px);
    background: #E91E63;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #2c3e50;
  }

  .mobile-user-card .user-card-body {
    text-align: center;
    margin-bottom: 20px;
  }

  .mobile-user-card .user-card-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
  }

  .mobile-user-card .user-card-body p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
  }

  .mobile-user-card .user-card-footer {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .mobile-user-card .balance-btn {
    flex: 1;
    background: #E91E63;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
  }

  .mobile-user-card .balance-btn:hover {
    background: #C2185B;
  }

  .mobile-user-card .balance-btn strong {
    margin-left: auto;
  }

  .mobile-user-card .settings-btn,
  .mobile-user-card .logout-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .mobile-user-card .settings-btn:hover,
  .mobile-user-card .logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .panel-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .orders-count-badge {
    margin-left: auto;
    white-space: nowrap;
  }


  .order-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .order-detail-left {
    width: 100%;
    order: 2;
  }

  .order-detail-right {
    width: 100%;
    order: 1;
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .panel-layout {
    padding: 15px;
    gap: 20px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .panel-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .panel-header h1 {
    font-size: 20px;
  }

  .panel-section {
    padding: 20px;
  }

  .info-item {
    padding: 15px 0;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .header-with-icon {
    gap: 8px;
  }

  .header-icon {
    font-size: 20px;
  }

  .orders-count-badge {
    padding: 6px 12px;
    font-size: 12px;
    margin-left: auto;
    white-space: nowrap;
  }

  .empty-state-icon {
    width: 80px;
    height: 80px;
  }

  .empty-state-icon i {
    font-size: 32px;
  }

  .orders-empty-state h3 {
    font-size: 18px;
  }

  .orders-empty-state p {
    font-size: 13px;
  }

  .order-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
    background: white;
    padding: 20px;
    position: relative;
    margin-bottom: 50px;
  }

  .order-card-icon {
    grid-row: 1;
    grid-column: 1;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
  }

  .order-card-content {
    grid-row: 1;
    grid-column: 2;
    padding-left: 16px;
    margin-bottom: 20px;
  }

  .order-card-title {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .order-card-description {
    color: #999;
    font-size: 13px;
  }

  .order-card-meta {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 32px;
    margin-bottom: 16px;
  }

  .order-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .order-meta-label {
    color: #888;
    font-size: 11px;
  }

  .order-meta-value {
    color: #333;
    font-size: 13px;
    font-weight: 600;
  }

  .order-detail-btn {
    grid-row: 3;
    grid-column: 1 / -1;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    background: white;
    color: #E91E63;
    border: 2px solid #E91E63;
    border-radius: 8px;
    text-align: center;
  }

  .order-detail-btn:hover {
    background: #E91E63;
    color: white;
  }

  .order-page-indicator {
    display: flex;
    position: absolute;
    bottom: -35px;
    right: 20px;
    background: #E91E63;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .order-detail-header {
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -20px;
  }

  .order-detail-banner {
    flex-direction: row;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 0 !important;
    align-items: flex-start;
  }

  .order-detail-banner-icon {
    flex-shrink: 0;
    width: 38px;
    height: 48px;
    font-size: 16px;
    border-radius: 10px;
  }

  .order-detail-banner-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .order-detail-banner-content h2 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .order-detail-banner-content p {
    font-size: 10.5px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .mobile-only {
    display: inline;
  }

  .desktop-only {
    display: none;
  }

  .order-detail-banner-badge {
    display: none !important;
    visibility: hidden !important;
  }

  .order-detail-banner-btn {
    display: none !important;
    visibility: hidden !important;
  }

  .order-detail-left {
    gap: 16px;
  }

  .order-product-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .order-product-link {
    word-break: break-all;
    overflow-wrap: break-word;
  }

  .orders-pagination {
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .panel-layout {
    padding: 10px;
    gap: 15px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .order-detail-header {
    margin-bottom: 20px;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -15px;
  }

  .order-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .order-detail-left {
    width: 100%;
    order: 2;
  }

  .order-detail-right {
    width: 100%;
    order: 1;
    max-width: 100%;
    overflow: hidden;
  }

  .order-detail-banner {
    padding: 14px 15px;
    gap: 10px;
    border-radius: 0 !important;
    align-items: flex-start;
  }

  .order-detail-banner-icon {
    width: 36px;
    height: 46px;
    font-size: 15px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .order-detail-banner-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .order-detail-banner-content h2 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .order-detail-banner-content p {
    font-size: 10px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .mobile-only {
    display: inline;
  }

  .desktop-only {
    display: none;
  }

  .order-detail-banner-badge {
    display: none !important;
    visibility: hidden !important;
  }

  .order-detail-banner-btn {
    display: none !important;
    visibility: hidden !important;
  }

  .order-action-btn {
    padding: 10px;
    font-size: 12px;
    gap: 8px;
  }

  .order-action-btn i {
    font-size: 14px;
  }

  .order-info-card {
    padding: 12px;
    gap: 12px;
  }

  .order-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 10px;
  }

  .order-info-label {
    font-size: 10px;
  }

  .order-info-value {
    font-size: 12px;
    text-align: left;
  }

  .order-product-card {
    padding: 16px;
    max-width: 100%;
    overflow: hidden;
  }

  .order-product-header {
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    overflow: hidden;
  }

  .order-product-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .order-product-info {
    min-width: 0;
    overflow: hidden;
  }

  .order-product-info h3 {
    font-size: 14px;
  }

  .order-product-info p {
    font-size: 11px;
  }

  .order-product-link {
    font-size: 10px;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .order-product-stats {
    gap: 8px;
  }

  .order-product-stat {
    padding: 10px 8px;
  }

  .stat-label {
    font-size: 9px;
  }

  .stat-value {
    font-size: 13px;
  }

  .order-product-action-btn {
    padding: 10px;
    font-size: 12px;
  }

  .product-pagination {
    gap: 6px;
    margin-top: 12px;
  }

  .product-pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    padding: 0 8px;
  }
}


/* Body background for panel pages */
body:has(.panel-layout) {
  background: #f5f6fa !important;
}

/* ============================================
   ORDERS PAGE STYLES
   ============================================ */

.header-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon {
  font-size: 24px;
  color: #E91E63;
}

.orders-count-badge {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #e8e9ed;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.orders-count-badge:hover {
  background: #E91E63;
  border-color: #E91E63;
  color: white;
  transform: scale(1.05);
}

.orders-section {
  min-height: auto;
}

.orders-section:has(.orders-empty-state) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orders-empty-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 400px;
  margin: 0 auto;
}

.empty-state-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f6fa 0%, #e8e9ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.empty-state-icon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(233, 30, 99, 0.05));
  z-index: -1;
}

.empty-state-icon i {
  font-size: 40px;
  color: #999;
}

.orders-empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.orders-empty-state p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Order Card */
.order-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.3);
}

.order-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.order-card-content {
  flex: 1;
  min-width: 0;
}

.order-card-title {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.order-card-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.order-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

.order-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-meta-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.order-meta-value {
  font-size: 13px;
  color: white;
  font-weight: 600;
}

.order-detail-btn {
  padding: 10px 24px;
  background: white;
  color: #E91E63;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.order-detail-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.order-page-indicator {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
}

/* Pagination */
.orders-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8e9ed;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid #e8e9ed;
  border-radius: 10px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0 12px;
}

.pagination-btn:hover {
  border-color: #E91E63;
  color: #E91E63;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: #E91E63;
  border-color: #E91E63;
  color: white;
}

.pagination-btn.active:hover {
  transform: translateY(-2px);
}

/* ============================================
   ORDER DETAIL PAGE STYLES
   ============================================ */

.order-detail-header {
  margin-bottom: 25px;
}

.order-detail-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 16px;
  color: white;
}

.order-detail-banner-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
}

.order-detail-banner-content {
  flex: 1;
}

.order-detail-banner-content h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: white;
}

.order-detail-banner-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.order-detail-banner-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.order-detail-banner-badge span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.order-detail-banner-badge strong {
  font-size: 14px;
  color: white;
  font-weight: 600;
}

.order-detail-banner-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.order-detail-banner-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
}

/* Desktop and mobile text visibility */
.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

/* Order Detail Grid */
.order-detail-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 25px;
  align-items: start;
}

/* Left Section */
.order-detail-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-action-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.order-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 167, 38, 0.3);
}

.order-action-btn i {
  font-size: 16px;
}

/* Order Status Colors */
.order-action-btn.order-status-pending {
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
}

.order-action-btn.order-status-pending:hover {
  box-shadow: 0 8px 20px rgba(255, 167, 38, 0.3);
}

.order-action-btn.order-status-processing {
  background: linear-gradient(135deg, #42A5F5 0%, #1E88E5 100%);
}

.order-action-btn.order-status-processing:hover {
  box-shadow: 0 8px 20px rgba(66, 165, 245, 0.3);
}

.order-action-btn.order-status-completed {
  background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
}

.order-action-btn.order-status-completed:hover {
  box-shadow: 0 8px 20px rgba(102, 187, 106, 0.3);
}

.order-action-btn.order-status-failed {
  background: linear-gradient(135deg, #EF5350 0%, #E53935 100%);
}

.order-action-btn.order-status-failed:hover {
  box-shadow: 0 8px 20px rgba(239, 83, 80, 0.3);
}

.order-info-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e9ed;
}

.order-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-info-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.order-info-value {
  font-size: 13px;
  color: #333;
  font-weight: 600;
  text-align: right;
}

/* Right Section - Product Card */
.order-detail-right {
  display: flex;
  flex-direction: column;
}

.order-product-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.order-product-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e9ed;
}

.order-product-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.order-product-icon.instagram {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

.order-product-info {
  flex: 1;
  min-width: 0;
}

.order-product-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.order-product-info p {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.order-product-link {
  font-size: 12px;
  color: #E91E63;
  text-decoration: none;
  word-break: break-all;
  display: block;
}

.order-product-link:hover {
  text-decoration: underline;
}

.order-product-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.order-product-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: #f8f9fa;
  border-radius: 10px;
}

.stat-label {
  font-size: 11px;
  color: #888;
  font-weight: 500;
}

.stat-value {
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.order-product-action-btn {
  width: 100%;
  padding: 12px;
  background: white;
  border: 2px solid #FFA726;
  border-radius: 20px;
  color: #FFA726;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-product-action-btn:hover {
  background: #FFA726;
  color: white;
}

/* Product Button Status Colors */
.order-product-action-btn.order-status-pending {
  border-color: #FFA726;
  color: #FFA726;
}

.order-product-action-btn.order-status-pending:hover {
  background: #FFA726;
  color: white;
}

.order-product-action-btn.order-status-processing {
  border-color: #42A5F5;
  color: #42A5F5;
}

.order-product-action-btn.order-status-processing:hover {
  background: #42A5F5;
  color: white;
}

.order-product-action-btn.order-status-completed {
  border-color: #66BB6A;
  color: #66BB6A;
}

.order-product-action-btn.order-status-completed:hover {
  background: #66BB6A;
  color: white;
}

.order-product-action-btn.order-status-failed {
  border-color: #EF5350;
  color: #EF5350;
}

.order-product-action-btn.order-status-failed:hover {
  background: #EF5350;
  color: white;
}

/* Product Pagination */
.product-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.product-pagination-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid #e8e9ed;
  border-radius: 10px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0 12px;
}

.product-pagination-btn:hover {
  border-color: #E91E63;
  color: #E91E63;
  transform: translateY(-2px);
}

.product-pagination-btn.active {
  background: #E91E63;
  border-color: #E91E63;
  color: white;
}

.product-pagination-btn.active:hover {
  transform: translateY(-2px);
}
