/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(0, 194, 168, 0.08), transparent 28%),
    linear-gradient(180deg, #071018 0%, #0b1117 35%, #0b0f14 100%);
  color: #e6edf3;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   LOGIN
========================= */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-container {
  position: relative;
  width: 100%;
  max-width: 390px;
}

.login-bg {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at top, rgba(0, 194, 168, 0.18), transparent 62%);
  filter: blur(52px);
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.96), rgba(15, 19, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 28px 22px 22px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.login-header {
  text-align: center;
  margin-bottom: 26px;
}

.login-logo {
  width: 54px;
  margin: 0 auto 10px;
}

.login-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-header p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #8b949e;
}

.login-box h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.input-group {
  margin-bottom: 14px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #9aa4af;
}

.input-group input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #202833;
  background: #0d141b;
  color: #f3f7fa;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-group input::placeholder {
  color: #65707c;
}

.input-group input:focus {
  border-color: rgba(0, 194, 168, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.12);
  background: #0f1720;
}

.primary-btn {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #11d8ba, #0db9a1);
  color: #041311;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(17, 216, 186, 0.2);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.primary-btn:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 30px rgba(17, 216, 186, 0.24);
}

.primary-btn:active {
  transform: scale(0.985);
}

.switch {
  text-align: center;
  margin: 18px 0 0;
  font-size: 13px;
  color: #a9b3bc;
}

.switch span {
  color: #10d0b1;
  font-weight: 600;
  cursor: pointer;
}

.login-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 11px;
  color: #6d7782;
}

/* =========================
   APP BASE
========================= */
.bank-app {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-bottom: 94px;
}

.bank-content {
  max-width: 100%;
  width: 100%;
  padding: 14px 16px 28px;
}

.content {
  width: 100%;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}

/* =========================
   HEADER
========================= */
.top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: 430px;
  margin: 0 auto;
  padding: 14px 16px 10px;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.98), rgba(11, 15, 20, 0.88));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition:
    padding 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.header-main {
  display: block;
}

.top-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-header-row-custom {
  align-items: center;
}

.brand-block {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-block-column {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding-right: 10px;
}

.brand-block-row {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.big-logo {
  width: 86px;
  height: 86px;
  max-width: 86px;
  max-height: 86px;
  object-fit: contain;
  transition:
    width 0.22s ease,
    height 0.22s ease,
    max-width 0.22s ease,
    max-height 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
  filter: drop-shadow(0 0 12px rgba(17, 216, 186, 0.16));
  will-change: transform, width, height;
}

.animated-logo {
  animation: logoFloat 3.8s ease-in-out infinite;
  transform-origin: center;
}

.brand-text {
  min-width: 0;
}

.brand-text-below {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.brand-text-inline {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.brand-label {
  display: block;
  font-size: 11px;
  color: #92a0ad;
  line-height: 1;
  margin-bottom: 4px;
}

.brand-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #f3f7fa;
}

.saudacao-wrap {
  width: auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  text-overflow: unset;
  margin: 0;
  font-size: 19px;
  line-height: 1.18;
  text-align: left;
  min-height: 0;
  transition:
    opacity 0.2s ease,
    font-size 0.2s ease;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn,
.mini-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #202833;
  background: #151d26;
  color: #dce3ea;
  transition: all 0.18s ease;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.mini-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.icon-btn:hover,
.mini-icon-btn:hover {
  border-color: rgba(16, 208, 177, 0.55);
  color: #10d0b1;
  transform: translateY(-1px);
}

.notification-btn {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff5a5f;
  border: 2px solid #151d26;
  display: none;
}

.search-shell {
  position: relative;
  margin-top: 12px;
  max-height: 160px;
  overflow: visible;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    max-height 0.2s ease,
    margin-top 0.2s ease;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 14px;
  background: #151d26;
  border: 1px solid #202833;
  border-radius: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.search-box:focus-within {
  border-color: rgba(16, 208, 177, 0.65);
  box-shadow: 0 0 0 3px rgba(16, 208, 177, 0.1);
}

.search-icon {
  color: #8d99a6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-box input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #eef3f8;
  font-size: 14px;
  padding: 0;
}

.search-box input::placeholder {
  color: #6f7b87;
}

/* Sugestões de busca */
.search-box-with-suggestions {
  position: relative;
}

.search-suggestions {
  margin-top: 10px;
  background: linear-gradient(180deg, rgba(23, 31, 39, 0.98), rgba(18, 25, 32, 0.98));
  border: 1px solid #202833;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.search-suggestions-list {
  display: grid;
  gap: 0;
}

.search-suggestion-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #eef3f8;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.18s ease, transform 0.18s ease;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: rgba(16, 208, 177, 0.08);
}

.search-suggestion-title {
  font-size: 14px;
  font-weight: 700;
  color: #eef3f8;
}

.search-suggestion-subtitle {
  font-size: 12px;
  color: #8ea0ad;
}

.search-suggestions-empty {
  padding: 16px;
  text-align: center;
  color: #8ea0ad;
  font-size: 13px;
}

/* Painel de notificações */
.notification-panel {
  position: fixed !important;
  top: 0;
  left: 0;

  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;

  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.5);

  z-index: 999999 !important;

  padding: 12px;

  animation: aparecerNotif 0.2s ease;
  transform-origin: top right;
}

/* =========================
   HEADER POLISH
========================= */
.header-actions-cluster[hidden] {
  display: none !important;
}

.brand-text-premium {
  gap: 6px;
}

.brand-headline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.brand-headline-row .saudacao-wrap,
.brand-headline-row #saudacao {
  order: 1;
}

.brand-headline-row .account-status-pill {
  order: 2;
}

.brand-logo-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.brand-logo-shell::after {
  content: "";
  position: absolute;
  inset: -15% auto -15% -55%;
  width: 42%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: rotate(18deg);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: logoSweep 3.6s ease-in-out infinite;
}

.brand-logo-shell .big-logo {
  position: relative;
  z-index: 1;
}

.animated-logo::after {
  content: none;
}

.account-status-pill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 71, 60, 0.96), rgba(18, 122, 96, 0.94));
  border-color: rgba(119, 252, 205, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(3, 39, 33, 0.28),
    0 0 0 1px rgba(118, 245, 200, 0.06);
  animation: activePulse 3.2s ease-in-out infinite;
}

.account-status-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.2) 50%, transparent 82%);
  transform: translateX(-135%);
  animation: statusSweep 4.6s ease-in-out infinite;
  pointer-events: none;
}

