/* =========================================================
   LUGHAPAY — PREMIUM MOBILE UI REDESIGN
   UI ONLY: existing HTML IDs/classes and JavaScript hooks are preserved.
   ========================================================= */

:root {
  --bg: #0b1220;
  --bg-soft: #111b2d;
  --panel: rgba(13, 25, 47, 0.82);
  --panel-2: rgba(15, 29, 53, 0.94);
  --line: rgba(91, 137, 205, 0.20);
  --line-strong: rgba(0, 174, 255, 0.38);
  --text: #f5f8ff;
  --muted: #91a2bc;
  --blue: #09a9ff;
  --cyan: #18d7ff;
  --green: #00f58a;
  --green-2: #00cf78;
  --gold: #ffc21a;
  --danger: #ff5c6c;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12%, rgba(0, 174, 255, 0.10), transparent 32%),
    radial-gradient(circle at 100% 32%, rgba(0, 255, 136, 0.035), transparent 24%),
    linear-gradient(180deg, #101a2b 0%, #0b1220 48%, #080e19 100%);
  color: var(--text);
  padding: 18px 12px 30px;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

.app-container {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 2px 0 32px;
}

/* =========================================================
   HEADER
   ========================================================= */

.lughapay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 5px 4px;
  width: 100%;
}

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

.logo-circle {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #07101f;
  background: linear-gradient(145deg, #ffffff 5%, #dbe8f8 100%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.025), 0 10px 30px rgba(0,0,0,0.35);
}

.brand-text {
  min-width: 0;
}

.brand-text h2 {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: #fff;
}

.brand-text h2::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(0,245,138,0.8);
}

.brand-text p {
  margin-top: 4px;
  color: #8fa2bf;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
}

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

.icon-circle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(137,169,216,0.18);
  background: rgba(255,255,255,0.035);
  color: #f6f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-circle:hover {
  transform: translateY(-1px);
  border-color: rgba(0,210,255,0.42);
  background: rgba(0,174,255,0.08);
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px rgba(255,255,255,0.85);
}

/* =========================================================
   HERO / WELCOME PANEL
   ========================================================= */

.header-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
  padding: 30px 24px 24px;
  border-radius: 28px;
  border: 1px solid rgba(95,142,210,0.24);
  background:
    radial-gradient(circle at 85% 45%, rgba(0,173,255,0.13), transparent 24%),
    radial-gradient(circle at 92% 55%, rgba(0,255,136,0.06), transparent 20%),
    linear-gradient(145deg, rgba(19,35,64,0.98), rgba(9,20,39,0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.035);
  text-align: left;
}

.header-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  right: -38px;
  top: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55) 0 1.5%, transparent 2%),
    radial-gradient(circle at 62% 50%, rgba(0,220,255,.35), transparent 55%),
    linear-gradient(145deg, rgba(20,107,196,.72), rgba(12,33,80,.96));
  border: 1px solid rgba(73,194,255,.4);
  box-shadow: 0 0 45px rgba(0,174,255,.22), inset -15px -15px 30px rgba(0,0,0,.28);
  opacity: .95;
}

.header-banner::after {
  content: "💬";
  position: absolute;
  z-index: -1;
  right: 25px;
  top: 79px;
  width: 58px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #15baff, #086cf2);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 28px rgba(0,125,255,.35);
  font-size: 24px;
}

.header-banner h2 {
  max-width: 72%;
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
}

.header-banner h2 span {
  color: var(--green);
  text-shadow: 0 0 22px rgba(0,245,138,.18);
}

.header-banner p {
  position: relative;
  z-index: 2;
  max-width: 78%;
  margin: 13px 0 22px;
  color: #a5b6cc;
  font-size: 13px;
  line-height: 1.55;
}

.btn-customer-care {
  position: relative;
  z-index: 3;
  width: min(100%, 390px);
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(100deg, #058cf3, #12c9ef);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(0,174,255,.28), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-customer-care:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(0,174,255,.44), inset 0 1px 0 rgba(255,255,255,.2);
}

/* =========================================================
   BALANCE CARDS
   ========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 152px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(83,128,193,.23);
  background: linear-gradient(145deg, rgba(16,31,57,.98), rgba(7,19,36,.98));
  box-shadow: 0 14px 38px rgba(0,0,0,.27), inset 0 1px 0 rgba(255,255,255,.025);
}

.card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -48px;
  bottom: -48px;
  border-radius: 50%;
  background: rgba(0,174,255,.13);
  filter: blur(3px);
}

.card:nth-child(2)::after {
  background: rgba(0,245,138,.12);
}

.card-title {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 850;
  letter-spacing: .2px;
  margin-bottom: 8px;
}

.card:nth-child(2) .card-title {
  color: var(--green);
}

.card-amount {
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 13px;
  color: #fff;
}

.card-desc {
  min-height: 30px;
  font-size: 11px;
  line-height: 1.45;
  color: #71839d;
}

.btn-action {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(100deg, #087cf1, #13c6f0);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(0,163,224,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0,174,255,.4);
}

/* =========================================================
   PRIMARY CTA
   ========================================================= */

.btn-register-main {
  position: relative;
  display: block;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  min-height: 54px;
  padding: 15px 18px;
  border-radius: 29px;
  border: 1px solid rgba(255,255,255,.1);
  color: #03140e;
  background: linear-gradient(100deg, #00c879, #00f58a);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(0,245,138,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-register-main::after {
  content: "›";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 25px;
  font-weight: 400;
}

.btn-register-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 38px rgba(0,245,138,.38), inset 0 1px 0 rgba(255,255,255,.25);
}

/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
  padding: 3px 2px 0;
}

.section-title h3 {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.4px;
}

.section-title p {
  margin-top: 4px;
  font-size: 12px;
  color: #8092ac;
}

.live-date-time {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 13px 7px 28px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 190, 255, .14), rgba(0, 255, 170, .07));
  border: 1px solid rgba(0, 210, 255, .34);
  color: #b9d7ee;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05px;
  box-shadow: 0 0 8px rgba(0, 190, 255, .24), 0 0 22px rgba(0, 190, 255, .12), inset 0 0 14px rgba(0, 190, 255, .06);
  animation: liveDateGlow 2.2s ease-in-out infinite;
}

.live-date-time::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #00f5a0;
  box-shadow: 0 0 5px #00f5a0, 0 0 12px rgba(0, 245, 160, .9);
  animation: liveDateDot 1.4s ease-in-out infinite;
}

.live-date-time::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.14) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: liveDateShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes liveDateGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 190, 255, .22), 0 0 20px rgba(0, 190, 255, .10), inset 0 0 14px rgba(0, 190, 255, .05);
  }
  50% {
    box-shadow: 0 0 13px rgba(0, 210, 255, .48), 0 0 32px rgba(0, 210, 255, .22), inset 0 0 18px rgba(0, 210, 255, .10);
  }
}

@keyframes liveDateDot {
  0%, 100% { transform: translateY(-50%) scale(.82); opacity: .72; }
  50% { transform: translateY(-50%) scale(1.18); opacity: 1; }
}

@keyframes liveDateShine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

body.light-mode .live-date-time {
  background: linear-gradient(135deg, rgba(0, 145, 205, .10), rgba(0, 190, 130, .06));
  border-color: rgba(0, 145, 205, .28);
  color: #315876;
  box-shadow: 0 0 9px rgba(0, 145, 205, .20), 0 0 22px rgba(0, 145, 205, .10), inset 0 0 12px rgba(0, 145, 205, .05);
}

@media (max-width: 480px) {
  .live-date-time {
    font-size: 12px;
    padding: 6px 9px;
    max-width: 100%;
  }
}

/* =========================================================
   CHAT PARTNER LIST
   ========================================================= */

.wazungu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 560px;
  overflow-y: auto;
  padding: 1px 2px 2px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wazungu-list::-webkit-scrollbar {
  display: none;
}

.mzungu-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 21px;
  border: 1px solid rgba(78,122,186,.22);
  background: linear-gradient(145deg, rgba(14,28,52,.96), rgba(7,19,36,.98));
  box-shadow: 0 12px 32px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mzungu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,220,255,.28);
  box-shadow: 0 18px 38px rgba(0,0,0,.28), 0 0 24px rgba(0,174,255,.06);
}

.mzungu-header {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 11px;
}

.avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(105,183,255,.32);
  box-shadow: 0 0 0 4px rgba(0,174,255,.045), 0 8px 22px rgba(0,0,0,.35);
}

.mzungu-info {
  min-width: 0;
}

.mzungu-info h4 {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mzungu-info .meta {
  margin-top: 4px;
  font-size: 11px;
  color: #92a4bd;
}

.mzungu-info .meta::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0,245,138,.75);
}

.mzungu-info .price {
  margin-top: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.mzungu-bio {
  min-height: 34px;
  margin-bottom: 13px;
  color: #8fa1bb;
  font-size: 12px;
  line-height: 1.45;
}

.btn-chat {
  width: 100%;
  min-height: 43px;
  padding: 9px 14px;
  border-radius: 24px;
  border: 1.5px solid var(--green);
  color: var(--green);
  background: rgba(0,245,138,.035);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0,245,138,.12), inset 0 0 18px rgba(0,245,138,.025);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-chat:hover {
  transform: translateY(-1px);
  background: rgba(0,245,138,.07);
  box-shadow: 0 0 27px rgba(0,245,138,.26);
}

.btn-chat.completed {
  background: rgba(20,31,47,.8);
  color: #718197;
  border-color: #2c3c52;
  box-shadow: none;
  cursor: not-allowed;
}

/* =========================================================
   SUPPORT
   ========================================================= */

.support-section-card,
.reviews-section-card,
.extra-card {
  background: linear-gradient(145deg, rgba(10,24,45,.96), rgba(6,16,30,.98));
  border: 1px solid rgba(77,121,182,.21);
  border-radius: 23px;
  box-shadow: 0 15px 38px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025);
}

.support-section-card {
  padding: 21px 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.support-header h3,
.reviews-header-text h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.35px;
}

.support-header p,
.reviews-header-text p {
  margin-top: 5px;
  color: #8294ae;
  font-size: 12px;
  line-height: 1.45;
}

.support-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 13px 16px;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.support-btn:active {
  transform: scale(.985);
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.05);
}

.btn-text-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.whatsapp-btn {
  background: linear-gradient(135deg, rgba(0,211,121,.18), rgba(0,211,121,.055));
  border: 1px solid rgba(0,245,138,.28);
  color: #fff;
  box-shadow: 0 0 22px rgba(0,245,138,.08);
}

.whatsapp-btn .btn-icon {
  color: var(--green);
}

.whatsapp-btn .btn-title {
  font-size: 15px;
  font-weight: 850;
}

.whatsapp-btn .btn-subtext,
.group-btn .btn-subtext {
  font-size: 11px;
  color: #8294ae;
}

.group-btn {
  background: rgba(93,54,137,.10);
  border: 1px solid rgba(153,95,226,.25);
  color: #fff;
}

.group-btn .btn-icon,
.group-btn .btn-title {
  color: #b98aff;
}

.group-btn .btn-title {
  font-size: 15px;
  font-weight: 850;
}

/* =========================================================
   TRANSACTIONS
   ========================================================= */

.extra-card {
  padding: 17px;
}

.extra-card h4 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 850;
}

.scroll-box {
  height: 154px;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: autoScroll 18s linear infinite;
}

@keyframes autoScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.transaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(3,12,24,.78);
  border: 1px solid rgba(73,115,174,.13);
}

.tx-name {
  color: #eaf1fb;
  font-size: 11px;
}

.tx-time {
  margin-top: 2px;
  color: #667993;
  font-size: 9px;
}

.tx-amount {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-section-card {
  padding: 21px 17px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.reviews-header-text {
  min-width: 0;
}

.rating-badge-box {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 9px 10px;
  border-radius: 17px;
  text-align: center;
  background: rgba(255,194,26,.055);
  border: 1px solid rgba(255,194,26,.15);
}

.rating-score {
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  color: var(--gold);
}

.rating-stars-badge {
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
}

.rating-count {
  margin-top: 3px;
  color: #687b96;
  font-size: 9px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.review-item-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(3,12,24,.72);
  border: 1px solid rgba(73,115,174,.14);
}

.review-avatar-circle {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #203654, #13243d);
  border: 1px solid rgba(111,170,235,.15);
  color: #eef5ff;
  font-size: 15px;
  font-weight: 850;
}

.review-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

.user-info-text {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-name {
  color: #f4f7fc;
  font-size: 10px;
  font-weight: 800;
}

.user-location {
  color: #667993;
  font-size: 11px;
}

.star-rating {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .8px;
  flex-shrink: 0;
}

.star-empty {
  color: #29384e;
}

.review-text {
  color: #8ea1bb;
  font-size: 11px;
  line-height: 1.5;
}

/* =========================================================
   MODALS
   ========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(1,6,14,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 1000;
}

.modal-card,
.chat-room-card {
  width: 100%;
  border: 1px solid rgba(80,132,203,.28);
  background: linear-gradient(145deg, rgba(15,30,55,.98), rgba(6,16,31,.99));
  box-shadow: 0 30px 90px rgba(0,0,0,.58), 0 0 35px rgba(0,174,255,.08);
}

.modal-card {
  position: relative;
  max-width: 410px;
  padding: 21px;
  border-radius: 24px;
}

.close-btn {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(125,160,205,.13);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #9aabc1;
  font-size: 16px;
  cursor: pointer;
}

.time-modal-card {
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  padding-top: 27px;
}

.modal-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.modal-avatar-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 9px;
  border: 2px solid rgba(0,213,255,.35);
  box-shadow: 0 0 0 5px rgba(0,174,255,.05), 0 12px 30px rgba(0,0,0,.35);
}

.modal-profile-header h3 {
  font-size: 19px;
  font-weight: 900;
}

.modal-profile-header p,
.modal-instruction {
  color: #8fa1ba;
  font-size: 12px;
}

.modal-profile-header p {
  margin-top: 3px;
  margin-bottom: 8px;
}

.time-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.time-option-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(79,126,190,.2);
  background: rgba(4,14,28,.8);
  color: #f4f7fc;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.time-option-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,194,26,.4);
  background: rgba(255,194,26,.045);
}

.gold-text {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

/* =========================================================
   CHAT ROOM
   ========================================================= */

.chat-room-card {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  background: rgba(18,34,61,.9);
  border-bottom: 1px solid rgba(84,130,194,.17);
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar-small {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,213,255,.3);
}

.chat-user-info h4 {
  font-size: 14px;
  font-weight: 850;
}

.online-status {
  display: inline-block;
  margin-top: 2px;
  color: var(--green);
  font-size: 10px;
}

.progress-container {
  width: 100%;
  height: 5px;
  background: #06101f;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00c879, #13d7ff);
  box-shadow: 0 0 14px rgba(0,213,255,.35);
  transition: width 1s linear;
}

.timer-text {
  padding: 7px;
  background: #071221;
  color: #91a3bd;
  text-align: center;
  font-size: 10px;
}

.chat-messages {
  flex: 1;
  padding: 17px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0,174,255,.07), transparent 25%),
    #050d1a;
}

.msg {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.45;
}

.msg.received {
  align-self: flex-start;
  color: #f5f8ff;
  background: #12233d;
  border: 1px solid rgba(80,125,190,.13);
  border-bottom-left-radius: 4px;
}

.msg.sent {
  align-self: flex-end;
  color: #03140e;
  background: linear-gradient(135deg, #00c879, #00f58a);
  border-bottom-right-radius: 4px;
  font-weight: 700;
}

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 11px;
  background: rgba(13,28,50,.98);
  border-top: 1px solid rgba(84,130,194,.17);
}

.chat-input-area input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(78,124,188,.22);
  border-radius: 22px;
  outline: none;
  background: #06101f;
  color: #fff;
  font-size: 12px;
}

.chat-input-area input:focus {
  border-color: rgba(0,210,255,.45);
  box-shadow: 0 0 18px rgba(0,174,255,.08);
}

.chat-input-area button {
  border: 0;
  padding: 0 17px;
  border-radius: 22px;
  background: linear-gradient(100deg, #00c879, #00f58a);
  color: #03140e;
  font-weight: 900;
  cursor: pointer;
}

/* =========================================================
   WITHDRAWAL VERIFICATION LOADING
   ========================================================= */

.withdraw-loading-card {
  max-width: 640px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px 24px 32px;
  border-radius: 30px;
}

.withdraw-spinner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,.10);
  border-top-color: #00e89a;
  border-right-color: #00d9ff;
  animation: withdrawSpin .85s linear infinite;
  margin-bottom: 34px;
}

.withdraw-loading-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #f4f8ff;
}

.withdraw-loading-card p {
  margin: 0;
  color: #91a2b8;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes withdrawSpin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   REWARD / WITHDRAW / ERROR MODALS
   ========================================================= */

.reward-card-new {
  max-width: 420px;
  text-align: center;
  padding: 26px 21px 21px;
}

.reward-icon-header {
  font-size: 46px;
  margin-bottom: 5px;
}

.reward-title-main {
  font-size: 23px;
  font-weight: 900;
}

.reward-sub-text {
  margin: 7px 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.reward-info-box {
  margin-bottom: 18px;
  padding: 15px;
  border-radius: 17px;
  border: 1px solid rgba(255,194,26,.14);
  background: rgba(255,194,26,.035);
  color: #bdc9d9;
  text-align: left;
  font-size: 11px;
  line-height: 1.55;
}

.btn-activate-account {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 27px;
  text-align: center;
  text-decoration: none;
  color: #03140e;
  background: linear-gradient(100deg, #00c879, #00f58a);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(0,245,138,.2);
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #91a3bd;
  font-size: 11px;
}

.form-control {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(78,124,188,.22);
  border-radius: 12px;
  outline: none;
  background: #06101f;
  color: #fff;
  font-size: 12px;
}

.form-control:focus {
  border-color: rgba(0,210,255,.42);
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 0;
  border-radius: 23px;
  background: linear-gradient(100deg, #00c879, #00f58a);
  color: #03140e;
  font-weight: 900;
  cursor: pointer;
}

.error-card {
  text-align: center;
  border-color: rgba(255,92,108,.35);
}

.error-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--danger);
  background: rgba(255,92,108,.07);
  border: 2px solid rgba(255,92,108,.5);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(255,92,108,.1);
}

/* =========================================================
   FLOATING PAYMENT NOTIFICATION
   ========================================================= */

.floating-notification {
  position: fixed;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 350px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 13px;
  border: 1px solid rgba(99,148,216,.28);
  background: rgba(9,20,39,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,.48), 0 0 25px rgba(0,174,255,.08);
  z-index: 9999;
  transition: top .45s cubic-bezier(.175,.885,.32,1.275);
}

.floating-notification.show {
  top: 10px;
}

.notif-icon-box {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,174,255,.1);
  border: 1px solid rgba(0,210,255,.2);
  color: var(--cyan);
  font-size: 13px;
}

.notif-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-title {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-desc {
  color: #8496af;
  font-size: 9px;
}

.notif-desc span {
  color: var(--gold);
  font-weight: 850;
}

.notif-support-action {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 8px;
  border: 1px solid rgba(0,210,255,.28);
  background: rgba(0,174,255,.12);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.notif-support-action:hover {
  background: rgba(0,174,255,.2);
}

.notif-close {
  padding: 4px;
  border: 0;
  background: transparent;
  color: #6f819c;
  font-size: 15px;
  cursor: pointer;
}

/* Existing compatibility classes / older hooks */
.neon-glow-btn {
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0,245,138,.22);
  transition: box-shadow .3s ease, transform .2s ease;
}

.neon-glow-btn:hover {
  box-shadow: 0 0 25px rgba(0,245,138,.45);
  transform: translateY(-2px);
}

.btn-whatsapp,
.btn-join-group {
  box-shadow: 0 0 18px rgba(0,245,138,.18);
}

.pulse-glow {
  animation: softNeonPulse 2.5s infinite ease-in-out;
}

@keyframes softNeonPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,245,138,.18); }
  50% { box-shadow: 0 0 24px rgba(0,245,138,.38); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 390px) {
  body {
    padding: 12px 10px 24px;
  }

  .app-container {
    gap: 13px;
  }

  .header-banner {
    min-height: 205px;
    padding: 25px 19px 20px;
  }

  .header-banner h2 {
    max-width: 76%;
    font-size: 24px;
  }

  .header-banner p {
    max-width: 80%;
    font-size: 12px;
  }

  .header-banner::before {
    width: 125px;
    height: 125px;
    right: -37px;
  }

  .header-banner::after {
    right: 14px;
    top: 66px;
    width: 49px;
    height: 38px;
    font-size: 20px;
  }

  .card {
    padding: 15px;
    min-height: 145px;
  }

  .card-amount {
    font-size: 22px;
  }

  .rating-badge-box {
    min-width: 82px;
    padding: 8px 7px;
  }
}

