/* ============================================================
   DG Telegram Mini App — Complete Dark Theme CSS
   Design system: Inter font, #000 bg, #1a1a1a cards, rgba borders
   ============================================================ */

/* ----------------------------------------------------------
   1. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: #000000;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

.d-none {
  display: none !important;
}

.tma-container {
  padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
  overflow-x: hidden;
  max-width: 100%;
}


/* ----------------------------------------------------------
   2b. Telegram-only access screen
   ---------------------------------------------------------- */
.telegram-only-screen {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(env(safe-area-inset-top, 0px), 24px) 22px max(env(safe-area-inset-bottom, 0px), 24px);
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(180deg, #101012 0%, #050506 100%);
  color: #F0EDE8;
}
.telegram-only-screen.d-none { display: none !important; }
.telegram-only-shell {
  width: min(100%, 360px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 26px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(20,20,22,0.78);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}
.telegram-only-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 12px 42px rgba(0,0,0,0.45);
}
.telegram-only-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.telegram-only-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(240,237,232,0.42);
}
.telegram-only-title {
  max-width: 300px;
  margin: 0;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: 0;
  color: #F0EDE8;
}
.telegram-only-text {
  max-width: 292px;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(240,237,232,0.58);
}
.telegram-only-hint {
  margin-top: 26px;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: rgba(240,237,232,0.42);
  font-size: 12px;
  font-weight: 500;
}
html.telegram-only-blocked,
body.telegram-only-blocked {
  min-height: 100%;
  overflow: hidden !important;
  background: #050506 !important;
}
body.telegram-only-blocked #telegramOnlyScreen {
  display: flex !important;
}
body.telegram-only-blocked #app,
body.telegram-only-blocked #bottomNav,
body.telegram-only-blocked #loadingOverlay,
body.telegram-only-blocked #splashOverlay,
body.telegram-only-blocked .screen {
  display: none !important;
}

/* ----------------------------------------------------------
   2. Scrollbar & Utilities
   ---------------------------------------------------------- */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------------------------------------------
   3. Loading Overlay (MVP: isLoading spinner)
   ---------------------------------------------------------- */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-overlay.d-none { display: none !important; }

.loading-spinner-border {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ----------------------------------------------------------
   3b. Splash Screen (1:1 MVP SplashScreen)
   ---------------------------------------------------------- */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  transition: opacity 500ms ease-in-out;
  box-shadow: 0 0 0 200px #000;
}
.splash-overlay.d-none { display: none !important; }
.splash-overlay.fade-out { opacity: 0; }

/* Photo layers — each fills the screen */
.splash-photo-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.splash-photo-layer.active { opacity: 1; }

/* Inner image container with Ken Burns (inset -10%, 120% size) */
.splash-photo-inner {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
}

.splash-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ken Burns animations — 6.5s total */
@keyframes kenBurns1 { from { transform: scale(1) translate(0,0); } to { transform: scale(1.1) translate(-2%,-1%); } }
@keyframes kenBurns2 { from { transform: scale(1.05) translate(1%,0); } to { transform: scale(1) translate(-1%,2%); } }
@keyframes kenBurns3 { from { transform: scale(1) translate(0,2%); } to { transform: scale(1.08) translate(2%,-1%); } }
@keyframes kenBurns4 { from { transform: scale(1.1) translate(-1%,1%); } to { transform: scale(1) translate(0,0); } }

/* Gradients */
.splash-gradient-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 35%);
  z-index: 2;
  pointer-events: none;
}
.splash-gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

/* Logo — top center, 80px circle */
.splash-logo-top {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 3;
  animation: logoAppear 0.9s ease-out 0.2s both;
}
.splash-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: block;
  object-fit: cover;
}

/* Per-slide subtitle text — positioned at bottom */
.splash-text-layer {
  position: absolute;
  bottom: 72px;
  left: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 3;
}
.splash-text-layer.active { opacity: 1; }

.splash-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
  text-align: center;
}

/* Indicators — thin bars at very bottom */
.splash-indicators {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
  animation: logoAppear 0.6s ease-out 0.6s both;
}
.splash-indicator {
  width: 5px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255,255,255,0.3);
  transition: all 0.4s ease;
}
.splash-indicator.active {
  width: 20px;
  background: rgba(255,255,255,0.9);
}

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

/* ----------------------------------------------------------
   4. Login Screen (1:1 MVP OnboardingScreen)
   ---------------------------------------------------------- */

/* Decorative rings — centered absolute */
.login-rings-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.login-ring {
  position: absolute;
  border-radius: 50%;
}
.login-ring-lg { width: 400px; height: 400px; border: 1px solid rgba(255,255,255,0.03); }
.login-ring-md { width: 300px; height: 300px; border: 1px solid rgba(255,255,255,0.04); }
.login-ring-sm { width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.05); }

/* Login content — full height centered column */
.login-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 24px;
}

/* Auth screens: no scroll, self-contained */
#loginScreen,
#otpScreen {
  position: relative;
  overflow: hidden;
  max-height: 100vh;
}

/* Slightly less top whitespace on auth screens */
#loginScreen .login-content,
#otpScreen .login-content {
  min-height: 85vh;
}

/* OTP screen: no extra top margin, form sits right after logo */
#otpScreen .login-form-inner {
  margin-top: 0;
}

/* Logo area — takes up top portion, animates up when form appears */
.login-logo-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.7s ease-out;
}
.login-logo-area.shifted-up {
  transform: translateY(-40px);
}

.login-logo-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.7s ease-out;
}
.login-logo-area.shifted-up .login-logo-circle {
  transform: scale(0.85);
}
.login-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-brand {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
  font-weight: 300;
}

/* Form area — slides up and fades in */
.login-form-area {
  width: 100%;
  max-width: 360px;
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
}
.login-form-area.visible {
  opacity: 1;
  transform: translateY(0);
}

.login-form-inner {
  margin-top: 40px;
}

.login-form-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  text-align: center;
}

.login-form-desc {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  margin-bottom: 24px;
  font-weight: 300;
  text-align: center;
}

