/* ==========================================================================
   L'etoile Master Stylesheet - iOS Native Mobile Architecture
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

/* Authentic Mobile Device Frame (Centered on Desktop, Fullscreen on Mobile) */
.mobile-device-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (max-width: 519px) {
  .mobile-device-shell {
    max-width: 100vw;
    border-left: none;
    border-right: none;
    box-shadow: none;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }
}

@media (min-width: 520px) {
  body {
    padding: 24px 0 40px 0;
  }
  body.theme-dark {
    background: radial-gradient(circle at 50% 10%, #151824 0%, #08090d 100%);
  }
  body.theme-light {
    background: radial-gradient(circle at 50% 10%, #f0f3fa 0%, #d8dfea 100%);
  }
  body.theme-gold-premium {
    background: radial-gradient(circle at 50% 15%, #1a1815 0%, #0b0a09 100%);
    background-image: none !important;
  }

  .mobile-device-shell {
    border-radius: 46px;
    overflow: hidden;
    min-height: 920px;
  }
  body.theme-dark .mobile-device-shell {
    border: 3.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  }
  body.theme-light .mobile-device-shell {
    border: 3.5px solid #d5dae5;
    box-shadow: 0 25px 60px rgba(30, 40, 60, 0.15);
  }
  body.theme-gold-premium .mobile-device-shell {
    border: 3.5px solid #d4af37;
    box-shadow: 0 25px 70px rgba(175, 138, 50, 0.35), 0 0 35px rgba(212, 175, 55, 0.28);
  }
}

/* iOS Top Status Bar & Dynamic Island */
.ios-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 8px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 100;
  user-select: none;
}

.ios-time {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ios-dynamic-island {
  width: 108px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dynamic-island-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.ios-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

/* Header Brand Pod & Simulators */
.mobile-app-header {
  padding: 16px 20px 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-pod {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px var(--gold-glow);
  color: #0b0c10;
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 900;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Header Active Role Chip (1-Tap Settings Access) */
.header-role-chip {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-role-chip:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.role-chip-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.role-chip-arrow {
  font-size: 0.82rem;
  opacity: 0.8;
}

/* Sub-Navigation Segmented Capsules (Triple-Theme Calibration) */
.sub-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
  width: 100%;
}

.sub-nav-capsule {
  width: 100%;
  max-width: 440px;
  display: flex;
  padding: 6px;
  border-radius: 9999px;
  gap: 6px;
  box-sizing: border-box;
}

.subnav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-nav-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 1.48rem !important;
  font-weight: 850 !important;
  letter-spacing: -0.015em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  user-select: none;
  white-space: nowrap;
  line-height: 1.2;
}

.sub-nav-btn .subnav-tab-icon {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .sub-nav-btn {
    padding: 10px 14px;
    font-size: 1.18rem !important;
    gap: 8px;
  }
  .sub-nav-btn .subnav-tab-icon {
    width: 22px !important;
    height: 22px !important;
  }
}

/* Three-Tab Workers Sub-Nav Optimization */
#view-workers .sub-nav-capsule {
  max-width: 480px;
}

#view-workers .sub-nav-btn {
  padding: 10px 14px;
  font-size: 1.15rem !important;
  gap: 7px;
}

#view-workers .sub-nav-btn .subnav-tab-icon {
  width: 20px !important;
  height: 20px !important;
}

@media (max-width: 420px) {
  #view-workers .sub-nav-capsule {
    padding: 4px;
    gap: 4px;
  }
  #view-workers .sub-nav-btn {
    padding: 8px 10px;
    font-size: 0.98rem !important;
    gap: 5px;
  }
  #view-workers .sub-nav-btn .subnav-tab-icon {
    width: 17px !important;
    height: 17px !important;
  }
}

@media (max-width: 360px) {
  #view-workers .sub-nav-btn {
    padding: 7px 6px;
    font-size: 0.88rem !important;
    gap: 4px;
  }
  #view-workers .sub-nav-btn .subnav-tab-icon {
    width: 15px !important;
    height: 15px !important;
  }
}