@media (max-width: 330px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .header-right {
    gap: 5px;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }

  .brand-text h2 {
    font-size: 18px;
  }
}

/* Safe-area support for modern phones */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }
}

/* =========================================================
   LUGHAPAY - FULL WAZUNGU PROFILE CARDS
   Usibadilishe HTML wala JavaScript
   ========================================================= */

/* Ondoa kukatwa kwa list nzima */
.wazungu-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;

  max-height: none !important;
  height: auto !important;

  overflow: visible !important;
  padding: 4px 2px 20px 2px !important;
}

/* Kila profile iwe card kamili */
.mzungu-card {
  position: relative !important;

  width: 100% !important;
  height: auto !important;
  min-height: 220px !important;

  overflow: visible !important;

  padding: 22px !important;

  border-radius: 24px !important;

  border: 1px solid rgba(65, 125, 190, 0.30) !important;

  background:
    linear-gradient(
      145deg,
      #121d34 0%,
      #0c172b 100%
    ) !important;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.03) !important;

  box-sizing: border-box !important;

  flex-shrink: 0 !important;
}

/* Header ya profile */
.mzungu-header {
  display: flex !important;
  align-items: center !important;

  gap: 16px !important;

  width: 100% !important;

  margin-bottom: 16px !important;
}

/* Picha iwe FULL */
.mzungu-card .avatar {
  width: 76px !important;
  height: 76px !important;

  min-width: 76px !important;
  min-height: 76px !important;

  flex: 0 0 76px !important;

  border-radius: 50% !important;

  object-fit: cover !important;

  display: block !important;

  border: 2px solid rgba(0, 210, 255, 0.45) !important;

  box-shadow:
    0 0 0 5px rgba(0, 174, 255, 0.05),
    0 8px 25px rgba(0,0,0,0.35) !important;
}

/* Sehemu ya details */
.mzungu-info {
  min-width: 0 !important;
  flex: 1 !important;
}

/* Jina */
.mzungu-info h4 {
  margin: 0 !important;

  font-size: 20px !important;

  line-height: 1.25 !important;

  font-weight: 800 !important;

  color: #ffffff !important;

  white-space: normal !important;

  overflow: visible !important;

  text-overflow: clip !important;
}

/* Country + online */
.mzungu-info .meta {
  margin-top: 6px !important;

  font-size: 14px !important;

  line-height: 1.4 !important;

  color: #a4b2c7 !important;

  white-space: normal !important;
}

/* Dot ya online */
.mzungu-info .meta::after {
  width: 7px !important;
  height: 7px !important;

  margin-left: 6px !important;

  vertical-align: middle !important;
}

/* Zawadi */
.mzungu-info .price {
  margin-top: 6px !important;

  font-size: 14px !important;

  line-height: 1.4 !important;

  color: #ffbd19 !important;

  font-weight: 800 !important;

  white-space: normal !important;
}

/* BIO - usikate maandishi */
.mzungu-bio {
  width: 100% !important;

  min-height: 0 !important;

  height: auto !important;

  margin: 0 0 18px 0 !important;

  color: #a5b3c7 !important;

  font-size: 14px !important;

  line-height: 1.6 !important;

  white-space: normal !important;

  overflow: visible !important;

  word-wrap: break-word !important;

  overflow-wrap: anywhere !important;
}

/* Button ya Anza Chat */
.mzungu-card .btn-chat {
  display: block !important;

  width: 100% !important;

  min-height: 42px !important;

  height: 42px !important;

  padding: 7px 18px !important;

  margin: 0 !important;

  border-radius: 30px !important;

  border: 2px solid #00f58a !important;

  background: rgba(0,245,138,0.035) !important;

  color: #00f58a !important;

  font-size: 16px !important;

  font-weight: 800 !important;

  white-space: normal !important;

  overflow: visible !important;

  box-shadow:
    0 0 20px rgba(0,245,138,0.16),
    inset 0 0 15px rgba(0,245,138,0.025) !important;

  cursor: pointer !important;
}

/* Hover */
.mzungu-card .btn-chat:hover {
  background: rgba(0,245,138,0.08) !important;

  box-shadow:
    0 0 28px rgba(0,245,138,0.28) !important;

  transform: translateY(-1px) !important;
}

/* Completed */
.mzungu-card .btn-chat.completed {
  border-color: #45536a !important;

  color: #8491a5 !important;

  background: #151f31 !important;

  box-shadow: none !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .wazungu-list {
    gap: 16px !important;
  }

  .mzungu-card {
    min-height: 0 !important;

    padding: 18px !important;

    border-radius: 22px !important;
  }

  .mzungu-header {
    gap: 14px !important;

    align-items: center !important;

    margin-bottom: 15px !important;
  }

  .mzungu-card .avatar {
    width: 68px !important;
    height: 68px !important;

    min-width: 68px !important;
    min-height: 68px !important;

    flex-basis: 68px !important;
  }

  .mzungu-info h4 {
    font-size: 18px !important;

    line-height: 1.3 !important;
  }

  .mzungu-info .meta {
    font-size: 13px !important;
  }

  .mzungu-info .price {
    font-size: 13px !important;
  }

  .mzungu-bio {
    font-size: 13px !important;

    line-height: 1.55 !important;

    margin-bottom: 16px !important;
  }

  .mzungu-card .btn-chat {
    min-height: 42px !important;

    height: 42px !important;

    padding: 7px 18px !important;

    font-size: 15px !important;
  }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .mzungu-card {
    padding: 15px !important;
  }

  .mzungu-card .avatar {
    width: 60px !important;
    height: 60px !important;

    min-width: 60px !important;
    min-height: 60px !important;

    flex-basis: 60px !important;
  }

  .mzungu-info h4 {
    font-size: 16px !important;
  }

  .mzungu-info .meta,
  .mzungu-info .price {
    font-size: 12px !important;
  }

  .mzungu-bio {
    font-size: 12px !important;
  }
}

/* =====================================================
   LUGHAPAY HEADER / LOGO
   ===================================================== */

.lughapay-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px 18px;
}

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

/* Logo ya duara */
.logo-circle {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;

  border-radius: 50% !important;

  background: #ffffff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 25px !important;

  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255,255,255,0.03) !important;

  border: 1px solid rgba(255,255,255,0.25) !important;

  flex-shrink: 0 !important;
}

/* Lugha Pay */
.brand-text h2 {
  margin: 0 !important;

  color: #ffffff !important;

  font-size: 21px !important;

  font-weight: 850 !important;

  line-height: 1.15 !important;

  letter-spacing: -0.4px !important;
}

/* Kiswahili • Mapato */
.brand-text p {
  margin: 3px 0 0 !important;

  color: #94a3b8 !important;

  font-size: 13px !important;

  line-height: 1.2 !important;
}

/* Icons upande wa kulia */
.header-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.icon-circle {
  width: 44px !important;
  height: 44px !important;

  border-radius: 50% !important;

  background: rgba(255,255,255,0.045) !important;

  border: 1px solid rgba(255,255,255,0.10) !important;

  color: #ffffff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 19px !important;

  position: relative !important;
}

/* Notification dot */
.notification-dot {
  position: absolute !important;

  top: 8px !important;
  right: 8px !important;

  width: 7px !important;
  height: 7px !important;

  border-radius: 50% !important;

  background: #ffffff !important;

  box-shadow: 0 0 7px rgba(255,255,255,0.8);
}

/* =====================================================
   FLOATING WHATSAPP CUSTOMER CARE
   ===================================================== */

.floating-whatsapp {
  position: fixed;

  right: 18px;
  bottom: 20px;

  height: 58px;
  min-width: 58px;

  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 30px;

  background: #20c968;

  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 800;

  z-index: 99999;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(32, 201, 104, 0.45);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* WhatsApp icon */
.whatsapp-icon {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,0.18);

  font-size: 20px;
}

/* Text */
.whatsapp-label {
  white-space: nowrap;
}

/* Hover / touch */
.floating-whatsapp:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(32, 201, 104, 0.65);
}

/* Mobile */
@media (max-width: 600px) {

  .floating-whatsapp {
    right: 15px;
    bottom: 18px;

    width: 58px;
    min-width: 58px;

    height: 58px;

    padding: 0;

    border-radius: 50%;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-icon {
    width: 34px;
    height: 34px;

    background: transparent;

    font-size: 25px;
  }
}

/* =====================================================
   CHAT-SAFE FLOATING WHATSAPP BUTTONS
   Keep the two floating WhatsApp actions clear of the
   message composer while a chat is active.
   ===================================================== */

body.withdraw-active .floating-whatsapp,
body.withdraw-active .whatsapp-float {
  display: none !important;
}

body.chat-active .floating-whatsapp,
body.chat-active .whatsapp-float {
  bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1001 !important;
}

/* Customer Care: compact circle on the right */
body.chat-active .floating-whatsapp {
  right: 12px !important;
  left: auto !important;
}

/* Group: compact circle on the left */
body.chat-active .whatsapp-float {
  left: 12px !important;
  right: auto !important;
}

body.chat-active .floating-whatsapp .whatsapp-label {
  display: none !important;
}

body.chat-active .floating-whatsapp .whatsapp-icon {
  width: 34px !important;
  height: 34px !important;
  background: transparent !important;
  font-size: 22px !important;
}

body.chat-active .whatsapp-float {
  /* While inside a chat, show the group action as an icon-only button. */
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

body.chat-active .whatsapp-float svg {
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 auto !important;
  text-indent: 0 !important;
}

/* Never let the floating controls capture the composer area. */
body.chat-active .chat-input-area {
  position: relative;
  z-index: 1003;
}

body.chat-active .chat-input-area input,
body.chat-active .chat-input-area button {
  position: relative;
  z-index: 1004;
}

/* Small screens: leave a little more room above the composer and
   respect Android/iOS safe areas. */
@media (max-width: 600px) {
  body.chat-active .floating-whatsapp,
  body.chat-active .whatsapp-float {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
  }

  body.chat-active .floating-whatsapp {
    right: 10px !important;
  }

  body.chat-active .whatsapp-float {
    left: 10px !important;
  }
}

/* Very narrow phones: make the controls even smaller. */
@media (max-width: 380px) {
  body.chat-active .floating-whatsapp,
  body.chat-active .whatsapp-float {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
  }
}

/* =========================================================
   COUNTRY AVAILABILITY
   ========================================================= */
.availability-section {
  margin: 18px 0 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0,213,255,.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,213,255,.09), transparent 35%),
    linear-gradient(145deg, rgba(16,31,54,.96), rgba(6,15,29,.98));
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.availability-copy { min-width: 0; }
.availability-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: #00d9ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
}
.availability-copy h3 {
  margin: 0;
  color: #f5f8ff;
  font-size: 14px;
  line-height: 1.35;
}
.availability-copy p {
  margin: 5px 0 0;
  color: #8fa1ba;
  font-size: 10px;
}
.country-flags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.country-flag {
  min-width: 50px;
  padding: 7px 5px 6px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.country-flag:hover {
  transform: translateY(-2px);
  border-color: rgba(0,213,255,.3);
  background: rgba(0,213,255,.055);
}
.country-flag span {
  display: block;
  font-size: 23px;
  line-height: 1;
}
.country-flag small {
  display: block;
  margin-top: 4px;
  color: #9aabc1;
  font-size: 8px;
  font-weight: 750;
}

/* =========================================================
   WHATSAPP / INSTAGRAM STYLE TYPING INDICATOR
   ========================================================= */
.online-status.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #00d9ff;
  font-size: 10px;
  font-weight: 700;
}
.typing-label { opacity: .95; }
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 10px;
}
.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
  animation: chatTypingDot 1.15s infinite ease-in-out;
}
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes chatTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .3; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 680px) {
  .availability-section {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }
  .country-flags {
    justify-content: space-between;
    width: 100%;
  }
  .country-flag {
    flex: 1 1 0;
    min-width: 0;
  }
  .country-flag span { font-size: 21px; }
}

/* =========================================================
   INSTALL APP - LUGHAPAY PWA
   Compact header utility card; designed not to disturb layout
   ========================================================= */

.install-app-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 62px;
  padding: 9px 10px 9px 11px;
  box-sizing: border-box;
  border-radius: 18px;
  border: 1px solid rgba(86, 143, 211, 0.20);
  background:
    linear-gradient(135deg, rgba(18, 38, 67, 0.88), rgba(8, 24, 44, 0.94));
  box-shadow:
    0 10px 26px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}

.install-app-card::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: 46px;
  top: -55px;
  border-radius: 50%;
  background: rgba(0, 245, 138, .055);
  filter: blur(4px);
  pointer-events: none;
}

.install-app-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(0, 245, 138, .18);
  background: linear-gradient(145deg, rgba(0, 245, 138, .12), rgba(0, 174, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  font-size: 19px;
}

.install-app-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.install-app-title {
  color: #f7fbff;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.1px;
}

.install-app-subtitle {
  margin-top: 3px;
  color: #8194ad;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-app-btn {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-width: 68px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 13px;
  color: #03140e;
  background: linear-gradient(100deg, #00c879, #00f58a);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0,245,138,.16), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.install-app-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 0 25px rgba(0,245,138,.28), inset 0 1px 0 rgba(255,255,255,.24);
}

.install-app-btn:active {
  transform: scale(.96);
}

.install-app-btn:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
}

/* When the site is already installed/opened as an app */
@media (display-mode: standalone) {
  .install-app-card {
    display: none !important;
  }
}

/* iPhone / small screens */
@media (max-width: 390px) {
  .install-app-card {
    min-height: 58px;
    padding: 8px 9px;
    gap: 9px;
    border-radius: 16px;
  }

  .install-app-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 18px;
  }

  .install-app-title {
    font-size: 12px;
  }

  .install-app-subtitle {
    font-size: 9.5px;
  }

  .install-app-btn {
    min-width: 62px;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10.5px;
  }
}


/* =========================================================
   LUGHAPAY BRAND LOGO IMAGE
   Uses the new Lugha Pay chat-mark in header + install card.
   ========================================================= */
.logo-circle {
  overflow: hidden !important;
  padding: 0 !important;
  background: #07101f !important;
}

.logo-circle img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.install-app-icon {
  overflow: hidden !important;
  padding: 0 !important;
}

.install-app-icon img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

/* =========================================================
   LUGHAPAY FULL BRAND LOGO
   The complete generated Lugha Pay artwork is shown in the
   header and Install App card — not just the chat mark.
   ========================================================= */
.lughapay-header .logo-circle {
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  min-height: 82px !important;
  flex: 0 0 82px !important;
  border-radius: 18px !important;
  background: #07101f !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 3px rgba(0,245,138,.04) !important;
}

.lughapay-header .logo-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 16px !important;
}

/* Keep the brand name and tagline visible beside the logo. */
.lughapay-header .brand-text {
  display: block !important;
  min-width: 0 !important;
}

.lughapay-header .header-left {
  gap: 12px !important;
  min-width: 0 !important;
}

.install-app-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  flex-basis: 64px !important;
  border-radius: 16px !important;
  background: #07101f !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25) !important;
}

.install-app-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 14px !important;
}

@media (max-width: 600px) {
  .lughapay-header .logo-circle {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    flex-basis: 68px !important;
    border-radius: 16px !important;
  }

  .lughapay-header .brand-text h2 {
    font-size: 18px !important;
  }

  .lughapay-header .brand-text p {
    font-size: 10px !important;
  }

  .lughapay-header .header-left {
    gap: 9px !important;
  }

  .install-app-card {
    min-height: 78px !important;
  }

  .install-app-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    flex-basis: 58px !important;
  }
}

@media (max-width: 390px) {
  .lughapay-header .logo-circle {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    flex-basis: 62px !important;
  }

  .lughapay-header .brand-text h2 {
    font-size: 17px !important;
  }

  .install-app-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    flex-basis: 54px !important;
  }
}


/* =========================================================
   FINAL LUGHAPAY BRAND HEADER FIX
   Full generated logo on the left + readable brand text beside it.
   ========================================================= */
.lughapay-header .header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.lughapay-header .logo-circle.lugha-full-logo {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  flex: 0 0 76px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #07101f !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.32) !important;
}

.lughapay-header .logo-circle.lugha-full-logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 16px !important;
}

.lughapay-header .lugha-brand-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
}

.lughapay-header .lugha-brand-copy h2 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -.5px !important;
  white-space: nowrap !important;
}

.lughapay-header .lugha-brand-copy p {
  display: block !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  color: #91a2bc !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* The small logo in the Install App card is the same full Lugha Pay artwork. */
.install-app-card .lugha-install-logo {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  min-height: 68px !important;
  flex: 0 0 68px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  background: #07101f !important;
}

.install-app-card .lugha-install-logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 14px !important;
}

@media (max-width: 600px) {
  .lughapay-header .logo-circle.lugha-full-logo {
    width: 66px !important;
    height: 66px !important;
    min-width: 66px !important;
    min-height: 66px !important;
    flex-basis: 66px !important;
  }

  .lughapay-header .lugha-brand-copy h2 {
    font-size: 18px !important;
  }

  .lughapay-header .lugha-brand-copy p {
    font-size: 10px !important;
  }

  .install-app-card .lugha-install-logo {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    flex-basis: 58px !important;
  }
}

@media (max-width: 390px) {
  .lughapay-header .logo-circle.lugha-full-logo {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    flex-basis: 60px !important;
  }

  .lughapay-header .lugha-brand-copy h2 {
    font-size: 17px !important;
  }
}


/* =========================================================
   FINAL INSTALL APP POSITION
   Large, polished card directly above Customer Care.
   ========================================================= */
.header-banner .install-app-card-hero {
  width: 100%;
  min-height: 92px;
  margin: 18px 0 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  border-radius: 22px;
  border: 1px solid rgba(93, 164, 255, 0.24);
  background:
    radial-gradient(circle at 12% 20%, rgba(0,245,138,.09), transparent 30%),
    linear-gradient(135deg, rgba(18, 42, 74, .96), rgba(7, 24, 44, .98));
  box-shadow:
    0 14px 34px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.055);
  overflow: hidden;
}

.header-banner .install-app-card-hero .install-app-icon {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  flex: 0 0 68px !important;
  border-radius: 16px !important;
}

.header-banner .install-app-card-hero .install-app-copy {
  flex: 1 1 auto;
}

.header-banner .install-app-card-hero .install-app-title {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
}

.header-banner .install-app-card-hero .install-app-subtitle {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.header-banner .install-app-card-hero .install-app-btn {
  min-width: 86px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .header-banner .install-app-card-hero {
    min-height: 88px;
    margin: 16px 0 11px;
    padding: 11px;
    gap: 11px;
    border-radius: 19px;
  }

  .header-banner .install-app-card-hero .install-app-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    flex-basis: 58px !important;
    border-radius: 14px !important;
  }

  .header-banner .install-app-card-hero .install-app-title {
    font-size: 15px;
  }

  .header-banner .install-app-card-hero .install-app-subtitle {
    font-size: 10.5px;
  }

  .header-banner .install-app-card-hero .install-app-btn {
    min-width: 72px;
    min-height: 38px;
    padding: 9px 12px;
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .header-banner .install-app-card-hero {
    gap: 9px;
    padding: 9px;
  }

  .header-banner .install-app-card-hero .install-app-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    flex-basis: 52px !important;
  }

  .header-banner .install-app-card-hero .install-app-title {
    font-size: 13px;
  }

  .header-banner .install-app-card-hero .install-app-subtitle {
    font-size: 9.5px;
  }

  .header-banner .install-app-card-hero .install-app-btn {
    min-width: 64px;
    padding: 8px 9px;
  }
}


