/* ==========================================================================
  Mustuds Client Dashboard Stylesheet
  Executive Styling, Left-Aligned Brand Nav, Clean Spacious Canvas
  NO GRADIENT TEXT: Solid corporate high-contrast typography
   ========================================================================== */

:root {
  --dash-primary: #0052CC;
  --dash-primary-hover: #0747A6;
  --dash-primary-light: #EBF3FF;
  --dash-navy-dark: #07172F;
  --dash-navy-card: #0C2344;
  --dash-navy-accent: #0A1E3D;
  --dash-cyan: #38BDF8;
  --dash-gold: #D97706;
  --dash-bg: #F4F7FC;
  --dash-card-bg: #FFFFFF;
  --dash-text-dark: #091E42;
  --dash-text-muted: #475569;
  --dash-text-light: #94A3B8;
  --dash-border: #E2E8F0;
  --dash-border-subtle: #EDF2F7;
  --dash-success: #059669;
  --dash-shadow-sm: 0 1px 3px rgba(9, 30, 66, 0.06);
  --dash-shadow-md: 0 4px 14px rgba(9, 30, 66, 0.08);
  --dash-shadow-lg: 0 12px 28px rgba(9, 30, 66, 0.1);
  --dash-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.dashboard-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--dash-bg);
  background-image: 
    radial-gradient(at 15% 10%, rgba(0, 82, 204, 0.05) 0px, transparent 50%),
    radial-gradient(at 85% 85%, rgba(56, 189, 248, 0.04) 0px, transparent 50%);
  color: var(--dash-text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   TOP NAVIGATION BAR (Left Logo & Brand Identity)
   ========================================================================== */
.dash-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--dash-border);
  box-shadow: var(--dash-shadow-sm);
  padding: 0.75rem 1.5rem;
}

.dash-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Left Brand Section with Logo */
.dash-brand-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.dash-brand-left:hover {
  opacity: 0.9;
}

.dash-logo-frame {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.dash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.dash-brand-text {
  display: flex;
  flex-direction: column;
}

.dash-brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dash-text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.dash-brand-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--dash-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Right Controls Section */
.dash-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dash-text-dark);
}

.dash-user-pill i {
  color: var(--dash-primary);
  font-size: 1.05rem;
}

.dash-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--dash-text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.dash-nav-link:hover {
  color: var(--dash-primary);
  background: var(--dash-primary-light);
}

.dash-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF1F2;
  border: 1.5px solid #FFE4E6;
  color: #E11D48;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dash-logout-btn:hover {
  background: #FFE4E6;
  color: #BE123C;
  border-color: #FDA4AF;
  transform: translateY(-1px);
}

.dash-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0052CC;
  border: 1.5px solid #0052CC;
  color: #FFFFFF !important;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dash-login-btn:hover {
  background: #0747A6;
  border-color: #0747A6;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

.status-dot-guest {
  background: #F59E0B !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25) !important;
}

.modal-guest-auth-alert {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.modal-guest-auth-alert .auth-alert-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #92400E;
  font-size: 0.86rem;
  font-weight: 700;
}

.modal-guest-auth-alert .auth-alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0052CC;
  color: #FFFFFF !important;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.modal-guest-auth-alert .auth-alert-btn:hover {
  background: #0747A6;
}

/* ==========================================================================
   MAIN DASHBOARD WRAPPER & CONTAINER
   ========================================================================== */
.dash-wrapper {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ==========================================================================
   WELCOME USER HEADER CARD
   ========================================================================== */
.dash-welcome-card {
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 20px;
  box-shadow: var(--dash-shadow-sm);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dash-welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--dash-primary);
  border-radius: 4px 0 0 4px;
}

.dash-welcome-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dash-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dash-success);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-welcome-title {
  font-size: 1.95rem;
  font-weight: 900;
  color: var(--dash-text-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.dash-welcome-name-highlight {
  color: var(--dash-primary);
}

.dash-welcome-sub {
  font-size: 0.94rem;
  color: var(--dash-text-muted);
  font-weight: 500;
}

.dash-welcome-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.dash-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F8FAFC;
  border: 1px solid var(--dash-border);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dash-text-muted);
}

.dash-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dash-success);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--dash-success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* ==========================================================================
   VERIFIED EARNINGS & WALLET LEDGER
   ========================================================================== */