.account-status-dot {
  animation: statusDotPulse 2.4s ease-in-out infinite;
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.search-row .search-box {
  flex: 1 1 auto;
}

.notification-search-btn {
  width: 58px;
  min-width: 58px;
  height: 58px;
  border-radius: 20px;
  flex-shrink: 0;
  align-self: stretch;
  background: linear-gradient(180deg, rgba(20, 28, 35, 0.98), rgba(14, 21, 27, 0.98));
  border-color: rgba(143, 159, 173, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 26px rgba(0, 0, 0, 0.18);
}

.notification-search-btn:hover {
  border-color: rgba(16, 208, 177, 0.32);
}

.floating-help-btn {
  position: fixed;
  right: 18px;
  bottom: calc(108px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #15dbc3, #0ca692);
  color: #041311;
  box-shadow:
    0 18px 34px rgba(12, 166, 146, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  z-index: 45;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.floating-help-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 20px 36px rgba(12, 166, 146, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.floating-help-btn:active {
  transform: scale(0.98);
}

.top-header.collapsed .brand-headline-row {
  gap: 6px;
  flex-wrap: nowrap;
}

.top-header.collapsed .account-status-pill {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
}

.top-header.collapsed .notification-search-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 16px;
}

@keyframes logoSweep {
  0%,
  20% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  32% {
    opacity: 0.92;
  }
  56% {
    transform: translateX(255%) rotate(18deg);
    opacity: 0.18;
  }
  100% {
    transform: translateX(255%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes activePulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 24px rgba(3, 39, 33, 0.28),
      0 0 0 1px rgba(118, 245, 200, 0.06);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 12px 28px rgba(3, 39, 33, 0.32),
      0 0 0 1px rgba(118, 245, 200, 0.1),
      0 0 18px rgba(67, 240, 188, 0.14);
  }
}

@keyframes statusSweep {
  0%,
  22% {
    transform: translateX(-135%);
  }
  46%,
  100% {
    transform: translateX(135%);
  }
}

@keyframes statusDotPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(104, 241, 190, 0.12),
      0 0 14px rgba(104, 241, 190, 0.3);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(104, 241, 190, 0.18),
      0 0 18px rgba(104, 241, 190, 0.38);
  }
}

@media (max-width: 430px) {
  .search-row {
    gap: 8px;
  }

  .notification-search-btn {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .floating-help-btn {
    right: 16px;
    bottom: calc(102px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
}

@media (max-width: 360px) {
  .brand-headline-row {
    gap: 8px;
  }

  .account-status-pill {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .notification-search-btn {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .top-header.collapsed .notification-search-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .floating-help-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
}

.brand-headline-row #saudacao,
.brand-headline-row .saudacao-wrap {
  order: 1 !important;
}

.brand-headline-row .account-status-pill {
  order: 2 !important;
}

/* =========================
   STATUS PILL FINAL FIX
========================= */
.brand-block-premium {
  padding-right: 108px !important;
}

.account-status-pill {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  z-index: 4;
}

.account-status-dot {
  width: 7px !important;
  height: 7px !important;
}

.top-header.collapsed .brand-block-premium {
  padding-right: 96px !important;
}

.top-header.collapsed .account-status-pill {
  top: 8px !important;
  right: 8px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

@media (max-width: 430px) {
  .brand-block-premium {
    padding-right: 100px !important;
  }

  .account-status-pill {
    top: 8px !important;
    right: 8px !important;
  }

  .top-header.collapsed .brand-block-premium {
    padding-right: 88px !important;
  }
}

/* =========================
   LOGO SHINE FINAL FIX
========================= */
.brand-logo-shell {
  overflow: visible !important;
}

.brand-logo-shell::before {
  content: "";
  position: absolute;
  inset: 14% 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 240, 188, 0.16) 0%, rgba(67, 240, 188, 0.07) 46%, transparent 74%);
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.brand-logo-shell::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: -42%;
  width: 24%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.24) 18%,
    rgba(255, 255, 255, 0.86) 48%,
    rgba(164, 255, 234, 0.42) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(6px);
  transform: translate3d(0, 0, 0) rotate(22deg) scaleY(0.82);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
  animation: logoSweepSoft 4.4s cubic-bezier(0.35, 0, 0.22, 1) infinite;
}

.brand-logo-shell .big-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(17, 216, 186, 0.14));
}

@keyframes logoSweepSoft {
  0%,
  18% {
    transform: translate3d(0, 0, 0) rotate(22deg) scaleY(0.82);
    opacity: 0;
  }

  30% {
    opacity: 0.88;
  }

  55% {
    transform: translate3d(280%, 0, 0) rotate(22deg) scaleY(1.02);
    opacity: 0.16;
  }

  100% {
    transform: translate3d(280%, 0, 0) rotate(22deg) scaleY(1.02);
    opacity: 0;
  }
}

/* =========================
   STATUS PILL FINAL FIX
========================= */
.brand-block-premium {
  padding-right: 108px !important;
}

.account-status-pill {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  z-index: 4;
}

.account-status-dot {
  width: 7px !important;
  height: 7px !important;
}

.top-header.collapsed .brand-block-premium {
  padding-right: 96px !important;
}

.top-header.collapsed .account-status-pill {
  top: 8px !important;
  right: 8px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

@media (max-width: 430px) {
  .brand-block-premium {
    padding-right: 100px !important;
  }

  .account-status-pill {
    top: 8px !important;
    right: 8px !important;
  }

  .top-header.collapsed .brand-block-premium {
    padding-right: 88px !important;
  }
}

.brand-block-premium {
  padding-right: 108px !important;
}

.account-status-pill {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  z-index: 4;
}

.account-status-dot {
  width: 7px !important;
  height: 7px !important;
}

.top-header.collapsed .brand-block-premium {
  padding-right: 96px !important;
}

.top-header.collapsed .account-status-pill {
  top: 8px !important;
  right: 8px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

@media (max-width: 430px) {
  .brand-block-premium {
    padding-right: 100px !important;
  }

  .account-status-pill {
    top: 8px !important;
    right: 8px !important;
  }

  .top-header.collapsed .brand-block-premium {
    padding-right: 88px !important;
  }
}

.brand-headline-row #saudacao,
.brand-headline-row .saudacao-wrap {
  order: 1 !important;
}

.brand-headline-row .account-status-pill {
  order: 2 !important;
}

.brand-headline-row #saudacao,
.brand-headline-row .saudacao-wrap {
  order: 1 !important;
}

.brand-headline-row .account-status-pill {
  order: 2 !important;
}

/* animação */
@keyframes aparecerNotif {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notification-panel-list {
  display: grid;
}

.notification-item {
  width: 100%;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item strong {
  display: block;
  font-size: 13px;
  color: #eef3f8;
  margin-bottom: 4px;
}

.notification-item small {
  display: block;
  font-size: 11px;
  color: #8ea0ad;
  margin-top: 5px;
}

/* Header recolhível */
.top-header.collapsed {
  padding-top: 10px;
  padding-bottom: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.top-header.collapsed .big-logo {
  width: 60px;
  height: 60px;
  max-width: 60px;
  max-height: 60px;
  filter: drop-shadow(0 0 8px rgba(17, 216, 186, 0.12));
}

.top-header.collapsed .saudacao-wrap {
  font-size: 16px;
}

.top-header.collapsed .search-shell {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
}

.top-header.collapsed .search-suggestions,
.top-header.collapsed .notification-panel {
  display: none;
}

/* =========================
   HERO / SALDO
========================= */
.hero-balance {
  margin-top: 14px;
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.12), transparent 36%),
    linear-gradient(180deg, #10171f, #0d131a);
  border-radius: 24px;
  padding: 20px;
  border: 1px solid #1e2731;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.hero-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hero-balance-main {
  min-width: 0;
  flex: 1;
}

.hero-label {
  margin: 0;
  font-size: 12px;
  color: #96a2af;
}

.saldo-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.hero-balance h1,
#saldo {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5f8fb;
}

.toggle-saldo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #24303c;
  background: #141b23;
  color: #cfd8df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.18s ease;
}

.toggle-saldo:hover {
  border-color: rgba(16, 208, 177, 0.6);
  color: #10d0b1;
}

.shortcut-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #24303c;
  background: rgba(255, 255, 255, 0.02);
  color: #dfe6ec;
  font-weight: 600;
  flex-shrink: 0;
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.insight-card {
  background: #151d26;
  border: 1px solid #202833;
  border-radius: 16px;
  padding: 12px;
}

.insight-card span {
  display: block;
  font-size: 11px;
  color: #90a0ad;
  margin-bottom: 4px;
}

.insight-card strong {
  display: block;
  font-size: 14px;
  color: #eef3f8;
  font-weight: 700;
}

/* =========================
   SECTIONS
========================= */
.section-block {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-link {
  border: none;
  background: transparent;
  color: #10d0b1;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

/* =========================
   QUICK ACTIONS
========================= */
.quick-actions-slider,
.contacts-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.quick-actions-slider::-webkit-scrollbar,
.contacts-slider::-webkit-scrollbar {
  height: 6px;
}

.quick-actions-slider::-webkit-scrollbar-thumb,
.contacts-slider::-webkit-scrollbar-thumb {
  background: #24303c;
  border-radius: 999px;
}

.quick-card,
.contact-card {
  scroll-snap-align: start;
}

.quick-card {
  min-width: 152px;
  max-width: 152px;
  min-height: 126px;
  border: 1px solid #202833;
  border-radius: 20px;
  background: linear-gradient(180deg, #161d26, #121920);
  padding: 16px;
  color: #eef3f8;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 208, 177, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.quick-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10d0b1;
  margin-bottom: 12px;
}

.quick-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 4px;
  font-weight: 700;
}

.quick-card small {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: #8d9aa7;
}

.quick-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.12), transparent 40%),
    linear-gradient(180deg, #162028, #131a22);
}

/* =========================
   CONTACTS
========================= */
.contact-card {
  min-width: 120px;
  max-width: 120px;
  background: linear-gradient(180deg, #161d26, #121920);
  border: 1px solid #202833;
  border-radius: 20px;
  padding: 16px 12px;
  text-align: center;
  color: #eef3f8;
}

.contact-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #11d8ba, #0db9a1);
  color: #041311;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.contact-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  word-break: break-word;
}

.contact-card small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #8d9aa7;
}

/* =========================
   LANÇAMENTOS FUTUROS
========================= */
.statement-card-pending-home {
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.08), transparent 36%),
    linear-gradient(180deg, #161d26, #121920);
}

.statement-card-pending-home .empty-state {
  padding: 20px 6px 12px;
}

/* =========================
   BANNER DIÁRIO
========================= */
.daily-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #202833;
  background: linear-gradient(180deg, #161d26, #121920);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.daily-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 preenche tudo */
  object-position: top center; /* 🔥 mantém o topo (texto visível) */
  min-height: 190px;
  max-height: 240px;
}

/* =========================
   STATEMENT
========================= */
.statement-card {
  background: linear-gradient(180deg, #161d26, #121920);
  border: 1px solid #202833;
  border-radius: 22px;
  padding: 14px;
}

.statement-toolbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.statement-toolbar::-webkit-scrollbar {
  display: none;
}

.statement-filter {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #25313d;
  background: #111820;
  color: #8f9ba8;
  font-size: 12px;
  font-weight: 600;
}

.statement-filter.active {
  background: rgba(16, 208, 177, 0.12);
  color: #10d0b1;
  border-color: rgba(16, 208, 177, 0.4);
}

.statement-list,
#listaDepositos,
#listaDepositosFull {
  margin-top: 4px;
}

.grupo-data {
  margin-top: 14px;
}

.grupo-data:first-child {
  margin-top: 0;
}

.grupo-data h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #91a0ad;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.transacao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.transacao:last-child {
  border-bottom: none;
}

.valor {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.entrada {
  color: #45d483;
}

.saida {
  color: #ff6a6f;
}

.status-text {
  font-size: 12px;
  color: #8f9ba8;
  text-align: right;
}

.empty-state {
  text-align: center;
  color: #84929f;
  font-size: 13px;
  padding: 16px 6px 10px;
}

/* =========================
   PAGE / WALLET / PROFILE
========================= */
.page-header {
  margin-top: 4px;
  margin-bottom: 14px;
}

.page-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #90a0ad;
}

.page-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.wallet-grid,
.profile-grid {
  display: grid;
  gap: 14px;
}

.card {
  background: linear-gradient(180deg, #161d26, #121920);
  border: 1px solid #202833;
  border-radius: 22px;
  padding: 18px;
}

.neon {
  box-shadow: none;
}

.wallet-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wallet-card-head h3,
.card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.wallet-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(16, 208, 177, 0.12);
  color: #10d0b1;
  font-size: 11px;
  font-weight: 700;
}

.wallet-badge.muted {
  background: rgba(255, 255, 255, 0.04);
  color: #93a0ac;
}

.wallet-description {
  margin: 0 0 12px;
  color: #96a3af;
  font-size: 13px;
  line-height: 1.45;
}

.wallet-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.wallet-card input,
.wallet-card select,
.card input,
.card select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid #202833;
  background: #0d141b;
  color: #f1f6fa;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wallet-card input:focus,
.wallet-card select:focus,
.card input:focus,
.card select:focus {
  border-color: rgba(16, 208, 177, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 208, 177, 0.12);
  background: #101922;
}

.wallet-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.12), transparent 35%),
    linear-gradient(180deg, #161d26, #121920);
}

.sigmo-transfer-card {
  border-color: rgba(16, 208, 177, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 18px 28px rgba(0, 0, 0, 0.16);
}

.sigmo-benefits-box {
  margin-bottom: 6px;
}

.sigmo-benefits-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #d6e1e9;
}

.sigmo-benefits-list li {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.45;
}

/* Zona de perigo */
.danger-zone-card {
  border-color: rgba(255, 101, 107, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 101, 107, 0.08), transparent 34%),
    linear-gradient(180deg, #171a20, #12161b);
}

.danger-badge {
  background: rgba(255, 101, 107, 0.12);
  color: #ff7c82;
}

.confirm-action-check {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c7d4dd;
  font-size: 13px;
  line-height: 1.45;
}

.confirm-action-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #11d8ba;
}

.danger-btn {
  margin-top: 14px;
}

/* =========================
   BUTTONS
========================= */
.neon-btn,
.logout-final-btn {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.neon-btn {
  background: linear-gradient(135deg, #11d8ba, #0db9a1);
  color: #041311;
  box-shadow: 0 10px 22px rgba(17, 216, 186, 0.16);
}

.neon-btn:hover {
  filter: brightness(1.03);
}

.neon-btn:active,
.logout-final-btn:active {
  transform: scale(0.986);
}

.neon-btn.outline {
  background: transparent;
  border: 1px solid rgba(16, 208, 177, 0.6);
  color: #10d0b1;
  box-shadow: none;
}

.modal .neon-btn.outline {
  margin-top: 14px !important;
}

.logout-final-btn {
  background: linear-gradient(135deg, #ff656b, #eb4d55);
  color: #fff;
  box-shadow: 0 12px 24px rgba(235, 77, 85, 0.18);
}

/* =========================
   MODAL / QR / SCANNER
========================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 12, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 108px;
  z-index: 100;
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.modal.open {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, #171f27, #121920);
  border: 1px solid #212c36;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
  margin: auto 0;
}

.modal-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.modal-confirm-transfer {
  max-width: 390px;
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.12), transparent 38%),
    linear-gradient(180deg, #171f27, #121920);
}

.modal-content input[type="number"],
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="text"],
.modal-content input[type="file"],
.modal-content input[type="date"],
.modal-content select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid #202833;
  background: #0d141b;
  color: #f1f6fa;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.modal-content input:focus,
.modal-content select:focus {
  border-color: rgba(16, 208, 177, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 208, 177, 0.12);
  background: #101922;
}

.scanner-content {
  max-width: 390px;
}

.scanner-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  margin-top: 12px;
}

#qrVideo {
  width: 100%;
  min-height: 270px;
  object-fit: cover;
}

.scanner-frame {
  position: absolute;
  inset: 18% 14%;
  border: 2px solid rgba(16, 208, 177, 0.8);
  border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.14);
}

.scanner-status {
  margin: 12px 0 0;
  font-size: 13px;
  color: #9cabb6;
  line-height: 1.5;
}

.scanner-status strong {
  color: #ff7a7f;
  display: block;
  margin-bottom: 4px;
}

.qrcode {
  width: 100%;
  max-width: 240px;
  margin: 14px auto;
  border-radius: 16px;
}

/* =========================
   TOAST
========================= */
.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: none;
  opacity: 0;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #11d8ba, #0db9a1);
  color: #041311;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(17, 216, 186, 0.2);
  transition: opacity 0.3s ease;
}

/* =========================
   BOTTOM NAV
========================= */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid #202833;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
}

.bottom-nav-btn {
  min-height: 58px;
  border: none;
  background: transparent;
  color: #8f9ba8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 14px;
  transition: color 0.18s ease, background 0.18s ease;
}

.bottom-nav-btn.active {
  color: #10d0b1;
  background: rgba(16, 208, 177, 0.08);
}

.bottom-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-btn span:last-child {
  font-size: 11px;
  font-weight: 600;
}

/* =========================
   ANIMAÇÕES
========================= */
@keyframes logoFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.012);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 430px) {
  .bank-app {
    max-width: 100%;
    padding-bottom: 94px;
  }

  .bank-content {
    padding: 14px 14px 28px;
  }

  .top-header {
    padding: 14px 14px 10px;
  }

  .big-logo {
    width: 78px;
    height: 78px;
    max-width: 78px;
    max-height: 78px;
  }

  .saudacao-wrap {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-balance {
    padding: 18px;
  }

  .hero-balance h1,
  #saldo {
    font-size: 24px;
  }

  .hero-insights {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-width: 146px;
    max-width: 146px;
  }

  .contact-card {
    min-width: 116px;
    max-width: 116px;
  }

  .page-header h2 {
    font-size: 22px;
  }

  .daily-banner-image {
    min-height: 180px;
    max-height: 220px;
  }

  .top-header.collapsed .big-logo {
    width: 54px;
    height: 54px;
    max-width: 54px;
    max-height: 54px;
  }

  .top-header.collapsed .saudacao-wrap {
    font-size: 15px;
  }

  .modal {
    padding: 14px 14px 104px;
  }
}