/* FINAL: Always-visible compact Install App card */
.install-app-card-small {
  position: relative;
  min-height: 150px !important;
  height: 100% !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center;
  cursor: default;
  overflow: hidden;
}
.install-app-card-small .lugha-install-logo {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  border-radius: 16px !important;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.install-app-card-small .lugha-install-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.install-app-card-small .install-app-title {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
}
.install-app-btn-small {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 88px !important;
  min-height: 34px !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #1976d2 !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  box-shadow: 0 5px 14px rgba(25,118,210,.25) !important;
}
.install-app-btn-small:hover { background: #1565c0 !important; }
.install-app-btn-small:active { transform: translateY(1px); }
@media (max-width: 600px) {
  .install-app-card-small { min-height: 150px !important; gap: 7px !important; }
  .install-app-card-small .lugha-install-logo {
    width: 68px !important; height: 68px !important; min-width: 68px !important; min-height: 68px !important;
    border-radius: 15px !important;
  }
  .install-app-card-small .install-app-title { font-size: 14px !important; }
  .install-app-btn-small { width: 82px !important; min-height: 32px !important; font-size: 12px !important; }
}


/* INSTALL APP — GREEN ROTATING TOP NOTIFICATION */
.install-app-notification {
  position: fixed;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  min-height: 70px;
  box-sizing: border-box;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  border: 2px solid rgba(34,197,94,.98);
  background: rgba(8,16,32,.97);
  box-shadow: 0 14px 45px rgba(0,0,0,.55), 0 0 12px rgba(34,197,94,.85), 0 0 28px rgba(34,197,94,.55), inset 0 0 18px rgba(34,197,94,.12);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: top .45s cubic-bezier(.175,.885,.32,1.275), opacity .25s ease;
}
.install-app-notification.show {
  top: 14px;
  opacity: 1;
  pointer-events: auto;
  animation: installNotifGlow 1.25s ease-in-out infinite alternate;
}
@keyframes installNotifGlow {
  from { box-shadow: 0 14px 45px rgba(0,0,0,.55), 0 0 10px rgba(34,197,94,.65), 0 0 22px rgba(34,197,94,.38), inset 0 0 14px rgba(34,197,94,.08); }
  to { box-shadow: 0 14px 45px rgba(0,0,0,.55), 0 0 16px rgba(34,197,94,1), 0 0 34px rgba(34,197,94,.72), inset 0 0 22px rgba(34,197,94,.16); }
}
.install-notif-logo {
  width: 48px; height: 48px; min-width: 48px; min-height: 48px;
  border-radius: 13px; overflow: hidden;
  border: 1px solid rgba(34,197,94,.45);
  background: #071d32;
}
.install-notif-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.install-notif-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.install-notif-copy strong { color: #fff; font-size: 15px; font-weight: 900; }
.install-notif-copy span { color: #b8c5d8; font-size: 10px; line-height: 1.25; }
.install-notif-btn {
  border: 0; border-radius: 10px; padding: 9px 13px; min-width: 72px;
  background: #16a34a; color: #fff; font-size: 13px; font-weight: 900;
  cursor: pointer; box-shadow: 0 0 12px rgba(34,197,94,.45);
}
.install-notif-btn:hover { background: #15803d; }
.install-notif-close { border: 0; background: transparent; color: #8496af; padding: 4px; font-size: 14px; cursor: pointer; }
@media (max-width: 600px) {
  .install-app-notification { width: calc(100% - 16px); min-height: 66px; padding: 8px 9px; gap: 8px; border-radius: 16px; }
  .install-app-notification.show { top: 9px; }
  .install-notif-logo { width: 45px; height: 45px; min-width: 45px; min-height: 45px; }
  .install-notif-copy strong { font-size: 14px; }
  .install-notif-copy span { font-size: 9px; }
  .install-notif-btn { min-width: 66px; padding: 8px 10px; font-size: 12px; }
}

/* =========================================================
   LUGHAPAY THEME SWITCH — DARK / LIGHT
   ========================================================= */
.theme-toggle {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(137,169,216,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #f6f9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 22px rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(0,210,255,.45); }
.theme-toggle:active { transform: translateY(0) scale(.98); }
.theme-toggle:focus-visible { outline: 3px solid rgba(0,190,255,.28); outline-offset: 2px; }
.theme-toggle-icon { font-size: 15px; line-height: 1; }

/* Light theme: all major surfaces, text, forms and chat UI remain readable. */
html.light-mode { background: #eef5fb; }
body.light-mode {
  --bg: #eef5fb;
  --bg-soft: #e7f0f8;
  --panel: rgba(255,255,255,.94);
  --panel-2: #ffffff;
  --line: rgba(24,73,117,.16);
  --line-strong: rgba(0,143,214,.34);
  --text: #10243b;
  --muted: #60758e;
  --shadow: 0 18px 55px rgba(26,65,99,.15);
  background:
    radial-gradient(circle at 50% -8%, rgba(0,174,255,.12), transparent 34%),
    radial-gradient(circle at 100% 30%, rgba(0,215,130,.08), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 50%, #e6f0f7 100%);
  color: var(--text);
}
body.light-mode::before {
  background-image: linear-gradient(rgba(24,73,117,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(24,73,117,.025) 1px, transparent 1px);
}

body.light-mode .theme-toggle {
  background: #ffffff;
  border-color: rgba(24,73,117,.16);
  color: #183b5d;
  box-shadow: 0 7px 20px rgba(25,70,105,.12);
}
body.light-mode .icon-circle {
  background: rgba(255,255,255,.88);
  color: #183b5d;
  border-color: rgba(24,73,117,.14);
  box-shadow: 0 7px 20px rgba(25,70,105,.09);
}
body.light-mode .brand-text h2 { color: #10243b; }
body.light-mode .brand-text p { color: #60758e; }
body.light-mode .header-banner,
body.light-mode .card,
body.light-mode .mzungu-card,
body.light-mode .extra-card,
body.light-mode .support-section-card,
body.light-mode .reviews-section-card,
body.light-mode .reward-card-new,
body.light-mode .chat-room-card,
body.light-mode .modal-card,
body.light-mode .time-modal-card,
body.light-mode .error-card,
body.light-mode .withdraw-loading-card,
body.light-mode .install-app-card,
body.light-mode .install-app-card-small {
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(240,247,252,.96));
  border-color: rgba(32,92,137,.14);
  box-shadow: 0 18px 45px rgba(28,72,108,.12), inset 0 1px 0 rgba(255,255,255,.95);
}
body.light-mode .section-title h3,
body.light-mode .reviews-header h3,
body.light-mode .support-header h3,
body.light-mode .extra-card h4 { color: #10243b; }
body.light-mode .section-title p,
body.light-mode .support-header p,
body.light-mode .card-desc,
body.light-mode .mzungu-bio,
body.light-mode .tx-time,
body.light-mode .user-location,
body.light-mode .rating-count { color: #60758e; }
body.light-mode .card-title { color: #087ba9; }
body.light-mode .card-amount { color: #10243b; }
body.light-mode .transaction-item { border-color: rgba(32,92,137,.11); }
body.light-mode .tx-name,
body.light-mode .user-name,
body.light-mode .chat-user-info,
body.light-mode .modal-profile-header,
body.light-mode .form-group label { color: #17344f; }
body.light-mode .mzungu-info { color: #17344f; }
body.light-mode .mzungu-card { color: #17344f; }
body.light-mode .support-btn { box-shadow: 0 9px 24px rgba(28,72,108,.10); }
body.light-mode .form-control,
body.light-mode input,
body.light-mode select,
body.light-mode textarea {
  background: #ffffff;
  color: #17344f;
  border-color: rgba(32,92,137,.18);
}
body.light-mode .form-control::placeholder,
body.light-mode input::placeholder,
body.light-mode textarea::placeholder { color: #8093a7; }
body.light-mode .chat-messages { background: #edf4f9; }
body.light-mode .msg { box-shadow: 0 5px 16px rgba(25,70,105,.08); }
body.light-mode .chat-input-area { background: #ffffff; border-color: rgba(32,92,137,.13); }
body.light-mode .close-btn,
body.light-mode .notif-close,
body.light-mode .install-notif-close { color: #45627c; }
body.light-mode .modal-overlay { background: rgba(12,31,49,.48); }
body.light-mode .scroll-box { background: rgba(232,241,247,.72); }
body.light-mode .floating-notification {
  background: rgba(255,255,255,.96);
  border-color: rgba(32,92,137,.14);
  box-shadow: 0 18px 45px rgba(25,70,105,.18);
}
body.light-mode .notif-title { color: #17344f; }
body.light-mode .notif-desc { color: #60758e; }
body.light-mode .install-app-notification {
  background: rgba(255,255,255,.97);
  color: #17344f;
  border-color: rgba(32,92,137,.14);
}
body.light-mode .install-notif-copy span { color: #60758e; }
body.light-mode .floating-whatsapp,
body.light-mode .whatsapp-float { box-shadow: 0 12px 30px rgba(16,74,101,.20); }

@media (max-width: 430px) {
  .theme-toggle { width: 42px; min-width: 42px; padding: 0; gap: 0; }
  .theme-toggle-label { display: none; }
  .header-right { gap: 6px; }
  .icon-circle { width: 42px; height: 42px; }
}

/* =========================================================
   REGISTRATION GUIDE MODAL
   ========================================================= */
body.modal-open { overflow: hidden; }

.registration-guide-overlay {
  z-index: 10050;
  padding: 18px;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.registration-guide-card {
  width: min(620px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  position: relative;
  padding: 22px;
  border: 1px solid rgba(0, 190, 255, .28);
  background: linear-gradient(145deg, rgba(8, 28, 50, .98), rgba(7, 20, 38, .99));
  box-shadow: 0 25px 90px rgba(0, 0, 0, .58), 0 0 42px rgba(0, 178, 255, .14);
  animation: registrationGuideIn .28s ease-out both;
}

.registration-guide-card::-webkit-scrollbar { width: 7px; }
.registration-guide-card::-webkit-scrollbar-thumb {
  background: rgba(0, 205, 255, .45);
  border-radius: 20px;
}

@keyframes registrationGuideIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.registration-guide-header {
  text-align: center;
  padding: 4px 34px 18px;
}
.registration-guide-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 25px;
  background: rgba(0, 190, 255, .12);
  border: 1px solid rgba(0, 190, 255, .30);
  box-shadow: 0 0 25px rgba(0, 190, 255, .18);
}
.registration-guide-header h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: .4px;
}
.registration-guide-header p {
  margin: 0;
  color: #a9bbcf;
  font-size: 14px;
  line-height: 1.55;
}

.registration-guide-image-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #120c19;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 14px 38px rgba(0,0,0,.35);
}
.registration-guide-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58vh;
  object-fit: contain;
}

.registration-guide-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0;
  padding: 13px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 188, 255, .13), rgba(0, 232, 150, .08));
  border: 1px solid rgba(0, 190, 255, .20);
}
.registration-guide-check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #00d889;
  color: #042018;
  font-weight: 900;
}
.registration-guide-note strong { color: #fff; font-size: 14px; }
.registration-guide-note p {
  margin: 4px 0 0;
  color: #9db1c7;
  font-size: 12px;
  line-height: 1.5;
}

.registration-guide-action {
  min-height: 54px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  background: linear-gradient(90deg, #be00d7, #00ef9a);
  color: #031b12;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 220, 130, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.registration-guide-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 38px rgba(0, 220, 130, .32);
}
.registration-guide-action span:last-child { font-size: 28px; line-height: 1; }

.registration-guide-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
}

body.light-mode .registration-guide-card {
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(238,248,253,.99));
  border-color: rgba(0, 143, 214, .22);
  box-shadow: 0 25px 80px rgba(30, 80, 110, .24), 0 0 35px rgba(0, 178, 255, .10);
}
body.light-mode .registration-guide-header h3 { color: #10243b; }
body.light-mode .registration-guide-header p,
body.light-mode .registration-guide-note p { color: #60758e; }
body.light-mode .registration-guide-note strong { color: #17344f; }
body.light-mode .registration-guide-image-wrap { border-color: rgba(32,92,137,.16); }

@media (max-width: 520px) {
  .registration-guide-overlay { padding: 10px; }
  .registration-guide-card { padding: 15px; border-radius: 18px; max-height: 94vh; }
  .registration-guide-header { padding: 2px 28px 14px; }
  .registration-guide-badge { width: 44px; height: 44px; font-size: 21px; }
  .registration-guide-header p { font-size: 13px; }
  .registration-guide-note { padding: 11px; }
  .registration-guide-action { min-height: 51px; font-size: 16px; }
}
.registration-guide-overlay.active { display: flex; }


/* =========================================================
   NOTIFICATION SOUND TOGGLE + ONLINE GLOW
   ========================================================= */

.notif-sound-toggle {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(0, 220, 255, .22);
  border-radius: 50%;
  background: rgba(0, 174, 255, .08);
  color: #dffaff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.notif-sound-toggle:hover,
.notif-sound-toggle:focus-visible {
  transform: scale(1.06);
  background: rgba(0, 210, 255, .16);
  border-color: rgba(0, 220, 255, .42);
  box-shadow: 0 0 14px rgba(0, 210, 255, .18);
  outline: none;
}

.notif-sound-toggle.is-muted {
  color: #8799b1;
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
  box-shadow: none;
}

.avatar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
}

.avatar-wrap .avatar {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.online-glow-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #19f28b;
  border: 3px solid #0b192d;
  box-shadow:
    0 0 0 2px rgba(25,242,139,.16),
    0 0 8px rgba(25,242,139,.95),
    0 0 18px rgba(25,242,139,.65);
  animation: onlineDotPulse 1.8s ease-in-out infinite;
  z-index: 3;
}

@keyframes onlineDotPulse {
  0%, 100% {
    transform: scale(.92);
    box-shadow:
      0 0 0 2px rgba(25,242,139,.12),
      0 0 7px rgba(25,242,139,.75),
      0 0 14px rgba(25,242,139,.42);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 3px rgba(25,242,139,.18),
      0 0 11px rgba(25,242,139,1),
      0 0 23px rgba(25,242,139,.72);
  }
}

.mzungu-info .meta::after {
  display: none !important;
}

.mzungu-info .meta {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

@media (max-width: 600px) {
  .avatar-wrap {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .online-glow-dot {
    width: 14px;
    height: 14px;
    right: 0;
    bottom: 0;
    border-width: 3px;
  }

  .notif-sound-toggle {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .avatar-wrap {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .online-glow-dot {
    width: 13px;
    height: 13px;
    border-width: 3px;
  }
}

body.light-mode .online-glow-dot {
  border-color: #edf5fa;
}

/* =========================================================
   LUGHAPAY — COMPACT CLEAN THEME (FINAL UI OVERRIDES)
   Dark navy + calm teal/cyan. Keeps existing functionality.
   ========================================================= */
:root {
  --bg: #06131a;
  --bg-soft: #091a22;
  --panel: #0b1d26;
  --panel-2: #0d222c;
  --line: rgba(105, 176, 194, .18);
  --line-strong: rgba(20, 207, 192, .38);
  --text: #edf7f7;
  --muted: #8ea7ad;
  --blue: #10b9d6;
  --cyan: #13d3c5;
  --green: #18d6b3;
  --green-2: #10bfa5;
  --gold: #f0c84b;
  --shadow: 0 12px 30px rgba(0,0,0,.24);
}

html, body {
  background: #000000 !important;
}

body {
  padding: 12px 10px 24px !important;
  background: #000000 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body::before {
  display: none !important;
}

.app-container {
  max-width: 520px !important;
  gap: 11px !important;
  padding-bottom: 24px !important;
}

/* Header: simple and quiet */
.lughapay-header {
  padding: 4px 3px 6px !important;
}

.logo-circle {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  box-shadow: none !important;
  border-color: rgba(255,255,255,.18) !important;
}

.header-left { gap: 9px !important; }
.brand-text h2 { font-size: 19px !important; }
.brand-text p { font-size: 11px !important; color: #78939a !important; }
.header-right { gap: 6px !important; }
.icon-circle {
  width: 38px !important;
  height: 38px !important;
  background: #0b2029 !important;
  border-color: rgba(113,177,188,.14) !important;
  box-shadow: none !important;
}

/* Hero/banner: compact, no decorative circle/key/chat artwork */
.header-banner {
  min-height: 0 !important;
  padding: 17px 16px 15px !important;
  border-radius: 18px !important;
  border-color: rgba(95,170,181,.16) !important;
  background: #0b1d26 !important;
  box-shadow: none !important;
}
.header-banner::before,
.header-banner::after {
  display: none !important;
}
.header-banner h2 {
  max-width: 100% !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  letter-spacing: -.45px !important;
}
.header-banner h2 span {
  color: #19d1c1 !important;
  text-shadow: none !important;
}
.header-banner p {
  max-width: 100% !important;
  margin: 7px 0 11px !important;
  color: #829da3 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

/* Calm teal buttons (except WhatsApp/group/bottom submit) */
.btn-customer-care,
.btn-register-main,
.btn-action,
.btn-chat,
.btn-activate-account,
.time-option-btn,
.chat-input-area button {
  background: #12c9b8 !important;
  color: #06201f !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.btn-customer-care {
  width: auto !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
}
.btn-register-main {
  min-height: 42px !important;
  padding: 10px 14px !important;
  border-radius: 22px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.btn-register-main::after { display: none !important; }

/* Top money cards: much shorter and no decorative artwork */
.cards-grid {
  gap: 8px !important;
}
.card {
  min-height: 112px !important;
  height: 112px !important;
  padding: 13px !important;
  border-radius: 17px !important;
  border-color: rgba(93,170,181,.16) !important;
  background: #0b1d26 !important;
  box-shadow: none !important;
}
.card::after { display: none !important; }
.card-title {
  margin-bottom: 5px !important;
  color: #8daeb4 !important;
  font-size: 9px !important;
  letter-spacing: .35px !important;
}
.card:nth-child(2) .card-title { color: #8daeb4 !important; }
.card-amount {
  margin-bottom: 7px !important;
  font-size: 21px !important;
  letter-spacing: -.5px !important;
}
.card-desc {
  min-height: 0 !important;
  font-size: 9px !important;
  line-height: 1.3 !important;
  color: #6f898f !important;
}
.btn-action {
  width: auto !important;
  min-height: 29px !important;
  padding: 6px 12px !important;
  border-radius: 17px !important;
  font-size: 10px !important;
}

/* Install notice compact */
.install-app-notification {
  border-radius: 17px !important;
  min-height: 48px !important;
  padding: 8px 10px !important;
  background: #0b1d26 !important;
  border-color: rgba(93,170,181,.16) !important;
  box-shadow: none !important;
}

/* Section title */
.section-title { padding: 3px 1px 0 !important; }
.section-title h3 { font-size: 20px !important; }
.section-title p { font-size: 11px !important; color: #7f999f !important; }
.live-date-time {
  min-height: 25px !important;
  margin-top: 5px !important;
  padding: 5px 9px 5px 23px !important;
  border-radius: 12px !important;
  background: #0b2028 !important;
  border-color: rgba(19,211,197,.18) !important;
  box-shadow: none !important;
  color: #8eb2b7 !important;
  font-size: 10px !important;
}
.live-date-time::after { display: none !important; }
.live-date-time::before { left: 9px !important; width: 6px !important; height: 6px !important; }

/* =========================================================
   WAZUNGU — COMPACT CARD LIKE THE REFERENCE
   ========================================================= */
.wazungu-list {
  gap: 8px !important;
  padding: 1px 0 7px !important;
}

.mzungu-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 11px 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(92,166,179,.17) !important;
  background: #0b1d26 !important;
  box-shadow: none !important;
}

.mzungu-header {
  gap: 10px !important;
  margin-bottom: 7px !important;
}

.avatar-wrap {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
}
.mzungu-card .avatar {
  width: 54px !important;
  height: 54px !important;
  border: 1px solid rgba(19,211,197,.28) !important;
  box-shadow: none !important;
}
.online-glow-dot {
  width: 12px !important;
  height: 12px !important;
  right: -1px !important;
  bottom: -1px !important;
  border-width: 2px !important;
  border-color: #0b1d26 !important;
}

.mzungu-info h4 {
  font-size: 15px !important;
  line-height: 1.15 !important;
}
.mzungu-info .meta {
  margin-top: 3px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  color: #829da3 !important;
}
.mzungu-info .price {
  margin-top: 3px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  color: #e7c24b !important;
}
.mzungu-bio {
  margin: 0 0 8px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  color: #789299 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.mzungu-card .btn-chat {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 82px !important;
  min-height: 31px !important;
  height: 31px !important;
  padding: 6px 12px !important;
  border-radius: 17px !important;
  border: 0 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}
.mzungu-card .btn-chat.completed {
  background: #17272e !important;
  color: #71868b !important;
}

/* Keep support/WhatsApp cards as the user's special exceptions, but calm their container */
.support-section-card,
.reviews-section-card,
.extra-card {
  background: #0b1d26 !important;
  border-color: rgba(93,170,181,.16) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}
.support-section-card { padding: 14px !important; gap: 11px !important; }
.support-header h3 { font-size: 16px !important; }
.support-header p { font-size: 10px !important; }

/* Bottom floating buttons stay untouched by the compact teal rule */
.btn-whatsapp,
.btn-join-group,
.whatsapp-btn,
.group-btn,
.btn-submit {
  /* intentionally preserved */
}

/* Smaller screens: never let the compact cards become tall again */
@media (max-width: 600px) {
  body { padding: 9px 9px 22px !important; }
  .app-container { gap: 9px !important; }
  .card { height: 108px !important; min-height: 108px !important; padding: 12px !important; }
  .mzungu-card { padding: 10px 11px !important; }
  .avatar-wrap,
  .mzungu-card .avatar { width: 52px !important; height: 52px !important; }
  .avatar-wrap { flex-basis: 52px !important; }
  .mzungu-card .btn-chat { min-height: 30px !important; height: 30px !important; }
}

@media (max-width: 380px) {
  .card { height: 104px !important; min-height: 104px !important; }
  .avatar-wrap,
  .mzungu-card .avatar { width: 48px !important; height: 48px !important; }
  .avatar-wrap { flex-basis: 48px !important; }
  .mzungu-info h4 { font-size: 14px !important; }
}

/* =========================================================
   LUGHAPAY — UI REFINEMENT 2026-09-04
   ========================================================= */

/* Customer Care: full width of the hero card */
.header-banner .btn-customer-care {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin-top: 2px !important;
}

/* Toa Pesa: button hugs its text instead of stretching */
.card .btn-action {
  width: max-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-left: 13px !important;
  padding-right: 13px !important;
}

/* Anza Chat uses the same calm CTA color as Fungua Account Hapa */
.mzungu-card .btn-chat:not(.completed):not(.offline-chat) {
  background: #12c9b8 !important;
  color: #06201f !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mzungu-card .btn-chat:not(.completed):not(.offline-chat):hover {
  background: #19d8c7 !important;
  transform: translateY(-1px);
}

/* A completed chat still looks like a button, but clearly cannot be pressed. */
.mzungu-card .btn-chat.completed {
  background: #17272e !important;
  color: #7b9297 !important;
  border: 1px solid rgba(123,146,151,.18) !important;
  opacity: .82 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Offline people are visible, but their chat action is explicitly disabled. */
.mzungu-card .btn-chat.offline-chat {
  background: #15242a !important;
  color: #71878c !important;
  border: 1px solid rgba(113,135,140,.16) !important;
  cursor: not-allowed !important;
  opacity: .78 !important;
}

.online-glow-dot.offline {
  background: #65757b !important;
  box-shadow: 0 0 0 1px rgba(101,117,123,.12) !important;
  animation: none !important;
}

.online-glow-dot.online {
  background: #19f28b !important;
  box-shadow:
    0 0 0 2px rgba(25,242,139,.16),
    0 0 8px rgba(25,242,139,.95),
    0 0 18px rgba(25,242,139,.65) !important;
}

.mzungu-info .meta.status-online {
  color: #8aa4a9 !important;
}

.mzungu-info .meta.status-online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #19f28b;
  box-shadow: 0 0 8px rgba(25,242,139,.85);
}

.mzungu-info .meta.status-offline {
  color: #687b80 !important;
}

.mzungu-info .meta.status-offline::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65757b;
}

/* Notification types share the same calm surface; account-created notices use teal. */
#floatingNotif:has(#notifIcon) .notif-icon-box {
  transition: background .2s ease, color .2s ease;
}

#floatingNotif .notif-icon-box {
  background: rgba(18,201,184,.09);
  border-color: rgba(18,201,184,.20);
  color: #19d1c1;
}

#floatingNotif .notif-desc {
  line-height: 1.35;
}

#floatingNotif .notif-desc span {
  color: #19d1c1;
}

@media (max-width: 600px) {
  .header-banner .btn-customer-care {
    width: 100% !important;
    min-height: 38px !important;
  }

  .card .btn-action {
    width: max-content !important;
  }
}

/* =========================================================
   LUGHAPAY — MODERN POLISH V4
   ========================================================= */
:root {
  --modern-bg: #06151d;
  --modern-surface: #0b2029;
  --modern-surface-2: #0e2731;
  --modern-border: rgba(104, 198, 207, .14);
  --modern-teal: #12cdbb;
  --modern-teal-2: #19aee8;
  --modern-text: #edf7f8;
  --modern-muted: #78949b;
  --modern-red: #ff5964;
}

html, body {
  background: radial-gradient(circle at 50% -12%, rgba(18,205,187,.08), transparent 34%), var(--modern-bg) !important;
}

.app-container {
  background: transparent !important;
}

/* Modern, restrained glass surfaces */
.header-banner,
.card,
.mzungu-card,
.support-section-card,
.reviews-section-card,
.extra-card {
  background: linear-gradient(145deg, rgba(13,39,49,.98), rgba(7,25,33,.98)) !important;
  border: 1px solid var(--modern-border) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.018) !important;
}

.header-banner {
  position: relative !important;
  overflow: hidden !important;
}
.header-banner::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: auto -50px -75px auto !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(18,205,187,.08), transparent 68%) !important;
  pointer-events: none !important;
}

/* One modern CTA language: teal/cyan gradient, subtle glow */
.btn-customer-care,
.btn-register-main,
.btn-action,
.mzungu-card .btn-chat:not(.completed):not(.offline-chat),
.btn-activate-account,
.time-option-btn,
.chat-input-area button {
  background: linear-gradient(135deg, var(--modern-teal), var(--modern-teal-2)) !important;
  color: #04201f !important;
  border: 0 !important;
  box-shadow: 0 7px 18px rgba(18,205,187,.14), inset 0 1px 0 rgba(255,255,255,.18) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}
.btn-customer-care:hover,
.btn-register-main:hover,
.btn-action:hover,
.mzungu-card .btn-chat:not(.completed):not(.offline-chat):hover {
  filter: brightness(1.06) saturate(1.04) !important;
  box-shadow: 0 9px 22px rgba(18,205,187,.20), inset 0 1px 0 rgba(255,255,255,.2) !important;
}

.btn-register-main {
  min-height: 44px !important;
  border-radius: 15px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}
.header-banner .btn-customer-care {
  border-radius: 14px !important;
  min-height: 40px !important;
  font-weight: 850 !important;
}

/* Money cards: compact but premium */
.cards-grid { gap: 9px !important; }
.card {
  min-height: 104px !important;
  height: 104px !important;
  border-radius: 16px !important;
  padding: 12px !important;
}
.card-title { font-weight: 800 !important; }
.card-amount { font-weight: 900 !important; }
.card .btn-action {
  border-radius: 12px !important;
  min-height: 28px !important;
  padding: 5px 11px !important;
  font-weight: 850 !important;
}

/* Wazungu: compact modern profile rows */
.wazungu-list { gap: 9px !important; }
.mzungu-card {
  border-radius: 17px !important;
  padding: 10px 11px !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
.mzungu-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(18,205,187,.25) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.20) !important;
}
.mzungu-card .avatar {
  border-color: rgba(18,205,187,.25) !important;
}
.mzungu-info h4 { color: var(--modern-text) !important; }
.mzungu-info .price { color: #e8c95a !important; font-weight: 850 !important; }
.mzungu-card .btn-chat {
  border-radius: 12px !important;
  min-height: 30px !important;
  height: 30px !important;
  font-weight: 900 !important;
}

/* Offline = unmistakably red; online = green */
.mzungu-info .meta.status-offline {
  color: var(--modern-red) !important;
  font-weight: 800 !important;
}
.mzungu-info .meta.status-offline::before {
  background: var(--modern-red) !important;
  box-shadow: 0 0 7px rgba(255,89,100,.72) !important;
}
.online-glow-dot.offline {
  background: var(--modern-red) !important;
  border-color: #0b2029 !important;
  box-shadow: 0 0 7px rgba(255,89,100,.72), 0 0 13px rgba(255,89,100,.35) !important;
}
.mzungu-card .btn-chat.offline-chat {
  background: rgba(255,89,100,.08) !important;
  color: #ff737c !important;
  border: 1px solid rgba(255,89,100,.20) !important;
}

/* Completed is disabled only for the current rotation */
.mzungu-card .btn-chat.completed {
  background: rgba(116,139,146,.12) !important;
  color: #81979c !important;
  border: 1px solid rgba(116,139,146,.18) !important;
  opacity: .82 !important;
}

/* Restore the glowing install notification */
.install-app-notification {
  background: linear-gradient(145deg, rgba(7,27,35,.98), rgba(6,20,27,.98)) !important;
  border: 1px solid rgba(25,242,139,.78) !important;
  box-shadow: 0 14px 45px rgba(0,0,0,.55), 0 0 13px rgba(25,242,139,.72), 0 0 28px rgba(25,242,139,.35) !important;
}
.install-app-notification.show {
  animation: installNotifGlowModern 1.25s ease-in-out infinite alternate !important;
}
@keyframes installNotifGlowModern {
  from { box-shadow: 0 14px 45px rgba(0,0,0,.55), 0 0 10px rgba(25,242,139,.55), 0 0 22px rgba(25,242,139,.28); }
  to { box-shadow: 0 14px 45px rgba(0,0,0,.55), 0 0 18px rgba(25,242,139,.95), 0 0 34px rgba(25,242,139,.48); }
}
.install-notif-btn {
  background: linear-gradient(135deg, #19f28b, #12cdbb) !important;
  color: #052019 !important;
  box-shadow: 0 0 15px rgba(25,242,139,.30) !important;
}

/* Notification remains compact and modern */
.floating-notification {
  background: linear-gradient(145deg, rgba(9,30,39,.97), rgba(6,20,28,.97)) !important;
  border-color: rgba(18,205,187,.20) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.42), 0 0 22px rgba(18,205,187,.08) !important;
}

@media (max-width: 600px) {
  .card { height: 100px !important; min-height: 100px !important; }
  .mzungu-card { padding: 9px 10px !important; }
  .mzungu-header { margin-bottom: 6px !important; }
}


/* =========================================================
   V5 REFINEMENTS — malipo, notification time & chat CTA
   ========================================================= */
.mzungu-info .price {
  color: #22d3ee !important;
}

/* Anza Chat: kubwa kidogo, lakini bado compact kuliko card */
.mzungu-card .btn-chat {
  width: 52% !important;
  min-width: 145px !important;
  max-width: 210px !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  border-radius: 24px !important;
}

/* Notification: muda uwe mwisho wa ujumbe */
.notif-time {
  display: inline-block;
  margin-left: 4px;
  color: #7f91aa !important;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .mzungu-card .btn-chat {
    width: 52% !important;
    min-width: 135px !important;
    max-width: 185px !important;
  }
}


/* =========================================================
   V6 — subtle accent rings + restrained CTA glow
   ========================================================= */

/* Restore the warm payment accent used before the V5 change. */
.mzungu-info .price,
.mzungu-info .price span,
.card-amount.gold-text,
.gold-text {
  color: #ffb703 !important;
}

/* Top cards: each card gets its own very subtle accent ring. */
.cards-grid .card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}
.cards-grid .card:nth-child(1) {
  border-color: rgba(255,166,77,.48) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18), 0 0 0 1px rgba(255,166,77,.07), inset 0 1px 0 rgba(255,166,77,.12) !important;
}
.cards-grid .card:nth-child(2) {
  border-color: rgba(25,242,139,.40) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18), 0 0 0 1px rgba(25,242,139,.06), inset 0 1px 0 rgba(25,242,139,.10) !important;
}
.cards-grid .card:nth-child(3) {
  border-color: rgba(93,173,255,.42) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18), 0 0 0 1px rgba(93,173,255,.06), inset 0 1px 0 rgba(93,173,255,.10) !important;
}
.cards-grid .card:nth-child(4) {
  border-color: rgba(193,126,255,.38) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18), 0 0 0 1px rgba(193,126,255,.05), inset 0 1px 0 rgba(193,126,255,.09) !important;
}

/* Buttons: slim, premium outline glow rather than a heavy neon effect. */
.btn-customer-care,
.btn-register-main,
.btn-action,
.mzungu-card .btn-chat:not(.completed):not(.offline-chat),
.btn-activate-account,
.time-option-btn {
  border: 1px solid rgba(18,205,187,.42) !important;
  box-shadow: 0 5px 14px rgba(18,205,187,.10), 0 0 8px rgba(18,205,187,.08), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
.btn-customer-care:hover,
.btn-register-main:hover,
.btn-action:hover,
.mzungu-card .btn-chat:not(.completed):not(.offline-chat):hover,
.btn-activate-account:hover,
.time-option-btn:hover {
  box-shadow: 0 7px 18px rgba(18,205,187,.14), 0 0 11px rgba(18,205,187,.12), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

/* Offline action stays simple: just "Offline", visibly disabled. */
.mzungu-card .btn-chat.offline-chat {
  border-color: rgba(255,89,100,.22) !important;
  box-shadow: 0 0 7px rgba(255,89,100,.06) !important;
}

/* =========================================================
   V7 — visible accent ring + stronger soft button glow
   ========================================================= */

/* Main "Ongea Kiswahili, Pata Malipo" card: warm accent ring like the reference design. */
.header-banner {
  border: 1px solid rgba(255,166,77,.62) !important;
  box-shadow:
    0 12px 30px rgba(0,0,0,.20),
    0 0 0 1px rgba(255,166,77,.16),
    0 0 18px rgba(255,166,77,.12),
    inset 0 1px 0 rgba(255,166,77,.14) !important;
}

/* Keep the ring subtle and clean on hover instead of becoming neon-heavy. */
.header-banner:hover {
  border-color: rgba(255,166,77,.72) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.23),
    0 0 0 1px rgba(255,166,77,.20),
    0 0 22px rgba(255,166,77,.16),
    inset 0 1px 0 rgba(255,166,77,.16) !important;
}

/* Buttons: clearly visible soft glow around the edges, still restrained. */
.btn-customer-care,
.btn-register-main,
.btn-action,
.mzungu-card .btn-chat:not(.completed):not(.offline-chat),
.btn-activate-account,
.time-option-btn,
.chat-input-area button {
  position: relative !important;
  border: 1px solid rgba(46,239,214,.48) !important;
  box-shadow:
    0 7px 18px rgba(18,205,187,.16),
    0 0 10px rgba(18,205,187,.20),
    0 0 22px rgba(18,205,187,.10),
    inset 0 1px 0 rgba(255,255,255,.20) !important;
}

.btn-customer-care:hover,
.btn-register-main:hover,
.btn-action:hover,
.mzungu-card .btn-chat:not(.completed):not(.offline-chat):hover,
.btn-activate-account:hover,
.time-option-btn:hover,
.chat-input-area button:hover {
  box-shadow:
    0 9px 22px rgba(18,205,187,.20),
    0 0 14px rgba(18,205,187,.28),
    0 0 28px rgba(18,205,187,.14),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

/* Keep the disabled/offline states from receiving the active glow. */
.mzungu-card .btn-chat.completed,
.mzungu-card .btn-chat.offline-chat {
  box-shadow: none !important;
}


/* =========================================================
   REGISTRATION GUIDE VIDEO — LughaPay
   ========================================================= */
.registration-guide-video-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  aspect-ratio: 16 / 9;
}

.registration-guide-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: contain;
  background: #000;
}

.registration-video-fullscreen,
.registration-video-exit-fullscreen {
  position: absolute;
  z-index: 5;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: rgba(0,0,0,.68);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  font-size: 22px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease;
}

.registration-video-fullscreen {
  right: 10px;
  bottom: 10px;
}

.registration-video-exit-fullscreen {
  display: none;
  top: 12px;
  right: 12px;
  font-size: 18px;
}

.registration-video-fullscreen:hover,
.registration-video-exit-fullscreen:hover {
  background: rgba(0,0,0,.88);
  transform: scale(1.05);
}

/* While the guide/video is open, support actions must not block the user. */
body.registration-guide-open .floating-whatsapp,
body.registration-guide-open .whatsapp-float,
body.registration-guide-open .support-section-card {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Fullscreen video: keep the custom close button available. */
.registration-guide-video-wrap:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-guide-video-wrap:fullscreen .registration-guide-video {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: contain;
}

.registration-guide-video-wrap:fullscreen .registration-video-fullscreen {
  display: none;
}

.registration-guide-video-wrap:fullscreen .registration-video-exit-fullscreen {
  display: grid;
}

@media (max-width: 600px) {
  .registration-guide-video-wrap {
    margin-bottom: 14px;
    border-radius: 13px;
  }

  .registration-guide-video {
    min-height: 175px;
  }

  .registration-video-fullscreen,
  .registration-video-exit-fullscreen {
    width: 38px;
    height: 38px;
  }

  .registration-guide-action {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* =========================================================
   CHAT / CALL DECORATIVE ACTIONS
   Voice Call & Video Call are visual-only buttons.
   ========================================================= */
.chat-action-row {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.chat-action-row .btn-chat {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

.btn-call-decor {
  flex: 0 0 72px;
  height: 42px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 9px;
  font: inherit;
  cursor: default !important;
  user-select: none;
  pointer-events: none;
  opacity: .96;
  box-shadow: 0 5px 14px rgba(0,0,0,.08);
}

.btn-call-decor span {
  font-size: 16px;
  line-height: 1;
}

.btn-call-decor small {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.btn-voice-decor {
  color: #b4235a;
  background: linear-gradient(135deg, #fff1f7, #ffd9e9);
  border-color: #f4a7c4;
}

.btn-video-decor {
  color: #b85a16;
  background: linear-gradient(135deg, #fff5e8, #ffe0b8);
  border-color: #f2b56e;
}

@media (max-width: 600px) {
  .chat-action-row {
    gap: 6px;
  }
  .btn-call-decor {
    flex-basis: 66px;
    height: 42px;
    padding: 5px 7px;
  }
  .btn-call-decor small {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .btn-call-decor {
    flex-basis: 58px;
  }
  .btn-call-decor small {
    display: none;
  }
}

/* Final visual polish: decorative call controls */
.chat-action-row .btn-call-decor {
  pointer-events: none !important;
  cursor: default !important;
  border: 1px solid transparent;
  filter: saturate(1.08);
  transition: filter .2s ease, opacity .2s ease;
}

.chat-action-row .btn-voice-decor {
  color: #9a4a00;
  background: linear-gradient(135deg, #ffb347 0%, #f28c28 100%);
  border-color: #ffb347;
  box-shadow: 0 6px 18px rgba(242,140,40,.22);
}

.chat-action-row .btn-video-decor {
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border-color: #a78bfa;
  box-shadow: 0 6px 18px rgba(109,40,217,.24);
}

.chat-action-row .btn-call-decor .call-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-action-row .btn-call-decor .call-icon svg {
  width: 17px;
  height: 17px;
}

/* Offline: decorative controls look disabled/faded and never resemble the active Chat button. */
.mzungu-card:has(.btn-chat.offline-chat) .btn-call-decor {
  opacity: .38;
  filter: grayscale(.65) saturate(.35) blur(.15px);
  box-shadow: none;
}

.mzungu-card:has(.btn-chat.offline-chat) .btn-voice-decor,
.mzungu-card:has(.btn-chat.offline-chat) .btn-video-decor {
  background: linear-gradient(135deg, #8a8f98, #5e6672);
  border-color: #737b87;
  color: #d6d9de;
}

/* FINAL OVERRIDE — true black page background, cards keep their existing surfaces */
html,
body {
  background: #000000 !important;
}

body::before {
  display: none !important;
  background: none !important;
}

/* Soften the orange accent around the "Ongea Kiswahili, Pata Malipo" card */
.header-banner {
  border-color: rgba(255, 166, 77, 0.28) !important;
  box-shadow:
    0 12px 30px rgba(0,0,0,.20),
    0 0 0 1px rgba(255,166,77,.05),
    0 0 12px rgba(255,166,77,.045),
    inset 0 1px 0 rgba(255,166,77,.06) !important;
}

.header-banner:hover {
  border-color: rgba(255,166,77,0.34) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.23),
    0 0 0 1px rgba(255,166,77,.07),
    0 0 14px rgba(255,166,77,.055),
    inset 0 1px 0 rgba(255,166,77,.07) !important;
}

/* FINAL NOTIFICATION POLISH — readable on phones + neon arrival glow */
.floating-notification {
  width: min(92vw, 450px) !important;
  min-height: 68px !important;
  padding: 13px 15px !important;
  gap: 12px !important;
  border: 1px solid rgba(25, 242, 139, .42) !important;
  box-shadow:
    0 18px 50px rgba(0,0,0,.55),
    0 0 10px rgba(25,242,139,.22),
    0 0 24px rgba(25,242,139,.14) !important;
}

.floating-notification.show {
  animation: notificationNeonGlow 1.35s ease-in-out infinite alternate;
}

@keyframes notificationNeonGlow {
  from {
    box-shadow:
      0 18px 50px rgba(0,0,0,.55),
      0 0 8px rgba(25,242,139,.20),
      0 0 18px rgba(25,242,139,.12);
  }
  to {
    box-shadow:
      0 18px 50px rgba(0,0,0,.55),
      0 0 16px rgba(25,242,139,.58),
      0 0 34px rgba(25,242,139,.30),
      0 0 52px rgba(25,242,139,.12);
  }
}

.notif-icon-box {
  width: 44px !important;
  height: 44px !important;
  flex-basis: 44px !important;
  font-size: 18px !important;
}

.notif-title {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.notif-desc {
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #aebbd0 !important;
}

.notif-close {
  font-size: 17px !important;
  padding: 5px !important;
}

@media (max-width: 600px) {
  .floating-notification {
    width: calc(100% - 20px) !important;
    min-height: 66px !important;
    padding: 12px 13px !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }

  .notif-icon-box {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    font-size: 17px !important;
  }

  .notif-title {
    font-size: 13px !important;
  }

  .notif-desc {
    font-size: 11.5px !important;
  }
}

/* =========================================================
   CHAT TYPING BUBBLE — Instagram / WhatsApp style
   ========================================================= */
.chat-typing-bubble {
  align-self: flex-start;
  width: fit-content;
  min-width: 48px;
  min-height: 30px;
  padding: 7px 10px !important;
  margin: 3px 0 7px;
  border-radius: 16px 16px 16px 5px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(42, 52, 68, .92) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.18);
}

.typing-bubble-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 10px;
}

.typing-bubble-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9d3df;
  opacity: .35;
  animation: chatBubbleTypingDot 1.15s infinite ease-in-out;
}

.typing-bubble-dots i:nth-child(2) { animation-delay: .15s; }
.typing-bubble-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes chatBubbleTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .3; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Never show floating notifications over the active chat. */
body.chat-active #floatingNotif,
body.chat-active #installAppNotif {
  display: none !important;
}

/* =========================================================
   PREMIUM COLOR SYSTEM — FINAL
   One calm accent per action family; no decorative rings/strips.
   ========================================================= */
:root {
  --premium-green: #20c997;
  --premium-green-2: #11998e;
  --premium-orange: #f59e0b;
  --premium-orange-2: #ea580c;
  --premium-purple: #8b5cf6;
  --premium-purple-2: #6d28d9;
  --premium-bg: #07111f;
  --premium-surface: #0d192b;
}

html, body {
  background:
    radial-gradient(circle at 18% 0%, rgba(32,201,151,.09), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(139,92,246,.10), transparent 32%),
    linear-gradient(180deg, #0a1424 0%, #07111f 48%, #050c17 100%) !important;
}
body::before { display:none !important; }

/* Remove old accent rings/strips completely. */
.cards-grid .card::before,
.cards-grid .card::after { display:none !important; content:none !important; }
.cards-grid .card,
.cards-grid .card:nth-child(1),
.cards-grid .card:nth-child(2),
.cards-grid .card:nth-child(3),
.cards-grid .card:nth-child(4) {
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Three compact money cards: same structure, distinct premium color family. */
.cards-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 9px !important; }
.cards-grid .card {
  min-height: 104px !important;
  height: 104px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  color: #fff !important;
}
.money-card-profit {
  background: linear-gradient(145deg, rgba(32,201,151,.30), rgba(13,25,43,.96) 72%) !important;
  border-color: rgba(32,201,151,.30) !important;
}
.money-card-balance {
  background: linear-gradient(145deg, rgba(245,158,11,.28), rgba(13,25,43,.96) 72%) !important;
  border-color: rgba(245,158,11,.28) !important;
}
.money-card-withdraw {
  background: linear-gradient(145deg, rgba(139,92,246,.30), rgba(13,25,43,.96) 72%) !important;
  border-color: rgba(139,92,246,.30) !important;
}
.money-card-profit .card-title { color:#7ff0c6 !important; }
.money-card-balance .card-title { color:#ffd27a !important; }
.money-card-withdraw .card-title { color:#c9b0ff !important; }

/* Action-color mapping: Chat=green, Voice=orange, Video=purple. */
.mzungu-card .btn-chat:not(.completed):not(.offline-chat) {
  background: linear-gradient(135deg, var(--premium-green), var(--premium-green-2)) !important;
  color:#04231d !important;
  border:0 !important;
  box-shadow: 0 7px 17px rgba(32,201,151,.18), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.chat-action-row .btn-voice-decor {
  background: linear-gradient(135deg, var(--premium-orange), var(--premium-orange-2)) !important;
  color:#301500 !important;
  border:0 !important;
  box-shadow: 0 7px 17px rgba(245,158,11,.18), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.chat-action-row .btn-video-decor {
  background: linear-gradient(135deg, var(--premium-purple), var(--premium-purple-2)) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow: 0 7px 17px rgba(139,92,246,.20), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

/* Keep every action control visually equal in size. */
.chat-action-row { gap:7px !important; }
.chat-action-row .btn-chat,
.chat-action-row .btn-call-decor {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  padding: 5px 6px !important;
}
.chat-action-row .btn-chat { font-size: 10px !important; font-weight:900 !important; }
.chat-action-row .btn-call-decor small { font-size:9px !important; }
.chat-action-row .btn-call-decor .call-icon,
.chat-action-row .btn-call-decor .call-icon svg { width:15px !important; height:15px !important; }

/* Register button follows the primary Chat/green family. */
.btn-register-main,
.btn-action {
  background: linear-gradient(135deg, var(--premium-green), var(--premium-green-2)) !important;
  color:#04231d !important;
  border:0 !important;
  box-shadow: 0 7px 17px rgba(32,201,151,.16), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
/* Balance card's withdrawal action follows orange family. */
.money-card-balance .btn-action {
  background: linear-gradient(135deg, var(--premium-orange), var(--premium-orange-2)) !important;
  color:#301500 !important;
  box-shadow: 0 7px 17px rgba(245,158,11,.17), inset 0 1px 0 rgba(255,255,255,.22) !important;
}

/* Put date beside the instruction instead of on a new full-width row. */
.section-title {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  column-gap:10px !important;
}
.section-title h3 { grid-column:1 !important; grid-row:1 !important; }
.section-title p { grid-column:1 !important; grid-row:2 !important; }
.section-title .live-date-time {
  grid-column:2 !important;
  grid-row:1 / span 2 !important;
  margin-top:0 !important;
  align-self:center !important;
  white-space:nowrap !important;
}

@media (max-width: 600px) {
  .cards-grid { gap:7px !important; }
  .cards-grid .card { min-height:96px !important; height:96px !important; padding:10px !important; }
  .card-title { font-size:8.5px !important; }
  .card-amount { font-size:17px !important; margin-bottom:5px !important; }
  .card-desc { font-size:8px !important; }
  .card .btn-action { min-height:25px !important; padding:4px 8px !important; font-size:9px !important; }
  .section-title { grid-template-columns:1fr auto !important; }
  .section-title h3 { font-size:18px !important; }
  .section-title p { font-size:10px !important; }
  .section-title .live-date-time { font-size:9px !important; padding:5px 8px 5px 21px !important; }
}


/* Live chat earnings */
.chat-session-earnings {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  padding:7px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  font-size:12px;
}
.chat-session-earnings span { opacity:.72; }
.chat-session-earnings strong { font-size:14px; letter-spacing:.2px; }


/* Refined live chat timer + earnings card */
.chat-session-card{
  margin:8px 10px 10px;
  padding:10px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10);
}
.chat-session-card-blog{background:linear-gradient(135deg,rgba(76,29,149,.96),rgba(37,99,235,.92) 58%,rgba(15,23,42,.98));}
.chat-session-card-lugha{background:linear-gradient(135deg,rgba(88,28,135,.97),rgba(124,45,18,.94) 58%,rgba(15,23,42,.98));}
.chat-session-main{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.chat-session-label{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:900;letter-spacing:.7px;color:rgba(255,255,255,.82);}
.chat-countdown-badge{min-width:66px;padding:5px 9px;text-align:center;border-radius:9px;color:#fff;font-size:13px;letter-spacing:1px;background:rgba(5,10,24,.35);border:1px solid rgba(255,255,255,.18);box-shadow:0 4px 12px rgba(0,0,0,.18);}
.chat-session-card .chat-progress-track{height:7px;margin-top:9px;border-radius:999px;overflow:hidden;background:rgba(3,7,18,.42);border:1px solid rgba(255,255,255,.10);}
.chat-session-card .chat-progress-bar{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#c084fc 0%,#60a5fa 55%,#4ade80 100%);box-shadow:0 0 12px rgba(74,222,128,.45);transition:width 1s linear;}
.chat-earnings-display{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:8px;color:#86efac;}
.chat-earnings-display strong{font-size:14px;font-weight:950;letter-spacing:.2px;text-shadow:0 0 10px rgba(74,222,128,.22);}
.earnings-plus{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:6px;background:linear-gradient(135deg,#4ade80,#16a34a);color:#03220f;font-size:15px;font-weight:1000;box-shadow:0 0 10px rgba(74,222,128,.35);}
.chat-session-note{display:none!important;}


/* FINAL CUSTOMER CARE NOTIFICATION + MOTION POLISH */
.notif-support-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.floating-notification {
  width: min(92vw, 460px) !important;
  min-height: 70px !important;
}

.floating-notification.show {
  animation: notificationNeonGlow 1.2s ease-in-out infinite alternate, customerCareShake .55s ease-in-out 1;
}

@keyframes customerCareShake {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  20% { transform: translateX(calc(-50% - 5px)) rotate(-1deg); }
  40% { transform: translateX(calc(-50% + 5px)) rotate(1deg); }
  60% { transform: translateX(calc(-50% - 3px)) rotate(-.7deg); }
  80% { transform: translateX(calc(-50% + 3px)) rotate(.7deg); }
}

.install-app-notification.install-notif-shake {
  animation: installNotifGlow 1.25s ease-in-out infinite alternate, installNotifShake .55s ease-in-out 1 !important;
}

@keyframes installNotifShake {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  20% { transform: translateX(calc(-50% - 5px)) rotate(-1deg); }
  40% { transform: translateX(calc(-50% + 5px)) rotate(1deg); }
  60% { transform: translateX(calc(-50% - 3px)) rotate(-.7deg); }
  80% { transform: translateX(calc(-50% + 3px)) rotate(.7deg); }
}

/* Make the withdrawal button substantial and easy to tap. */
.money-card-balance .btn-action {
  width: 100% !important;
  min-height: 46px !important;
  padding: 11px 16px !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 9px !important;
}

@media (max-width: 600px) {
  .money-card-balance .btn-action {
    min-height: 40px !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-notification.show,
  .install-app-notification.install-notif-shake {
    animation: none !important;
  }
}

/* =========================================================
   LUGHAPAY — NOTIFICATION SYSTEM V5
   ========================================================= */
#floatingNotif {
  min-height: 76px !important;
  border-radius: 18px !important;
}
#floatingNotif .notif-support-action {
  background: #18e58a !important;
  color: #062018 !important;
  border: 0 !important;
  font-weight: 800 !important;
  box-shadow: 0 7px 18px rgba(24,229,138,.22) !important;
}
#floatingNotif .notif-support-action:hover {
  background: #2af09a !important;
  transform: translateY(-1px) !important;
}
#floatingNotif.notif-support-shake .notif-content,
#floatingNotif.notif-support-shake .notif-icon-box,
#floatingNotif.notif-support-shake .notif-support-action {
  animation: lughapayNotifShake .55s ease-in-out;
}
#floatingNotif.notif-install .notif-support-action {
  background: #18e58a !important;
}
#floatingNotif.notif-account .notif-icon-box {
  background: rgba(25,242,139,.10) !important;
  border-color: rgba(25,242,139,.24) !important;
}
#floatingNotif.notif-install .notif-icon-box {
  background: rgba(25,242,139,.10) !important;
  border-color: rgba(25,242,139,.24) !important;
}
#floatingNotif.notif-install.notif-support-shake .notif-content,
#floatingNotif.notif-install.notif-support-shake .notif-icon-box,
#floatingNotif.notif-install.notif-support-shake .notif-support-action {
  animation: lughapayInstallShake .62s ease-in-out;
}
@keyframes lughapayNotifShake {
  0%,100% { transform: translateX(0) rotate(0); }
  18% { transform: translateX(-4px) rotate(-1deg); }
  36% { transform: translateX(4px) rotate(1deg); }
  54% { transform: translateX(-3px) rotate(-.7deg); }
  72% { transform: translateX(3px) rotate(.7deg); }
}
@keyframes lughapayInstallShake {
  0%,100% { transform: translateY(0); }
  20% { transform: translateY(-2px) rotate(-1deg); }
  40% { transform: translateY(2px) rotate(1deg); }
  60% { transform: translateY(-2px) rotate(-.7deg); }
  80% { transform: translateY(1px) rotate(.7deg); }
}
.card .btn-action {
  width: 100% !important;
  min-height: 42px !important;
  margin-top: 10px !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-sizing: border-box !important;
}

/* The install prompt now uses the same main notification slot. */
#installAppNotif { display: none !important; }


/* =========================================================
   LUGHAPAY — CALM SCREEN NOTIFICATION ROTATION
   ========================================================= */
#floatingNotif {
  position: fixed !important;
  top: -140px !important;
  left: auto !important;
  right: 18px !important;
  transform: none !important;
  width: min(420px, calc(100vw - 36px)) !important;
  max-width: 420px !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
#floatingNotif.show {
  top: 18px !important;
}
#floatingNotif .notif-icon-box {
  width: 48px !important;
  height: 48px !important;
  flex-basis: 48px !important;
}
#floatingNotif .notif-support-action {
  background: #18e58a !important;
  color: #062018 !important;
  border: 0 !important;
  padding: 8px 12px !important;
  border-radius: 11px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}
#floatingNotif.notif-account {
  border-color: rgba(25,242,139,.24) !important;
}
#floatingNotif.notif-account .notif-icon-box {
  font-size: 20px !important;
}
#floatingNotif.notif-support-shake .notif-content,
#floatingNotif.notif-support-shake .notif-icon-box,
#floatingNotif.notif-support-shake .notif-support-action {
  animation: lughapayNotifShake .55s ease-in-out 1 !important;
}
@media (max-width: 600px) {
  #floatingNotif {
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: none !important;
  }
  #floatingNotif.show { top: 10px !important; }
}


/* =========================================================
   LUGHAPAY — PREMIUM SITE FOOTER
   ========================================================= */

/* ===================================
   LUGHAPAY PREMIUM FOOTER
   DESIGNED BY BRIZZY TECHNOLOGIES
=================================== */

.lp-footer {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 24px 15px 18px;
  background: linear-gradient(
    180deg,
    #071a2b 0%,
    #061421 100%
  );
  color: #eaf0f6;
  text-align: center;
  overflow: hidden;
}

.lp-footer-inner {
  max-width: 560px;
  margin: 0 auto;
}

/* LOGO AND BRAND */

.lp-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.lp-brand-logo {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #182b3d;
  border: 1px solid #a58b64;
  border-radius: 10px;
  color: #d9b47d;
  font-size: 12px;
  font-weight: 800;
}

.lp-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.lp-brand-name span {
  color: #d9b47d;
}

/* BUTTONS */

.lp-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.lp-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  background: #152638;
  border: 1px solid #34495c;
  border-radius: 9px;
  color: #e3eaf2;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}

.lp-footer-btn:hover {
  color: #e8c58c;
  border-color: #d9b47d;
  background: #203448;
  transform: translateY(-2px);
}

/* GOLD LINE ACROSS FOOTER */

.lp-gold-divider {
  width: 100%;
  height: 2px;
  margin: 0 auto 25px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215,180,125,.35) 25%,
    #d9b47d 50%,
    rgba(215,180,125,.35) 75%,
    transparent
  );
}

/* CRAFTED WITH PRECISION */

.lp-crafted {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #cbb18b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  white-space: nowrap;
}

.lp-small-line {
  width: 30px;
  height: 1px;
  background: rgba(201,174,131,.65);
}

/* COMPANY */

.lp-company {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-created {
  margin: 0 0 12px;
  color: #aab6c6;
  font-size: 14px;
  font-weight: 400;
}

.lp-company-name {
  margin: 0;
  color: #d9b47d;
  font-size: clamp(21px, 5vw, 29px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.25;
}

.lp-tagline {
  margin: 17px 0 0;
  color: #aab6c6;
  font-size: 12px;
  line-height: 1.6;
}

/* COPYRIGHT */

.lp-copyright {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #8796a7;
  font-size: 10px;
  line-height: 1.5;
}

/* MOBILE RESPONSIVE */

@media (max-width: 480px) {
  .lp-footer {
    padding: 20px 10px 16px;
  }

  .lp-footer-links {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .lp-footer-btn {
    padding: 9px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .lp-crafted {
    gap: 8px;
    letter-spacing: 1.5px;
    font-size: 9px;
  }

  .lp-small-line {
    width: 22px;
  }

  .lp-created {
    font-size: 13px;
  }

  .lp-company-name {
    font-size: 23px;
  }

  .lp-tagline {
    font-size: 11px;
  }

  .lp-copyright {
    font-size: 10px;
  }
}


/* FIX HORIZONTAL OVERFLOW */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: clip;
}

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

img, video, iframe, svg {
  max-width: 100%;
}

/* Prevent footer from expanding screen */
.lp-footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.lp-footer-inner {
  width: 100%;
  min-width: 0;
}

.lp-footer-links {
  max-width: 100%;
}

.lp-footer-btn {
  min-width: 0;
}

/* Small screens */
@media (max-width: 480px) {
  .lp-footer-links {
    flex-wrap: wrap;
  }

  .lp-footer-btn {
    white-space: normal;
    text-align: center;
  }
}


/* =========================================================
   LUGHAPAY PAYMENT GUIDE
   ========================================================= */
.lughapay-payment-guide {
  margin: 14px 0 0;
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, .22);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(245,158,11,.045));
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.payment-guide-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.payment-guide-header h3 { margin:0; font-size:15px; font-weight:900; }
.payment-guide-header p { margin:4px 0 0; font-size:11px; line-height:1.45; color:#8fa1b8; }
.payment-guide-badge { flex:0 0 auto; padding:7px 10px; border-radius:999px; color:#301500; background:linear-gradient(135deg,#f59e0b,#ffb83d); font-size:10px; font-weight:900; box-shadow:0 6px 16px rgba(245,158,11,.18); }
.payment-network-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.payment-network-btn { border:0; min-height:58px; padding:10px 12px; border-radius:13px; text-align:left; cursor:pointer; transition:transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.payment-network-btn:hover { transform:translateY(-1px); filter:brightness(1.04); }
.payment-network-btn span { display:block; font-size:12px; font-weight:900; }
.payment-network-btn small { display:block; margin-top:3px; font-size:9px; font-weight:700; opacity:.78; }
.payment-mpesa { background:#fff; color:#12823b; box-shadow:0 7px 16px rgba(0,0,0,.10); }
.payment-airtel { background:#d71920; color:#fff; box-shadow:0 7px 16px rgba(215,25,32,.18); }
.payment-yas { background:#1261b0; color:#ffe600; box-shadow:0 7px 16px rgba(18,97,176,.18); }
.payment-halo { background:#f28c18; color:#fff; box-shadow:0 7px 16px rgba(242,140,24,.18); }

.payment-modal-overlay { display:none; z-index:10050; }
.payment-modal-overlay.show { display:flex; }
.payment-guide-modal { width:min(440px, calc(100% - 28px)); max-height:min(88vh,760px); overflow:auto; }
.payment-modal-icon { width:44px; height:44px; margin:0 auto 10px; display:grid; place-items:center; border-radius:14px; background:rgba(245,158,11,.14); color:#ffb52e; font-size:22px; font-weight:900; }
.payment-guide-modal h3 { margin-bottom:6px; text-align:center; }
.payment-modal-subtitle { margin:0 0 13px; text-align:center; font-size:11px; color:#8fa1b8; line-height:1.45; }
.payment-number-card { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 12px; margin-bottom:14px; border-radius:13px; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.20); }
.payment-number-label { display:block; font-size:9px; color:#91a1b7; margin-bottom:3px; }
.payment-number-card strong { font-size:18px; letter-spacing:.5px; color:#ffbd4a; }
.copy-payment-btn { border:0; border-radius:10px; padding:9px 13px; background:#f59e0b; color:#301500; font-size:10px; font-weight:900; cursor:pointer; }
.payment-steps { margin:0; padding-left:23px; }
.payment-steps li { margin:0 0 9px; padding-left:3px; font-size:12px; line-height:1.48; color:#d7e0eb; }
.payment-receiver-note { margin-top:12px; padding:10px 11px; border-radius:11px; background:rgba(255,255,255,.045); color:#aebdce; font-size:10px; line-height:1.45; }
.payment-receiver-note strong { color:#f4f7fb; }
.payment-back-btn { width:100%; margin-top:12px; border:1px solid rgba(255,255,255,.08); border-radius:11px; min-height:40px; background:rgba(255,255,255,.045); color:#dbe6f3; font-size:11px; font-weight:800; cursor:pointer; }
.payment-confirmation-card { margin:10px 0 0; padding:16px; border-radius:18px; text-align:center; border:1px solid rgba(34,197,94,.17); background:linear-gradient(145deg,rgba(34,197,94,.055),rgba(255,255,255,.025)); }
.payment-confirmation-card h3 { margin:0; font-size:15px; font-weight:900; }
.payment-confirmation-card p { margin:5px auto 12px; max-width:430px; font-size:10.5px; line-height:1.5; color:#91a1b7; }
.payment-whatsapp-btn { display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:10px 14px; border-radius:13px; text-decoration:none; background:linear-gradient(135deg,#18a957,#25d366); color:#fff; font-size:11px; font-weight:900; box-shadow:0 8px 20px rgba(37,211,102,.17); }
.payment-camera-icon { width:23px; height:23px; display:grid; place-items:center; border:2px solid currentColor; border-radius:6px; font-size:11px; }
@media (max-width:600px) {
  .payment-guide-header { align-items:flex-start; }
  .payment-guide-badge { font-size:9px; padding:6px 8px; }
  .payment-network-btn { min-height:54px; }
  .payment-whatsapp-btn { font-size:10px; }
}

/* =========================================================
   LUGHAPAY PAYMENT BUTTON + SELECTOR POPUP
   ========================================================= */
.btn-payment-main {
  width: 100%;
  min-height: 48px;
  margin: 9px 0 0;
  border: 0;
  border-radius: 14px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #111;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(245,158,11,.20);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn-payment-main:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-payment-main:active { transform: translateY(0); }
.btn-payment-main-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(0,0,0,.35);
  border-radius: 7px;
  font-size: 13px;
}
.payment-selector-overlay { display:none; z-index:10040; }
.payment-selector-overlay.show { display:flex; }
.payment-selector-modal {
  width: min(440px, calc(100% - 28px));
  max-height: min(88vh, 760px);
  overflow:auto;
  text-align:center;
}
.payment-selector-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:rgba(245,158,11,.14);
  color:#ffb52e;
  font-size:22px;
  font-weight:900;
}
.payment-selector-modal h3 { margin:0 0 6px; font-size:17px; font-weight:900; }
.payment-selector-modal > p { margin:0 0 15px; color:#8fa1b8; font-size:11px; line-height:1.5; }
.payment-selector-price {
  margin-top: 13px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(245,158,11,.07);
  border: 1px solid rgba(245,158,11,.14);
  color:#9eacc0;
  font-size:10px;
}
.payment-selector-price strong { color:#ffbd4a; }
.payment-confirmation-inline {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.payment-confirmation-inline strong { font-size:12px; }
.payment-confirmation-inline > span { color:#8fa1b8; font-size:10px; line-height:1.4; margin-bottom:5px; }
.payment-confirmation-inline .payment-whatsapp-btn { min-height:43px; font-size:10.5px; }

/* =========================================================
   FINAL WHATSAPP FLOATING CONTROLS
   Only controls the two floating WhatsApp actions.
   ========================================================= */
.floating-whatsapp,
.whatsapp-float {
  position: fixed !important;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important;
  height: 54px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  z-index: 999999 !important;
  overflow: visible !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

/* Customer Care: right side, text always visible. */
.floating-whatsapp {
  right: 14px !important;
  left: auto !important;
  width: min(48vw, 205px) !important;
  min-width: 0 !important;
  padding: 0 14px 0 10px !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  border-radius: 28px !important;
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 16px rgba(37,211,102,.28) !important;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 15px;
  width: 16px;
  height: 16px;
  background: #25d366;
  transform: rotate(45deg);
  border-radius: 2px;
  z-index: -1;
}

.floating-whatsapp .whatsapp-icon {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  background: rgba(255,255,255,.16) !important;
  border-radius: 50% !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.floating-whatsapp .whatsapp-icon svg {
  width: 30px !important;
  height: 30px !important;
  display: block !important;
}

.floating-whatsapp .whatsapp-label {
  display: block !important;
  white-space: normal !important;
  line-height: 1.15 !important;
  font-size: clamp(10px, 2.8vw, 13px) !important;
  font-weight: 900 !important;
  text-align: left !important;
  color: #fff !important;
}

/* Channel: left side, slightly smaller so both controls balance. */
.whatsapp-float {
  left: 14px !important;
  right: auto !important;
  width: min(42vw, 175px) !important;
  min-width: 0 !important;
  padding: 0 12px !important;
  justify-content: center !important;
  gap: 7px !important;
  border-radius: 27px !important;
  background: #25d366 !important;
  color: #fff !important;
  font-size: clamp(9px, 2.7vw, 12px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-align: center !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 16px rgba(37,211,102,.28) !important;
}

.whatsapp-float svg {
  flex: 0 0 25px !important;
  width: 25px !important;
  height: 25px !important;
}

.floating-whatsapp:hover,
.whatsapp-float:hover {
  transform: translateY(-3px) !important;
}

/* Keep labels visible even while a chat is active. */
body.chat-active .floating-whatsapp,
body.chat-active .whatsapp-float {
  bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  height: 48px !important;
  min-width: 0 !important;
  border-radius: 25px !important;
  padding: 0 10px !important;
}

body.chat-active .floating-whatsapp {
  right: 10px !important;
  left: auto !important;
  width: min(47vw, 190px) !important;
  justify-content: flex-start !important;
}

body.chat-active .whatsapp-float {
  left: 10px !important;
  right: auto !important;
  width: min(40vw, 160px) !important;
  justify-content: center !important;
  font-size: clamp(8px, 2.5vw, 11px) !important;
  text-indent: 0 !important;
  overflow: visible !important;
}

body.chat-active .floating-whatsapp .whatsapp-label {
  display: block !important;
}

body.chat-active .floating-whatsapp .whatsapp-icon {
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
  background: rgba(255,255,255,.16) !important;
  font-size: initial !important;
}

body.chat-active .floating-whatsapp .whatsapp-icon svg {
  width: 27px !important;
  height: 27px !important;
}

body.chat-active .whatsapp-float svg {
  width: 22px !important;
  height: 22px !important;
}

@media (max-width: 380px) {
  .floating-whatsapp,
  .whatsapp-float {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    height: 50px !important;
  }
  .floating-whatsapp {
    right: 8px !important;
    width: calc(50vw - 12px) !important;
    padding-right: 8px !important;
  }
  .whatsapp-float {
    left: 8px !important;
    width: calc(50vw - 12px) !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .floating-whatsapp .whatsapp-label {
    font-size: 10px !important;
  }
  .whatsapp-float {
    font-size: 9px !important;
  }
}


/* =========================================================
   FINAL: COMPACT TOP NOTIFICATIONS
   Support + Install stay short: title + action only.
   Withdrawal keeps only amount + time.
   ========================================================= */
#floatingNotif {
  min-height: 54px !important;
  height: auto !important;
  padding: 9px 11px !important;
  gap: 9px !important;
  border-radius: 15px !important;
}
#floatingNotif .notif-icon-box {
  width: 36px !important;
  height: 36px !important;
  flex-basis: 36px !important;
  font-size: 16px !important;
}
#floatingNotif .notif-content {
  gap: 0 !important;
}
#floatingNotif .notif-title {
  font-size: 12px !important;
  line-height: 1.2 !important;
}
#floatingNotif .notif-desc[hidden] {
  display: none !important;
}
#floatingNotif .notif-desc {
  font-size: 9.5px !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
}
#floatingNotif .notif-support-action {
  padding: 7px 10px !important;
  border-radius: 9px !important;
  font-size: 10px !important;
  line-height: 1 !important;
}
#floatingNotif .notif-close {
  font-size: 14px !important;
  padding: 3px !important;
}
#floatingNotif.notif-withdrawal .notif-icon-box {
  background: rgba(25,242,139,.10) !important;
  border-color: rgba(25,242,139,.24) !important;
}
@media (max-width: 600px) {
  #floatingNotif {
    width: calc(100vw - 20px) !important;
    min-height: 50px !important;
    padding: 8px 9px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }
  #floatingNotif .notif-icon-box {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }
  #floatingNotif .notif-title {
    font-size: 11.5px !important;
  }
  #floatingNotif .notif-support-action {
    padding: 7px 9px !important;
    font-size: 9.5px !important;
  }
}

/* =========================================================
   LUGHAPAY — FINAL COMPACT-BUT-BROAD NOTIFICATION POLISH
   Only the top floating notifications are affected.
   ========================================================= */
#floatingNotif {
  width: calc(100vw - 24px) !important;
  max-width: 560px !important;
  min-height: 82px !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
}

#floatingNotif .notif-content {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

#floatingNotif .notif-title {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  margin: 0 !important;
}

#floatingNotif .notif-desc {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  margin-top: 3px !important;
  color: rgba(255,255,255,.72) !important;
  max-width: 100% !important;
}

#floatingNotif .notif-support-action {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-height: 38px !important;
  padding: 9px 13px !important;
  font-size: 11px !important;
  border-radius: 11px !important;
}

#floatingNotif.notif-withdrawal .notif-content {
  justify-content: center !important;
}

#floatingNotif.notif-withdrawal .notif-title {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 850 !important;
}

@media (max-width: 600px) {
  #floatingNotif {
    left: 12px !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    min-height: 82px !important;
  }

  #floatingNotif .notif-title {
    font-size: 13px !important;
  }

  #floatingNotif .notif-desc {
    font-size: 10.5px !important;
  }

  #floatingNotif .notif-support-action {
    font-size: 10.5px !important;
    padding: 8px 11px !important;
  }
}

/* =========================================================
   CHAT MODE — HIDE FLOATING SUPPORT/GROUP BUTTONS
   Only visible outside the active chat room.
   ========================================================= */
body.chat-active .floating-whatsapp,
body.chat-active .whatsapp-float {
  display: none !important;
}

/* =========================================================
   LUGHAPAY — CUSTOMER CARE ONLY GLOW
   WhatsApp Channel stays clean with no glow.
   Customer Care gets a purple pulse around the full pill shape.
   ========================================================= */
.floating-whatsapp,
.whatsapp-float {
  border-radius: 14px !important;
  isolation: isolate !important;
}

.floating-whatsapp::before {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: -1 !important;
  border: 2px solid rgba(139, 92, 246, .9) !important;
  box-shadow: 0 0 8px rgba(139, 92, 246, .8),
              0 0 20px rgba(139, 92, 246, .58),
              0 0 38px rgba(99, 102, 241, .32) !important;
  animation: lughapayCustomerCareGlow 1.8s ease-in-out infinite !important;
}

/* WhatsApp Channel: no glow at all. */
.whatsapp-float::before {
  display: none !important;
}

/* Remove the old Customer Care diamond/tail. */
.floating-whatsapp::after {
  display: none !important;
}

@keyframes lughapayCustomerCareGlow {
  0%, 100% {
    transform: scale(1);
    opacity: .38;
    box-shadow: 0 0 6px rgba(139, 92, 246, .42),
                0 0 14px rgba(139, 92, 246, .28),
                0 0 24px rgba(99, 102, 241, .16);
  }
  50% {
    transform: scale(1.045);
    opacity: 1;
    box-shadow: 0 0 10px rgba(139, 92, 246, .95),
                0 0 26px rgba(139, 92, 246, .72),
                0 0 46px rgba(99, 102, 241, .48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp::before {
    animation: none !important;
    opacity: .8 !important;
  }
}

/* FINAL CUSTOMER CARE FLOATING BUTTON LOOK
   Purple button, green WhatsApp icon, green animated glow. */
.floating-whatsapp {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  color: #fff !important;
  border-radius: 14px !important;
}

.floating-whatsapp .whatsapp-icon {
  color: #25D366 !important;
}

.floating-whatsapp::before {
  border-color: rgba(37, 211, 102, .95) !important;
  box-shadow: 0 0 8px rgba(37, 211, 102, .85),
              0 0 20px rgba(37, 211, 102, .60),
              0 0 38px rgba(37, 211, 102, .35) !important;
  animation: lughapayCustomerCareGreenGlow 1.8s ease-in-out infinite !important;
}

@keyframes lughapayCustomerCareGreenGlow {
  0%, 100% {
    transform: scale(1);
    opacity: .35;
    box-shadow: 0 0 6px rgba(37, 211, 102, .40),
                0 0 14px rgba(37, 211, 102, .28),
                0 0 24px rgba(37, 211, 102, .16);
  }
  50% {
    transform: scale(1.045);
    opacity: 1;
    box-shadow: 0 0 10px rgba(37, 211, 102, .98),
                0 0 26px rgba(37, 211, 102, .75),
                0 0 46px rgba(37, 211, 102, .50);
  }
}

/* WhatsApp Channel remains completely clean — no glow. */
.whatsapp-float::before {
  display: none !important;
}

/* =========================================================
   WITHDRAWAL RESULT / DEMO RECEIPT
   ========================================================= */
.withdrawal-result-card {
  max-width: 670px;
  width: min(670px, calc(100% - 28px));
  max-height: 92vh;
  overflow-y: auto;
  text-align: center;
  padding: 24px 36px 28px;
  border-radius: 30px;
}

.withdraw-failed-icon {
  width: 72px;
  height: 72px;
  margin: 4px auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,77,77,.13);
  box-shadow: 0 0 0 1px rgba(255,77,77,.08), 0 12px 32px rgba(0,0,0,.22);
}

.withdraw-failed-icon span {
  color: #ff5656;
  font-size: 68px;
  font-weight: 300;
  line-height: .75;
  transform: translateY(-2px);
}

.withdraw-warning-mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  color: #101820;
  background: #ffb703;
  clip-path: polygon(50% 0, 100% 88%, 0 88%);
  font-size: 25px;
  font-weight: 950;
  padding-top: 7px;
}

.withdraw-result-title {
  margin: 0 0 10px;
  color: #ff5555;
  font-size: 24px;
  font-weight: 900;
}

.withdraw-result-text {
  max-width: 520px;
  margin: 0 auto 22px;
  color: #aebccc;
  font-size: 15px;
  line-height: 1.55;
}

.withdraw-receipt {
  width: 100%;
  padding: 19px 25px 18px;
  border: 2px dashed rgba(111,145,181,.22);
  border-radius: 22px;
  background: rgba(6,17,31,.54);
  text-align: left;
}

.receipt-demo-label {
  text-align: center;
  color: #aab9ca;
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 800;
}

.receipt-divider {
  height: 1px;
  margin: 14px 0;
  border-top: 2px dashed rgba(111,145,181,.18);
}

.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 0;
  color: #aebdce;
  font-size: 14px;
}

.receipt-row strong {
  color: #f2f6fb;
  text-align: right;
  font-weight: 800;
}

.receipt-amount,
.receipt-fee {
  font-size: 16px;
}

.receipt-total-line {
  height: 3px;
  margin: 12px 0 7px;
  background: rgba(191,207,224,.8);
}

.receipt-total {
  padding-top: 6px;
  font-size: 18px;
  font-weight: 900;
}

.receipt-total strong {
  color: #55d87c;
  font-size: 19px;
}

.receipt-demo-note {
  margin: 12px 3px 17px;
  color: #8193aa;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.withdraw-register-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  color: #03140e;
  background: linear-gradient(100deg, #00c879, #00f58a);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(0,245,138,.18);
}

@media (max-width: 560px) {
  .withdrawal-result-card {
    width: calc(100% - 18px);
    padding: 22px 18px 22px;
    border-radius: 25px;
  }

  .withdraw-result-title {
    font-size: 21px;
  }

  .withdraw-result-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .withdraw-receipt {
    padding: 16px 15px;
    border-radius: 18px;
  }

  .receipt-row {
    font-size: 12px;
    gap: 10px;
  }

  .receipt-amount,
  .receipt-fee {
    font-size: 14px;
  }

  .receipt-total,
  .receipt-total strong {
    font-size: 16px;
  }

  .withdraw-register-btn {
    font-size: 14px;
  }
}

/* =========================================================
   WITHDRAWAL FORM - NETWORK CARD SELECTOR
   ========================================================= */
.withdraw-network-group { margin-top: 2px; }
.withdraw-network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}
.withdraw-network-card {
  position: relative;
  min-width: 0;
  min-height: 76px;
  padding: 13px 38px 12px 14px;
  border: 1px solid rgba(100,145,190,.18);
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.withdraw-network-card:hover { transform: translateY(-1px); filter: brightness(1.04); }
.withdraw-network-card:focus-visible { outline: 2px solid rgba(0,220,180,.75); outline-offset: 2px; }
.withdraw-network-card.selected {
  border-color: rgba(0,238,175,.95);
  box-shadow: 0 0 0 2px rgba(0,238,175,.28), 0 10px 28px rgba(0,0,0,.20);
  transform: translateY(-1px);
}
.network-card-title { display:block; font-size:14px; line-height:1.2; font-weight:900; }
.network-card-subtitle { display:block; margin-top:6px; font-size:10px; line-height:1; font-weight:750; opacity:.78; }
.network-selected-mark {
  position:absolute;
  right:10px;
  top:50%;
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  transform:translateY(-50%) scale(.7);
  opacity:0;
  border-radius:50%;
  background:#18e59a;
  color:#032016;
  font-size:14px;
  font-weight:1000;
  transition:opacity .18s ease, transform .18s ease;
}
.withdraw-network-card.selected .network-selected-mark { opacity:1; transform:translateY(-50%) scale(1); }
.withdraw-mpesa { background:#f7f4e8; color:#13823d; }
.withdraw-airtel { background:#e81e2a; color:#fff; }
.withdraw-yas { background:#1267bd; color:#ffe600; }
.withdraw-halo { background:#f59a16; color:#fff; }
.withdraw-mpesa.selected { box-shadow:0 0 0 2px rgba(24,229,154,.42), 0 10px 28px rgba(0,0,0,.22); }

/* Compact withdrawal result: keep it as a centered popup, not a screen-sized panel. */
.withdrawal-result-card {
  max-width: 430px;
  width: min(430px, calc(100% - 28px));
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px 24px 22px;
  border-radius: 26px;
}
.withdraw-failed-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.withdraw-failed-icon span { font-size: 59px; }
.withdraw-result-title { font-size: 22px; margin-bottom:8px; }
.withdraw-result-text { margin-bottom:16px; font-size:13px; }
.withdraw-receipt { padding:15px 17px; border-radius:18px; }
.receipt-demo-label { font-size:11px; letter-spacing:1.5px; }
.receipt-divider { margin:10px 0; }
.receipt-row { padding:4px 0; font-size:12px; }
.receipt-amount, .receipt-fee { font-size:14px; }
.receipt-total-line { margin:9px 0 5px; }
.receipt-total, .receipt-total strong { font-size:16px; }
.withdraw-register-btn { margin-top:14px; padding:13px 18px; font-size:14px; }

@media (max-width: 560px) {
  .withdraw-network-grid { gap:8px; }
  .withdraw-network-card { min-height:72px; padding:12px 35px 11px 12px; border-radius:14px; }
  .network-card-title { font-size:12px; }
  .network-card-subtitle { font-size:9px; margin-top:5px; }
  .network-selected-mark { right:8px; width:21px; height:21px; font-size:12px; }
  .withdrawal-result-card {
    width: calc(100% - 24px);
    max-height: 86vh;
    padding: 19px 15px 18px;
    border-radius: 22px;
  }
}

/* =========================================================
   WITHDRAWAL UI — PREMIUM MOBILE MOCKUP STYLE
   ========================================================= */
.withdraw-modal-title{display:flex;align-items:center;gap:11px;margin:0 0 12px;padding-right:42px}
.withdraw-modal-title h3{margin:0;font-size:20px;font-weight:900;color:#f4f8ff}
.withdraw-title-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:rgba(0,232,177,.08);border:1px solid rgba(0,232,177,.18);box-shadow:0 0 22px rgba(0,232,177,.08)}
.withdraw-title-icon svg{width:25px;height:25px;fill:none;stroke:#00e8b1;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.withdraw-network-grid{gap:10px}
.withdraw-network-card{min-height:78px;padding:12px 38px 12px 12px;border-width:1px;border-color:rgba(255,255,255,.12);display:flex;align-items:center;gap:10px;box-shadow:inset 0 1px rgba(255,255,255,.08),0 9px 22px rgba(0,0,0,.18)}
.withdraw-network-card:hover{transform:translateY(-1px) scale(1.005)}
.network-card-copy{min-width:0;display:block}
.network-card-title{font-size:14px;font-weight:950;white-space:nowrap}
.network-card-subtitle{font-size:10px;margin-top:5px;font-weight:800}
.network-logo{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;overflow:hidden}
.network-logo-mpesa{position:relative;background:#f8f4e7;border:1px solid rgba(19,130,61,.16);color:#13823d}
.mpesa-mark{font-size:23px;font-weight:1000;line-height:1;font-style:italic}
.network-logo-mpesa i{position:absolute;width:10px;height:10px;border:3px solid #ef3b32;border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:translate(8px,-7px) rotate(25deg)}
.network-logo-airtel{background:#fff;color:#e81e2a}
.airtel-mark{width:28px;height:28px;border:5px solid #e81e2a;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;font-size:0;transform:rotate(-34deg);position:relative}
.airtel-mark:after{content:"";position:absolute;width:13px;height:5px;background:#e81e2a;border-radius:8px;right:-5px;bottom:-3px;transform:rotate(35deg)}
.network-logo-yas{background:#0d73d4;color:#ffe600;font-weight:1000;font-size:12px;letter-spacing:-.7px;border:1px solid rgba(255,230,0,.2)}
.network-logo-halo{background:#ffae18;color:#fff;font-weight:1000;font-size:24px;border:1px solid rgba(255,255,255,.15)}
.withdraw-network-card.selected{box-shadow:0 0 0 2px rgba(0,238,175,.38),0 13px 30px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.1)}
.withdraw-network-card.selected .network-logo{filter:brightness(1.06)}
.submit-send-icon{width:22px;height:22px;display:grid;place-items:center}
.submit-send-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn-submit{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;font-size:13px;box-shadow:0 10px 25px rgba(0,245,138,.12)}
.withdraw-loading-card{text-align:center;padding:30px 24px;border-radius:26px}
.withdraw-loading-card h3{font-size:18px!important;color:#f2f7ff!important}
.withdraw-loading-card p{font-size:12px!important;color:#93a6bd!important}
.withdraw-spinner{width:62px!important;height:62px!important;margin:0 auto 20px!important;border-width:7px!important;box-shadow:0 0 28px rgba(0,226,191,.12)}
.withdrawal-result-card{max-width:430px!important;width:min(430px,calc(100% - 30px))!important;padding:21px 22px 20px!important;border-radius:25px!important;max-height:86vh!important}
.withdraw-failed-icon{width:62px;height:62px;margin:0 auto 10px;background:rgba(255,77,77,.11);box-shadow:0 0 0 1px rgba(255,77,77,.08),0 12px 30px rgba(0,0,0,.22)}
.withdraw-failed-icon span{font-size:57px}
.withdraw-result-title{font-size:21px;margin-bottom:7px}
.withdraw-result-text{font-size:12.5px;line-height:1.45;margin-bottom:14px}
.receipt-heading{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:3px}
.receipt-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:rgba(31,126,255,.16);border:1px solid rgba(31,126,255,.2)}
.receipt-icon svg{width:15px;height:15px;fill:none;stroke:#4da1ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.receipt-demo-label{font-size:11px;letter-spacing:1.5px}
.withdraw-receipt{padding:14px 16px;border-radius:18px;background:rgba(5,17,31,.58);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.receipt-divider{margin:9px 0}
.receipt-row{font-size:11.5px;padding:4px 0}
.receipt-amount,.receipt-fee{font-size:13.5px}
.receipt-total,.receipt-total strong{font-size:15.5px}
.withdraw-register-btn{margin-top:13px;padding:13px 18px;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px}
.account-btn-icon{width:21px;height:21px;display:grid;place-items:center}
.account-btn-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:560px){
 .modal-card{max-width:calc(100% - 24px)}
 .withdraw-network-card{min-height:74px;padding:11px 34px 11px 10px;gap:8px}
 .network-logo{width:35px;height:35px;flex-basis:35px}
 .network-card-title{font-size:12px}
 .network-card-subtitle{font-size:9px}
 .withdrawal-result-card{width:calc(100% - 24px)!important;padding:18px 14px 17px!important;border-radius:22px!important}
}


/* FINAL VISUAL UPDATE — deeper premium background + compact customer care */
html {
  background: #111827 !important;
}

body {
  background:
    radial-gradient(700px 420px at 8% 8%, rgba(0, 190, 160, 0.13), transparent 62%),
    radial-gradient(620px 420px at 92% 28%, rgba(37, 99, 235, 0.12), transparent 64%),
    radial-gradient(700px 500px at 50% 100%, rgba(16, 185, 129, 0.07), transparent 68%),
    linear-gradient(145deg, #151c2b 0%, #101827 48%, #0d1422 100%) !important;
}

body::before {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.035) 0, transparent 1.5px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.025) 0, transparent 1.5px) !important;
  background-size: 70px 70px, 90px 90px !important;
  mask-image: linear-gradient(to bottom, black 0%, black 100%) !important;
  opacity: .55 !important;
}

.header-banner .btn-customer-care,
.btn-customer-care {
  width: min(50%, 220px) !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 600px) {
  .header-banner .btn-customer-care,
  .btn-customer-care {
    width: 50% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 8px !important;
    font-size: 10.5px !important;
    border-radius: 13px !important;
    white-space: nowrap !important;
  }
}

/* FINAL COMPACT TOP CARDS */
.header-banner {
  min-height: 150px !important;
  padding: 18px 18px 16px !important;
  border-radius: 20px !important;
}
.header-banner h2 {
  font-size: clamp(21px, 5.5vw, 28px) !important;
  max-width: 76% !important;
  line-height: 1.08 !important;
}
.header-banner p {
  max-width: 78% !important;
  margin: 8px 0 12px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}
.header-banner::before {
  width: 105px !important;
  height: 105px !important;
  right: -34px !important;
  top: 20px !important;
}
.header-banner::after {
  right: 12px !important;
  top: 53px !important;
  width: 42px !important;
  height: 33px !important;
  font-size: 17px !important;
}
.header-banner .btn-customer-care,
.btn-customer-care {
  width: 50% !important;
  max-width: 190px !important;
  min-height: 34px !important;
  padding: 7px 9px !important;
  font-size: 10px !important;
  border-radius: 11px !important;
}

.cards-grid {
  gap: 7px !important;
}
.cards-grid .card {
  min-height: 88px !important;
  height: 88px !important;
  padding: 10px !important;
  border-radius: 16px !important;
}
.cards-grid .card-title {
  font-size: 9px !important;
  margin-bottom: 5px !important;
}
.cards-grid .card-amount {
  font-size: 18px !important;
  margin-bottom: 5px !important;
}
.cards-grid .card-desc {
  min-height: 0 !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
}
.cards-grid .btn-action {
  min-height: 28px !important;
  height: 28px !important;
  padding: 5px 7px !important;
  font-size: 9px !important;
  border-radius: 10px !important;
}
.btn-register-main {
  min-height: 36px !important;
  height: 36px !important;
  padding: 7px 12px !important;
  font-size: 11px !important;
  border-radius: 11px !important;
}

@media (max-width: 600px) {
  .header-banner {
    min-height: 136px !important;
    padding: 15px 14px 13px !important;
    border-radius: 17px !important;
  }
  .header-banner h2 {
    font-size: 21px !important;
    max-width: 78% !important;
  }
  .header-banner p {
    font-size: 10px !important;
    margin: 7px 0 10px !important;
    max-width: 80% !important;
  }
  .header-banner .btn-customer-care,
  .btn-customer-care {
    width: 50% !important;
    max-width: 160px !important;
    min-height: 31px !important;
    height: 31px !important;
    padding: 6px 6px !important;
    font-size: 9px !important;
  }
  .cards-grid .card {
    min-height: 78px !important;
    height: 78px !important;
    padding: 8px !important;
    border-radius: 13px !important;
  }
  .cards-grid .card-title { font-size: 8px !important; }
  .cards-grid .card-amount { font-size: 16px !important; }
  .cards-grid .card-desc { font-size: 8px !important; }
  .cards-grid .btn-action {
    min-height: 25px !important;
    height: 25px !important;
    font-size: 8px !important;
    padding: 4px 5px !important;
  }
  .btn-register-main {
    min-height: 32px !important;
    height: 32px !important;
    font-size: 10px !important;
    padding: 6px 10px !important;
  }
}


/* BALANCED TOP CARDS — compact size, readable text */
.header-banner {
  min-height: 128px !important;
  height: auto !important;
  padding: 15px 18px 13px !important;
  border-radius: 18px !important;
}
.header-banner h2 {
  font-size: clamp(22px, 4.5vw, 27px) !important;
  line-height: 1.12 !important;
  max-width: 82% !important;
  margin: 0 !important;
}
.header-banner p {
  font-size: 11px !important;
  line-height: 1.35 !important;
  max-width: 82% !important;
  margin: 6px 0 9px !important;
}
.header-banner .btn-customer-care,
.btn-customer-care {
  width: 50% !important;
  max-width: 205px !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 7px 9px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 11px !important;
  white-space: nowrap !important;
}

.cards-grid {
  gap: 8px !important;
  margin-top: 9px !important;
}
.cards-grid .card {
  min-height: 104px !important;
  height: 104px !important;
  padding: 11px !important;
  border-radius: 15px !important;
}
.cards-grid .card-title {
  font-size: 11px !important;
  line-height: 1.15 !important;
  margin-bottom: 6px !important;
  white-space: nowrap !important;
}
.cards-grid .card-amount {
  font-size: 18px !important;
  line-height: 1.15 !important;
  margin-bottom: 6px !important;
}
.cards-grid .card-desc {
  font-size: 10px !important;
  line-height: 1.25 !important;
}
.cards-grid .btn-action {
  min-height: 29px !important;
  height: 29px !important;
  padding: 5px 8px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  border-radius: 9px !important;
}
.btn-register-main {
  min-height: 42px !important;
  height: 42px !important;
  padding: 9px 13px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  border-radius: 12px !important;
  margin-top: 10px !important;
}

@media (max-width: 600px) {
  .header-banner {
    min-height: 122px !important;
    padding: 13px 14px 11px !important;
    border-radius: 16px !important;
  }
  .header-banner h2 {
    font-size: 20px !important;
    max-width: 80% !important;
  }
  .header-banner p {
    font-size: 10px !important;
    line-height: 1.35 !important;
    max-width: 84% !important;
    margin: 5px 0 8px !important;
  }
  .header-banner .btn-customer-care,
  .btn-customer-care {
    width: 50% !important;
    max-width: 170px !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 6px 7px !important;
    font-size: 10px !important;
    border-radius: 10px !important;
  }
  .cards-grid {
    gap: 6px !important;
    margin-top: 8px !important;
  }
  .cards-grid .card {
    min-height: 94px !important;
    height: 94px !important;
    padding: 9px !important;
    border-radius: 13px !important;
  }
  .cards-grid .card-title {
    font-size: 9.5px !important;
    margin-bottom: 5px !important;
  }
  .cards-grid .card-amount {
    font-size: 16px !important;
    margin-bottom: 5px !important;
  }
  .cards-grid .card-desc {
    font-size: 9px !important;
  }
  .cards-grid .btn-action {
    min-height: 27px !important;
    height: 27px !important;
    font-size: 9.5px !important;
    padding: 5px 7px !important;
  }
  .btn-register-main {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 12px !important;
    padding: 8px 11px !important;
    margin-top: 8px !important;
  }
}

/* USER POLISH V6 — readable compact top area */
#floatingNotif {
  width: min(94vw, 520px) !important;
  min-height: 78px !important;
  height: 78px !important;
  padding: 10px 12px !important;
  gap: 10px !important;
  border-radius: 17px !important;
  box-sizing: border-box !important;
}
#floatingNotif .notif-icon-box {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 15px !important;
}
#floatingNotif .notif-content {
  min-width: 0 !important;
  overflow: hidden !important;
}
#floatingNotif .notif-title {
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#floatingNotif .notif-desc {
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  margin-top: 3px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#floatingNotif .notif-support-action {
  min-height: 34px !important;
  padding: 7px 10px !important;
  font-size: 10px !important;
  border-radius: 10px !important;
}
#floatingNotif .notif-sound-toggle,
#floatingNotif .notif-close {
  flex: 0 0 auto !important;
}

/* Customer Care: left aligned, compact and clearly readable. */
.header-banner .btn-customer-care,
.btn-customer-care {
  width: min(52%, 205px) !important;
  max-width: 205px !important;
  min-width: 145px !important;
  min-height: 38px !important;
  height: 38px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding: 8px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  line-height: 1 !important;
}
.header-banner .btn-customer-care::first-letter,
.btn-customer-care::first-letter {
  font-size: 15px !important;
}

/* Registration button: vertically center the label. */
.btn-register-main {
  min-height: 44px !important;
  height: 44px !important;
  padding: 8px 42px 8px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  font-size: 13px !important;
}

/* Withdrawal card: keep the card compact but make the action unmistakable. */
.cards-grid .card {
  min-height: 108px !important;
  height: 108px !important;
  padding: 10px 11px !important;
}
.cards-grid .card-title {
  font-size: 10px !important;
  line-height: 1.15 !important;
  margin-bottom: 5px !important;
}
.cards-grid .card-amount {
  font-size: 18px !important;
  line-height: 1.1 !important;
  margin-bottom: 4px !important;
}
.cards-grid .card-desc {
  font-size: 9.5px !important;
  line-height: 1.15 !important;
}
.money-card-balance .btn-action,
.cards-grid .btn-action {
  min-height: 37px !important;
  height: 37px !important;
  margin-top: 6px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 600px) {
  #floatingNotif {
    left: 10px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    min-height: 70px !important;
    height: 70px !important;
    padding: 8px 9px !important;
    gap: 8px !important;
    border-radius: 15px !important;
  }
  #floatingNotif .notif-icon-box {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border-radius: 13px !important;
  }
  #floatingNotif .notif-title {
    font-size: 13px !important;
  }
  #floatingNotif .notif-desc {
    font-size: 10px !important;
  }
  #floatingNotif .notif-support-action {
    min-height: 31px !important;
    padding: 6px 8px !important;
    font-size: 9.5px !important;
  }

  .header-banner .btn-customer-care,
  .btn-customer-care {
    width: 52% !important;
    min-width: 145px !important;
    max-width: 175px !important;
    min-height: 36px !important;
    height: 36px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 8px 9px !important;
    font-size: 10px !important;
  }
  .header-banner .btn-customer-care::first-letter,
  .btn-customer-care::first-letter {
    font-size: 14px !important;
  }

  .btn-register-main {
    min-height: 42px !important;
    height: 42px !important;
    padding: 8px 38px 8px 12px !important;
    font-size: 12px !important;
  }

  .cards-grid .card {
    min-height: 101px !important;
    height: 101px !important;
    padding: 9px 8px !important;
    border-radius: 13px !important;
  }
  .cards-grid .card-title {
    font-size: 9px !important;
    margin-bottom: 5px !important;
  }
  .cards-grid .card-amount {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }
  .cards-grid .card-desc {
    font-size: 8.5px !important;
  }
  .money-card-balance .btn-action,
  .cards-grid .btn-action {
    min-height: 35px !important;
    height: 35px !important;
    margin-top: 5px !important;
    padding: 7px 7px !important;
    font-size: 12px !important;
  }
}

.paid-ads-header-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;
  padding:0 13px;border-radius:22px;color:#04151a;
  background:linear-gradient(100deg,#00f58a,#11d8ff);
  border:1px solid rgba(255,255,255,.18);text-decoration:none;font-size:10px;
  font-weight:900;letter-spacing:.15px;white-space:nowrap;
  box-shadow:0 0 18px rgba(0,245,138,.20),inset 0 1px 0 rgba(255,255,255,.2);
  transition:transform .2s ease,box-shadow .2s ease;
}
.paid-ads-header-btn:hover{transform:translateY(-1px);box-shadow:0 0 25px rgba(0,245,138,.35),inset 0 1px 0 rgba(255,255,255,.2)}
@media(max-width:520px){
  .lughapay-header{gap:6px}.header-right{gap:5px}
  .paid-ads-header-btn{font-size:9px;padding:0 10px;min-height:38px}
  .icon-circle{width:39px;height:39px}
}
@media(max-width:390px){
  .paid-ads-header-btn{padding:0 8px;font-size:8px}.header-right{gap:3px}
}

/* PAID ADS HEADER — FINAL */
.paid-ads-header-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:0 15px;border-radius:24px;color:#03151a;
  background:linear-gradient(100deg,#00f59a,#15d9ff);border:1px solid rgba(255,255,255,.28);
  text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.15px;white-space:nowrap;
  box-shadow:0 0 7px rgba(0,245,154,.55),0 0 20px rgba(0,245,154,.35),inset 0 1px 0 rgba(255,255,255,.35);
  animation:paidAdsNeon 1.35s ease-in-out infinite;
}
.paid-ads-header-btn::before{content:"";position:absolute;inset:-3px;border-radius:27px;border:1px solid rgba(0,245,154,.72);filter:blur(1.5px);pointer-events:none;animation:paidAdsPulse 1.35s ease-in-out infinite}
@keyframes paidAdsNeon{0%,100%{box-shadow:0 0 5px rgba(0,245,154,.45),0 0 12px rgba(0,245,154,.22),inset 0 1px 0 rgba(255,255,255,.35)}50%{box-shadow:0 0 11px rgba(0,245,154,.95),0 0 30px rgba(0,245,154,.58),inset 0 1px 0 rgba(255,255,255,.45)}}
@keyframes paidAdsPulse{0%,100%{opacity:.45;transform:scale(.99)}50%{opacity:1;transform:scale(1.025)}}
@media(max-width:520px){.paid-ads-header-btn{font-size:9px;padding:0 11px;min-height:39px}.header-right{gap:6px!important}}
@media(max-width:390px){.paid-ads-header-btn{font-size:8px;padding:0 9px}.theme-toggle-label{display:none}}

/* =========================================================
   LUGHAPAY — HEADER INSTALL / HERO PAID ADS REPOSITION
   ========================================================= */
.install-app-header-btn {
  position: relative;
  min-width: 148px;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(39, 239, 171, .65);
  border-radius: 24px;
  background: linear-gradient(145deg, #0e6f4d, #09b879 58%, #13d59a);
  color: #f4fffb;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(39,239,171,.08), 0 0 18px rgba(14,231,157,.24), inset 0 1px 0 rgba(255,255,255,.16);
  cursor: pointer;
  overflow: visible;
}
.install-app-header-btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 27px;
  border: 1px solid rgba(35, 245, 164, .65);
  box-shadow: 0 0 12px rgba(35,245,164,.35), 0 0 24px rgba(35,245,164,.12);
  pointer-events: none;
  animation: installHeaderPulse 1.7s ease-in-out infinite;
}
.install-header-logo {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #071d32;
  border: 1px solid rgba(255,255,255,.18);
}
.install-header-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.install-app-header-btn:disabled { opacity: .72; cursor: wait; }
@keyframes installHeaderPulse {
  0%,100% { opacity: .45; transform: scale(.995); }
  50% { opacity: 1; transform: scale(1.018); }
}

.hero-action-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.hero-action-row .btn-customer-care,
.hero-paid-ads-btn {
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}
.hero-paid-ads-btn {
  position: relative;
  text-decoration: none;
  color: #effff8;
  background: linear-gradient(145deg, #0b6847, #08a66d 58%, #10d18f);
  border: 1px solid rgba(41,239,170,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 18px rgba(8,207,139,.18), 0 9px 20px rgba(0,0,0,.18);
  overflow: visible;
}
.hero-paid-ads-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 25px;
  border: 1px solid rgba(33, 245, 163, .62);
  box-shadow: 0 0 10px rgba(33,245,163,.42), 0 0 24px rgba(33,245,163,.22), 0 0 42px rgba(33,245,163,.10);
  pointer-events: none;
  animation: paidHeroLed 1.25s ease-in-out infinite;
}
.hero-paid-ads-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.15) 48%, transparent 70%);
  transform: translateX(-120%);
  animation: paidHeroSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}
.hero-paid-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #d8b4ff;
  box-shadow: 0 0 7px #d8b4ff, 0 0 15px #8b5cf6;
  animation: paidDotPulse 1.1s ease-in-out infinite;
}
@keyframes paidHeroLed { 0%,100% { opacity:.45; box-shadow:0 0 8px rgba(33,245,163,.32),0 0 18px rgba(33,245,163,.16); } 50% { opacity:1; box-shadow:0 0 14px rgba(33,245,163,.75),0 0 30px rgba(33,245,163,.42),0 0 48px rgba(33,245,163,.16); } }
@keyframes paidHeroSweep { 0%,58% { transform:translateX(-120%); } 78%,100% { transform:translateX(120%); } }
@keyframes paidDotPulse { 0%,100% { opacity:.55; transform:scale(.88); } 50% { opacity:1; transform:scale(1.12); } }
@media (max-width: 600px) {
  .install-app-header-btn { min-width: 126px; min-height: 40px; padding: 0 11px; gap: 7px; font-size: 10.5px; }
  .install-header-logo { width: 22px; height: 22px; flex-basis: 22px; border-radius: 7px; }
  .hero-action-row { gap: 9px; margin-top: 12px; }
  .hero-action-row .btn-customer-care, .hero-paid-ads-btn { min-height: 50px !important; border-radius: 19px !important; padding: 9px 8px !important; font-size: 10.5px !important; }
}
@media (max-width: 390px) {
  .install-app-header-btn { min-width: 112px; padding: 0 8px; font-size: 9.5px; }
  .hero-action-row { gap: 7px; }
  .hero-action-row .btn-customer-care, .hero-paid-ads-btn { font-size: 9.5px !important; }
}

/* =========================================================
   LUGHAPAY — PAYMENT NOTIFICATION ONLY, ALWAYS AT TOP
   ========================================================= */
#floatingNotif {
  top: -130px !important;
  bottom: auto !important;
  z-index: 20000 !important;
}
#floatingNotif.show {
  top: 12px !important;
}
#floatingNotif.notif-payment {
  border-color: rgba(34,245,157,.72) !important;
  background: linear-gradient(135deg, rgba(5,31,31,.98), rgba(7,18,35,.98)) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 16px rgba(34,245,157,.40), 0 0 34px rgba(34,245,157,.20) !important;
}

/* No automatic promotional/account/install notifications. */
#floatingNotif:not(.show) { pointer-events: none !important; }


/* =========================================================
   FINAL POLISH — SUBTLE PAID ADS GLOW + REGISTER LED +
   5-SECOND WAZUNGU ROTATION VISUALS
   ========================================================= */
.hero-paid-ads-btn {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13),
              0 0 7px rgba(8,207,139,.16),
              0 6px 16px rgba(0,0,0,.16) !important;
}
.hero-paid-ads-btn::before {
  inset: -3px !important;
  border-color: rgba(33,245,163,.38) !important;
  box-shadow: 0 0 5px rgba(33,245,163,.18),
              0 0 12px rgba(33,245,163,.08) !important;
  animation: paidHeroLedSubtle 2.2s ease-in-out infinite !important;
}
.hero-paid-ads-btn::after {
  opacity: .35 !important;
  animation-duration: 4.5s !important;
}
@keyframes paidHeroLedSubtle {
  0%,100% { opacity:.38; transform:scale(.995); }
  50% { opacity:.72; transform:scale(1.008); }
}
.hero-paid-dot {
  box-shadow: 0 0 4px rgba(216,255,240,.72), 0 0 8px rgba(49,243,170,.42) !important;
  animation-duration: 2s !important;
}

.btn-register-main {
  position: relative !important;
  overflow: visible !important;
  border: 1px solid rgba(43,245,173,.70) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16),
              0 0 8px rgba(43,245,173,.24),
              0 0 18px rgba(43,245,173,.10) !important;
}
.btn-register-main::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(43,245,173,.58);
  box-shadow: 0 0 7px rgba(43,245,173,.28),
              0 0 16px rgba(43,245,173,.12);
  pointer-events: none;
  animation: registerLedPulse 1.8s ease-in-out infinite;
}
@keyframes registerLedPulse {
  0%,100% { opacity:.40; transform:scale(.996); }
  50% { opacity:1; transform:scale(1.012); }
}

/* A subtle fade makes each 5-second profile rotation feel intentional. */
.wazungu-list.wazungu-rotating {
  animation: wazunguSetFade .42s ease both;
}
@keyframes wazunguSetFade {
  0% { opacity:.55; transform:translateY(2px); }
  100% { opacity:1; transform:translateY(0); }
}

/* Lugha Pay: refined dashboard, time selection and live chat */
body:not(.light-mode) .header-banner{background:#061d30!important;border:1px solid #087e91!important;border-radius:16px!important;box-shadow:none!important}
body:not(.light-mode) .cards-grid .card{background:#071b30!important;border:1px solid #275979!important;box-shadow:none!important;border-radius:14px!important}
body:not(.light-mode) .cards-grid .money-card-balance{background:#20202a!important;border-color:#635546!important}
body:not(.light-mode) .cards-grid .money-card-withdraw{background:#111d42!important;border-color:#514591!important}
.metric-icon{font-size:17px;color:#00ebd0;margin-right:4px;vertical-align:middle}
.money-card-balance .metric-icon{color:#ffb000}.money-card-withdraw .metric-icon{color:#8fbfff}
body:not(.light-mode) .mzungu-card{background:#061a2d!important;border:1px solid #245678!important;border-radius:15px!important;box-shadow:none!important;padding:12px!important;min-height:0!important}
body:not(.light-mode) .mzungu-header{gap:12px!important;margin-bottom:5px!important}
body:not(.light-mode) .mzungu-card .avatar{width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;flex-basis:62px!important;box-shadow:none!important}
body:not(.light-mode) .mzungu-info h4{font-size:16px!important}
body:not(.light-mode) .mzungu-bio{font-size:11px!important;margin:5px 0!important}
body:not(.light-mode) .chat-action-row button{min-height:38px!important;border-radius:11px!important;box-shadow:none!important}
body:not(.light-mode) .time-modal-card{background:#071c35!important;border:1px solid #32628e!important;border-radius:24px!important;box-shadow:none!important}
body:not(.light-mode) .time-option-btn{background:#0d2946!important;border:1px solid #38658a!important;color:#fff!important;box-shadow:none!important;border-radius:12px!important;min-height:48px!important;padding:10px 14px!important}
body:not(.light-mode) .time-option-btn::before{content:'◷';font-size:23px;line-height:1;color:#e5f3ff;font-weight:400}
body:not(.light-mode) .time-option-btn span{flex:1;text-align:left}
body:not(.light-mode) .time-option-btn::after{content:'›';font-size:22px;color:#8aafd3;font-weight:400}
body:not(.light-mode) .time-option-btn .gold-text{color:#00e7d2!important}
.chat-session-card.chat-session-card-lugha{display:flex!important;align-items:center;gap:16px;padding:14px!important;margin:10px!important;border:1px solid #32618b!important;border-radius:16px!important;background:#071d36!important;box-shadow:none!important}
.chat-session-card .chat-session-main{flex:0 0 auto!important;display:block!important}
.countdown-ring{--remaining:100%;width:84px;height:84px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#00e5d0 var(--remaining),#164d68 0);position:relative}
.countdown-ring::before{content:'';position:absolute;inset:6px;border-radius:50%;background:#071d36}
.chat-session-card .chat-countdown-badge{position:relative;z-index:1;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0!important;color:#fff!important;letter-spacing:0!important;font-size:19px!important}
.session-earnings{flex:1;min-width:0;border-left:1px solid #35617c;padding-left:16px}
.chat-session-card .chat-earnings-display{margin:0!important;display:flex!important;justify-content:flex-start!important;gap:10px!important;color:#00e5d0!important}
.chat-session-card .chat-earnings-display strong{display:block;font-size:20px!important;color:#00e5d0!important;text-shadow:none!important;white-space:nowrap}
.earnings-label{display:block;color:#d5e2f1;font-size:10px;font-weight:700;opacity:1!important;margin-bottom:3px}
.coin-icon{width:28px;height:28px;flex:none}
.chat-session-card .chat-progress-track{margin-top:10px!important;background:#061425!important;border:1px solid #345575!important;height:9px!important}
.chat-session-card .chat-progress-bar{background:#00e5d0!important;box-shadow:none!important}
body:not(.light-mode) .chat-room-card{background:#06182e!important}
body:not(.light-mode) .chat-header{background:#0b2644!important}
body:not(.light-mode) .chat-input-area{background:#081e36!important}
@media(max-width:350px){.countdown-ring{width:68px;height:68px}.chat-session-card .chat-countdown-badge{font-size:16px!important}.session-earnings{padding-left:10px}.chat-session-card.chat-session-card-lugha{gap:10px}.chat-session-card .chat-earnings-display strong{font-size:17px!important}}

/* Compact controls and chat session */
.install-app-header-btn{min-width:126px!important;min-height:44px!important;border-radius:13px!important;background:#00bfa1!important;color:#fff!important;border:1px solid #00e7d2!important;box-shadow:none!important;gap:8px!important;padding:0 13px!important}
.install-app-header-btn::before,.hero-paid-ads-btn::before,.hero-paid-ads-btn::after{display:none!important;animation:none!important}
.button-icon{width:18px;height:18px;flex:0 0 18px;display:block}
.hero-action-row .btn-customer-care,.hero-action-row .hero-paid-ads-btn{min-height:48px!important;border-radius:13px!important;box-shadow:none!important;font-size:11px!important;gap:7px!important}
.hero-action-row .btn-customer-care{background:#0786b9!important;color:white!important;border:1px solid #00d4e9!important}
.hero-action-row .hero-paid-ads-btn{background:#00a77e!important;color:white!important;border:1px solid #00e6b7!important}
body:has(#timeSelectModal[style*="flex"]) .floating-whatsapp,body:has(#timeSelectModal[style*="flex"]) .whatsapp-float{display:none!important}
.chat-session-card.chat-session-card-lugha{padding:8px 12px!important;gap:12px!important;margin:8px 10px!important}
.countdown-ring{width:56px!important;height:56px!important;flex:none}
.countdown-ring::before{inset:5px!important}
.chat-session-card .chat-countdown-badge{font-size:14px!important}
.session-earnings{padding-left:12px!important}
.chat-session-card .chat-earnings-display strong{font-size:16px!important}
.earnings-label{font-size:9px!important}
.coin-icon{width:23px;height:23px}
.chat-session-card .chat-progress-track{height:6px!important;margin-top:6px!important}
.chat-input-area button{width:46px;min-width:46px;height:46px;padding:0!important;display:grid;place-items:center;border-radius:50%!important;background:#00dbc9!important;color:#06304a!important}
.chat-input-area button svg{width:21px;height:21px}
@media(max-width:350px){.install-app-header-btn{min-width:105px!important;font-size:10px!important}.hero-action-row .btn-customer-care,.hero-action-row .hero-paid-ads-btn{font-size:9px!important;gap:4px!important}.button-icon{width:16px;height:16px;flex-basis:16px}}

/* Button polish, vertical network choices and compact session colours */
.hero-action-row .btn-customer-care{white-space:normal!important;min-width:0!important;line-height:1.2!important;text-align:center!important;padding:8px 9px!important;background:#096f9c!important;border-color:#24b8dc!important;color:#fff!important}
.hero-action-row .btn-customer-care .hero-care-label{min-width:0;overflow-wrap:normal;white-space:normal;text-align:center;line-height:1.2}
.hero-action-row .btn-customer-care .button-icon{flex:0 0 17px;width:17px;height:17px}
.hero-action-row .hero-paid-ads-btn{background:#09845e!important;border-color:#25c995!important;color:#fff!important}
.install-app-header-btn{background:#007e71!important;border-color:#24cdb3!important;color:#fff!important}
.withdraw-network-grid{grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
.withdraw-network-card{min-height:56px!important;padding:7px 42px 7px 9px!important;gap:12px!important;border-radius:12px!important}
.withdraw-network-card .network-logo-image{width:104px!important;height:42px!important;flex:0 0 104px!important;display:flex!important;align-items:center;justify-content:center;background:#fff!important;border:0!important;border-radius:8px!important;overflow:hidden}
.network-logo-image img{display:block;width:100%;height:100%;object-fit:contain}
#withdrawModal .modal-card{max-height:calc(100dvh - 24px)!important;overflow-y:auto!important}
.chat-session-card.chat-session-card-lugha{background:#102039!important;border-color:#3e6587!important}
.countdown-ring{background:conic-gradient(#ffba45 var(--remaining),#4e3c42 0)!important}
.countdown-ring::before{background:#17243b!important}
.chat-session-card .chat-countdown-badge{color:#fff5dd!important}
.chat-session-card .chat-earnings-display,.chat-session-card .chat-earnings-display strong{color:#45e5b2!important}
.chat-session-card .chat-progress-bar{background:#45e5b2!important}
@media(max-width:350px){.hero-action-row .btn-customer-care{font-size:10px!important}.withdraw-network-card .network-logo-image{width:86px!important;flex-basis:86px!important}}

/* Network logo selection and soft dimensional surfaces */
.withdraw-network-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.withdraw-network-card{min-height:70px!important;padding:8px!important;justify-content:center!important;background:#f5f7f8!important;border:1px solid #c9d8e0!important;box-shadow:inset 3px 3px 8px rgba(255,255,255,.9),inset -3px -3px 9px rgba(125,148,160,.2),0 5px 12px rgba(0,0,0,.16)!important}
.withdraw-network-card .network-logo-image{width:100%!important;max-width:160px;height:48px!important;flex:1 1 auto!important;background:transparent!important;border-radius:8px!important}
.withdraw-network-card .network-logo-image img{width:100%;height:100%;object-fit:contain}
.withdraw-network-card.selected{outline:3px solid #18d7ad;outline-offset:0;box-shadow:0 0 0 2px rgba(24,215,173,.2),0 6px 16px rgba(0,0,0,.2)!important}
.withdraw-network-card .network-selected-mark{right:5px;top:5px;transform:scale(.7);width:20px;height:20px}
.withdraw-network-card.selected .network-selected-mark{transform:scale(1)}
.chat-session-card.chat-session-card-lugha{background:#20314a!important;border:1px solid #425b75!important;box-shadow:inset 3px 3px 7px rgba(255,255,255,.08),inset -4px -4px 9px rgba(0,0,0,.2),0 8px 18px rgba(0,0,0,.22)!important;border-radius:17px!important}
.countdown-ring::before{background:#20314a!important}
.hero-action-row .btn-customer-care,.hero-action-row .hero-paid-ads-btn,.install-app-header-btn{box-shadow:inset 2px 2px 6px rgba(255,255,255,.23),inset -3px -4px 7px rgba(0,0,0,.17),0 5px 12px rgba(0,0,0,.18)!important}

/* Gentle chat background */
body:not(.light-mode) .chat-messages{background:radial-gradient(ellipse at 12% 8%,rgba(25,100,112,.32),transparent 52%),radial-gradient(ellipse at 85% 76%,rgba(71,61,112,.28),transparent 50%),linear-gradient(155deg,#0c2638 0%,#101f38 52%,#0b172c 100%)!important}
/* Full-bleed payment logos */
.withdraw-network-card{padding:0!important;overflow:hidden!important;background:#f4f4f4!important;min-height:76px!important}
.withdraw-network-card.withdraw-mpesa{background:#e51b2c!important}
.withdraw-network-card .network-logo-image{max-width:none!important;width:100%!important;height:100%!important;min-height:76px!important;position:absolute;inset:0;border-radius:0!important;background:transparent!important}
.withdraw-network-card .network-logo-image img{width:100%;height:100%;object-fit:contain!important}
body:not(.light-mode) .time-option-btn{background:#087f83!important;border-color:#42cfc5!important;color:#fff!important;box-shadow:inset 2px 2px 7px rgba(255,255,255,.22),inset -3px -4px 8px rgba(0,0,0,.18),0 5px 12px rgba(0,0,0,.2)!important}

body:not(.light-mode) .time-option-btn .gold-text{color:#fff0ad!important}

/* Soft clay finish for buttons across Lugha Pay */
button, a.btn-customer-care, a.hero-paid-ads-btn, a.btn-register-main, a.support-btn, a.floating-whatsapp, a.whatsapp-float, a.btn-activate-account, a.withdraw-register-btn, a.registration-guide-action {
  box-shadow: inset 2px 2px 5px rgba(255,255,255,.17), inset -3px -4px 7px rgba(0,0,0,.16), 0 5px 12px rgba(0,0,0,.2) !important;
}
button:active, a.btn-customer-care:active, a.hero-paid-ads-btn:active, a.btn-register-main:active, a.support-btn:active, a.floating-whatsapp:active, a.whatsapp-float:active {
  box-shadow: inset 2px 3px 6px rgba(0,0,0,.2), inset -1px -1px 4px rgba(255,255,255,.1) !important;
}
/* Compact clean payment choices */
.withdraw-network-grid{gap:8px!important}
.withdraw-network-card{height:60px!important;min-height:60px!important;padding:0!important;border-radius:11px!important}
.withdraw-network-card .network-logo-image{height:100%!important;min-height:0!important;background:#f7f7f7!important}
.withdraw-network-card.withdraw-mpesa .network-logo-image{background:#e61f26!important}
.withdraw-network-card .network-logo-image img{width:100%!important;height:100%!important;object-fit:contain!important}

/* === LUGHAPAY MIDNIGHT LUXURY FOOTER: FINAL OVERRIDE === */
html body#neon-reference .site-creator-footer.luxury-footer,
body .site-creator-footer.luxury-footer {
  display:flex !important; flex-direction:column !important; align-items:center !important;
  width:min(520px, 100%) !important; max-width:520px !important;
  margin:12px auto 0 !important; padding:22px 12px 15px !important;
  position:relative !important; bottom:auto !important; top:auto !important;
  box-sizing:border-box !important; overflow:hidden !important;
  background:linear-gradient(155deg,#101d30 0%,#080f1c 100%) !important;
  border:1px solid rgba(212,177,113,.19) !important;
  border-radius:15px 15px 0 0 !important;
  text-align:center !important; box-shadow:none !important;
  min-height:0 !important; gap:0 !important;
}
.luxury-footer .luxury-brand {display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 16px}
.luxury-footer .luxury-brand img {width:34px;height:34px;object-fit:contain;border-radius:9px}
.luxury-footer .luxury-brand strong {font-size:18px;letter-spacing:-.5px;color:#f1f3f7;line-height:1.2}
.luxury-footer .luxury-brand strong span {color:#d5b47d}
html body#neon-reference .luxury-footer .public-site-links.luxury-links,
.luxury-footer .public-site-links.luxury-links {display:flex !important; flex-direction:row !important; justify-content:center !important; flex-wrap:nowrap !important; gap:7px !important; width:100% !important; margin:0 0 16px !important; padding:0 !important;}
html body#neon-reference .luxury-footer .luxury-links a,
.luxury-footer .luxury-links a {display:inline-flex !important;align-items:center !important;justify-content:center !important;flex:0 1 auto !important;white-space:nowrap !important;min-width:0 !important;padding:8px 10px !important;border:1px solid #344053 !important;border-radius:8px !important;background:#172235 !important;color:#d9dfe8 !important;font-size:10px !important;line-height:1.2 !important;font-weight:600 !important;text-decoration:none !important;box-shadow:none !important;transform:none !important;}
.luxury-footer .luxury-links a:hover {color:#e6c58c !important;border-color:#d4b177 !important}
.luxury-footer .luxury-rule {height:1px;width:100%;background:rgba(255,255,255,.09);margin:0 0 13px}
.luxury-footer .luxury-crafted {font-size:10px;letter-spacing:1.8px;color:#d4b177;font-weight:700;line-height:1.5;margin-bottom:10px}
.luxury-footer .luxury-created {font-size:11px;color:#aab4c3;line-height:1.5;margin-bottom:3px}
.luxury-footer .luxury-studio {font-size:18px;color:#e3c38b;font-weight:800;letter-spacing:-.4px;line-height:1.3;margin-bottom:11px}
.luxury-footer .luxury-copyright {font-size:10px;color:#8794a7;line-height:1.5;margin:0}
/* Hide fixed controls only while footer is visible, so copyright never gets covered. */
body.luxury-footer-in-view .floating-whatsapp,
body.luxury-footer-in-view .whatsapp-float {opacity:0 !important;visibility:hidden !important;pointer-events:none !important;}
@media(max-width:380px){.luxury-footer .luxury-links a{padding:8px 7px !important;font-size:9px !important}.luxury-footer .luxury-studio{font-size:17px}}

/* Wave Swahili footer brand artwork */
.lp-brand-logo img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}