.dash-wallet-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
  border: 1.5px solid #BBF7D0;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.07);
  padding: 1.5rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.dash-wallet-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 70%);
  pointer-events: none;
}

.dash-wallet-main {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  flex: 1 1 540px;
}

.wallet-balance-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wallet-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #065F46;
  background: #D1FAE5;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
}

.wallet-amount-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.wallet-currency {
  font-size: 1.25rem;
  font-weight: 800;
  color: #047857;
}

.wallet-amount {
  font-size: 2.35rem;
  font-weight: 900;
  color: #065F46;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wallet-balance-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
}

.wallet-metrics-grid {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-left: 1.5rem;
  border-left: 1.5px dashed #CBD5E1;
}

.wallet-metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wallet-metric-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wallet-metric-lbl i {
  color: #059669;
}

.wallet-metric-val {
  font-size: 1.02rem;
  font-weight: 800;
  color: #1E293B;
}

.dash-wallet-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-wallet-withdraw {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  height: 44px;
  padding: 0 1.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wallet-withdraw:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.42);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.btn-wallet-withdraw:active {
  transform: translateY(0);
}

.btn-wallet-withdraw.waiting-approval {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
  color: #FFFFFF !important;
}

.btn-wallet-withdraw.waiting-approval:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45) !important;
}

.wallet-waiting-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: #FEF3C7;
  color: #92400E;
  border: 1.5px solid #FCD34D;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.wallet-waiting-pill i {
  color: #D97706;
}

.modal-pending-banner {
  background: #FEF3C7;
  border: 1.5px solid #FCD34D;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #92400E;
  font-size: 0.85rem;
  line-height: 1.45;
}

.modal-pending-banner i {
  font-size: 1.15rem;
  color: #D97706;
  margin-top: 2px;
}

.btn-wallet-history {
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  color: #334155;
  border-radius: 12px;
  height: 44px;
  padding: 0 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-wallet-history:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
  color: #0F172A;
}

.btn-wallet-upgrade {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 12px;
  height: 44px;
  padding: 0 1.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-wallet-upgrade i {
  color: #FFFFFF;
}

.btn-wallet-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #FFFFFF !important;
  text-decoration: none;
}

.btn-wallet-upgrade:active {
  transform: translateY(0);
}

/* ==========================================================================
   MUSTUDS QUICK EARN CARD & TABLE
   ========================================================================== */
.quick-earn-card {
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 20px;
  box-shadow: var(--dash-shadow-sm);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}

.quick-earn-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.quick-earn-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quick-earn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--dash-primary-light);
  color: var(--dash-primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
}

.quick-earn-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--dash-text-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.quick-earn-subtitle {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dash-text-muted);
}

.quick-earn-stats {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.quick-stat-box {
  background: #F8FAFC;
  border: 1.5px solid var(--dash-border);
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.quick-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dash-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quick-stat-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dash-text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-stat-val i {
  color: var(--dash-primary);
}

/* --------------------------------------------------------------------------
   Quick Earn Interactive Search & Filter Toolbar
   -------------------------------------------------------------------------- */
.quick-earn-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.quick-earn-search-box {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 10px;
  padding: 0 0.85rem;
  height: 42px;
  box-shadow: var(--dash-shadow-sm);
  transition: all 0.2s ease;
}

.quick-earn-search-box:focus-within {
  border-color: var(--dash-primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.quick-earn-search-box .search-icon {
  color: var(--dash-text-light);
  font-size: 0.95rem;
  margin-right: 0.65rem;
  flex-shrink: 0;
}

.task-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--dash-text-dark);
  font-family: inherit;
}

.task-search-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.search-clear-btn:hover {
  color: var(--dash-text-dark);
  background: #F1F5F9;
}

.quick-earn-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-select-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 9px;
  padding: 0 0.65rem;
  height: 42px;
  box-shadow: var(--dash-shadow-sm);
}

.filter-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--dash-text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.task-filter-select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dash-text-dark);
  cursor: pointer;
  font-family: inherit;
  padding-right: 0.2rem;
}

/* --------------------------------------------------------------------------
   Category Grouping Tabs / Pills Bar
   -------------------------------------------------------------------------- */