@media (max-width: 360px) {
  .brand-title {
    font-size: 15px;
  }

  .saudacao-wrap {
    font-size: 15px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .search-box {
    height: 46px;
    padding: 0 12px;
  }

  .quick-card {
    min-width: 136px;
    max-width: 136px;
    padding: 14px;
  }

  .contact-card {
    min-width: 108px;
    max-width: 108px;
    padding: 14px 10px;
  }

  .modal-content {
    padding: 18px;
    border-radius: 20px;
  }

  .daily-banner-image {
    min-height: 168px;
    max-height: 210px;
  }

  .big-logo {
    width: 70px;
    height: 70px;
    max-width: 70px;
    max-height: 70px;
  }

  .top-header.collapsed .big-logo {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
  }
}

/* =========================
   VALIDAÇÃO DE VALORES
========================= */
.input-error {
  border-color: #ff5a5f !important;
  box-shadow: 0 0 0 2px rgba(255, 90, 95, 0.2) !important;
  color: #ff7a7f !important;
}

.input-error::placeholder {
  color: rgba(255, 122, 127, 0.6);
}

.input-error-message {
  margin-top: 6px;
  font-size: 12px;
  color: #ff7a7f;
}

/* BOTÃO BLOQUEADO */
.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================
   SALDO PENDENTE
========================= */
.hero-pending-inline {
  margin-top: 10px;
}

.hero-pending-label {
  font-size: 12px;
  color: #96a2af;
}

#saldoPendente {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
  color: #45d483;
}

