/* ================================================================
   KCP Mall Membership — Mobile-App Light Theme
   Clean, Premium, Mobile-First App Experience
   Teal/Emerald Brand Accents with Centered Mobile Shell
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────── */
:root {
  --app-shell-max-w:   480px;
  --app-backdrop-bg:   #061e1b;
  --app-bg:            #f1f5f5;
  --app-card-bg:       #ffffff;
  --app-card-subtle:   #f8fafc;
  
  --primary-teal:      #0f766e;
  --primary-dark:      #134e48;
  --primary-deep:      #0a2e2b;
  --primary-light:     #14b8a6;
  --primary-surface:   #ccfbf1;
  --primary-glow:      rgba(15, 118, 110, 0.25);

  --accent-amber:      #d97706;
  --accent-amber-bg:   #fef3c7;
  --accent-blue:       #2563eb;
  --accent-blue-bg:    #dbeafe;
  --accent-purple:     #7c3aed;
  --accent-purple-bg:  #ede9fe;
  --accent-emerald:    #059669;
  --accent-emerald-bg: #d1fae5;
  --accent-rose:       #e11d48;
  --accent-rose-bg:    #ffe4e6;
  --accent-gold:       #ca8a04;
  --accent-gold-bg:    #fef9c3;

  --text-main:         #0f172a;
  --text-body:         #334155;
  --text-muted:        #64748b;
  --text-subtle:       #94a3b8;
  --text-white:        #ffffff;

  --border-light:      #e2e8f0;
  --border-subtle:     #f1f5f9;
  --border-teal:       rgba(15, 118, 110, 0.2);

  --shadow-xs:         0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:         0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md:         0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg:         0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-teal:       0 8px 20px rgba(15, 118, 110, 0.25);

  --radius-xs:         6px;
  --radius-sm:         10px;
  --radius-md:         14px;
  --radius-lg:         20px;
  --radius-xl:         24px;
  --radius-pill:       9999px;

  --transition-fast:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Global Reset & Body ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background-color: var(--app-backdrop-bg);
}

body.home-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--app-backdrop-bg);
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(15, 118, 110, 0.2), transparent),
    radial-gradient(ellipse 50% 50% at 80% 100%, rgba(13, 148, 136, 0.15), transparent);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Mobile App Shell Container ────────────────────────────────── */
.mobile-app-shell {
  width: 100%;
  max-width: var(--app-shell-max-w);
  min-height: 100vh;
  background-color: var(--app-bg);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6), 0 0 100px rgba(15, 118, 110, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  margin: 0 auto;
  border-radius: 28px;
}

@media (max-width: 500px) {
  body.home-body {
    background-image: none;
    background-color: var(--app-bg);
    padding: 0;
  }
  .mobile-app-shell {
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
  .home-header-wrapper {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
  .app-bottom-nav {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

.home-container {
  width: 100%;
  padding: 0 16px;
}

/* ─── Top App Header Bar ────────────────────────────────────────── */
.home-header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-normal);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.home-navbar {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-navbar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Header Left: Brand / Title */
.home-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  min-width: 0;
}

.home-navbar-logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.home-navbar-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-navbar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-navbar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-navbar-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header Back Button for Sub/Detail Pages */
.home-navbar-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.home-navbar-back-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition-fast);
}

.home-navbar-back:hover .home-navbar-back-btn {
  background: rgba(255, 255, 255, 0.25);
}

/* Header Right: Actions */
.home-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Public Login Button */
.home-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-fast);
}

.home-login-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Member Header Actions: Dropdown & Logout */
.member-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.member-header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.member-header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.member-header-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.member-header-avatar-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.member-nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* User Dropdown Menu */
.member-top-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-top-dropdown-menu.show {
  display: flex;
}

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

.member-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.member-dropdown-item:hover {
  background: var(--app-bg);
  color: var(--primary-teal);
}

.member-dropdown-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.member-dropdown-item:hover svg {
  color: var(--primary-teal);
}

.member-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

/* ─── Hero / Member Greeting Banner Card ────────────────────────── */
.app-greeting-card {
  margin: 14px 16px 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #134e48 0%, #0f766e 60%, #115e59 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(19, 78, 72, 0.25);
  position: relative;
  overflow: hidden;
}

.app-greeting-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.app-greeting-date {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.app-greeting-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-greeting-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  line-height: 1.4;
}