.quick-earn-categories-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.quick-earn-categories-nav::-webkit-scrollbar {
  height: 4px;
}

.quick-earn-categories-nav::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dash-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  user-select: none;
}

.category-pill:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  color: var(--dash-text-dark);
}

.category-pill.active {
  background: var(--dash-primary);
  border-color: var(--dash-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.28);
}

.category-pill-count {
  font-size: 0.70rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  transition: all 0.18s ease;
}

.category-pill.active .category-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Results Meta Information Bar
   -------------------------------------------------------------------------- */
.quick-earn-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--dash-text-muted);
  border-bottom: 1px solid var(--dash-border-subtle);
  flex-wrap: wrap;
}

.results-count-text strong {
  color: var(--dash-text-dark);
  font-weight: 800;
}

.results-payout-hint {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dash-success);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   Compact Professional Desktop Jobs Grid
   -------------------------------------------------------------------------- */
.quick-earn-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.job-card {
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  box-shadow: 0 1px 3px rgba(9, 30, 66, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.job-card:hover {
  border-color: var(--dash-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 82, 204, 0.12);
}

.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.job-card-tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.job-cat-tag {
  font-size: 0.70rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid transparent;
  line-height: 1.2;
}

/* Distinct Crisp Category Badge Themes */
.job-cat-tag.cat-hotels {
  background: #F0FDF4;
  color: #166534;
  border-color: #BBF7D0;
}

.job-cat-tag.cat-transit {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: #BFDBFE;
}

.job-cat-tag.cat-leads {
  background: #F5F3FF;
  color: #5B21B6;
  border-color: #DDD6FE;
}

.job-cat-tag.cat-photos {
  background: #FFFBEB;
  color: #92400E;
  border-color: #FDE68A;
}

.job-cat-tag.cat-data {
  background: #F0FDFA;
  color: #115E59;
  border-color: #99F6E4;
}

.job-cat-tag.cat-surveys {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FECACA;
}

.job-cat-tag.cat-social {
  background: #FDF2F8;
  color: #9D174D;
  border-color: #FBCFE8;
}

.job-cat-tag.cat-referrals {
  background: #F8FAFC;
  color: #334155;
  border-color: #E2E8F0;
}

.job-time-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.job-reward-pill {
  font-size: 0.82rem;
  font-weight: 800;
  color: #065F46;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.job-reward-pill.reward-commission {
  color: #1E40AF;
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.job-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dash-text-dark);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.job-card-brief {
  font-size: 0.77rem;
  color: var(--dash-text-muted);
  line-height: 1.42;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85em;
  flex-grow: 1;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.job-card-location {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 155px;
}

.job-card-location i {
  color: #0052CC;
  font-size: 0.70rem;
}

.job-action-btn {
  height: 32px;
  padding: 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.job-action-btn.btn-start {
  background: var(--dash-primary);
  color: #FFFFFF;
}

.job-action-btn.btn-start:hover {
  background: var(--dash-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 82, 204, 0.25);
}

.job-action-btn.btn-done {
  background: #F0FDF4;
  color: #15803D;
  border-color: #86EFAC;
  cursor: default;
  opacity: 1;
}

.job-action-btn.btn-done:hover,
.job-action-btn.btn-done:active {
  transform: none;
  box-shadow: none;
}

/* Submitted, Approved & Rejected Job Card States */
.job-card.job-card-submitted {
  background: #FAFDFB;
  border-color: #86EFAC;
}

.job-card.job-card-submitted .job-card-title {
  color: #14532D;
}

.job-card.job-card-approved {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.job-card.job-card-approved .job-card-title {
  color: #14532D;
}

.job-card.job-card-rejected {
  background: #FEF2F2;
  border-color: #FCA5A5;
}

.job-card.job-card-rejected .job-card-title {
  color: #991B1B;
}

.job-card.job-card-pending {
  background: #FFFBEB;
  border-color: #FCD34D;
}

.job-card.job-card-pending .job-card-title {
  color: #92400E;
}

/* Status Action Buttons */
.job-action-btn.btn-status-approved {
  background: #059669;
  color: #FFFFFF;
  border-color: #047857;
  font-weight: 700;
  cursor: pointer;
}

.job-action-btn.btn-status-approved:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
}

.job-action-btn.btn-status-rejected {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #B91C1C;
  font-weight: 700;
  cursor: pointer;
}

.job-action-btn.btn-status-rejected:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}

.job-action-btn.btn-status-pending {
  background: #F59E0B;
  color: #FFFFFF;
  border-color: #D97706;
  font-weight: 700;
  cursor: pointer;
}

.job-action-btn.btn-status-pending:hover {
  background: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.25);
}

/* Top Status Tag Pills on Job Cards */
.job-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.job-status-pill.pill-approved {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.job-status-pill.pill-rejected {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

.job-status-pill.pill-pending {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCD34D;
}

/* --------------------------------------------------------------------------
   Empty State for Search & Filters
   -------------------------------------------------------------------------- */
.quick-earn-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #FFFFFF;
  border: 1.5px dashed var(--dash-border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.empty-state-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.empty-state-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dash-text-dark);
  margin-bottom: 0.35rem;
}

.empty-state-desc {
  font-size: 0.84rem;
  color: var(--dash-text-muted);
  max-width: 420px;
  margin: 0 auto 1.25rem;
  line-height: 1.45;
}

.btn-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background: var(--dash-primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clear-filters:hover {
  background: var(--dash-primary-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Pagination / Load More Controls
   -------------------------------------------------------------------------- */
.quick-earn-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.25rem 0 0.5rem;
  flex-wrap: wrap;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  color: var(--dash-text-dark);
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--dash-shadow-sm);
  transition: all 0.2s ease;
}

.btn-load-more:hover {
  border-color: var(--dash-primary);
  color: var(--dash-primary);
  transform: translateY(-1px);
  box-shadow: var(--dash-shadow-md);
}

.load-more-count {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 600;
}

.btn-show-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  background: #F8FAFC;
  border: 1.5px solid var(--dash-border);
  color: var(--dash-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-show-all:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: var(--dash-primary);
}

/* --------------------------------------------------------------------------
   Quick Earn Footer
   -------------------------------------------------------------------------- */
.quick-earn-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1.5px solid var(--dash-border-subtle);
  flex-wrap: wrap;
}

.quick-earn-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dash-text-muted);
}

.quick-earn-note i {
  color: var(--dash-success);
}

.quick-earn-help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.quick-earn-help-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Prominent "Upgrade Tier" button in the Quick Earn footer */
.btn-upgrade-tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-upgrade-tier i {
  color: #FFFFFF;
}

.btn-upgrade-tier:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(217, 119, 6, 0.45);
  color: #FFFFFF !important;
  text-decoration: none;
}