/* =========================
   LANÇAMENTOS FUTUROS TOTAL
========================= */
.pending-total-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.pending-total-box {
  text-align: center;
}

.pending-total-box strong {
  font-size: 22px;
  color: #45d483;
  display: block;
}

.pending-total-box span {
  font-size: 12px;
  color: #8ea0ad;
}

/* =========================
   EXTRATO FILTRO PERÍODO
========================= */
.statement-period-shell {
  margin-bottom: 10px;
}

.statement-period-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.statement-period-filter::-webkit-scrollbar {
  display: none;
}

.period-filter-btn {
  border: 1px solid #25313d;
  background: #111820;
  color: #8f9ba8;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.period-filter-btn.active {
  background: rgba(16, 208, 177, 0.12);
  color: #10d0b1;
  border-color: rgba(16, 208, 177, 0.4);
}

.period-filter-btn:hover {
  border-color: rgba(16, 208, 177, 0.45);
  color: #dff5f1;
}

/* PERÍODO CUSTOM */
.custom-period-range {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.custom-period-field label {
  display: block;
  font-size: 12px;
  color: #8ea0ad;
  margin-bottom: 6px;
}

/* =========================
   PAGINAÇÃO
========================= */
.extrato-pagination {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-btn {
  border: 1px solid #25313d;
  background: #111820;
  color: #8f9ba8;
  padding: 8px 12px;
  border-radius: 10px;
  min-width: 42px;
  font-weight: 700;
}

.pagination-btn.active {
  background: rgba(16, 208, 177, 0.12);
  color: #10d0b1;
}

/* =========================
   MODAL ADICIONAR SALDO
========================= */
.modal-saldo-content {
  max-width: 380px;
}

.modal-saldo-header {
  margin-bottom: 16px;
}

.modal-saldo-value-box {
  margin-bottom: 14px;
}

.modal-saldo-value-box label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #dbe6ee;
  margin-bottom: 8px;
}

.modal-saldo-value-box input {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.modal-saldo-confirm-box {
  text-align: center;
  margin-bottom: 14px;
}

.modal-saldo-confirm-box h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #eef3f8;
}

.modal-saldo-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

/* =========================
   RESUMO CONTA
========================= */
.modal-summary-values {
  margin-top: 14px;
  text-align: center;
}

.modal-summary-values p {
  margin: 6px 0;
  font-size: 14px;
}

.modal-summary-values strong {
  font-size: 16px;
}

.conta-resumo-btn {
  margin-top: 10px;
}

#resumoPeriodoConta {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #10d0b1 50%),
    linear-gradient(135deg, #10d0b1 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
  font-weight: 700;
}

/* =========================
   SIGMO DESTAQUE
========================= */
.sigmo-benefits-list li {
  color: #45d483;
  font-weight: 600;
}

.sigmo-submit-btn {
  margin-top: 10px;
  min-height: 52px;
  box-shadow: 0 12px 26px rgba(17, 216, 186, 0.2);
}

/* =========================
   FIX FINAL VALIDAÇÃO (PADRÃO PROFISSIONAL)
========================= */
.input-group,
.wallet-card,
.modal-content {
  position: relative;
}

.input-error-message {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #ff7a7f;
  font-weight: 600;
}

.wallet-card input.input-error,
.modal-content input.input-error {
  border-color: #ff5a5f !important;
  box-shadow: 0 0 0 2px rgba(255, 90, 95, 0.2) !important;
  color: #ff7a7f !important;
}

.btn-disabled {
  opacity: 0.5 !important;
  pointer-events: none !important;
  filter: grayscale(0.3);
}

/* =========================
   AJUSTES FINAIS DESTA RODADA
========================= */
#novidades-banner {
  margin-top: 28px;
}

