/* ==========================================================================
   UTILITY MARKETING BANNER - PERFECTLY POSITIONED FLOATING BILLS
   ========================================================================== */

.ddr-brand-hidden {
  display: none !important;
}

@media (max-width: 719px) {
  .cashflow-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .cashflow-filters button {
    width: 100% !important;
    min-height: 40px !important;
    padding: 7px 8px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .cashflow-filters button:last-child {
    grid-column: 1 / -1 !important;
  }
}

html,
body,
#root {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
}

.application,
.app-column,
.page-content {
  min-width: 0 !important;
  max-width: 100%;
}

@supports not (overflow: clip) {
  html,
  body,
  #root {
    overflow-x: hidden !important;
  }
}

.v3-home-link-cta.ddr-utility-marketing-banner,
.v3-home-link-cta.ddr-utility-marketing-banner * {
  cursor: pointer !important;
}

.v3-home-link-cta.ddr-utility-marketing-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 144px;
  padding: 22px 28px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 78, 94, 0.38);
  border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, #201a24 0%, #15151c 60%, #111116 100%);
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.v3-home-link-cta.ddr-utility-marketing-banner::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 65, 84, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 140, 60, 0.12) 0%, transparent 40%),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255, 255, 255, 0.015) 24px 25px);
  pointer-events: none;
}