.btn-upgrade-tier:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.35);
}

/* Clickable Earning Tier stat box in the Quick Earn header */
.quick-stat-box-link,
.quick-stat-box-upgrade {
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid #FCD34D;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
}

.quick-stat-box-upgrade:hover,
.quick-stat-box-link:hover {
  transform: translateY(-2px);
  border-color: #F59E0B;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
  text-decoration: none;
}

.quick-stat-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.stat-upgrade-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
  transition: all 0.2s ease;
}

.quick-stat-box-upgrade:hover .stat-upgrade-pill {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.45);
  transform: scale(1.04);
}

.quick-stat-box-link .quick-stat-label,
.quick-stat-box-upgrade .quick-stat-label {
  color: #92400E;
}

.quick-stat-box-link:hover .quick-stat-label,
.quick-stat-box-upgrade:hover .quick-stat-label {
  color: #D97706;
}

/* --------------------------------------------------------------------------
   Interactive Task Modal
   -------------------------------------------------------------------------- */
.dash-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 30, 66, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: modalFadeIn 0.2s ease;
}

.dash-modal-backdrop.active {
  display: flex;
}

.dash-modal-dialog {
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--dash-shadow-lg);
  overflow: hidden;
  animation: modalSlideUp 0.24s var(--dash-ease);
}

.dash-modal-header {
  padding: 1.35rem 1.75rem;
  border-bottom: 1.5px solid var(--dash-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: #F8FAFC;
}

.dash-modal-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.modal-reward-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.dash-modal-title {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--dash-text-dark);
  letter-spacing: -0.02em;
}

.dash-modal-close {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  z-index: 5;
  margin-left: auto;
}

.dash-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: #0F172A;
  stroke-width: 2.5;
  display: block;
  pointer-events: none;
  transition: stroke 0.18s ease, transform 0.18s ease;
}