#novidades-banner .daily-banner-card {
  margin-top: 0;
}

.modal-periodo-content {
  max-width: 392px;
}

.modal-custom-period-range {
  margin-top: 6px;
  margin-bottom: 14px;
}

.modal-custom-period-range .custom-period-field + .custom-period-field {
  margin-top: 2px;
}

.modal-delete-content,
.modal-sigmo-confirm-content {
  margin-bottom: 0;
}

.shortcut-chip:hover {
  border-color: rgba(16, 208, 177, 0.45);
  color: #10d0b1;
}

.bottom-nav .bottom-nav-btn:nth-child(4) {
  margin-right: 0;
}


#nossas-taxas .card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

#nossas-taxas h3 {
  font-size: 16px;
}

#nossas-taxas ul {
  margin-top: 10px;
  gap: 6px;
}

#nossas-taxas li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

#nossas-taxas.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#nossas-taxas {
  display: none;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* 🔥 AUMENTO DA LOGO */
.big-logo {
  transform: scale(1.45);
}

.animated-logo {
  position: relative;
  overflow: hidden;
}

.animated-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,1),
    transparent 60%
  );
  transform: skewX(-25deg);
  animation: shineLogo 1.8s infinite;
  opacity: 1;
}

@keyframes shineLogo {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* 🔥 AUMENTO DA SAUDAÇÃO */
#saudacao {
  font-size: 1.5em;
}

.repassar-taxa-switch {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 12px;
  padding: 12px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
}

.repassar-taxa-switch input {
  display: none;
}

.repassar-taxa-switch .switch {
  width: 42px;
  height: 24px;
  background: #1f2a37;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: 0.25s;
}

.repassar-taxa-switch .switch::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: 0.25s;
}

.repassar-taxa-switch input:checked + .switch {
  background: #00c2a8;
}

.repassar-taxa-switch input:checked + .switch::after {
  transform: translateX(18px);
}

.switch-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.switch-text strong {
  font-size: 13px;
  color: #e6edf3;
}

.switch-text span {
  font-size: 11px;
  color: #8b949e;
}

#previewTaxa {
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
  transition: 0.2s;
}

/* quando repassa taxa */
.preview-repassando {
  color: #f87171; /* vermelho */
}

/* quando não repassa */
.preview-normal {
  color: #45d483; /* verde */
}

.modal-taxas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(5, 8, 12, 0.85); /* 🔥 mais consistente com seu app */

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
  padding: 16px; /* 🔥 evita quebrar no mobile */
}

.modal-taxas.ativo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 💰 MODAL TAXAS - VISUAL PREMIUM */

.modal-taxas-content {
  background: linear-gradient(180deg, #121920, #0f1720);
  padding: 22px;
  border-radius: 20px;
  width: 92%;
  max-width: 420px;
  color: #fff;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.titulo-taxas {
  font-size: 18px;
  margin-bottom: 16px;
}

.bloco-taxas {
  background: #0f1720;
  border: 1px solid #1f2a37;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.bloco-taxas h4 {
  font-size: 14px;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.bloco-taxas p {
  font-size: 13px;
  color: #94a3b8;
  margin: 3px 0;
}

/* 🔥 DESTAQUE SIGMO (GRÁTIS) */
.destaque-gratis {
  border: 1px solid #00c2a8;
  background: rgba(0, 194, 168, 0.08);
  box-shadow: 0 0 12px rgba(0, 194, 168, 0.2);
}

.bloco-taxas {
  transition: transform 0.2s, box-shadow 0.2s;
}

.bloco-taxas:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.destaque-gratis h4 {
  color: #00c2a8;
}

.destaque-gratis p {
  color: #00e0c0;
  font-weight: 600;
}

/* botão fechar */
.fechar-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #94a3b8;
  cursor: pointer;
}

.fechar-modal:hover {
  color: #fff;
}

.modal-taxas-content {
  margin: auto;
}

.repassar-taxa-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 8px;
}

.repassar-taxa-box input {
  width: 16px;
  height: 16px;
}

.repassar-taxa-box label {
  cursor: pointer;
}

/* =========================
   MODAL AJUDA
========================= */
.modal-ajuda-content {
  max-width: 380px;
}

.ajuda-textos {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.ajuda-textos p {
  font-size: 13px;
  color: #c9d4dd;
  line-height: 1.5;
  margin: 0;
}

.ajuda-textos strong {
  display: block;
  color: #10d0b1;
  font-size: 13px;
  margin-bottom: 2px;
}

/* =========================
   PREVIEW VALOR LIQUIDO
========================= */
#previewLiquido {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #45d483;
  text-align: center;
}

.modal-ajuda-content h3 {
  text-align: center;
  margin-bottom: 14px;
}