/* ─── Quick Status Action Bar (e.g. Absen / Struck Upload Bar) ───── */
.app-quick-action-banner {
  margin: 0 16px 14px;
  background: var(--app-card-bg);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-quick-action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-quick-action-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.app-quick-action-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--border-light);
  color: var(--text-muted);
}

.app-primary-action-btn {
  width: 100%;
  padding: 10px 16px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.app-primary-action-btn:hover {
  background: var(--primary-teal);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ─── Points & Balances Cards (Tagihan & Tabungan Style) ────────── */
.app-balances-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 16px 16px;
}

.app-balance-card {
  background: var(--app-card-bg);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: var(--transition-fast);
}

.app-balance-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.app-balance-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.app-balance-card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.app-balance-card-value.lottery {
  color: var(--accent-amber);
}

.app-balance-card-value.reward {
  color: var(--primary-teal);
}

.app-balance-card-link {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: var(--transition-fast);
}

.app-balance-card-link:hover {
  color: var(--primary-dark);
}

/* Expiry Warning Pill */
.app-expiry-alert {
  margin: 0 16px 16px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--accent-amber-bg);
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Quick Action Menu Grid (Icon Grid) ─────────────────────────── */
.app-menu-grid-section {
  margin: 0 16px 16px;
  background: var(--app-card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.app-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 8px;
}

.app-menu-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-body);
  gap: 6px;
  transition: var(--transition-fast);
}

.app-menu-grid-item:hover {
  transform: translateY(-3px);
}

.app-menu-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.app-menu-grid-item:hover .app-menu-icon-box {
  box-shadow: var(--shadow-md);
}

.app-menu-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: var(--text-body);
}