.dash-modal-close:hover {
  background: #FEE2E2;
  border-color: #F87171;
  color: #DC2626;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.18);
  transform: scale(1.05);
}

.dash-modal-close:hover svg {
  stroke: #DC2626;
  transform: rotate(90deg);
}

.dash-modal-close:active {
  transform: scale(0.95);
}

.dash-modal-body {
  padding: 1.75rem;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-brief-box {
  background: #F8FAFC;
  border: 1.5px solid var(--dash-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--dash-text-muted);
  line-height: 1.5;
}

.modal-brief-box strong {
  display: block;
  color: var(--dash-text-dark);
  margin-bottom: 0.25rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dash-text-dark);
}

.modal-input,
.modal-textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid var(--dash-border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--dash-text-dark);
  background: #FFFFFF;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus,
.modal-textarea:focus {
  outline: none;
  border-color: var(--dash-primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

.modal-textarea {
  min-height: 80px;
  resize: vertical;
}

.modal-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dash-text-muted);
  margin-top: 0.25rem;
}

.modal-btn-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.modal-cancel-btn {
  background: #F1F5F9;
  border: 1.5px solid var(--dash-border);
  color: var(--dash-text-muted);
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-cancel-btn:hover {
  background: #E2E8F0;
  color: var(--dash-text-dark);
}

.modal-submit-btn {
  background: var(--dash-primary);
  border: none;
  color: #FFFFFF;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.modal-submit-btn:hover {
  background: var(--dash-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

/* Withdraw modal inline feedback (errors + informational notes) */
.modal-field-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.modal-field-error.modal-field-note {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* Referral link box */
.modal-referral-box {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.modal-referral-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--dash-border);
  border-radius: 10px;
  background: #F8FAFC;
  font-size: 0.85rem;
  color: var(--dash-text-dark);
  font-family: monospace;
}

.modal-copy-btn {
  background: var(--dash-primary);
  border: none;
  color: #FFFFFF;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.modal-copy-btn:hover {
  background: var(--dash-primary-hover);
}

.modal-share-wa-btn {
  background: #25D366;
  border: none;
  color: #FFFFFF;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.modal-share-wa-btn:hover {
  background: #1EBE5D;
}

/* --------------------------------------------------------------------------
   Device File Upload Component
   -------------------------------------------------------------------------- */
.device-upload-zone {
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  background: #F8FAFC;
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
}

.device-upload-zone:hover {
  border-color: var(--dash-primary);
  background: #F0F7FF;
}

.device-upload-zone.dragover {
  border-color: var(--dash-primary);
  background: var(--dash-primary-light);
  transform: scale(1.01);
}

.device-file-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.device-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.device-upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--dash-primary-light);
  color: var(--dash-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.device-upload-zone:hover .device-upload-icon {
  transform: translateY(-2px);
}

.device-upload-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.upload-primary-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dash-text-dark);
}

.upload-secondary-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dash-text-muted);
}

.upload-file-types {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--dash-text-light);
}

/* File Previews List */
.device-file-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.device-preview-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  transition: all 0.18s ease;
  animation: modalFadeIn 0.2s ease;
}

.device-preview-item:hover {
  border-color: #CBD5E1;
  box-shadow: var(--dash-shadow-sm);
}

.preview-thumb-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dash-border);
}

.preview-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-thumb-placeholder {
  color: var(--dash-primary);
  font-size: 1.15rem;
}

.preview-file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.preview-filename {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dash-text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-filesize {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dash-text-muted);
}

.preview-remove-btn {
  background: #FFF1F2;
  border: 1px solid #FFE4E6;
  color: #E11D48;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.preview-remove-btn:hover {
  background: #FFE4E6;
  color: #BE123C;
  transform: scale(1.05);
}

.upload-count-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dash-success);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Toast Alert
   -------------------------------------------------------------------------- */
.dash-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
  background: #091E42;
  color: #FFFFFF;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  box-shadow: var(--dash-shadow-lg);
  display: none;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  animation: toastIn 0.22s var(--dash-ease);
}

.dash-toast.show {
  display: flex;
}