.login-error {
  font-size: 14px;
  color: #FF3B30;
  text-align: center;
  margin-bottom: 8px;
}

.login-input {
  width: 100%;
  height: 56px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  color: #fff;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  transition: border-color 0.2s ease;
  margin-bottom: 16px;
}
.login-input::placeholder { color: #444; }
.login-input:focus { border-color: rgba(255,255,255,0.2); }

/* OTP code input (5 cells) */
.otp-code {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.otp-cell {
  width: 52px;
  height: 60px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  caret-color: transparent;
  pointer-events: none;
  transition: border-color 0.2s ease, transform 0.12s ease;
}

.otp-cell.otp-cell-active {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

/* Transparent overlay input — receives OS one-time-code autofill */
.otp-autofill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  font-size: 16px;
  border: none;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  cursor: text;
  outline: none;
}

/* OTP screen: logo takes fixed height so form sits higher */
#otpScreen .login-logo-area {
  flex: 0 0 auto;
  padding-top: 56px;
  padding-bottom: 8px;
}

/* Slide to confirm — 1:1 MVP */
.slide-to-confirm {
  position: relative;
  width: 100%;
  height: 64px;
  padding: 4px;
  background: #1a1a1a;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.3s;
}
.slide-to-confirm.disabled { opacity: 0.4; pointer-events: none; }

.slide-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  letter-spacing: -0.01em;
  pointer-events: none;
  z-index: 1;
}

.slide-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.slide-spinner.d-none { display: none !important; }

.slide-spinner-circle {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.slide-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: grab;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.slide-thumb svg {
  width: 24px;
  height: 24px;
  color: #000;
}

/* ----------------------------------------------------------
   5. Main Screen
   ---------------------------------------------------------- */
.main-screen {
  padding: 0 16px 100px;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 16px;
}

.main-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-header-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.main-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-header-text {
  display: flex;
  flex-direction: column;
}

.main-header-greeting {
  font-size: 11px;
  color: #666666;
  font-weight: 400;
}

.main-header-name {
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.notification-bell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-bell svg {
  width: 20px;
  height: 20px;
  color: #999999;
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #FF3B30;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #000000;
}

/* Hero Card */
.hero-card {
  border-radius: 20px;
  background: linear-gradient(135deg, #1a1a1a, #111111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  padding: 20px;
  margin-bottom: 16px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cd964;
}

.hero-badge .label {
  font-size: 12px;
  color: #4cd964;
  font-weight: 500;
}

.hero-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 13px;
  color: #666666;
  font-weight: 300;
  margin-bottom: 16px;
}

.hero-progress {
  margin-bottom: 8px;
}

.hero-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hero-progress-text {
  font-size: 12px;
  color: #999999;
}

.hero-progress-value {
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
}

.hero-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #ffffff, #cccccc);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 16px 16px;
}

.stat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px;
  border-radius: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 6px;
}

.stat-tile svg {
  width: 20px;
  height: 20px;
}