/* =========================
   MODAL GLOBAL
========================= */
.modal-global {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.modal-global.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-global-content {
  width: 90%;
  max-width: 340px;
  background: linear-gradient(180deg, #161d26, #121920);
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  border: 1px solid #202833;

  transform: scale(0.9);
  transition: 0.25s;
}

.modal-global.show .modal-global-content {
  transform: scale(1);
}

.modal-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.modal-icon svg {
  display: block;
  margin: 0 auto;
}

.modal-global h3 {
  margin: 0 0 8px;
}

.modal-global p {
  color: #9aa4af;
  font-size: 14px;
  margin-bottom: 16px;
}

/* =========================
   PREMIUM REFINEMENT
========================= */
:root {
  --premium-accent: #10d0b1;
  --premium-accent-strong: #11d8ba;
  --premium-surface-1: rgba(22, 30, 39, 0.98);
  --premium-surface-2: rgba(13, 20, 27, 0.98);
  --premium-surface-muted: rgba(255, 255, 255, 0.035);
  --premium-border: rgba(143, 159, 173, 0.16);
  --premium-border-strong: rgba(16, 208, 177, 0.2);
  --premium-text: #eef3f8;
  --premium-muted: #90a1ad;
  --premium-shadow-soft: 0 12px 26px rgba(0, 0, 0, 0.16);
  --premium-shadow-card: 0 22px 44px rgba(0, 0, 0, 0.24);
  --premium-shadow-glow: 0 18px 36px rgba(16, 208, 177, 0.12);
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(0, 194, 168, 0.14), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(17, 216, 186, 0.1), transparent 22%),
    linear-gradient(180deg, #061018 0%, #091119 38%, #0b0f14 100%);
  color: var(--premium-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 208, 177, 0.14);
}

.bank-app {
  padding-bottom: max(110px, calc(94px + env(safe-area-inset-bottom)));
}

.bank-content {
  padding: 16px 16px 32px;
}

.login-bg {
  inset: -44px -30px;
  background:
    radial-gradient(circle at top, rgba(17, 216, 186, 0.28), transparent 44%),
    radial-gradient(circle at bottom, rgba(255, 255, 255, 0.04), transparent 38%);
  filter: blur(64px);
}

.login-card,
.hero-balance,
.modal-content,
.modal-taxas-content,
.modal-global-content {
  position: relative;
  overflow: hidden;
}

.login-card::before,
.hero-balance::before,
.modal-content::before,
.modal-taxas-content::before,
.modal-global-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.025));
}

.login-card,
.statement-card,
.card,
.wallet-card,
.quick-card,
.contact-card,
.daily-banner-card,
.modal-content,
.modal-taxas-content,
.modal-global-content,
.search-suggestions,
.notification-panel {
  background: linear-gradient(180deg, var(--premium-surface-1), var(--premium-surface-2));
  border-color: var(--premium-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--premium-shadow-card);
}

.statement-card-pending-home,
.quick-card-highlight,
.wallet-card-highlight,
.sigmo-transfer-card,
.hero-balance,
.modal-confirm-transfer,
.destaque-gratis {
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(23, 32, 41, 0.99), rgba(13, 20, 27, 0.99));
}

.login-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 52px rgba(0, 0, 0, 0.34),
    0 10px 26px rgba(16, 208, 177, 0.06);
}

.login-logo {
  filter: drop-shadow(0 12px 22px rgba(17, 216, 186, 0.18));
}

.login-header p,
.login-footer,
.input-group label,
.switch,
.hero-label,
.hero-pending-label,
.wallet-description,
.search-suggestion-subtitle,
.status-text,
.empty-state,
.bloco-taxas p,
.ajuda-textos p,
.modal-global p,
.pending-total-box span,
.contact-card small {
  color: var(--premium-muted);
}