/* Luxury Amber Status Indicator Dot (Replaces Unprofessional Number Badge) */
.subnav-indicator-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d49520;
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 6px rgba(212, 149, 32, 0.7);
  pointer-events: none;
  animation: pulseGoldDot 2.4s ease-in-out infinite;
}

@keyframes pulseGoldDot {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.18); opacity: 1; box-shadow: 0 0 10px rgba(212, 149, 32, 0.9); }
}

/* 1. DARK MODE (Obsidian Gold): Dark capsule, metallic gold active tab, black text, circular gold badge */
body.theme-dark .sub-nav-capsule {
  background: #141720;
  border: 1.2px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

body.theme-dark .sub-nav-btn {
  color: #9ca3af;
  background: transparent;
}

body.theme-dark .sub-nav-btn.active {
  background: linear-gradient(135deg, #fbeab8 0%, #e6be58 45%, #c89528 100%);
  color: #0e1117 !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

body.theme-dark .sub-nav-btn.active .subnav-tab-icon {
  color: #0e1117;
}

body.theme-dark .subnav-indicator-dot {
  background: #f5c242;
  border-color: #141720;
  box-shadow: 0 0 6px rgba(245, 194, 66, 0.7);
}

/* 2. MINIMAL LIGHT MODE: Soft gray capsule, solid black active tab, white text */
body.theme-light .sub-nav-capsule {
  background: #f1f3f5;
  border: 1px solid #e2e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .sub-nav-btn {
  color: #4b5563;
  background: transparent;
}

body.theme-light .sub-nav-btn.active {
  background: #111111;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

body.theme-light .sub-nav-btn.active .subnav-tab-icon {
  color: #ffffff;
}

body.theme-light .subnav-indicator-dot {
  background: #111111;
  border-color: #ffffff;
}

/* 3. GOLD PREMIUM MODE: Professional Satin Gold & Frosted Porcelain Capsule */
body.theme-gold-premium .sub-nav-capsule {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.8px solid rgba(212, 175, 55, 0.48);
  box-shadow: 0 8px 26px rgba(184, 145, 37, 0.18), inset 0 1.5px 2px #ffffff;
}

body.theme-gold-premium .sub-nav-btn {
  color: #453013;
  background: transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-gold-premium .sub-nav-btn:hover {
  background: rgba(212, 175, 55, 0.09);
  color: #241805;
}

body.theme-gold-premium .sub-nav-btn.active {
  background: linear-gradient(135deg, #fef4db 0%, #edd382 42%, #ca9628 100%);
  color: #171105 !important;
  box-shadow: 0 4px 18px rgba(184, 145, 37, 0.38), inset 0 1.5px 1.5px #ffffff, inset 0 -1.5px 2px rgba(160, 110, 15, 0.25);
  border: 1.2px solid rgba(255, 255, 255, 0.85);
}

body.theme-gold-premium .sub-nav-btn.active .subnav-tab-icon {
  color: #171105;
}

body.theme-gold-premium .subnav-indicator-dot {
  background: #d49520;
  border-color: #ffffff;
  box-shadow: 0 0 6px rgba(212, 149, 32, 0.7);
}

body.theme-gold-premium .sub-nav-btn.active .subnav-indicator-dot {
  background: #1a1205;
  border-color: #fbeab8;
  box-shadow: 0 0 6px rgba(26, 18, 5, 0.6);
}

.sub-module-view {
  display: none;
}

.sub-module-view.active {
  display: block;
}

/* Quick Floating Controls (Theme & Role) */
.mobile-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.capsule-pill {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 3px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.capsule-item {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.18s ease;
}

.capsule-item.active {
  background: var(--gold-gradient);
  color: #0b0c10;
  box-shadow: 0 2px 6px var(--gold-glow);
  font-weight: 800;
}

body.theme-light .capsule-item.active {
  background: linear-gradient(135deg, #27272a 0%, #111111 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Mobile Scrollable Viewport (Native iOS Dynamic Island & Safe-Area Fitted) */
.mobile-viewport {
  flex: 1;
  overflow-y: auto;
  padding-top: calc(env(safe-area-inset-top, 24px) + 12px);
  padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 36px);
  padding-left: max(env(safe-area-inset-left, 0px), 16px);
  padding-right: max(env(safe-area-inset-right, 0px), 16px);
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* Authentic iOS SpringBoard: Home Screen NEVER Scrolls (Locked Viewport, Perfectly Centered) */
body:not(.is-in-app):not(:has(.module-view.active:not(#view-home))) .mobile-viewport,
body:has(#view-home.active) .mobile-viewport {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  touch-action: pan-x pinch-zoom;
  box-sizing: border-box !important;
}

body:not(.is-in-app):not(:has(.module-view.active:not(#view-home))) .mobile-viewport::-webkit-scrollbar,
body:has(#view-home.active) .mobile-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.is-in-app .mobile-viewport,
body:has(.module-view.active:not(#view-home)) .mobile-viewport {
  overflow-y: auto;
  padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 36px);
}

/* Module Container Views */
.module-view {
  display: none;
  animation: fadeInMobile 0.22s ease-out;
}

.module-view.active {
  display: block;
}

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

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Grid Layouts - Mobile Optimized */
.grid-2col, .grid-3col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   AUTHENTIC iOS ULTRA-GLASSY BOTTOM TAB BAR
   ========================================================================== */
.ios-bottom-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-top: 1.2px solid rgba(212, 175, 55, 0.38);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: flex-start;
  padding-top: 10px;
  z-index: 200;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 -10px 30px rgba(0, 0, 0, 0.12);
}

body.theme-dark .ios-bottom-tab-bar {
  background: rgba(15, 18, 26, 0.82);
  border-top: 1.2px solid rgba(212, 175, 55, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 -12px 35px rgba(0, 0, 0, 0.6);
}

body.theme-gold-premium .ios-bottom-tab-bar {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.84) 0%, rgba(247, 239, 222, 0.9) 100%);
  border-top: 1.2px solid rgba(212, 175, 55, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 -10px 35px rgba(184, 145, 37, 0.18);
}

.ios-tab-item {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4px 0;
  user-select: none;
  position: relative;
}

.ios-tab-icon {
  font-size: 1.35rem;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  line-height: 1;
}

.ios-tab-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.ios-tab-item:hover {
  color: var(--text-primary);
}

.ios-tab-item.active {
  color: var(--gold-primary);
}

.ios-tab-item.active .ios-tab-icon {
  transform: scale(1.18) translateY(-2px);
  filter: drop-shadow(0 3px 10px var(--gold-glow));
}

.ios-tab-item.active .ios-tab-label {
  font-weight: 800;
}

.ios-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  width: 18px;
  height: 3px;
  border-radius: 9999px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}


/* ==========================================================================
   SETTINGS MODULE STYLING
   ========================================================================== */
.settings-section-card {
  margin-bottom: 20px;
}

/* Authentic iOS Glass Profile Card (Option 4 Centered Luxury) */
.settings-profile-card {
  padding: 22px 20px 20px 20px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 18px;
}

body.theme-gold-premium .settings-profile-card {
  background: linear-gradient(135deg, rgba(255, 252, 243, 0.85) 0%, rgba(250, 243, 227, 0.65) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 38px rgba(184, 145, 37, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
}

body.theme-dark .settings-profile-card {
  background: linear-gradient(135deg, rgba(22, 26, 36, 0.85) 0%, rgba(14, 17, 24, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.theme-light .settings-profile-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 247, 250, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
}

.profile-card-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.profile-avatar-medallion-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.profile-avatar-medallion-wrap:hover {
  transform: scale(1.03);
}

.profile-avatar-medallion-wrap:active {
  transform: scale(0.97);
}

.profile-avatar-medallion {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2.5px solid var(--gold-primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.profile-avatar-medallion:hover {
  transform: scale(1.03);
}

.profile-avatar-medallion:active {
  transform: scale(0.97);
}

/* Pure display avatar medallion for admin view of staff (no photo upload / click) */
.profile-avatar-display-pure {
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
}

.profile-avatar-display-pure:hover,
.profile-avatar-display-pure:active {
  transform: none !important;
}

.profile-avatar-display-pure .profile-avatar-medallion {
  cursor: default !important;
  transform: none !important;
}

.profile-avatar-display-pure .profile-avatar-medallion:hover,
.profile-avatar-display-pure .profile-avatar-medallion:active {
  transform: none !important;
}

body.theme-gold-premium .profile-avatar-medallion {
  background: #ffffff;
  border: 2.5px solid #d4af37;
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

body.theme-gold-premium .profile-avatar-initials {
  color: #946c10;
}

body.theme-dark .profile-avatar-medallion {
  background: #191e2b;
  border-color: #d4af37;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

body.theme-dark .profile-avatar-initials {
  color: #f5d77f;
}

body.theme-light .profile-avatar-medallion {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body.theme-light .profile-avatar-initials {
  color: #111827;
}

.profile-avatar-initials {
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--gold-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
}

.profile-avatar-medallion .worker-initials-text {
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
  color: #8c640e !important;
  text-shadow: none !important;
  line-height: 1 !important;
}

body.theme-gold-premium .profile-avatar-medallion .worker-initials-text {
  color: #8c640e !important;
  text-shadow: none !important;
}

body.theme-dark .profile-avatar-medallion .worker-initials-text {
  color: #f5d77f !important;
  text-shadow: none !important;
}

body.theme-light .profile-avatar-medallion .worker-initials-text {
  color: #111827 !important;
  text-shadow: none !important;
}

/* Photo upload camera action badge on profile avatar medallion */
.profile-avatar-camera-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}

.profile-avatar-medallion-wrap:hover .profile-avatar-camera-badge,
.profile-avatar-medallion-wrap:active .profile-avatar-camera-badge {
  transform: scale(1.12);
}

body.theme-gold-premium .profile-avatar-camera-badge {
  background: #ffffff;
  border-color: #d4af37;
  color: #b8860b;
}

body.theme-dark .profile-avatar-camera-badge {
  background: #1e2433;
  border-color: var(--gold-primary);
  color: #f5d77f;
}

/* Upload Photo interactive pill button below avatar */
.profile-upload-photo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 750;
  color: #8c640e;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.profile-upload-photo-pill svg {
  stroke: #8c640e;
  flex-shrink: 0;
}

.profile-upload-photo-pill:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  color: #634305;
}

.profile-upload-photo-pill:active {
  transform: scale(0.96);
}

body.theme-gold-premium .profile-upload-photo-pill {
  background: #ffffff;
  border-color: rgba(212, 175, 55, 0.55);
  color: #8c640e;
}

body.theme-dark .profile-upload-photo-pill {
  background: #191e2b;
  border-color: rgba(212, 175, 55, 0.45);
  color: #f5d77f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body.theme-dark .profile-upload-photo-pill svg {
  stroke: #f5d77f;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #10b981;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

body.theme-dark .profile-status-indicator {
  border-color: #131620;
}

body.theme-light .profile-status-indicator {
  border-color: #ffffff;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.profile-role-badge-wrap {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.profile-badge-role {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.32);
  padding: 3px 10px;
  border-radius: 9999px;
  line-height: 1.2;
}

body.theme-gold-premium .profile-badge-role {
  color: #8c640c;
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.38);
}

body.theme-dark .profile-badge-role {
  color: #f5d77f;
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.35);
}

/* Explicitly hide any floating edit icons on settings profile */
.profile-avatar-badge-cam,
.profile-inline-edit-btn {
  display: none !important;
}

.admin-lead-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-lead-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.18);
}

.admin-lead-card:active {
  transform: scale(0.985);
}

body.theme-light .profile-badge-role {
  color: #111827;
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
}

.profile-card-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  width: 100%;
  display: flex;
  justify-content: center;
}

body.theme-dark .profile-card-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.theme-light .profile-card-actions {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.profile-btn-logout {
  width: 100%;
  max-width: 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  min-height: 40px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  white-space: nowrap;
}

body.theme-gold-premium .profile-btn-logout {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 2px 8px rgba(184, 145, 37, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-gold-premium .profile-btn-logout:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-1px);
}

body.theme-dark .profile-btn-logout {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.theme-dark .profile-btn-logout:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: #d4af37;
  color: #f5d77f;
  transform: translateY(-1px);
}

body.theme-light .profile-btn-logout {
  background: rgba(245, 247, 250, 0.85);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-light .profile-btn-logout:hover {
  background: #ffffff;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.profile-btn-logout:active {
  transform: scale(0.97);
}

/* All The Way On The Bottom Actions (Unified Split Pill: Half Left Delete | Half Right Log Out) */
.settings-logout-section {
  margin-top: 26px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.settings-bottom-dual-btn {
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  direction: ltr !important; /* Always half left Delete, half right Log Out */
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-gold-premium .settings-bottom-dual-btn {
  background: linear-gradient(135deg, rgba(255, 252, 243, 0.95) 0%, rgba(250, 243, 227, 0.82) 100%);
  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 4px 18px rgba(184, 145, 37, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

body.theme-dark .settings-bottom-dual-btn {
  background: linear-gradient(135deg, rgba(28, 32, 44, 0.85) 0%, rgba(20, 24, 34, 0.92) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.theme-light .settings-bottom-dual-btn {
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 1px #ffffff;
}

.settings-dual-action-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 14px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.settings-dual-delete-btn {
  border-radius: 9999px 0 0 9999px;
}

.settings-dual-logout-btn {
  border-radius: 0 9999px 9999px 0;
}

body.theme-gold-premium .settings-dual-action-btn {
  color: #a82020;
}

body.theme-gold-premium .settings-dual-delete-btn {
  color: #dc2626;
}

body.theme-dark .settings-dual-logout-btn {
  color: #f87171;
}

body.theme-dark .settings-dual-delete-btn {
  color: #ef4444;
}

body.theme-light .settings-dual-action-btn {
  color: #dc2626;
}

.settings-dual-action-btn:hover {
  background: rgba(220, 38, 38, 0.08);
}

body.theme-gold-premium .settings-dual-logout-btn:hover {
  color: #dc2626;
}

body.theme-dark .settings-dual-action-btn:hover {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

body.theme-light .settings-dual-action-btn:hover {
  background: #fef2f2;
}

.settings-dual-action-btn:active {
  background: rgba(220, 38, 38, 0.14);
  transform: scale(0.98);
}

body.theme-dark .settings-dual-action-btn:active {
  background: rgba(239, 68, 68, 0.22);
}

.settings-dual-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(220, 38, 38, 0.2);
  margin: 9px 0;
  flex-shrink: 0;
}

body.theme-dark .settings-dual-divider {
  background: rgba(239, 68, 68, 0.28);
}

.settings-bottom-logout-btn {
  width: 100%;
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  min-height: 48px;
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  cursor: pointer;
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  white-space: nowrap;
}

body.theme-gold-premium .settings-bottom-logout-btn {
  background: linear-gradient(135deg, rgba(255, 252, 243, 0.9) 0%, rgba(250, 243, 227, 0.75) 100%);
  color: #a82020;
  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 4px 18px rgba(184, 145, 37, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

body.theme-gold-premium .settings-bottom-logout-btn:hover {
  background: rgba(254, 242, 242, 0.95);
  border-color: rgba(220, 38, 38, 0.45);
  color: #dc2626;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

body.theme-dark .settings-bottom-logout-btn {
  background: linear-gradient(135deg, rgba(28, 32, 44, 0.85) 0%, rgba(20, 24, 34, 0.92) 100%);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.theme-dark .settings-bottom-logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 28px rgba(239, 68, 68, 0.2);
}

body.theme-light .settings-bottom-logout-btn {
  background: #ffffff;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 1px 1px #ffffff;
}

body.theme-light .settings-bottom-logout-btn:hover {
  background: #fef2f2;
  border-color: #dc2626;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.12);
}

.settings-bottom-logout-btn:active {
  transform: scale(0.97);
}

/* Delete Worker Account in Team Rates / Profile view - Highly Visible & Premium */
.btn-delete-worker-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.90rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  color: #dc2626;
  border: 1.5px solid #ef4444;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.16), 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-top: 12px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-delete-worker-profile svg {
  stroke: #dc2626;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-delete-worker-profile:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.24);
}

.btn-delete-worker-profile:hover svg {
  stroke: #b91c1c;
  transform: scale(1.1);
}

.btn-delete-worker-profile:active {
  transform: scale(0.98);
}

body.theme-gold-premium .btn-delete-worker-profile {
  background: #ffffff;
  color: #dc2626;
  border: 1.5px solid #ef4444;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
}

body.theme-dark .btn-delete-worker-profile {
  background: #201317;
  color: #f87171;
  border-color: #ef4444;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

body.theme-dark .btn-delete-worker-profile svg {
  stroke: #f87171;
}

body.theme-dark .btn-delete-worker-profile:hover {
  background: #2d181e;
  color: #fca5a5;
  border-color: #f87171;
}

body.theme-light .btn-delete-worker-profile {
  background: #ffffff;
  color: #dc2626;
  border: 1.5px solid #ef4444;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
}

.settings-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.theme-card-option {
  padding: 14px 10px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.theme-card-option:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.theme-card-option.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 16px var(--gold-glow);
}

.theme-card-icon {
  font-size: 1.5rem;
}

.theme-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.settings-role-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-card-option {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-card-option:hover {
  transform: translateX(3px);
  border-color: var(--gold-primary);
}

.role-card-option.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 4px 18px var(--gold-glow);
}

/* Suppress internal in-app toast banners */
#letoile-toast,
.toast-notification {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Luxury In-App Chat Notification Banner (Minimalist Dynamic Island Style)
   ========================================================================== */
.chat-inapp-notification-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 999999;
  width: calc(100% - 28px);
  max-width: 420px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.chat-inapp-notification-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-inapp-notification-banner.is-hiding {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.chat-inapp-notif-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(22, 22, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 16px rgba(212, 175, 55, 0.2);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.chat-inapp-notif-inner:hover {
  border-color: rgba(212, 175, 55, 0.7);
  transform: scale(1.01);
}

.chat-inapp-notif-inner:active {
  transform: scale(0.98);
}

.chat-inapp-notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-inapp-notif-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.chat-inapp-notif-title {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.15;
}

.chat-inapp-notif-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.chat-inapp-notif-sender {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-inapp-notif-body {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.chat-inapp-notif-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.chat-inapp-notif-close:hover {
  color: #ffffff;
}

/* ==========================================================================
   Luxury In-App Signed-By-Jessy Notification Banner
   ========================================================================== */
.letoile-jessy-signin-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 999999;
  width: calc(100% - 28px);
  max-width: 440px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.letoile-jessy-signin-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.letoile-jessy-signin-banner.is-hiding {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.jessy-signin-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: rgba(24, 22, 18, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 55, 0.35);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.jessy-signin-banner-inner:hover {
  border-color: rgba(212, 175, 55, 0.85);
  transform: scale(1.01);
}

.jessy-signin-banner-inner:active {
  transform: scale(0.98);
}

.jessy-signin-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.jessy-signin-banner-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.jessy-signin-banner-header {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.15;
}

.jessy-signin-banner-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #161616;
  background: linear-gradient(135deg, #f3d47c, #d4af37);
  padding: 1.5px 7px;
  border-radius: 4px;
}

.jessy-signin-banner-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jessy-signin-banner-body {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.jessy-signin-banner-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.jessy-signin-banner-close:hover {
  color: #ffffff;
}