.stat-tile .stat-icon-green { color: #4cd964; }
.stat-tile .stat-icon-orange { color: #FF9800; }
.stat-tile .stat-icon-blue { color: #5AC8FA; }
.stat-tile .stat-icon-purple { color: #AF52DE; }
.stat-tile .stat-icon-red { color: #FF3B30; }

.stat-value {
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
}

.stat-label {
  font-size: 10px;
  color: #666666;
  text-align: center;
}

/* Voice Banner */
.voice-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  margin-bottom: 16px;
}

.voice-banner-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 16px;
  background: rgba(255, 152, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-banner-icon svg {
  width: 24px;
  height: 24px;
  color: #FF9800;
}

.voice-banner-text {
  flex: 1;
  min-width: 0;
}

.voice-banner-title {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 2px;
}

.voice-banner-desc {
  font-size: 12px;
  color: #666666;
  font-weight: 300;
}

.voice-banner-chevron {
  color: #444444;
  flex-shrink: 0;
}

.voice-banner-chevron svg {
  width: 20px;
  height: 20px;
}

/* Menu Items */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.15s ease;
  cursor: pointer;
}

.menu-item:active {
  background: #222222;
}

.menu-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item-icon svg {
  width: 22px;
  height: 22px;
}

.menu-item-icon.icon-green { background: rgba(76, 217, 100, 0.1); color: #4cd964; }
.menu-item-icon.icon-orange { background: rgba(255, 152, 0, 0.1); color: #FF9800; }
.menu-item-icon.icon-blue { background: rgba(90, 200, 250, 0.1); color: #5AC8FA; }
.menu-item-icon.icon-red { background: rgba(255, 59, 48, 0.1); color: #FF3B30; }
.menu-item-icon.icon-purple { background: rgba(175, 82, 222, 0.1); color: #AF52DE; }

.menu-item-content {
  flex: 1;
  min-width: 0;
}

.menu-item-title {
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 2px;
}

.menu-item-desc {
  font-size: 12px;
  color: #666666;
  font-weight: 300;
}

.menu-item-chevron {
  color: #444444;
  flex-shrink: 0;
}

.menu-item-chevron svg {
  width: 20px;
  height: 20px;
}

/* ----------------------------------------------------------
   6. Common Screen Components
   ---------------------------------------------------------- */
.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px;
}

.back-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.back-btn:active {
  background: #222222;
}

.back-btn svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.screen-header-text {
  flex: 1;
  min-width: 0;
}

.screen-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.screen-subtitle {
  font-size: 12px;
  color: #666666;
  font-weight: 300;
}

.screen-content {
  padding: 0 16px 100px;
}

.screen-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  animation: pulse 2s ease-in-out infinite;
}

.screen-loading-text {
  font-size: 14px;
  color: #666666;
}

.screen-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.screen-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.screen-empty-icon svg {
  width: 28px;
  height: 28px;
  color: #444444;
}

.screen-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.screen-empty-desc {
  font-size: 13px;
  color: #666666;
  font-weight: 300;
}

.error-message {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #FF3B30;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 12px;
}

.success-message {
  background: rgba(76, 217, 100, 0.1);
  border: 1px solid rgba(76, 217, 100, 0.3);
  color: #4cd964;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 12px;
}

/* ----------------------------------------------------------
   7. Profile Screen
   ---------------------------------------------------------- */
.profile-screen {
  padding: 0 16px 100px;
}

.profile-avatar-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(90, 200, 250, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.profile-avatar svg {
  width: 36px;
  height: 36px;
  color: #5AC8FA;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.profile-phone {
  font-size: 14px;
  color: #666666;
}

.profile-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.profile-field {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
}

.profile-field label {
  display: block;
  font-size: 11px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.profile-field input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  padding: 0;
}

.profile-field input::placeholder {
  color: #555555;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-save-btn {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.profile-save-btn:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.profile-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-logout-btn {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #666666;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.profile-logout-btn:active {
  background: rgba(255, 255, 255, 0.03);
}

/* ----------------------------------------------------------
   8. Documents Screen
   ---------------------------------------------------------- */
.docs-screen {
  padding: 0 16px 100px;
}

.docs-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.docs-tabs::-webkit-scrollbar {
  display: none;
}

.docs-tab {
  padding: 8px 16px;
  border-radius: 100px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: #666666;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.docs-tab.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.docs-category-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 16px;
}

.docs-category-filters::-webkit-scrollbar {
  display: none;
}

.docs-category-filter {
  padding: 8px 16px;
  border-radius: 100px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: #666666;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.docs-category-filter.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.docs-section {
  margin-bottom: 20px;
}

.docs-month-label {
  font-size: 11px;
  font-weight: 700;
  color: #FF9800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-left: 4px;
}

.docs-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-left: 4px;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.document-card-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-card-icon svg {
  width: 20px;
  height: 20px;
}

.document-card-icon.icon-blue { background: rgba(90, 200, 250, 0.1); color: #5AC8FA; }
.document-card-icon.icon-orange { background: rgba(255, 152, 0, 0.1); color: #FF9800; }
.document-card-icon.icon-green { background: rgba(76, 217, 100, 0.1); color: #4cd964; }
.document-card-icon.icon-red { background: rgba(255, 59, 48, 0.1); color: #FF3B30; }
.document-card-icon.icon-purple { background: rgba(175, 82, 222, 0.1); color: #AF52DE; }

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

.document-card-name {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
}

.document-card-meta {
  font-size: 12px;
  color: #666666;
}

.document-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.document-card-status {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
}

.document-card-status.status-pending {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.document-card-status.status-signed {
  background: rgba(76, 217, 100, 0.1);
  color: #4cd964;
}

.document-card-status.status-rejected {
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
}

.document-download-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.document-download-btn:active {
  background: rgba(255, 255, 255, 0.08);
}

.document-download-btn svg {
  width: 16px;
  height: 16px;
  color: #666666;
}

/* ----------------------------------------------------------
   9. Photos Screen
   ---------------------------------------------------------- */
.photos-screen {
  padding: 0 16px 100px;
}

.photos-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.photos-stat {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  padding: 12px 8px;
}

.photos-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.photos-stat-label {
  font-size: 10px;
  color: #666666;
}

.photos-month-filters,
.photos-theme-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.photos-month-filters::-webkit-scrollbar,
.photos-theme-filters::-webkit-scrollbar {
  display: none;
}

.photos-filter-btn {
  padding: 8px 16px;
  border-radius: 100px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: #666666;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.photos-filter-btn.active-month {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.photos-filter-btn.active-theme {
  background: #FF9800;
  border-color: #FF9800;
  color: #000000;
}

.photos-month-group {
  margin-bottom: 20px;
}

.photos-month-group-label {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-left: 4px;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.photo-thumbnail {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}

.photo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-thumbnail:active img {
  transform: scale(1.05);
}

.photo-thumbnail-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
}

/* ----------------------------------------------------------
   10. Photo Lightbox
   ---------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000000;
  display: flex;
  flex-direction: column;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  flex-shrink: 0;
}

.lightbox-counter {
  font-size: 14px;
  color: #666666;
}

.lightbox-theme-badge {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 152, 0, 0.15);
  color: #FF9800;
  font-size: 12px;
  font-weight: 500;
}

.lightbox-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.lightbox-photo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.lightbox-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.lightbox-nav.prev {
  left: 12px;
}

.lightbox-nav.next {
  right: 12px;
}

.lightbox-bottom {
  padding: 12px 16px 24px;
  flex-shrink: 0;
}

.lightbox-info {
  margin-bottom: 12px;
}

.lightbox-date {
  font-size: 13px;
  color: #666666;
  margin-bottom: 4px;
}

.lightbox-desc {
  font-size: 14px;
  color: #999999;
}

.lightbox-send-btn {
  width: 100%;
  padding: 14px 0;
  border-radius: 16px;
  background: #FF9800;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.lightbox-send-btn:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.lightbox-send-btn svg {
  width: 18px;
  height: 18px;
}

/* ----------------------------------------------------------
   11. Requests Screen
   ---------------------------------------------------------- */
.requests-screen {
  padding: 0 16px 100px;
}

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

.request-stat {
  text-align: center;
  padding: 8px 4px;
  border-radius: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.request-stat.active {
  border-color: rgba(255, 255, 255, 0.2);
}

.request-stat.active-green { border-color: rgba(76, 217, 100, 0.4); }
.request-stat.active-orange { border-color: rgba(255, 152, 0, 0.4); }
.request-stat.active-blue { border-color: rgba(90, 200, 250, 0.4); }
.request-stat.active-red { border-color: rgba(255, 59, 48, 0.4); }

.request-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.request-stat-label {
  font-size: 10px;
  color: #666666;
}

.request-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.request-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.request-card-number {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.request-card-date {
  font-size: 12px;
  color: #666666;
}

.request-card-body {
  margin-bottom: 10px;
}

.request-card-desc {
  font-size: 13px;
  color: #999999;
  line-height: 1.5;
}

.request-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.request-type-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
}

.request-type-badge.type-warranty { background: rgba(90, 200, 250, 0.1); color: #5AC8FA; }
.request-type-badge.type-service { background: rgba(175, 82, 222, 0.1); color: #AF52DE; }
.request-type-badge.type-question { background: rgba(255, 152, 0, 0.1); color: #FF9800; }

.request-status-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
}

.request-status-badge.status-new { background: rgba(90, 200, 250, 0.1); color: #5AC8FA; }
.request-status-badge.status-progress { background: rgba(255, 152, 0, 0.1); color: #FF9800; }
.request-status-badge.status-done { background: rgba(76, 217, 100, 0.1); color: #4cd964; }
.request-status-badge.status-rejected { background: rgba(255, 59, 48, 0.1); color: #FF3B30; }

.request-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.request-add-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.request-add-btn:active {
  opacity: 0.9;
  transform: scale(0.95);
}

.request-add-btn svg {
  width: 20px;
  height: 20px;
}

/* ----------------------------------------------------------
   12. Create Request Screen (2-step wizard)
   ---------------------------------------------------------- */
.create-request-screen {
  padding: 0 16px 100px;
}

.wizard-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.wizard-step {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.wizard-step.active {
  background: #ffffff;
}

.wizard-step.completed {
  background: #4cd964;
}

.wizard-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.wizard-section-desc {
  font-size: 13px;
  color: #666666;
  margin-bottom: 16px;
}

.type-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.type-selector-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.type-selector-card.selected {
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid #444444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.radio-indicator.selected {
  border-color: #ffffff;
}

.radio-indicator.selected::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
}

.type-selector-text {
  flex: 1;
}

.type-selector-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.type-selector-desc {
  font-size: 12px;
  color: #666666;
}

.dark-input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.dark-input::placeholder {
  color: #555555;
}

.dark-input:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  min-height: 120px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.dark-textarea::placeholder {
  color: #555555;
}

.dark-textarea:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #999999;
  margin-bottom: 6px;
}

.file-attachment-area {
  margin-bottom: 16px;
}

.file-attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.file-attachment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.file-attachment-name {
  flex: 1;
  font-size: 13px;
  color: #999999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-attachment-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666666;
}

.file-attachment-remove svg {
  width: 16px;
  height: 16px;
}

.file-attachment-add {
  width: 100%;
  height: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: #666666;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.file-attachment-add:active {
  border-color: rgba(255, 255, 255, 0.2);
  color: #999999;
}

.file-attachment-add svg {
  width: 18px;
  height: 18px;
}

.wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.wizard-back-btn {
  flex: 1;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #999999;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.wizard-next-btn {
  flex: 2;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.wizard-next-btn:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.wizard-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   13. Feedback / NPS Screen
   ---------------------------------------------------------- */
.feedback-screen {
  padding: 0 16px 100px;
}

.stages-feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-card {
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.stage-card.completed {
  border-color: rgba(76, 217, 100, 0.2);
}

.stage-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-card-icon svg {
  width: 22px;
  height: 22px;
}

.stage-card-icon.rated {
  background: rgba(76, 217, 100, 0.1);
  color: #4cd964;
}

.stage-card-icon.unrated {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

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

.stage-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.stage-card-subtitle {
  font-size: 12px;
  color: #666666;
}

.stage-card-score {
  font-size: 18px;
  font-weight: 700;
  color: #4cd964;
  flex-shrink: 0;
}

.stage-card-chevron {
  color: #444444;
  flex-shrink: 0;
}

.stage-card-chevron svg {
  width: 20px;
  height: 20px;
}

/* NPS Bottom Sheet */
.nps-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
}

.nps-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nps-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #1a1a1a;
  border-radius: 20px 20px 0 0;
  min-height: 60vh;
  max-height: 80vh;
  padding-bottom: 72px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nps-sheet::-webkit-scrollbar {
  display: none;
}

.nps-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px auto 0;
}

.nps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.nps-header-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.nps-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nps-close svg {
  width: 16px;
  height: 16px;
  color: #999999;
}

.nps-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  margin: 0 20px 20px;
}

.nps-progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nps-body {
  padding: 0 20px 24px;
}

.nps-question {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.nps-question-desc {
  font-size: 13px;
  color: #666666;
  margin-bottom: 16px;
}

.nps-rating-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.nps-rating-btn {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #999999;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nps-rating-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nps-rating-btn.selected {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  font-weight: 700;
}

.nps-rating-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nps-rating-labels span {
  font-size: 10px;
  color: #555555;
}

.nps-comment-label {
  font-size: 13px;
  font-weight: 500;
  color: #999999;
  margin-bottom: 8px;
}

.nps-comment {
  width: 100%;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 16px;
}

.nps-comment::placeholder {
  color: #555555;
}

.nps-comment:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.nps-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nps-submit-btn:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.nps-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   14. FAQ Screen (accordion)
   ---------------------------------------------------------- */
.faq-screen {
  padding: 0 16px 100px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  gap: 12px;
  user-select: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: #444444;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question.open svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px;
  color: #999999;
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ----------------------------------------------------------
   15. Partners Screen
   ---------------------------------------------------------- */
.partners-screen {
  padding: 0 16px 100px;
}

.partner-section {
  margin-bottom: 20px;
}

.partner-category-label {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-left: 4px;
}

.partner-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partner-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.partner-card:active {
  background: #222222;
}

.partner-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.partner-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.partner-card-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.partner-card-contact {
  font-size: 12px;
  color: #666666;
}

.partner-card-desc {
  font-size: 13px;
  color: #999999;
  margin-top: 6px;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   16. Chats Screen
   ---------------------------------------------------------- */
.chats-screen {
  padding: 0 16px 100px;
}

.chat-section {
  margin-bottom: 20px;
}

.chat-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-left: 4px;
}

.chat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.chat-card:active {
  background: #222222;
}

.chat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.chat-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.chat-card-time {
  font-size: 11px;
  color: #555555;
}

.chat-card-info {
  font-size: 12px;
  color: #666666;
}

.chat-card-unread {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #5AC8FA;
  color: #000000;
  font-size: 11px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ----------------------------------------------------------
   17. Projects Screen
   ---------------------------------------------------------- */
.projects-screen {
  padding: 0 16px 100px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.project-card:active {
  background: #222222;
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.project-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  background: rgba(255, 152, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-icon svg {
  width: 22px;
  height: 22px;
  color: #FF9800;
}

.project-card-title-area {
  flex: 1;
  min-width: 0;
}

.project-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.project-card-subtitle {
  font-size: 12px;
  color: #666666;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.project-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}

.badge-active {
  background: rgba(76, 217, 100, 0.1);
  color: #4cd964;
}

.badge-inactive {
  background: rgba(102, 102, 102, 0.1);
  color: #666666;
}

.badge-category {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.badge-stage {
  background: rgba(90, 200, 250, 0.1);
  color: #5AC8FA;
}

.project-info-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-info-label {
  font-size: 12px;
  color: #666666;
}

.project-info-value {
  font-size: 12px;
  color: #ffffff;
  font-weight: 500;
}

/* Project Detail */
.project-detail-screen {
  padding: 0 16px 100px;
}

.project-detail-header {
  margin-bottom: 20px;
}

.project-detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.project-detail-subtitle {
  font-size: 13px;
  color: #666666;
}

.project-detail-info {
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-bottom: 16px;
}

.project-detail-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-detail-info-row:last-child {
  border-bottom: none;
}

.project-detail-info-label {
  font-size: 13px;
  color: #666666;
}

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

/* ----------------------------------------------------------
   18. Statuses / Stages Screen (preserve existing dark CSS)
   ---------------------------------------------------------- */
.stages-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 16px;
}

.stages-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.stages-back-btn:active {
    background: var(--bg-hover);
}

.stages-back-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.stages-header-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

.stages-header-text p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 2px 0 0;
}

/* Infographic summary card */
.stages-summary {
    margin: 0 16px 24px;
    padding: 20px;
    border-radius: 24px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stages-summary-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Circular progress ring */
.stages-ring {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.stages-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stages-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 6;
}

.stages-ring .ring-fill {
    fill: none;
    stroke: #fff;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.stages-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Summary stats */
.stages-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stages-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stages-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stages-stat-icon.green { background: rgba(76, 217, 100, 0.1); }
.stages-stat-icon.orange { background: rgba(255, 152, 0, 0.1); }
.stages-stat-icon.gray { background: rgba(255, 255, 255, 0.06); }

.stages-stat-icon svg {
    width: 16px;
    height: 16px;
}

.stages-stat-icon.green svg { color: #4cd964; }
.stages-stat-icon.orange svg { color: #FF9800; }
.stages-stat-icon.gray svg { color: #555; }

.stages-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

.stages-stat-label {
    font-size: 11px;
    font-weight: 300;
    color: var(--text-secondary);
    margin: 0;
}

/* Summary progress bar */
.stages-summary-bar {
    margin-top: 20px;
}

.stages-summary-bar .bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.stages-summary-bar .bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #fff, #999);
    transition: width 0.7s ease;
}

.stages-summary-bar .bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: #555;
}

/* Timeline */
.stages-timeline {
    padding: 0 16px 32px;
}

.stage-item {
    display: flex;
    gap: 16px;
}

/* Timeline dot + line */
.stage-timeline-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
}

.stage-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.stage-dot.completed {
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.stage-dot.active {
    background: rgba(255, 152, 0, 0.15);
    border: 2px solid #FF9800;
    box-shadow: 0 0 16px rgba(255, 152, 0, 0.2);
}

.stage-dot.upcoming {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.stage-dot svg {
    width: 20px;
    height: 20px;
}

.stage-dot.completed svg { color: #000; }

.stage-dot-number {
    font-size: 12px;
    font-weight: 700;
}

.stage-dot.active .stage-dot-number { color: #FF9800; }
.stage-dot.upcoming .stage-dot-number { color: #555; }

.stage-line {
    width: 2px;
    flex: 1;
}

.stage-line.completed {
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
}

.stage-line.active {
    background: linear-gradient(to bottom, rgba(255,152,0,0.3), rgba(255,255,255,0.04));
}

.stage-line.upcoming {
    background: rgba(255, 255, 255, 0.04);
}

/* Stage content */
.stage-content {
    flex: 1;
    min-width: 0;
    padding-bottom: 20px;
}

.stage-content.upcoming {
    opacity: 0.4;
}

.stage-content-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 8px;
    margin-bottom: 8px;
}

.stage-title {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.stage-title.active {
    color: #fff;
    font-size: 17px;
}

.stage-title.completed {
    color: #fff;
    font-size: 15px;
}

.stage-title.upcoming-text {
    color: var(--text-secondary);
    font-size: 15px;
}

.stage-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
    margin: 2px 0 0;
}

.stage-badge {
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.stage-badge.done {
    background: rgba(76, 217, 100, 0.1);
    color: #4cd964;
}

.stage-badge.now {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

/* Stage photo card */
.stage-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.stage-photo.active-photo {
    height: 240px;
}

.stage-photo.completed-photo {
    height: 240px;
}

.stage-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

.stage-photo-gradient {
    position: absolute;
    inset: 0;
}

.stage-photo-gradient.active-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}

.stage-photo-gradient.completed-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Active stage progress inside photo */
.stage-photo-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
}

.stage-photo-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stage-photo-progress-label {
    font-size: 11px;
    font-weight: 500;
    color: #FF9800;
}

.stage-photo-progress-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.stage-photo-progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.stage-photo-progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #FF9800, #FFB74D);
    transition: width 0.5s ease;
}

/* ── Sub-stages ── */
.substages-info {
    margin-top: 10px;
}

.substages-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.substages-counter {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
}

.substages-minibar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.substages-minibar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #fff 0%, #999 100%);
    transition: width 0.5s ease;
}

.substages-percent {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.substages-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #888;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.substages-toggle:active {
    background: rgba(255,255,255,0.08);
}

.substages-toggle-text {
    color: inherit;
}

.substages-toggle-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.substages-toggle.open .substages-toggle-arrow {
    transform: rotate(180deg);
}

.substages-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
}

.substages-panel.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 10px;
}

.substage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.substage-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.substage-item.done .substage-dot {
    background: rgba(76, 217, 100, 0.15);
}

.substage-item.done .substage-dot svg {
    width: 12px;
    height: 12px;
    color: #4cd964;
}

.substage-item.current .substage-dot {
    background: rgba(255, 152, 0, 0.15);
    border: 1.5px solid #FF9800;
}

.substage-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF9800;
    animation: substage-pulse 1.5s infinite;
}

@keyframes substage-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.substage-item.pending .substage-dot {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.substage-name {
    font-size: 13px;
    color: #666;
}

.substage-item.done .substage-name {
    color: #999;
}

.substage-item.current .substage-name {
    color: #fff;
    font-weight: 500;
}

/* Other screens need white bg for readability */


/* ----------------------------------------------------------
   19. Manager Screens
   ---------------------------------------------------------- */
.manager-screen {
  padding: 0 16px 100px;
}

.manager-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-left: 4px;
}

.manager-client-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manager-client-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.manager-client-card:active {
  background: #222222;
}

.manager-client-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.manager-client-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.manager-client-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
}

.manager-client-info {
  font-size: 12px;
  color: #666666;
}

.manager-chat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manager-chat-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.manager-chat-card:active {
  background: #222222;
}

.manager-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.manager-chat-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.manager-chat-time {
  font-size: 11px;
  color: #555555;
}

.manager-chat-preview {
  font-size: 13px;
  color: #666666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-chat-unread {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #FF9800;
  color: #000000;
  font-size: 11px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ----------------------------------------------------------
   20. Estimates Screen
   ---------------------------------------------------------- */
.estimates-screen {
  padding: 0 16px 100px;
}

.estimate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.estimate-card {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.estimate-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.estimate-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.estimate-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.estimate-total {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.estimate-date {
  font-size: 12px;
  color: #666666;
}

.estimate-body {
  padding: 12px 16px 16px;
}

.estimate-category-card {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.estimate-category-card:last-child {
  border-bottom: none;
}

.estimate-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.estimate-category-name {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.estimate-category-total {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.estimate-category-items {
  font-size: 12px;
  color: #666666;
}

.estimate-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.estimate-item-name {
  font-size: 12px;
  color: #999999;
}

.estimate-item-amount {
  font-size: 12px;
  color: #999999;
  font-weight: 500;
}

/* ----------------------------------------------------------
   21. CTA Buttons
   ---------------------------------------------------------- */
.btn-primary-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-primary-dark:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.btn-primary-dark:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-secondary-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #999999;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-secondary-dark:active {
  background: rgba(255, 255, 255, 0.03);
}

.btn-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: #FF9800;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-orange:active {
  opacity: 0.9;
  transform: scale(0.98);
}

.btn-orange:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   22. Loading Overlay
   ---------------------------------------------------------- */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner-large {
  width: 40px;
  height: 40px;
  border: 3px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ----------------------------------------------------------
   23. Animations
   ---------------------------------------------------------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes kenBurns1 {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.18) translate(-3%, 1%); }
}

@keyframes kenBurns2 {
  from { transform: scale(1.05) translate(2%, 1%); }
  to { transform: scale(1.2) translate(-2%, -1%); }
}

@keyframes kenBurns3 {
  from { transform: scale(1) translate(0, 2%); }
  to { transform: scale(1.15) translate(1%, -2%); }
}

@keyframes kenBurns4 {
  from { transform: scale(1.05) translate(-1%, 0); }
  to { transform: scale(1.2) translate(2%, -1%); }
}

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

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

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Utility animation classes */
.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.4s ease-out;
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

/* ----------------------------------------------------------
   24. Responsive & Safe Area Helpers
   ---------------------------------------------------------- */
.safe-area-top {
  padding-top: env(safe-area-inset-top, 0px);
}

.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Bottom fixed actions area */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
  background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0.9) 60%, transparent);
  z-index: 30;
}

/* Touch feedback */
.touch-feedback {
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.touch-feedback:active {
  transform: scale(0.97);
  opacity: 0.8;
}

/* ==============================================================
   25. MISSING CLASSES — Splash, Login, Buttons, Forms, etc.
   ============================================================== */

/* --- Buttons --- */
.btn-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: #4cd964;
  color: #000;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-cta:active { opacity: 0.8; }

.btn-cta-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #FF9800;
  color: #000;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-cta-orange svg { width: 18px; height: 18px; }
.btn-cta-orange:active { opacity: 0.8; }

.btn-outline {
  display: block;
  width: 100%;
  padding: 14px;
  background: transparent;
  color: #FF3B30;
  border: 1px solid rgba(255,59,48,0.3);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity 0.2s;
}

.btn-outline:active { opacity: 0.7; }

.add-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(76,217,100,0.1);
  color: #4cd964;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.add-btn svg { width: 20px; height: 20px; }

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.icon-btn svg { width: 20px; height: 20px; }

/* --- Forms --- */
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: rgba(76,217,100,0.4);
}

.form-input::placeholder { color: #666; }

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.form-textarea:focus {
  border-color: rgba(76,217,100,0.4);
}

.form-textarea::placeholder { color: #666; }

/* --- Profile --- */
.profile-content {
  padding: 16px;
  text-align: center;
}

.profile-form {
  margin-top: 24px;
  text-align: left;
}

/* --- Empty State --- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  color: #444;
  margin-bottom: 16px;
}

.empty-state-icon svg {
  width: 100%;
  height: 100%;
}

.empty-state-text {
  color: #666;
  font-size: 15px;
}

/* --- Loading State --- */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.loading-spinner-small {
  width: 32px;
  height: 32px;
  color: #4cd964;
  animation: spin 1s linear infinite;
}

.loading-spinner-small svg {
  width: 100%;
  height: 100%;
}

.loading-text {
  color: #666;
  font-size: 14px;
  margin-top: 12px;
}

/* --- Error Container --- */
.error-container {
  padding: 16px;
  background: rgba(255,59,48,0.08);
  border: 1px solid rgba(255,59,48,0.2);
  border-radius: 12px;
  color: #FF3B30;
  margin: 16px;
  font-size: 14px;
}

/* --- Filter Pills & Tab Pills --- */
.filter-row {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.filter-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: #999;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-pill-active {
  background: rgba(76,217,100,0.12);
  color: #4cd964;
  border-color: rgba(76,217,100,0.25);
}

.tab-pill {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: #999;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-pill-active {
  background: rgba(76,217,100,0.12);
  color: #4cd964;
  border-color: rgba(76,217,100,0.25);
}

.documents-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.documents-grid {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Section Label --- */
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  margin-top: 8px;
}

/* --- Main Screen --- */
.main-menu {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.main-menu-manager {
  padding: 16px;
  margin: 16px;
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.manager-menu-title {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 0 12px;
}

.main-greeting-text {
  font-size: 13px;
  color: #999;
}

.main-greeting-name {
  font-size: 18px;
  font-weight: 700;
}

.main-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #FF3B30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item-text {
  flex: 1;
}

/* --- Hero Project Card --- */
.hero-project-card {
  margin: 0 16px 16px;
  padding: 24px 20px 16px;
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-project-content {
  margin-bottom: 16px;
}

.hero-project-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cd964;
  flex-shrink: 0;
}

.hero-status-text {
  font-size: 13px;
  color: #4cd964;
  font-weight: 500;
}

.hero-project-subtitle {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-progress-label {
  font-size: 14px;
  color: #aaa;
  font-weight: 400;
}

.hero-project-name {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.hero-project-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-roadmap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.hero-roadmap-link svg {
  width: 18px;
  height: 18px;
}

/* --- Quick Stats --- */
.quick-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.quick-stat-item:active {
  transform: scale(0.95);
  background: #222;
}

.quick-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-stat-icon svg {
  width: 20px;
  height: 20px;
}

.quick-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.quick-stat-label {
  font-size: 11px;
  color: #666;
}

/* --- Requests --- */
.requests-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.request-type-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-type-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.request-type-card:has(input:checked) {
  border-color: rgba(76,217,100,0.4);
  background: rgba(76,217,100,0.04);
}

.request-type-card input[type="radio"] {
  display: none;
}

.request-type-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #444;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.request-type-card:has(input:checked) .request-type-radio {
  border-color: #4cd964;
}

.request-type-card:has(input:checked) .request-type-radio::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #4cd964;
}

.request-type-info {
  flex: 1;
}

.request-type-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.request-type-desc {
  font-size: 13px;
  color: #666;
}

/* --- Create Request --- */
.create-request-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 16px 24px;
}

.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.progress-step-active {
  background: #4cd964;
  color: #000;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.08);
}

.create-request-step {
  padding: 0 0 24px;
}

.step-label {
  font-size: 15px;
  font-weight: 500;
  color: #999;
  padding: 0 16px 16px;
}

.create-request-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  text-align: center;
}

.success-checkmark {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.success-checkmark svg {
  width: 100%;
  height: 100%;
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
}

/* --- File Attachments --- */
.file-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.file-add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-add-btn:hover {
  border-color: rgba(76,217,100,0.4);
}

.file-add-btn svg {
  width: 18px;
  height: 18px;
}

/* --- Detail Content --- */
.detail-content {
  padding: 16px;
}

/* --- Photo Lightbox --- */
.photo-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: #000;
  display: flex;
  flex-direction: column;
}

.photo-lightbox.d-none { display: none !important; }

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}

.lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lightbox-photo-area {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-photo-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.lightbox-arrow svg { width: 24px; height: 24px; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

.lightbox-footer {
  padding: 16px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  text-align: center;
}

.lightbox-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

/* --- Lists --- */
.chats-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clients-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.managers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.projects-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partners-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.estimates-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-stage-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-accordion {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Search Bar --- */
.search-bar {
  padding: 0 16px 16px;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
}

.search-input::placeholder { color: #666; }
.search-input:focus { border-color: rgba(76,217,100,0.4); }

/* --- NPS Widget --- */
.nps-widget {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nps-widget.d-none { display: none !important; }

.nps-widget-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}

.nps-widget-panel {
  position: relative;
  background: #1a1a1a;
  border-radius: 24px 24px 0 0;
  padding: 20px 16px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  max-height: 80vh;
  overflow-y: auto;
}

.nps-step {
  padding: 16px 0;
}

.nps-step-counter {
  font-size: 13px;
  color: #666;
}

.nps-progress-bar {
  height: 3px;
  background: #4cd964;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nps-employee-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Chat Detail --- */
.chat-detail-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.chat-input-area {
  padding: 12px 16px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.chat-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #fff;
  font-size: 15px;
  resize: none;
  max-height: 120px;
}

.chat-input::placeholder { color: #666; }

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4cd964;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-send-btn svg { width: 18px; height: 18px; }

/* --- Camera --- */
.camera-container {
  padding: 16px;
  height: calc(100vh - 80px);
}

.camera-iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #111;
}

/* --- Add Manager --- */
.add-manager-content {
  padding: 16px;
}

/* (slide-to-confirm styles are in section 4) */

/* NPS Widget - Extended Styles */
.nps-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nps-header-info { flex: 1; }
.nps-close {
  background: none; border: none; color: #666;
  cursor: pointer; padding: 4px; margin-left: 12px;
}
.nps-close:hover { color: #fff; }
.nps-progress {
  height: 4px; background: #333;
  border-radius: 2px; overflow: hidden; margin-top: 8px;
}
.nps-question-title {
  font-size: 18px; font-weight: 600; color: #fff;
  margin-bottom: 8px; line-height: 1.4;
}
.nps-question-subtitle {
  font-size: 14px; color: #666; margin-bottom: 16px;
}
.nps-employee-btn {
  display: block; width: 100%; text-align: left;
  padding: 14px 16px; background: #222;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; cursor: pointer; transition: all 0.2s;
}
.nps-employee-btn:hover { background: #2a2a2a; }
.nps-employee-btn.selected { background: #fff; border-color: #fff; }
.nps-employee-btn.selected .nps-employee-name { color: #000; }
.nps-employee-btn.selected .nps-employee-role { color: #666; }
.nps-employee-name { font-size: 15px; font-weight: 600; color: #fff; margin: 0; }
.nps-employee-role { font-size: 12px; color: #888; margin: 4px 0 0; }
.nps-rating-grid {
  display: grid; grid-template-columns: repeat(11, 1fr);
  gap: 3px; margin: 16px 0 8px;
}
.nps-rating-btn {
  height: 36px; border-radius: 8px; background: #222;
  border: 1px solid rgba(255,255,255,0.08); color: #888;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all 0.15s; padding: 0; min-width: 0;
}
.nps-rating-btn:hover { background: #2a2a2a; }
.nps-rating-btn-selected { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }
.nps-rating-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #555; padding: 0 2px;
}
.nps-comment {
  width: 100%; padding: 14px 16px; background: #222;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  color: #fff; font-size: 15px; resize: none; margin-top: 16px;
  font-family: inherit; box-sizing: border-box;
}
.nps-comment::placeholder { color: #555; }
.nps-comment:focus { outline: none; border-color: rgba(255,255,255,0.2); }
.nps-nav { display: flex; gap: 8px; margin-top: 16px; }
.nps-btn-back {
  flex: 1; height: 48px; border-radius: 14px; background: transparent;
  border: 1px solid rgba(255,255,255,0.15); color: #ccc;
  font-size: 15px; font-weight: 500; cursor: pointer;
}
.nps-btn-back:hover { background: rgba(255,255,255,0.05); }
.nps-btn-next {
  flex: 2; height: 48px; border-radius: 14px; background: #fff;
  border: none; color: #000; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
}
.nps-btn-next:hover { opacity: 0.9; }
.nps-btn-next:disabled { opacity: 0.3; cursor: default; }

/* Request stat cards */
.req-stat-card {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: #1a1a1a;
    padding: 12px 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    font-family: inherit;
    width: 100%;
}
.req-stat-card:active {
    transform: scale(0.96);
    background: #222;
}

/* Request cards (MVP PR #7 style) */
.req-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.req-card:active {
    background: #222;
    transform: scale(0.98);
}

/* ── Bottom Navigation Bar (PR #10) ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav.d-none { display: none !important; }

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 56px;
  max-width: 480px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:active {
  opacity: 0.7;
}

.bottom-nav-icon {
  width: 22px;
  height: 22px;
  color: #888;
  transition: color 0.2s;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 500;
  color: #888;
  transition: color 0.2s;
}

.bottom-nav-item.active .bottom-nav-icon {
  color: #fff;
}

.bottom-nav-item.active .bottom-nav-label {
  color: #fff;
}

/* Content padding for bottom nav */
.screen {
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 16px);
}

/* ========== TRUST SCREEN ========== */
.trust-content {
  padding: 0 16px 100px;
}

.trust-subtitle {
  color: #666;
  font-size: 13px;
  font-weight: 300;
  margin: -8px 0 20px 0;
  padding-left: 1px;
}

.trust-section {
  margin-bottom: 24px;
}

.trust-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.trust-section-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.trust-section-label {
  color: #999;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-video-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  padding-top: 56.25%;
}

.trust-awards-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.trust-awards-scroll::-webkit-scrollbar {
  display: none;
}

.trust-award-card {
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.trust-award-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-award-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.trust-award-info {
  padding: 16px;
}

.trust-award-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.trust-award-logo-text {
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.trust-award-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.trust-award-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.trust-award-desc {
  color: #666;
  font-size: 13px;
  font-weight: 300;
  margin: 0;
}

.trust-court-card {
  border-radius: 24px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.trust-court-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trust-court-zero {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(76,217,100,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-court-zero-num {
  color: #4cd964;
  font-size: 30px;
  font-weight: 700;
}

.trust-court-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.trust-court-desc {
  color: #666;
  font-size: 14px;
  margin: 2px 0 0;
}

.trust-court-details {
  margin-bottom: 20px;
}

.trust-court-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.trust-court-label {
  color: #666;
  font-size: 14px;
}

.trust-court-value {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.trust-court-ok {
  color: #4cd964;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-court-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.trust-check-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.trust-check-btn:active {
  background: rgba(255,255,255,0.1);
}

.trust-ratings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-rating-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  text-decoration: none;
  transition: background 0.2s;
}

.trust-rating-item:active {
  background: #111;
}

.trust-rating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,152,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 12px;
}

.trust-rating-text {
  flex: 1;
  min-width: 0;
}

.trust-rating-name {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.trust-rating-sub {
  color: #666;
  font-size: 13px;
  margin: 2px 0 0;
}

.trust-rating-ext {
  width: 16px;
  height: 16px;
  color: #444;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ========== DOMCLICK SECTION ========== */
.trust-domclick-hero-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245,166,35,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex-shrink: 0;
}

.trust-domclick-hero-num {
  color: #f5a623;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.trust-domclick-reviews {
  margin-bottom: 16px;
}

.trust-domclick-review {
  padding: 12px 0;
}

.trust-domclick-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.trust-domclick-review-author {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.trust-domclick-review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f5a623;
  font-size: 12px;
  font-weight: 600;
}

.trust-domclick-review-text {
  color: #999;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

/* ===== VIDEO SCREEN ===== */
.videos-content {
  padding: 0 16px 24px;
}
.video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 16px;
}
.video-tab {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.video-tab.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.video-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.video-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: transform 0.2s;
}
.video-card:active {
  transform: scale(0.98);
}
.video-card-thumb {
  position: relative;
  padding-top: 56.25%;
  background: rgba(255,255,255,0.04);
}
.video-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card-play svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}
.video-card-info {
  padding: 12px;
}
.video-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Video Player */
.video-player-content {
  padding: 0 16px 24px;
}
.video-player-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  padding-top: 56.25%;
}
.video-player-wrapper iframe {
  border: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.video-player-info {
  padding: 16px 0;
}
.video-player-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.video-player-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}