.dash-toast i {
  color: #10B981;
  font-size: 1.1rem;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
  .dash-navbar {
    padding: 0.65rem 1rem;
  }

  .dash-nav-container {
    gap: 0.75rem;
  }

  .dash-logo-frame {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 3px;
  }

  .dash-brand-title {
    font-size: 1.1rem;
  }

  .dash-brand-badge {
    font-size: 0.65rem;
  }

  .dash-nav-link span {
    display: none;
  }

  .dash-nav-link {
    padding: 0.4rem;
  }

  .dash-logout-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }

  .dash-logout-btn span {
    display: inline-block;
  }

  .dash-wrapper {
    padding: 1.25rem 1rem 2.5rem;
    gap: 1.25rem;
  }

  .dash-welcome-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.35rem;
    gap: 1rem;
  }

  .dash-welcome-title {
    font-size: 1.5rem;
  }

  .dash-welcome-meta {
    align-items: flex-start;
    width: 100%;
    border-top: 1px solid var(--dash-border-subtle);
    padding-top: 0.85rem;
  }

  /* Quick Earn Mobile */
  .quick-earn-card {
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .quick-earn-title {
    font-size: 1.45rem;
  }

  .quick-earn-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .quick-earn-stats {
    width: 100%;
  }

  .quick-stat-box {
    flex: 1;
    padding: 0.55rem 0.85rem;
  }

  /* Quick Earn Responsive Search & Jobs Grid */
  .quick-earn-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .quick-earn-search-box {
    width: 100%;
    flex: 1 1 100%;
  }

  .quick-earn-filter-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .filter-select-wrapper {
    width: 100%;
    justify-content: space-between;
    height: 38px;
    padding: 0 0.5rem;
  }

  .quick-earn-jobs-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .job-card {
    padding: 0.85rem 0.95rem;
  }

  .job-card-title {
    font-size: 0.86rem;
  }

  .job-action-btn {
    height: 32px;
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }

  .dash-toast {
    bottom: 1.25rem;
    right: 1.25rem;
    left: 1.25rem;
    justify-content: center;
  }
}

/* ==========================================================================
   WITHDRAWAL MODAL & LEDGER HISTORY STYLES (Professional Desktop & Mobile)
   ========================================================================== */
.withdraw-dialog {
  max-width: 520px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.withdraw-history-dialog {
  max-width: 580px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.modal-channel-badge {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.modal-channel-badge i {
  color: #059669;
}

/* Payment Channel Toggle */
.withdraw-channel-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.channel-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  background: #FFFFFF;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.channel-option input[type="radio"] {
  display: none;
}

.channel-option i {
  font-size: 0.95rem;
  color: #64748B;
  transition: color 0.18s ease;
}

.channel-option:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
}

.channel-option.active {
  border-color: #059669;
  background: #F0FDF4;
  color: #065F46;
  box-shadow: 0 0 0 1px #059669, 0 3px 10px rgba(5, 150, 105, 0.12);
}

.channel-option.active i {
  color: #059669;
}

/* Label & Subhint */
.label-with-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.label-subhint {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748B;
}

.withdraw-avail-highlight {
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #A7F3D0;
  display: inline-block;
  margin-left: 0.25rem;
}

/* Amount Field & Currency */
.withdraw-amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-currency-prefix {
  position: absolute;
  left: 1.15rem;
  font-weight: 800;
  color: #047857;
  font-size: 1.05rem;
  pointer-events: none;
  user-select: none;
}

.withdraw-amount-field {
  width: 100%;
  height: 48px;
  padding-left: 3.8rem !important;
  padding-right: 1rem;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  background: #F8FAFC !important;
  transition: all 0.18s ease;
}

.withdraw-amount-field:focus {
  border-color: #059669 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
  outline: none;
}

.withdraw-limits-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 0.35rem;
  font-weight: 600;
}

.withdraw-limits-bar i {
  color: #059669;
  margin-right: 0.25rem;
}

/* Quick Chips */
.withdraw-chips-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.withdraw-chip {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.withdraw-chip:hover {
  background: #F8FAFC;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.withdraw-chip.chip-all {
  background: #F0FDF4;
  border-color: #86EFAC;
  color: #065F46;
  font-weight: 800;
}

.withdraw-chip.chip-all:hover {
  background: #DCFCE7;
  border-color: #4ADE80;
}

/* Submit & Cancel Buttons */
.withdraw-btn-submit {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28) !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  height: 44px !important;
  padding: 0 1.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.withdraw-btn-submit:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.38) !important;
}