.v3-home-link-cta.ddr-utility-marketing-banner:hover {
  border-color: rgba(255, 95, 110, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(255, 67, 85, 0.2), 0 0 0 1px rgba(255, 95, 110, 0.3) inset;
}

/* ==========================================================================
   FLOATING BILLS & FLYING RECEIPTS (BALANCED & SAFE DISTANCES)
   ========================================================================== */

.ddr-utility-banner__floating-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ddr-floating-bill {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(255, 67, 85, 0.18);
  transform-origin: center center;
  user-select: none;
  z-index: 1;
}

.ddr-bill-top {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ddr-bill-icon {
  font-size: 11.5px;
  line-height: 1;
}

.ddr-bill-top b {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.ddr-bill-tag {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff4355 0%, #e62337 100%);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 850;
  box-shadow: 0 2px 5px rgba(255, 67, 85, 0.3);
}

.ddr-bill-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
}

.ddr-bill-bar.short {
  width: 65%;
}

.ddr-bill-sub {
  font-size: 8px;
  color: #ff9ca7;
  font-weight: 600;
}

/* Bill 1: EVN (Top Right) */
.ddr-floating-bill--evn {
  top: 16px;
  right: 215px;
  min-width: 108px;
  animation: floatBill1 4.4s ease-in-out infinite alternate;
  background: linear-gradient(135deg, rgba(255, 77, 79, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 120, 130, 0.45);
}

/* Bill 2: Water (Shifted Left so it doesn't crowd button) */
.ddr-floating-bill--water {
  bottom: 16px;
  right: 285px;
  min-width: 116px;
  animation: floatBill2 5.0s ease-in-out infinite alternate;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(56, 189, 248, 0.45);
}

/* Bill 3: Internet (Lowered down to prevent touching top border) */
.ddr-floating-bill--wifi {
  top: 26px;
  right: 365px;
  min-width: 108px;
  animation: floatBill3 4.6s ease-in-out infinite alternate;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(168, 85, 247, 0.45);
}

/* Sparkles & Coins */
.ddr-floating-sparkle {
  position: absolute;
  color: #ffd700;
  font-size: 14px;
  animation: floatSparkle 3s ease-in-out infinite alternate;
}

.ddr-sparkle-1 {
  top: 14px;
  right: 335px;
  animation-delay: 0.2s;
}

.ddr-sparkle-2 {
  bottom: 24px;
  right: 425px;
  animation-delay: 1.2s;
}

.ddr-floating-coin {
  position: absolute;
  font-size: 15px;
  animation: floatCoin 4s ease-in-out infinite alternate;
}

.ddr-coin-1 {
  bottom: 18px;
  right: 210px;
}

.ddr-coin-2 {
  top: 18px;
  right: 175px;
  animation-delay: 1.5s;
}

/* Gentle Keyframe Animations: Safe max float 7px so never touches container bounds */
@keyframes floatBill1 {
  0% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
  100% { transform: translateY(-3px) rotate(-6deg); }
}

@keyframes floatBill2 {
  0% { transform: translateY(0px) rotate(6deg); }
  50% { transform: translateY(-8px) rotate(11deg); }
  100% { transform: translateY(-3px) rotate(4deg); }
}

@keyframes floatBill3 {
  0% { transform: translateY(0px) rotate(-8deg) scale(0.96); }
  50% { transform: translateY(-7px) rotate(-3deg) scale(1.01); }
  100% { transform: translateY(-2px) rotate(-10deg) scale(0.96); }
}

@keyframes floatSparkle {
  0% { transform: translateY(0) scale(0.85); opacity: 0.5; }
  50% { transform: translateY(-6px) scale(1.2); opacity: 1; filter: drop-shadow(0 0 6px #ffd700); }
  100% { transform: translateY(-2px) scale(0.95); opacity: 0.7; }
}

@keyframes floatCoin {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(12deg) scale(1.08); }
  100% { transform: translateY(-3px) rotate(-8deg); }
}

/* ==========================================================================
   BANNER CONTENT & BUTTON
   ========================================================================== */

.ddr-utility-banner__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: linear-gradient(135deg, #ff4355 0%, #e62337 100%);
  box-shadow: 0 12px 28px rgba(255, 67, 85, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform .25s ease;
  z-index: 1;
}

.v3-home-link-cta.ddr-utility-marketing-banner:hover .ddr-utility-banner__icon {
  transform: scale(1.06) rotate(-3deg);
}

.ddr-utility-banner__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ddr-utility-banner__content {
  min-width: 0;
  display: grid;
  gap: 5px;
  z-index: 1;
  max-width: 680px;
}

.ddr-utility-banner__eyebrow {
  color: #ff8c98;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ddr-utility-banner__content > strong {
  color: #ffffff;
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.ddr-utility-banner__content > strong b {
  color: #ff5f72;
  text-shadow: 0 0 16px rgba(255, 95, 114, 0.4);
}

.ddr-utility-banner__content > small {
  max-width: 600px;
  color: #d1d2d8;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.ddr-utility-banner__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.ddr-utility-banner__features i {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f1f4;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 750;
  backdrop-filter: blur(4px);
}

.ddr-utility-banner__button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff4355 0%, #f02236 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 67, 85, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  z-index: 2;
  margin-left: auto;
}

.v3-home-link-cta.ddr-utility-marketing-banner:hover .ddr-utility-banner__button {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 67, 85, 0.5);
  background: linear-gradient(135deg, #ff5565 0%, #ff2b3e 100%);
}

.ddr-utility-banner__button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.v3-home-link-cta.ddr-utility-marketing-banner:hover .ddr-utility-banner__button svg {
  transform: translateX(3px);
}

/* Light Theme Styling */
[data-theme="light"] .v3-home-link-cta.ddr-utility-marketing-banner {
  border-color: #ffd0d5;
  background: radial-gradient(120% 140% at 0% 0%, #fff7f8 0%, #fff0f2 60%, #ffe9ec 100%);
  color: #172033;
  box-shadow: 0 18px 44px rgba(160, 40, 56, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

[data-theme="light"] .ddr-floating-bill {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 95, 110, 0.28);
  box-shadow: 0 10px 24px rgba(160, 40, 56, 0.12);
}

[data-theme="light"] .ddr-bill-top b {
  color: #1a2233;
}

[data-theme="light"] .ddr-bill-bar {
  background: #f0cdd2;
}

[data-theme="light"] .ddr-utility-banner__content > strong {
  color: #172033;
}

[data-theme="light"] .ddr-utility-banner__content > small {
  color: #555d6c;
}

[data-theme="light"] .ddr-utility-banner__features i {
  border-color: #f2d4d8;
  background: #ffffff;
  color: #3b4252;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Responsive */
@media (max-width: 1040px) {
  .ddr-floating-bill--wifi {
    display: none;
  }
}

@media (max-width: 860px) {
  .ddr-floating-bill {
    display: none;
  }
  .ddr-floating-coin,
  .ddr-floating-sparkle {
    display: none;
  }
}

@media (max-width: 720px) {
  .ddr-mobile-utility-anchor {
    margin-top: 16px !important;
  }

  .v3-home-link-cta.ddr-utility-marketing-banner {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }

  .ddr-utility-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .ddr-utility-banner__icon svg {
    width: 28px;
    height: 28px;
  }

  .ddr-utility-banner__content > strong {
    font-size: 19px;
  }

  .ddr-utility-banner__content > small {
    font-size: 11.5px;
  }

  .ddr-utility-banner__features {
    display: none;
  }

  .ddr-utility-banner__button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    font-size: 13.5px;
    margin-left: 0;
  }
}
.v3-search-results {
  overscroll-behavior: contain;
  overflow-anchor: none;
  scrollbar-gutter: stable;
}
