/* Premium Dashboard Styles - FitCloud Platform */

/* ================================================
   Premium Card System
   ================================================ */

/* Base premium card with subtle depth */
.card-dashboard {
  background: white;
  border-radius: 1rem;
  border: 1px solid rgb(229 231 235);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-dashboard:hover {
  border-color: rgb(209 213 219);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.04);
}

/* Interactive card with hover lift */
.card-dashboard-interactive {
  cursor: pointer;
}

.card-dashboard-interactive:hover {
  transform: translateY(-2px);
  border-color: #E86B4A;
}

/* ================================================
   Premium Stat Cards
   ================================================ */

.stat-card-premium {
  position: relative;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgb(229 231 235);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E86B4A, #DEB87D);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card-premium:hover::before {
  opacity: 1;
}

.stat-card-premium:hover {
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(232, 107, 74, 0.08);
}

/* Stat card icon container */
.stat-icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.stat-card-premium:hover .stat-icon-container {
  transform: scale(1.1);
}

/* Stat value with premium typography */
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgb(17 24 39);
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(107 114 128);
  letter-spacing: 0.01em;
}

/* ================================================
   Premium Section Headers
   ================================================ */

.section-header-premium {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-icon-premium {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(232, 107, 74, 0.25);
}

.section-icon-premium svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.section-title-premium {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgb(17 24 39);
  line-height: 1.2;
}

.section-subtitle-premium {
  font-size: 0.875rem;
  color: rgb(107 114 128);
  margin-top: 0.25rem;
}

/* ================================================
   Revenue Widget Premium Styling
   ================================================ */

.revenue-widget {
  position: relative;
  background: linear-gradient(135deg,
    rgba(200, 245, 200, 0.3) 0%,
    rgba(200, 245, 200, 0.1) 50%,
    rgba(255, 255, 255, 1) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(200, 245, 200, 0.5);
  overflow: hidden;
}

.revenue-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 245, 200, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.revenue-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgb(229 231 235);
  transition: all 0.3s;
}

.revenue-card:hover {
  border-color: #C8F5C8;
  box-shadow: 0 4px 12px rgba(200, 245, 200, 0.3);
}

/* ================================================
   Premium List Items
   ================================================ */

.list-item-premium {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin: 0 -1.5rem;
  border-radius: 0;
  transition: all 0.2s;
}

.list-item-premium:hover {
  background: linear-gradient(90deg,
    rgba(232, 107, 74, 0.04) 0%,
    transparent 100%);
}

.list-item-premium:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.list-item-premium:last-child {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* Premium avatar */
.avatar-premium {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(232, 107, 74, 0.3);
}

.avatar-premium::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 107, 74, 0.3), transparent);
  z-index: -1;
}

/* ================================================
   Quick Action Cards Premium
   ================================================ */

.quick-action-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid rgb(229 231 235);
  background: linear-gradient(135deg, white 0%, rgb(249 250 251) 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.quick-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(232, 107, 74, 0.05) 0%,
    transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.quick-action-card:hover::before {
  opacity: 1;
}

.quick-action-card:hover {
  border-color: #E86B4A;
  transform: translateY(-4px);
  box-shadow:
    0 8px 16px rgba(232, 107, 74, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.06);
}

.quick-action-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  box-shadow: 0 4px 12px rgba(232, 107, 74, 0.3);
  transition: transform 0.3s;
}

.quick-action-card:hover .quick-action-icon {
  transform: scale(1.1) rotate(-3deg);
}

.quick-action-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

/* Variant: Mint */
.quick-action-card-mint:hover {
  border-color: #C8F5C8;
}

.quick-action-card-mint:hover::before {
  background: linear-gradient(135deg,
    rgba(200, 245, 200, 0.2) 0%,
    transparent 50%);
}