.withdraw-btn-submit:active {
  transform: translateY(0) !important;
}

/* Ledger History List */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  background: #FFFFFF;
  border: 1.5px solid var(--dash-border);
  border-radius: 12px;
  transition: all 0.15s ease;
}

.history-item:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.history-item-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.history-item-ref {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
  color: #64748B;
}

.history-item-desc {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--dash-text-dark);
}

.history-item-date {
  font-size: 0.72rem;
  color: #94A3B8;
}

.history-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.history-item-amt {
  font-size: 0.98rem;
  font-weight: 900;
  color: #065F46;
}

.history-item-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.history-item-badge.badge-completed {
  background: #D1FAE5;
  color: #065F46;
}

.history-item-badge.badge-pending {
  background: #FEF3C7;
  color: #92400E;
}

.history-item-badge.badge-rejected {
  background: #FEE2E2;
  color: #991B1B;
}

.history-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.history-empty i {
  font-size: 2.25rem;
  color: #CBD5E1;
}

.history-empty p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Dedicated Desktop Fine-tuning */
@media (min-width: 769px) {
  .withdraw-dialog {
    max-width: 520px;
    margin: auto;
  }

  .withdraw-dialog .dash-modal-header {
    padding: 1.4rem 1.85rem;
  }

  .withdraw-dialog .dash-modal-body {
    padding: 1.65rem 1.85rem 1.85rem;
  }

  .withdraw-amount-field {
    height: 52px;
    font-size: 1.35rem !important;
  }

  .channel-option {
    padding: 0.85rem 1.15rem;
    font-size: 0.88rem;
  }

  .modal-btn-row {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
}

/* ==========================================================================
   FREE TIER LOCKED STATE & BANNER
   ========================================================================== */
.free-tier-locked-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
  animation: modalFadeIn 0.3s ease;
}

.free-tier-locked-banner .locked-banner-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #D97706;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.free-tier-locked-banner .locked-banner-content {
  flex: 1;
}

.free-tier-locked-banner .locked-banner-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.free-tier-locked-banner .locked-banner-desc {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #78350F;
}

.btn-locked-banner-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #0052CC 0%, #003E99 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
  transition: all 0.2s ease;
}

.btn-locked-banner-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 82, 204, 0.35);
  filter: brightness(1.08);
}

.job-action-btn.btn-locked {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FCD34D !important;
  cursor: pointer;
}

.job-action-btn.btn-locked:hover {
  background: #FDE68A !important;
  border-color: #F59E0B !important;
  color: #78350F !important;
}

/* ==========================================================================
   DAILY 24H TASK LIMIT LOCKED BANNER & BUTTONS
   ========================================================================== */
.daily-limit-locked-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  border: 1.5px solid #60A5FA !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.09) !important;
}

.daily-limit-locked-banner .locked-banner-icon {
  background: #2563EB !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

.daily-limit-locked-banner .locked-banner-title {
  color: #1E40AF !important;
}

.daily-limit-locked-banner .locked-banner-desc {
  color: #1E3A8A !important;
}

.daily-limit-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #BFDBFE;
  color: #1E40AF;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.job-card-daily-locked {
  opacity: 0.88;
  border-color: #BFDBFE !important;
  background: #F8FAFC !important;
}

.job-action-btn.btn-daily-locked {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1px solid #BFDBFE !important;
  cursor: pointer;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  gap: 6px !important;
}

.job-action-btn.btn-daily-locked:hover {
  background: #DBEAFE !important;
  border-color: #93C5FD !important;
  color: #1E40AF !important;
}

@media (max-width: 640px) {
  .free-tier-locked-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
  }
  .btn-locked-banner-upgrade {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Quick Support)
   ========================================================================== */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
}

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none !important;
  outline: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2.5s infinite;
  touch-action: manipulation;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus,
.floating-whatsapp:active,
.floating-whatsapp:visited {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20BA5A;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  animation: none;
}

.floating-whatsapp i {
  color: #FFFFFF !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #091E42;
  color: #FFFFFF !important;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.2);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  .whatsapp-tooltip {
    display: none !important;
  }
}