.input-group input,
.wallet-card input,
.wallet-card select,
.card input,
.card select,
.modal-content input[type="number"],
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="text"],
.modal-content input[type="file"],
.modal-content input[type="date"],
.modal-content select {
  background: rgba(11, 18, 24, 0.94);
  border-color: rgba(143, 159, 173, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.primary-btn,
.neon-btn,
.logout-final-btn {
  box-shadow:
    0 16px 32px rgba(17, 216, 186, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-btn:hover,
.neon-btn:hover,
.logout-final-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.logout-final-btn {
  box-shadow:
    0 16px 32px rgba(235, 77, 85, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.neon-btn.outline {
  background: rgba(16, 208, 177, 0.045);
  border-color: rgba(16, 208, 177, 0.46);
}

.top-header {
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.96), rgba(10, 16, 22, 0.84));
  border-bottom-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(135%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.top-header.collapsed {
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.98), rgba(10, 16, 22, 0.92));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.big-logo {
  transform: scale(1.18);
  filter: drop-shadow(0 10px 18px rgba(17, 216, 186, 0.14));
}

.animated-logo::after {
  opacity: 0.18;
  animation-duration: 4.8s;
}

#saudacao,
.saudacao-wrap {
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  letter-spacing: -0.03em;
}

.icon-btn,
.mini-icon-btn,
.search-box,
.shortcut-chip,
.toggle-saldo,
.statement-filter {
  border-color: rgba(143, 159, 173, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--premium-shadow-soft);
}

.icon-btn,
.mini-icon-btn {
  background: linear-gradient(180deg, rgba(23, 31, 39, 0.96), rgba(16, 23, 30, 0.96));
}

.icon-btn:hover,
.mini-icon-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 28px rgba(0, 0, 0, 0.18);
}

.notification-dot {
  box-shadow:
    0 0 0 3px rgba(21, 29, 38, 0.95),
    0 0 14px rgba(255, 90, 95, 0.35);
}

.search-shell {
  margin-top: 14px;
}

.search-box {
  min-height: 52px;
  background: linear-gradient(180deg, rgba(22, 30, 39, 0.96), rgba(15, 22, 29, 0.98));
}

.search-box:focus-within {
  border-color: rgba(16, 208, 177, 0.56);
  box-shadow:
    0 0 0 3px rgba(16, 208, 177, 0.1),
    0 14px 24px rgba(0, 0, 0, 0.18);
}

.search-suggestion-item {
  transition: background 0.18s ease, transform 0.18s ease, padding 0.18s ease;
}

.search-suggestion-item:hover {
  background: linear-gradient(90deg, rgba(16, 208, 177, 0.12), rgba(16, 208, 177, 0.03));
  transform: translateX(2px);
}

.notification-panel {
  top: 0;
  width: min(320px, calc(100vw - 24px));
  max-width: 320px;
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(130%);
}

.hero-balance {
  margin-top: 16px;
  padding: 22px 20px;
  border-color: var(--premium-border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--premium-shadow-card),
    var(--premium-shadow-glow);
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-balance h1,
#saldo {
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.toggle-saldo,
.shortcut-chip {
  background: var(--premium-surface-muted);
}

.hero-pending-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--premium-surface-muted);
  border: 1px solid rgba(143, 159, 173, 0.14);
  border-radius: 14px;
}

#saldoPendente {
  letter-spacing: -0.01em;
}

.section-head {
  margin-bottom: 14px;
}

.section-head h2,
.page-header h2,
.wallet-card-head h3,
.card h3,
.modal-content h3,
.titulo-taxas {
  letter-spacing: -0.03em;
  color: #f4f8fb;
}

.section-link {
  color: #79ead9;
}

.quick-actions-slider,
.contacts-slider,
.statement-toolbar {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.quick-card {
  min-height: 130px;
  padding: 18px 16px;
}

.quick-card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(16, 208, 177, 0.08);
  border: 1px solid rgba(16, 208, 177, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-card {
  padding: 18px 12px;
}

.contact-avatar {
  box-shadow:
    0 12px 22px rgba(17, 216, 186, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.statement-card,
.card,
.wallet-card {
  border-radius: 24px;
}

.pending-total-card {
  padding: 28px 20px;
}

.pending-total-box strong {
  font-size: 24px;
  text-shadow: 0 8px 18px rgba(69, 212, 131, 0.12);
}

.statement-filter {
  background: rgba(255, 255, 255, 0.03);
}

.statement-filter.active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(16, 208, 177, 0.1);
}

.transacao {
  padding: 15px 10px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.wallet-badge,
.wallet-badge.muted,
.repassar-taxa-switch,
.bloco-taxas {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-badge {
  background: rgba(16, 208, 177, 0.14);
}

.wallet-badge.muted {
  background: rgba(255, 255, 255, 0.05);
}

.repassar-taxa-switch,
.bloco-taxas {
  border-color: rgba(143, 159, 173, 0.12);
}

.modal {
  background: rgba(4, 8, 12, 0.82);
  backdrop-filter: blur(14px) saturate(130%);
}

.modal-content {
  border-radius: 28px;
}

.modal-taxas {
  background: rgba(5, 8, 12, 0.8);
  backdrop-filter: blur(12px) saturate(125%);
}

.modal-taxas-content {
  border: 1px solid var(--premium-border);
}

.fechar-modal {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-global {
  background: rgba(3, 6, 9, 0.78);
  backdrop-filter: blur(12px) saturate(125%);
}

.modal-global-content {
  border-radius: 24px;
}

.bottom-nav {
  bottom: 10px;
  width: calc(100% - 20px);
  max-width: 410px;
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  border: 1px solid rgba(143, 159, 173, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 19, 25, 0.92), rgba(10, 14, 19, 0.94));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bottom-nav-btn {
  gap: 5px;
}

.bottom-nav-btn.active {
  background: linear-gradient(180deg, rgba(16, 208, 177, 0.14), rgba(16, 208, 177, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bottom-nav-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.03);
  color: #d7e2ea;
}

.bottom-nav-icon {
  transition: transform 0.18s ease;
}

.bottom-nav-btn.active .bottom-nav-icon {
  transform: translateY(-1px);
}

@media (max-width: 430px) {
  .bank-content {
    padding: 16px 14px 32px;
  }

  .top-header {
    padding: 15px 14px 12px;
  }

  .hero-balance {
    padding: 20px 18px;
  }

  .bottom-nav {
    bottom: 8px;
    width: calc(100% - 16px);
    max-width: none;
  }

  .notification-panel {
    right: 16px;
  }

  .big-logo {
    transform: scale(1.12);
  }
}

@media (max-width: 360px) {
  .quick-card {
    min-width: 140px;
    max-width: 140px;
    min-height: 124px;
  }

  .contact-card {
    min-width: 110px;
    max-width: 110px;
  }

  .bottom-nav {
    bottom: 6px;
    width: calc(100% - 12px);
    border-radius: 22px;
  }

  .big-logo {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animated-logo,
  .animated-logo::after,
  .primary-btn,
  .neon-btn,
  .logout-final-btn,
  .quick-card,
  .contact-card,
  .icon-btn,
  .mini-icon-btn,
  .bottom-nav-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================
   PREMIUM HEADER REWORK
========================= */
.top-header {
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(5, 10, 13, 0.94), rgba(5, 10, 13, 0.58));
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(130%);
}

.header-main {
  position: relative;
  padding: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(16, 208, 177, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 18, 24, 0.96), rgba(8, 15, 20, 0.94));
  border: 1px solid rgba(88, 118, 120, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.22);
}

.top-header-row-custom {
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-block-premium {
  flex: 1 1 220px;
  align-items: flex-start;
  gap: 14px;
}

.brand-logo-shell {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-logo-shell::before {
  content: none;
}

.brand-logo-shell .big-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none !important;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(17, 216, 186, 0.18));
}

.brand-text-premium {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.brand-kicker {
  order: 1;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fe9dc;
  opacity: 0.95;
}

.brand-text-premium #saudacao,
.brand-text-premium .saudacao-wrap {
  order: 2;
  font-size: clamp(1.3rem, 5.2vw, 1.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #f7fbfd;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand-subtitle {
  order: 3;
  display: block;
  max-width: 30ch;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(225, 235, 241, 0.7);
}

.header-actions-cluster {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.account-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(13, 46, 44, 0.92), rgba(10, 37, 35, 0.88));
  border: 1px solid rgba(101, 227, 186, 0.2);
  color: #e9fff8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

.account-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #68f1be;
  box-shadow:
    0 0 0 6px rgba(104, 241, 190, 0.12),
    0 0 14px rgba(104, 241, 190, 0.3);
}

.header-actions-cluster .top-actions {
  gap: 10px;
}

.header-actions-cluster .icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 35, 42, 0.96), rgba(16, 23, 28, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
  color: #eef5f9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 22px rgba(0, 0, 0, 0.16);
}

.header-actions-cluster .icon-btn:hover {
  color: #ffffff;
  border-color: rgba(16, 208, 177, 0.26);
}

.search-shell {
  margin-top: 12px;
}

.search-box {
  min-height: 58px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 28, 35, 0.96), rgba(16, 23, 29, 0.98));
  border-color: rgba(143, 159, 173, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.16);
}

.search-box input {
  font-size: 15px;
}

.search-box input::placeholder {
  color: #7d8d99;
}

.search-suggestions {
  margin-top: 12px;
  border-radius: 20px;
}

.top-header.collapsed .header-main {
  padding: 12px 14px;
  border-radius: 24px;
}

.top-header.collapsed .top-header-row-custom {
  align-items: center;
  gap: 10px;
}

.top-header.collapsed .brand-block-premium {
  align-items: center;
  gap: 10px;
}

.top-header.collapsed .brand-logo-shell {
  width: 34px;
  height: 34px;
  padding: 0;
}

.top-header.collapsed .brand-logo-shell .big-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none !important;
  filter: drop-shadow(0 8px 16px rgba(17, 216, 186, 0.14));
}

.top-header.collapsed .brand-kicker,
.top-header.collapsed .brand-subtitle {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.top-header.collapsed .brand-text-premium {
  gap: 0;
  padding-top: 0;
}

.top-header.collapsed .brand-text-premium #saudacao,
.top-header.collapsed .brand-text-premium .saudacao-wrap {
  font-size: clamp(1rem, 4.2vw, 1.12rem);
  line-height: 1;
  white-space: nowrap;
}

.top-header.collapsed .account-status-pill {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.top-header.collapsed .account-status-dot {
  width: 8px;
  height: 8px;
  box-shadow:
    0 0 0 5px rgba(104, 241, 190, 0.1),
    0 0 10px rgba(104, 241, 190, 0.24);
}

.top-header.collapsed .header-actions-cluster {
  gap: 8px;
}

.top-header.collapsed .header-actions-cluster .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

@media (max-width: 430px) {
  .header-main {
    padding: 15px 14px;
    border-radius: 26px;
  }

  .brand-logo-shell {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 0;
  }

  .header-actions-cluster {
    width: 100%;
    justify-content: space-between;
  }

  .header-actions-cluster .top-actions {
    margin-left: auto;
  }

  .top-header.collapsed .header-main {
    padding: 11px 12px;
  }

  .account-status-pill {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .brand-text-premium #saudacao,
  .brand-text-premium .saudacao-wrap {
    font-size: clamp(1.2rem, 5.6vw, 1.5rem);
  }

  .top-header.collapsed .brand-text-premium #saudacao,
  .top-header.collapsed .brand-text-premium .saudacao-wrap {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
  }

  .brand-subtitle {
    max-width: none;
    font-size: 12px;
  }

  .search-box {
    min-height: 54px;
  }
}

@media (max-width: 360px) {
  .brand-block-premium {
    gap: 12px;
  }

  .brand-kicker {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .header-actions-cluster {
    gap: 8px;
  }

  .header-actions-cluster .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 16px;
  }

  .account-status-pill {
    padding: 0 12px;
  }

  .brand-logo-shell {
    width: 44px;
    height: 44px;
  }

  .top-header.collapsed .brand-logo-shell {
    width: 30px;
    height: 30px;
  }

  .top-header.collapsed .header-actions-cluster .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 14px;
  }

  .top-header.collapsed .account-status-pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

.brand-subtitle {
    font-size: 11.5px;
  }
}

/* =========================
   HEADER FINAL OVERRIDE
========================= */
.header-actions-cluster[hidden] {
  display: none !important;
}

.brand-text-premium {
  gap: 6px;
}

.brand-headline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.brand-logo-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.brand-logo-shell::after {
  content: "";
  position: absolute;
  inset: -15% auto -15% -55%;
  width: 42%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: rotate(18deg);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: logoSweep 3.6s ease-in-out infinite;
}

.brand-logo-shell .big-logo {
  position: relative;
  z-index: 1;
}

.animated-logo::after {
  content: none;
}

.account-status-pill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 71, 60, 0.96), rgba(18, 122, 96, 0.94));
  border-color: rgba(119, 252, 205, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(3, 39, 33, 0.28),
    0 0 0 1px rgba(118, 245, 200, 0.06);
  animation: activePulse 3.2s ease-in-out infinite;
}

.account-status-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.2) 50%, transparent 82%);
  transform: translateX(-135%);
  animation: statusSweep 4.6s ease-in-out infinite;
  pointer-events: none;
}

.account-status-dot {
  animation: statusDotPulse 2.4s ease-in-out infinite;
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.search-row .search-box {
  flex: 1 1 auto;
}

.notification-search-btn {
  width: 58px;
  min-width: 58px;
  height: 58px;
  border-radius: 20px;
  flex-shrink: 0;
  align-self: stretch;
  background: linear-gradient(180deg, rgba(20, 28, 35, 0.98), rgba(14, 21, 27, 0.98));
  border-color: rgba(143, 159, 173, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 26px rgba(0, 0, 0, 0.18);
}

.notification-search-btn:hover {
  border-color: rgba(16, 208, 177, 0.32);
}

.floating-help-btn {
  position: fixed;
  right: 18px;
  bottom: calc(108px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #15dbc3, #0ca692);
  color: #041311;
  box-shadow:
    0 18px 34px rgba(12, 166, 146, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  z-index: 45;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.floating-help-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 20px 36px rgba(12, 166, 146, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.floating-help-btn:active {
  transform: scale(0.98);
}

.top-header.collapsed .brand-headline-row {
  gap: 6px;
  flex-wrap: nowrap;
}

.top-header.collapsed .account-status-pill {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
}

.top-header.collapsed .notification-search-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 16px;
}

@keyframes logoSweep {
  0%,
  20% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  32% {
    opacity: 0.92;
  }
  56% {
    transform: translateX(255%) rotate(18deg);
    opacity: 0.18;
  }
  100% {
    transform: translateX(255%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes activePulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 24px rgba(3, 39, 33, 0.28),
      0 0 0 1px rgba(118, 245, 200, 0.06);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 12px 28px rgba(3, 39, 33, 0.32),
      0 0 0 1px rgba(118, 245, 200, 0.1),
      0 0 18px rgba(67, 240, 188, 0.14);
  }
}

@keyframes statusSweep {
  0%,
  22% {
    transform: translateX(-135%);
  }
  46%,
  100% {
    transform: translateX(135%);
  }
}

@keyframes statusDotPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 6px rgba(104, 241, 190, 0.12),
      0 0 14px rgba(104, 241, 190, 0.3);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(104, 241, 190, 0.18),
      0 0 18px rgba(104, 241, 190, 0.38);
  }
}

@media (max-width: 430px) {
  .search-row {
    gap: 8px;
  }

  .notification-search-btn {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .floating-help-btn {
    right: 16px;
    bottom: calc(102px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
}

@media (max-width: 360px) {
  .brand-headline-row {
    gap: 8px;
  }

  .account-status-pill {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .notification-search-btn {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .top-header.collapsed .notification-search-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .floating-help-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
}
.brand-headline-row #saudacao,
.brand-headline-row .saudacao-wrap {
  order: 1 !important;
}

.brand-headline-row .account-status-pill {
  order: 2 !important;
}

/* =========================
   STATUS PILL FINAL FIX
========================= */
.brand-block-premium {
  padding-right: 108px !important;
}

.account-status-pill {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  z-index: 4;
}

.account-status-dot {
  width: 7px !important;
  height: 7px !important;
}

.top-header.collapsed .brand-block-premium {
  padding-right: 96px !important;
}

.top-header.collapsed .account-status-pill {
  top: 8px !important;
  right: 8px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

@media (max-width: 430px) {
  .brand-block-premium {
    padding-right: 100px !important;
  }

  .account-status-pill {
    top: 8px !important;
    right: 8px !important;
  }

  .top-header.collapsed .brand-block-premium {
    padding-right: 88px !important;
  }
}

/* =========================
   LOGO SHINE FINAL OVERRIDE
========================= */
.brand-logo-shell {
  overflow: visible !important;
}

.brand-logo-shell::before {
  content: "";
  position: absolute;
  inset: 15% 17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 240, 188, 0.14) 0%, rgba(67, 240, 188, 0.06) 48%, transparent 76%);
  filter: blur(10px);
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

.brand-logo-shell::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: -38%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 18%,
    rgba(255, 255, 255, 0.84) 50%,
    rgba(164, 255, 234, 0.34) 68%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(7px);
  transform: translate3d(0, 0, 0) rotate(21deg) scaleY(0.76);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
  animation: logoSweepLiquid 4.8s cubic-bezier(0.35, 0, 0.22, 1) infinite;
}

.brand-logo-shell .big-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(17, 216, 186, 0.12));
}

@keyframes logoSweepLiquid {
  0%,
  18% {
    transform: translate3d(0, 0, 0) rotate(21deg) scaleY(0.76);
    opacity: 0;
  }

  30% {
    opacity: 0.82;
  }

  56% {
    transform: translate3d(300%, 0, 0) rotate(21deg) scaleY(0.98);
    opacity: 0.14;
  }

  100% {
    transform: translate3d(300%, 0, 0) rotate(21deg) scaleY(0.98);
    opacity: 0;
  }
}

/* =========================
   STATUS PILL MOTION FINAL
========================= */
.account-status-pill {
  animation: none !important;
}

.account-status-pill::before {
  content: none !important;
  animation: none !important;
}

.account-status-dot {
  animation: statusDotPulse 2.4s ease-in-out infinite !important;
}