.quick-action-card-mint .quick-action-icon {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Variant: Gold */
.quick-action-card-gold:hover {
  border-color: #DEB87D;
}

.quick-action-card-gold:hover::before {
  background: linear-gradient(135deg,
    rgba(222, 184, 125, 0.2) 0%,
    transparent 50%);
}

.quick-action-card-gold .quick-action-icon {
  background: linear-gradient(135deg, #DEB87D 0%, #C9A463 100%);
  box-shadow: 0 4px 12px rgba(222, 184, 125, 0.3);
}

/* ================================================
   Location Performance Cards
   ================================================ */

.location-card-premium {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid rgb(229 231 235);
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #E86B4A 0%, #DEB87D 100%);
  border-radius: 2px 0 0 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.location-card-premium:hover::before {
  opacity: 1;
}

.location-card-premium:hover {
  border-color: rgba(232, 107, 74, 0.3);
  box-shadow: 0 8px 24px rgba(232, 107, 74, 0.1);
}

/* Progress bar premium */
.progress-bar-premium {
  height: 0.5rem;
  background: rgb(229 231 235);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-premium-fill {
  height: 100%;
  background: linear-gradient(90deg, #E86B4A 0%, #DEB87D 100%);
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   Premium Badges
   ================================================ */

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.badge-premium-coral {
  background: linear-gradient(135deg, rgba(232, 107, 74, 0.15) 0%, rgba(232, 107, 74, 0.1) 100%);
  color: #C45A3A;
  border: 1px solid rgba(232, 107, 74, 0.2);
}

.badge-premium-mint {
  background: linear-gradient(135deg, rgba(200, 245, 200, 0.5) 0%, rgba(200, 245, 200, 0.3) 100%);
  color: #0D7340;
  border: 1px solid rgba(200, 245, 200, 0.5);
}

.badge-premium-gold {
  background: linear-gradient(135deg, rgba(222, 184, 125, 0.3) 0%, rgba(222, 184, 125, 0.15) 100%);
  color: #8B6914;
  border: 1px solid rgba(222, 184, 125, 0.3);
}

.badge-premium-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ================================================
   Premium Empty States
   ================================================ */

.empty-state-premium {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-state-icon-premium {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 107, 74, 0.1) 0%, rgba(232, 107, 74, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon-premium svg {
  width: 2rem;
  height: 2rem;
  color: #E86B4A;
}

.empty-state-title-premium {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(17 24 39);
  margin-bottom: 0.5rem;
}

.empty-state-description-premium {
  font-size: 0.875rem;
  color: rgb(107 114 128);
  max-width: 20rem;
  margin: 0 auto 1.5rem;
}

/* ================================================
   Premium Buttons
   ================================================ */

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-coral {
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(232, 107, 74, 0.3);
}

.btn-premium-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 107, 74, 0.4);
}

.btn-premium-outline {
  background: white;
  color: rgb(55 65 81);
  border: 2px solid rgb(229 231 235);
}

.btn-premium-outline:hover {
  border-color: #E86B4A;
  color: #E86B4A;
  background: rgba(232, 107, 74, 0.04);
}

/* ================================================
   Dashboard Animations
   ================================================ */

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

/* Flash message progress bar animation */
@keyframes shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.animate-progress {
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.dashboard-animate-in {
  animation: dashboardFadeIn 0.4s ease-out forwards;
}

.dashboard-animate-in:nth-child(1) { animation-delay: 0ms; }
.dashboard-animate-in:nth-child(2) { animation-delay: 50ms; }
.dashboard-animate-in:nth-child(3) { animation-delay: 100ms; }
.dashboard-animate-in:nth-child(4) { animation-delay: 150ms; }
.dashboard-animate-in:nth-child(5) { animation-delay: 200ms; }

/* ================================================
   Premium Form Elements
   ================================================ */

/* Premium Select/Dropdown */
.select-premium {
  appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(17 24 39);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.select-premium:hover {
  border-color: rgb(209 213 219);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.select-premium:focus {
  outline: none;
  border-color: #E86B4A;
  box-shadow:
    0 0 0 3px rgba(232, 107, 74, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.select-premium:disabled {
  background-color: rgb(249 250 251);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Premium Input */
.input-premium {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: rgb(17 24 39);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.input-premium:hover {
  border-color: rgb(209 213 219);
}

.input-premium:focus {
  outline: none;
  border-color: #E86B4A;
  box-shadow:
    0 0 0 3px rgba(232, 107, 74, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.input-premium::placeholder {
  color: rgb(156 163 175);
}

/* Search Input Premium */
.search-input-premium {
  padding-left: 2.75rem;
}

.search-icon-premium {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: rgb(156 163 175);
  pointer-events: none;
}

/* Premium Filter Bar */
.filter-bar-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgb(249 250 251) 0%, rgb(255 255 255) 100%);
  border-bottom: 1px solid rgb(229 231 235);
  border-radius: 0.75rem 0.75rem 0 0;
  position: relative;
  overflow: visible;
}

/* Premium Tabs */
.tabs-premium {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(180deg, rgba(232, 107, 74, 0.05) 0%, rgba(232, 107, 74, 0.02) 100%);
  border-bottom: 1px solid rgb(229 231 235);
}

.tab-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(107 114 128);
  border-radius: 0.5rem;
  transition: all 0.2s;
  border: none;
  background: transparent;
}

.tab-premium:hover {
  color: rgb(55 65 81);
  background: white;
}

.tab-premium.active {
  color: #E86B4A;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tab-premium .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background: rgb(229 231 235);
  color: rgb(107 114 128);
}

.tab-premium.active .tab-count {
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  color: white;
}

/* ================================================
   Premium Pagination
   ================================================ */

.pagination-premium {
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 1rem;
  padding: 1rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.pagination-btn-nav {
  background: white;
  color: rgb(75 85 99);
  border: 1px solid rgb(229 231 235);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pagination-btn-nav:hover {
  background: rgb(249 250 251);
  border-color: rgb(209 213 219);
  color: rgb(17 24 39);
}

.pagination-btn-number {
  background: transparent;
  color: rgb(107 114 128);
  border: 1px solid transparent;
}

.pagination-btn-number:hover {
  background: rgb(243 244 246);
  color: rgb(17 24 39);
}

.pagination-btn-active {
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(232, 107, 74, 0.35);
  font-weight: 600;
}

.pagination-btn-ellipsis {
  background: transparent;
  color: rgb(156 163 175);
  border: none;
  cursor: default;
  min-width: 1.5rem;
  padding: 0;
}

/* ================================================
   Premium Data Table / List Enhancements
   ================================================ */

/* List container with elevated card feel */
.list-container-premium {
  background: white;
  border-radius: 1.25rem;
  border: 1px solid rgb(229 231 235);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

/* Refined list header with count badge */
.list-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(180deg, rgb(250 250 250) 0%, rgb(255 255 255) 100%);
  border-bottom: 1px solid rgb(243 244 246);
}

.list-header-premium .list-count {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-header-premium .list-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding: 0 0.625rem;
  background: linear-gradient(135deg, #E86B4A 0%, #D45A3A 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(232, 107, 74, 0.3);
}

.list-header-premium .list-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(55 65 81);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.list-header-premium .list-page-info {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(156 163 175);
}

/* Individual list row - refined card appearance */
.list-row-premium {
  display: block;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgb(243 244 246);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: white;
  overflow: hidden;
}

/* Ensure all SVGs within list rows are sized */
.list-row-premium svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.list-row-premium::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #E86B4A 0%, #DEB87D 100%);
  opacity: 0;
  transform: scaleY(0.7);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 2px 2px 0;
}

.list-row-premium:hover {
  background: linear-gradient(90deg,
    rgba(232, 107, 74, 0.04) 0%,
    rgba(232, 107, 74, 0.01) 30%,
    transparent 60%);
  padding-left: 2rem;
}

.list-row-premium:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.list-row-premium:last-child {
  border-bottom: none;
}

/* Row content layout */
.list-row-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Premium member avatar with status ring */
.member-avatar {
  position: relative;
  flex-shrink: 0;
}

.member-avatar-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #E86B4A 0%, #C45A3A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  box-shadow:
    0 4px 12px rgba(232, 107, 74, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-row-premium:hover .member-avatar-circle {
  transform: scale(1.05);
  box-shadow:
    0 6px 16px rgba(232, 107, 74, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Status indicator ring */
.member-avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2.5px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-avatar-status.status-active {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
}

.member-avatar-status.status-inactive {
  background: rgb(156 163 175);
}

.member-avatar-status.status-suspended {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

/* Member info section */
.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(17 24 39);
  line-height: 1.4;
  margin-bottom: 0.375rem;
  transition: color 0.2s;
}

.list-row-premium:hover .member-name {
  color: #E86B4A;
}

.member-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.member-detail-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgb(107 114 128);
}

.member-detail-item svg {
  width: 0.9375rem;
  height: 0.9375rem;
  color: rgb(156 163 175);
}

/* Member meta section (right side) */
.member-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Stats display for instructors */
.member-stats {
  text-align: right;
  padding-right: 0.75rem;
  border-right: 1px solid rgb(229 231 235);
}

.member-stats-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(17 24 39);
  line-height: 1.3;
}

.member-stats-rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F59E0B;
}

.member-stats-rating svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Specialty tags */
.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, rgba(232, 107, 74, 0.08) 0%, rgba(232, 107, 74, 0.04) 100%);
  color: #C45A3A;
  border: 1px solid rgba(232, 107, 74, 0.15);
}

/* Chevron indicator */
.list-row-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: rgb(209 213 219);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-row-premium:hover .list-row-chevron {
  color: #E86B4A;
  transform: translateX(4px);
}

/* Status badge refined */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0.5rem;
}

.status-badge-active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
  color: #16A34A;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge-inactive {
  background: rgb(243 244 246);
  color: rgb(107 114 128);
  border: 1px solid rgb(229 231 235);
}

.status-badge-suspended {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.06) 100%);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Source badge (Wellhub etc) */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.source-badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* Member/Instructor specific avatar sizing */
.avatar-premium-lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1rem;
}

.avatar-premium-lg.avatar-premium::after {
  inset: -3px;
}

/* Status indicator dot */
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot-active {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-dot-inactive {
  background: rgb(156 163 175);
}

.status-dot-suspended {
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* List item count badge */
.list-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  background: rgb(243 244 246);
  color: rgb(107 114 128);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

/* ================================================
   Responsive Adjustments
   ================================================ */

@media (max-width: 640px) {
  .stat-value {
    font-size: 1.5rem;
  }

  .section-title-premium {
    font-size: 1.5rem;
  }

  .quick-action-card {
    padding: 1.25rem;
  }

  .quick-action-icon {
    width: 3rem;
    height: 3rem;
  }

  .quick-action-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}