/* Menu Icon Colors */
.bg-teal-gradient   { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.bg-emerald-gradient{ background: linear-gradient(135deg, #059669, #10b981); }
.bg-amber-gradient  { background: linear-gradient(135deg, #d97706, #f59e0b); }
.bg-blue-gradient   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.bg-purple-gradient { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.bg-gold-gradient   { background: linear-gradient(135deg, #ca8a04, #eab308); }
.bg-indigo-gradient { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.bg-rose-gradient   { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.bg-cyan-gradient   { background: linear-gradient(135deg, #0891b2, #06b6d4); }

/* ─── App Section Header ────────────────────────────────────────── */
.app-section {
  margin-bottom: 20px;
}

.app-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px 10px;
}

.app-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.app-section-title-icon {
  color: var(--primary-teal);
  display: inline-flex;
}

.app-section-all-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--app-card-bg);
  border: 1px solid var(--border-light);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-fast);
}

.app-section-all-btn:hover {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
}

/* ─── Hero News Slider ──────────────────────────────────────────── */
.home-hero-section {
  margin: 0 16px 18px;
}

.home-hero-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  height: 180px;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: block;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 2;
  color: #ffffff;
}

.hero-slide-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-teal);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  margin-bottom: 4px;
}

.hero-slide-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 3;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  width: 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
}

/* ─── Carousel Horizontal Scroll Lists ──────────────────────────── */
.home-carousel-wrapper {
  position: relative;
  width: 100%;
}

.home-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 16px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-carousel::-webkit-scrollbar {
  display: none;
}

/* Light Theme Cards */
.home-card {
  flex: 0 0 190px;
  max-width: 190px;
  scroll-snap-align: start;
  background: var(--app-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.home-card-img-wrap {
  width: 100%;
  height: 115px;
  position: relative;
  background: var(--app-bg);
  overflow: hidden;
}

.home-card-tenant-wrap {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  box-sizing: border-box;
}

.home-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-card-tenant-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.home-card:hover .home-card-img {
  transform: scale(1.05);
}

.home-card:hover .home-card-tenant-img {
  transform: scale(1.06);
}

.home-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: var(--text-subtle);
}

.home-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.home-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-card-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--primary-dark);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

.home-card-points {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-top: auto;
  padding-top: 4px;
}

.home-section-empty {
  margin: 0 16px;
  padding: 24px 16px;
  background: var(--app-card-bg);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ─── Breadcrumb & Detail Common ────────────────────────────────── */
.detail-breadcrumb {
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-breadcrumb a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 600;
}

.detail-breadcrumb .active {
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-page {
  padding-bottom: 40px;
  width: 100%;
}

.detail-hero {
  position: relative;
  width: 100%;
  height: 200px;
  background: #e2e8f0;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.detail-content {
  padding: 16px;
  background: #ffffff;
  margin: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.detail-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--primary-surface);
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.detail-tag-news   { background: var(--primary-surface); color: var(--primary-dark); }
.detail-tag-promo  { background: var(--accent-amber-bg); color: var(--accent-amber); }
.detail-tag-event  { background: var(--accent-emerald-bg); color: var(--accent-emerald); }
.detail-tag-reward { background: var(--accent-purple-bg); color: var(--accent-purple); }
.detail-tag-lottery{ background: var(--accent-gold-bg); color: var(--accent-gold); }

.detail-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 10px;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-meta-item svg {
  color: var(--primary-teal);
  flex-shrink: 0;
}

.detail-body {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.detail-action-card {
  padding: 16px;
  background: #ffffff;
  margin: 0 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* ─── Profile Page Styling ──────────────────────────────────────── */
.profile-page {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-teal));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-header-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.profile-header-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.profile-header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.profile-badge-role { background: #e0f2fe; color: #0369a1; }
.profile-badge-active { background: #dcfce7; color: #15803d; }
.profile-badge-inactive { background: #fee2e2; color: #b91c1c; }
.profile-badge-member-gold { background: #fef3c7; color: #92400e; }
.profile-badge-member-silver { background: #f1f5f9; color: #475569; }
.profile-badge-member-galuh { background: #f5d0fe; color: #86198f; }

.profile-section {
  background: #ffffff;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.profile-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.profile-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.profile-form-group {
  margin-bottom: 12px;
}

.profile-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 4px;
}

.profile-form-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--app-card-subtle);
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.profile-form-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.profile-btn-save {
  width: 100%;
  padding: 12px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.profile-btn-save:hover {
  background: var(--primary-teal);
}

.profile-alert {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.profile-alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── Points History Page ────────────────────────────────────────── */
.history-page {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.history-header {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.history-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.history-header-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-surface);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.history-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.history-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.history-tabs {
  display: flex;
  gap: 8px;
  background: var(--app-bg);
  padding: 4px;
  border-radius: var(--radius-pill);
}

.history-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.history-tab-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}

.history-tab-pill {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--border-light);
  color: var(--text-body);
}

.history-tab-btn.active .history-tab-pill.lottery-pill { background: var(--accent-amber-bg); color: #92400e; }
.history-tab-btn.active .history-tab-pill.reward-pill  { background: var(--accent-emerald-bg); color: #166534; }

.history-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.history-stat-card {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-lottery { background: var(--accent-amber-bg); }
.stat-icon-reward  { background: var(--accent-emerald-bg); }

.stat-card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.history-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.history-table th {
  background: var(--app-card-subtle);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.history-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.history-table tr:last-child td {
  border-bottom: none;
}

/* ─── Coupons & Privileges Grid Pages ────────────────────────────── */
.coupons-page, .privileges-page {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coupons-header, .privileges-header {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.coupon-grid, .privileges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.coupon-item-card, .privilege-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coupon-code-badge {
  font-family: 'Outfit', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-surface);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  text-align: center;
}

/* ─── Tenants & Rewards Grid Listing ─────────────────────────────── */
.tenants-grid, .detail-rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px 20px;
}

.tenants-filter-bar {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tenants-search-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 0.82rem;
  color: var(--text-main);
}

/* ─── Modal Styles ──────────────────────────────────────────────── */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.app-modal-overlay.open {
  display: flex;
}

.app-modal-container {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalPopIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.app-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.app-modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--app-bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.app-modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.member-form-group {
  margin-bottom: 12px;
}

.member-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 4px;
}

.member-form-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--app-card-subtle);
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.member-form-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.member-form-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.member-form-submit:hover {
  background: var(--primary-dark);
}

/* ─── App Footer & Bottom Navigation ────────────────────────────── */
.app-footer-wrapper {
  margin-top: auto;
  width: 100%;
}

.app-footer-copyright {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 14px 16px 20px;
}

/* Sticky Bottom Navigation Bar */
.app-bottom-nav {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 900;
  padding: 6px 8px 8px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.app-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.app-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  min-width: 54px;
}

.app-nav-tab svg {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.app-nav-tab.active {
  color: var(--primary-teal);
}

.app-nav-tab.active svg {
  color: var(--primary-teal);
}

.app-nav-tab:hover {
  color: var(--primary-dark);
}

/* Center Floating Action Button (Elevated Circle) */
.app-nav-center-btn-wrap {
  position: relative;
  top: -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app-nav-center-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #134e48 0%, #0f766e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.4);
  border: 3px solid #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.app-nav-center-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.5);
  color: #ffffff;
}

.app-nav-center-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   TENANT LIST & FILTER STYLES (Light Theme)
═══════════════════════════════════════════════════════════════ */
.tenants-page-header {
  margin-bottom: 20px;
}

.filter-section {
  margin-bottom: 18px;
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}

.filter-label svg {
  color: var(--primary-teal);
}

.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.filter-pill-logo {
  max-height: 18px;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  display: inline-block;
}

.tenants-results {
  margin-top: 10px;
}

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

.tenants-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tenants-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--accent-rose);
  text-decoration: none;
  font-weight: 600;
  background: #fee2e2;
  padding: 3px 10px;
  border-radius: 999px;
}

.tenants-clear-filters:hover {
  background: #fecaca;
}

.home-tenant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 360px) {
  .home-tenant-grid {
    grid-template-columns: 1fr;
  }
}

.home-tenant-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.home-tenant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(15, 118, 110, 0.3);
}

.home-tenant-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.home-tenant-logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.home-tenant-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.home-tenant-category {
  font-size: 0.72rem;
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 2px;
}

.home-tenant-mall {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM PAGINATION STYLES (Modern Light Theme)
═══════════════════════════════════════════════════════════════ */
.custom-pagination {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 28px auto 20px !important;
  width: 100% !important;
}

.custom-pagination-meta {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  text-align: center;
}

.custom-pagination-num {
  font-weight: 700;
  color: var(--primary-teal, #0f766e);
}

.custom-pagination-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  width: auto !important;
}

.custom-page-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #334155 !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.custom-page-btn:hover {
  border-color: var(--primary-teal, #0f766e) !important;
  color: var(--primary-teal, #0f766e) !important;
  background: #f0fdfa !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(15, 118, 110, 0.15) !important;
}

.custom-page-btn.active {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
  border-color: #0f766e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35) !important;
  transform: scale(1.02) !important;
}

.custom-page-btn.disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
}

.custom-page-dots {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 38px !important;
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
}

/* ═══════════════════════════════════════════════════════════════
   UPLOAD STRUCK MODAL & EVENT PAGE STYLES
═══════════════════════════════════════════════════════════════ */
.upload-struck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 16px auto;
  padding: 13px 24px;
  background: linear-gradient(135deg, #134e48 0%, #0f766e 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-struck-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.45);
}

.struck-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.struck-modal-overlay.struck-modal-visible {
  display: flex;
  opacity: 1;
}

.struck-modal {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.struck-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
}

.struck-modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-teal);
}

.struck-modal-header-left h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.struck-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.struck-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.struck-terms {
  margin: 16px 20px 10px;
  padding: 12px 14px;
  background: #f0fdfa;
  border-radius: 12px;
  border: 1px solid #ccfbf1;
}

.struck-terms-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
}

.struck-terms-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.45;
}

.struck-terms-list li {
  margin-bottom: 3px;
}

.struck-upload-section {
  padding: 10px 20px 16px;
}

.struck-upload-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
}

.struck-upload-hint {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0 0 10px;
}

.struck-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.struck-dropzone:hover {
  border-color: var(--primary-teal);
  background: #f0fdfa;
}

.struck-dropzone-content svg {
  color: var(--primary-teal);
  margin-bottom: 6px;
}

.struck-dropzone-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 2px;
}

.struck-dropzone-subtext {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 3px 0;
}

.struck-browse-btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-teal);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  pointer-events: none;
}

.struck-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.struck-preview {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
}

.struck-preview-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

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

.struck-preview-info {
  flex: 1;
  min-width: 0;
}

.struck-preview-name {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.struck-preview-size {
  font-size: 0.68rem;
  color: #64748b;
}

.struck-preview-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.struck-modal-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  position: sticky;
  bottom: 0;
}

.struck-cancel-btn {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.struck-submit-btn {
  flex: 2;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #134e48 0%, #0f766e 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.struck-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   CLAIM ACTION CARDS & CLAIM MODALS (Light Theme)
═══════════════════════════════════════════════════════════════ */
.reward-claim-section,
.lottery-claim-section {
  margin: 24px 0 20px;
}

.reward-claim-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  border: 1.5px solid #ccfbf1;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lottery-claim-card {
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  border: 1.5px solid #fef3c7;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reward-claim-content,
.lottery-claim-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.reward-claim-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ccfbf1;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lottery-claim-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reward-claim-info,
.lottery-claim-info {
  flex: 1;
  min-width: 0;
}

.reward-claim-title,
.lottery-claim-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
}

.reward-claim-subtitle,
.lottery-claim-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 6px;
  line-height: 1.4;
}

.reward-claim-balance-pill,
.lottery-claim-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.btn-claim-reward {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-claim-lottery {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Modal Backdrops & Dialogs */
.claim-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.claim-modal-backdrop.open,
.claim-modal-backdrop.active {
  display: flex;
}

.claim-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  position: relative;
}

.claim-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   EDIT PROFILE STYLES (Light Theme)
═══════════════════════════════════════════════════════════════ */
.profile-page {
  padding: 4px 0 24px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #134e48 0%, #0f766e 100%);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.profile-header-info {
  flex: 1;
  min-width: 0;
}

.profile-header-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 2px;
}

.profile-header-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.profile-header-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.profile-badge-role {
  background: #f1f5f9;
  color: #475569;
}

.profile-badge-active {
  background: #dcfce7;
  color: #15803d;
}

.profile-badge-inactive {
  background: #fee2e2;
  color: #b91c1c;
}

.profile-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.profile-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-teal);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.profile-section-header h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.profile-field {
  margin-bottom: 14px;
}

.profile-field:last-child {
  margin-bottom: 0;
}

.profile-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

.profile-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.profile-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.profile-input-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.profile-field-hint {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 4px;
}

.profile-input-wrapper {
  position: relative;
}

.profile-toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.profile-btn-cancel {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
  transition: all 0.2s ease;
}

.profile-btn-save {
  flex: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #134e48 0%, #0f766e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   POINTS HISTORY & LOTTERY COUPONS CARDS (Light Theme)
═══════════════════════════════════════════════════════════════ */
.history-page,
.coupon-page {
  padding: 4px 0 24px;
}

.history-header,
.coupon-header {
  margin-bottom: 16px;
}

.history-title,
.coupon-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 2px;
}

.history-subtitle,
.coupon-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.history-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 2px;
}

.history-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px 10px 0 0;
  text-decoration: none;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.history-tab-btn.active {
  color: var(--primary-teal);
  border-bottom: 2px solid var(--primary-teal);
  margin-bottom: -2px;
}

.history-tab-pill {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f1f5f9;
}

.history-stats-grid,
.coupon-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.history-stat-card,
.coupon-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.stat-card-label,
.coupon-stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-card-value,
.coupon-stat-value {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.history-table-wrapper,
.coupon-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.history-table-header,
.coupon-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.history-table-title,
.coupon-table-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.history-table-badge,
.coupon-table-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: #f0fdfa;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #ccfbf1;
}

.ticket-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #b45309;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ─── Tenant Filter Sections & Chips ──────────────────────────────── */
.tenants-page-header {
  margin-bottom: 16px;
}

.filter-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.filter-label svg {
  color: var(--primary-teal);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill-logo {
  width: auto;
  max-height: 18px;
  max-width: 48px;
  object-fit: contain;
  vertical-align: middle;
}

.filter-pill:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.filter-pill.active {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.filter-pill.active .filter-pill-logo {
  filter: brightness(0) invert(1);
}

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

.tenants-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tenants-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ef4444;
  text-decoration: none;
}

/* ─── Pagination ─────────────────────────────────────────────────── */
.tenants-pagination,
.history-pagination,
.coupon-pagination,
.priv-pagination {
  margin: 24px 0 16px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.pagination,
nav[role="navigation"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
}

/* Ensure pagination links container is always a horizontal row */
nav[role="navigation"] > div:last-child,
nav[role="navigation"] .flex,
nav[role="navigation"] .inline-flex {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

nav[role="navigation"] span.relative.z-0,
nav[role="navigation"] span.relative.inline-flex {
  display: inline-flex !important;
  flex-direction: row !important;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

nav[role="navigation"] a,
nav[role="navigation"] span[aria-disabled],
nav[role="navigation"] span[aria-current="page"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #475569;
  background: #ffffff;
  border: none;
  border-right: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

nav[role="navigation"] a:last-child,
nav[role="navigation"] span:last-child {
  border-right: none;
}

nav[role="navigation"] a:hover {
  background: #f0fdfa;
  color: var(--primary-teal, #0f766e);
}

nav[role="navigation"] span[aria-current="page"] > span,
nav[role="navigation"] span[aria-current="page"] {
  background: var(--primary-teal, #0f766e) !important;
  color: #ffffff !important;
  font-weight: 700;
}

nav[role="navigation"] span[aria-disabled] {
  color: #cbd5e1;
  background: #f8fafc;
  cursor: not-allowed;
}

nav[role="navigation"] p.text-sm {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
  text-align: center;
}

/* ─── Reward & Lottery Claim Cards (Light Theme Mobile-First) ───── */
.reward-claim-section,
.lottery-claim-section {
  margin: 24px 0 20px;
}

.reward-claim-card,
.lottery-claim-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #ccfbf1;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.08);
  position: relative;
  overflow: hidden;
}

.lottery-claim-card {
  border-color: #fef3c7;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.08);
}

.reward-claim-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.lottery-claim-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.reward-claim-content,
.lottery-claim-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reward-claim-icon-wrap,
.lottery-claim-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lottery-claim-icon-wrap {
  background: #fef3c7;
}

.reward-claim-info,
.lottery-claim-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.reward-claim-title,
.lottery-claim-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.reward-claim-subtitle,
.lottery-claim-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.reward-claim-subtitle strong {
  color: #0f766e;
}

.lottery-claim-subtitle strong {
  color: #d97706;
}

.reward-claim-btn-wrapper,
.lottery-claim-btn-wrapper {
  width: 100%;
}

.btn-claim-reward,
.btn-claim-lottery {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.btn-claim-reward {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
}

.btn-claim-reward:hover {
  background: linear-gradient(135deg, #115e59, #0f766e);
  transform: translateY(-1px);
}

.btn-claim-lottery {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-claim-lottery:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
  transform: translateY(-1px);
}

.btn-claim-reward.btn-out-of-stock {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.lottery-code-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  text-transform: uppercase;
}

/* ─── Upload Struck Modal (Light Modern Theme) ─────────────────────── */
.upload-struck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
  transition: all 0.2s ease;
}

.upload-struck-btn:hover {
  background: linear-gradient(135deg, #115e59, #0f766e);
  transform: translateY(-1px);
  color: #ffffff;
}

.struck-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  transition: opacity 0.25s ease;
}

@media (min-width: 500px) {
  .struck-modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.struck-modal-overlay.struck-modal-visible {
  display: flex !important;
}

.struck-modal {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 20px 20px 28px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 500px) {
  .struck-modal {
    border-radius: 24px;
  }
}

@keyframes slideUpModal {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.struck-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.struck-modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f766e;
}

.struck-modal-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.struck-modal-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.struck-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.struck-terms {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.struck-terms-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.struck-terms-title svg {
  color: #0f766e;
}

.struck-terms-list {
  padding-left: 20px;
  margin: 0;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.5;
}

.struck-terms-list li {
  margin-bottom: 4px;
}

.struck-upload-section {
  margin-bottom: 16px;
}

.struck-upload-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.struck-upload-title svg {
  color: #0f766e;
}

.struck-upload-hint {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 10px;
}

.struck-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.struck-dropzone:hover,
.struck-dropzone.struck-dropzone-active {
  border-color: #0f766e;
  background: #f0fdfa;
}

.struck-dropzone-content svg {
  color: #0f766e;
  margin-bottom: 8px;
}

.struck-dropzone-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 2px;
}

.struck-dropzone-subtext {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.struck-browse-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.struck-file-input {
  display: none;
}

.struck-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  padding: 10px 14px;
}

.struck-preview-img-wrap {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

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

.struck-preview-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.struck-preview-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.struck-preview-size {
  font-size: 0.72rem;
  color: #64748b;
}

.struck-preview-size-warn {
  color: #d97706 !important;
  font-weight: 600;
}

.struck-preview-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
}

.struck-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.struck-cancel-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.struck-submit-btn {
  flex: 2;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.struck-submit-btn:disabled {
  background: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
}

.struck-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  max-width: 90%;
  width: 360px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.struck-toast.struck-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.struck-toast-success {
  border-left: 4px solid #10b981;
}

.struck-toast-error {
  border-left: 4px solid #ef4444;
}

.struck-toast-icon {
  display: flex;
  align-items: center;
}

.struck-toast-success .struck-toast-icon {
  color: #10b981;
}

.struck-toast-error .struck-toast-icon {
  color: #ef4444;
}
