/* ==========================================================
   Perfil Entregador (prefixo .ent-)
   ========================================================== */

/* ---------- utilitários locais ---------- */
.ent-page .mt-0, .ent-auth .mt-0, .ent-wsec .mt-0 { margin-top: 0; }
.ent-page .mt-8, .ent-auth .mt-8 { margin-top: 8px; }
.ent-page .mt-12, .ent-auth .mt-12 { margin-top: 12px; }
.ent-auth .mt-16, .ent-page .mt-16 { margin-top: 16px; }
.ent-auth .mt-24 { margin-top: 24px; }
.ent-auth .mt-28 { margin-top: 28px; }
.ent-auth .mt-auto, .ent-page .mt-auto { margin-top: auto; }
.ent-none { color: var(--muted); text-align: center; padding: 24px 0; }

/* Correção local: no celular (<768px) o core define `.phone .m-shell { min-height: 100% }` sem altura definida no pai,
   então o fundo cinza não ocupa a tela toda. Aqui garantimos 100vh para as telas do entregador. */
@media (max-width: 767px) { .phone .m-shell:has(.ent-page, .ent-auth, .ent-panel, .ent-splash) { min-height: 100vh; } }

/* ==========================================================
   ACESSO (app)
   ========================================================== */
.ent-auth { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 28px; background: #fff; }
@media (max-width: 767px) { .ent-auth { min-height: 100vh; } }
.ent-auth.login .ent-auth-top { margin-bottom: 16px; }
.ent-auth.login .ent-auth-top .logo-word { font-size: 33px; }
.ent-auth.login .ent-auth-h { font-size: 36px; }
.ent-auth-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; min-height: 52px; }
.ent-auth-top .logo, .ent-head .logo, .ent-logo-row .logo { align-items: flex-start; }
.ent-auth-top .logo-word { font-size: 30px; }
.ent-auth-top .logo-sub { font-size: 8.5px; letter-spacing: .38em; padding-left: 2px; }
.ent-back { width: 40px; height: 40px; display: grid; place-items: center; margin-right: -8px; color: var(--ink); border-radius: 50%; }
.ent-back:hover { background: var(--surface-2); }
.ent-auth-h { font-size: 33px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: #1B1D29; }
.ent-auth-h.sm { font-size: 28px; margin-top: 12px; }
.ent-auth-h.center, .ent-auth-p.center { text-align: center; }
.ent-auth-p { margin-top: 12px; color: #8C93A3; font-size: 14px; line-height: 1.7; }
.ent-auth-p.center { max-width: 290px; margin-left: auto; margin-right: auto; }

.ent-pill-input { position: relative; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 22px; border: 1px solid #E3E5EA; border-radius: 999px; background: #fff; transition: border-color .15s; }
.ent-pill-input:focus-within, .ent-pill-input.focus { border-color: var(--red); }
.ent-pill-input.invalid { border-color: var(--red); background: #FFF7F7; }
.ent-pill-input > .ic { color: #6B7080; flex-shrink: 0; }
.ent-pill-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; font-size: 15px; color: var(--ink); }
.ent-pill-input input::placeholder { color: #9AA0AE; }
.ent-pill-input input[type=password] { letter-spacing: .22em; font-size: 22px; font-weight: 700; }
.ent-pill-input input[type=password]::placeholder { letter-spacing: 0; font-size: 15px; }
.ent-pill-input input.strong { font-weight: 600; padding-left: 32px; font-size: 15px; }
.ent-eye { width: 36px; height: 36px; display: grid; place-items: center; color: #6B7080; margin-right: -8px; border-radius: 50%; }
.ent-err { color: var(--danger); font-size: 13px; margin-top: 10px; padding-left: 8px; }
.ent-forgot { align-self: flex-end; color: var(--red); font-size: 13px; font-weight: 500; margin: 12px 6px 0 0; }

.ent-cta { display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; border-radius: 999px; background: var(--red); color: #fff; font-size: 16px; font-weight: 600; width: 100%; margin-top: 16px; flex-shrink: 0; transition: background .15s; }
.ent-cta:hover { background: var(--red-600); }
.ent-cta[aria-disabled=true] { opacity: .55; }
.ent-cta.ghost { background: #fff; color: var(--ink); border: 1px solid #E8E9EE; }
.ent-cta.ghost:hover { background: var(--surface-2); }
.ent-cta.ghost .ic { width: 22px; height: 22px; }
.ent-auth .ent-cta.mt-auto { margin-top: auto; }
.ent-or { display: flex; align-items: center; gap: 14px; color: #8C93A3; font-size: 14px; margin: 26px 0 10px; }
.ent-or::before, .ent-or::after { content: ''; flex: 1; height: 1px; background: #E8E9EE; }
.ent-auth-note { text-align: center; font-size: 14px; color: var(--ink); margin-top: 36px; }
.ent-auth-note.sm { color: #8C93A3; font-size: 13px; margin-top: 22px; }
.ent-auth-legal { text-align: center; font-size: 14px; color: #3F4352; line-height: 1.75; margin: 40px auto 0; max-width: 300px; }
.ent-auth-legal a { color: var(--red); }

.ent-opt { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 0 22px 0 14px; border: 1px solid #E3E5EA; border-radius: 999px; cursor: pointer; transition: all .15s; }
.ent-opt.on { border-color: var(--red); background: #FFF0F1; }
.ent-opt-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: #FCEDEA; flex-shrink: 0; }
.ent-opt b { display: block; font-weight: 600; font-size: 14.5px; }
.ent-opt small { display: block; color: #8C93A3; font-size: 14px; margin-top: 4px; }
.ent-opt .radio { width: 22px; height: 22px; }
.ent-opt .radio:checked { box-shadow: inset 0 0 0 5px var(--red); background: #fff; border: 2px solid var(--red); }

/* OTP + teclado */
.ent-otp { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }
.ent-otp span { width: 56px; height: 56px; border-radius: 50%; border: 1px solid #E3E5EA; display: grid; place-items: center; font-size: 24px; font-weight: 500; color: var(--ink); background: #fff; }
.ent-otp span.cur { border: 1.5px solid #F05A3C; }
.ent-otp.err span { border-color: var(--red); animation: ent-shake .3s; }
@keyframes ent-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ent-timer { display: flex; align-items: center; justify-content: center; gap: 6px; color: #8C93A3; font-size: 13px; margin-top: 22px; }
.ent-timer b { color: var(--red); font-weight: 600; margin-left: 4px; }
.ent-timer.err { color: var(--danger); }
.ent-keypad { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px -12px 0; }
.ent-keypad button { height: 80px; font-size: 26px; font-weight: 500; color: #1B1D29; border-radius: 16px; display: grid; place-items: center; }
.ent-keypad button:hover { background: var(--surface-2); }
.ent-keypad button:active { background: var(--surface-3); }
.ent-auth.tight .ent-auth-top { margin-bottom: 32px; }

.ent-rules { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #F4F4F6; display: flex; flex-direction: column; gap: 10px; }
.ent-rules li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #8C93A3; }
.ent-rules li .ic { color: #8C93A3; }
.ent-rules li.ok { color: #2B2E3A; }
.ent-rules li.ok .ic { color: var(--green); }

.ent-pass-ill { position: relative; width: 240px; height: 240px; margin: 4px auto 44px; border-radius: 50%; background: #F6F7F9; display: grid; place-items: center; }
.ent-pass-ill::before { content: ''; position: absolute; inset: 44px; border-radius: 50%; background: #fff; }
.ent-pass-ill .bar { position: relative; width: 168px; height: 44px; border-radius: 999px; background: var(--red); display: flex; align-items: center; gap: 12px; padding-left: 22px; margin-left: -20px; }
.ent-pass-ill .bar i { width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ent-pass-ill .ok { position: absolute; left: 152px; top: 94px; width: 52px; height: 52px; border-radius: 50%; background: #0E0D12; color: #fff; display: grid; place-items: center; }

/* Splash */
.m-shell:has(.ent-splash) { position: relative; }
.m-shell:has(.ent-splash) .statusbar { position: absolute; left: 0; right: 0; top: 0; }
.ent-splash { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 70px 24px 36px; color: #fff; background: #111 86% 77% / auto 104% no-repeat; cursor: pointer; min-height: 760px; }
@media (max-width: 767px) { .ent-splash { min-height: 100vh; } }
.ent-splash::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,0) 40%, rgba(5,5,8,.7) 70%, rgba(5,5,8,.92) 100%); }
.ent-splash > * { position: relative; }
.ent-logo-lg { align-self: flex-start; margin-left: 18px; }
.ent-logo-lg .logo-word { font-size: 40px; }
.ent-logo-lg .logo-sub { font-size: 10px; letter-spacing: .38em; margin-top: 6px; }
.ent-splash h1 { color: #fff; font-size: 27px; line-height: 1.3; font-weight: 500; letter-spacing: 0; }
.ent-splash p { font-size: 15.5px; line-height: 1.45; opacity: .92; margin-top: 12px; }
.ent-splash-feats { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; font-size: 15px; }
.ent-splash-feats li { display: flex; align-items: center; gap: 10px; }
.ent-splash-feats li .ic { width: 18px; height: 18px; }
.ent-dots { display: flex; gap: 6px; margin-top: 28px; align-items: center; }
.ent-dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.55); transition: width .2s; padding: 0; }
.ent-dots button.on { width: 20px; background: var(--red); }
.ent-splash-skip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 28px; opacity: .85; padding: 6px 0; }

/* ==========================================================
   APP — base das telas internas
   ========================================================== */
.ent-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 16px; background: #fff; }
.ent-head .logo-word, .ent-logo-row .logo-word { font-size: 27px; }
.ent-head .ent-back { margin-right: -10px; }
.ent-logo-row { padding: 4px 0 0; }
.ent-page { flex: 1; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.ent-chat-page > [data-driver-chat] { flex: 1; min-height: 0; height: auto !important; overscroll-behavior: contain; }
.ent-chat-page form input { min-width: 0; font-size: 16px; }
@media (max-width: 767px) {
  .ent-chat-page {
    position: fixed; z-index: 50; inset-inline: 0; top: var(--chat-vv-top, 0px);
    width: 100%; height: var(--chat-vv-height, 100dvh); min-height: 0; overflow: hidden;
    padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom)); gap: 10px;
  }
  .ent-chat-page > [data-driver-chat] { overflow-y: auto !important; }
  .ent-chat-page > form { flex-shrink: 0; margin-top: 0 !important; }
}
.ent-title-row { display: flex; align-items: flex-start; gap: 12px; }
.ent-h1 { font-size: 20px; font-weight: 500; line-height: 1.25; color: #1B1D29; letter-spacing: -.005em; }
.ent-sub { color: #7D808C; font-size: 13px; line-height: 1.35; margin-top: 4px; }
.ent-h2 { font-size: 20px; font-weight: 500; color: #1B1D29; }
.ent-h3 { font-size: 17px; font-weight: 500; color: #1B1D29; }
.ent-h4 { font-size: 16px; font-weight: 500; color: #1B1D29; margin-top: 4px; margin-bottom: -4px; }
.ent-sqbtn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #EFEFF2; color: var(--ink); flex-shrink: 0; }
.ent-sqbtn:hover { background: #E6E6EA; }
.ent-card { background: #fff; border: 1px solid #ECECEF; border-radius: 16px; padding: 16px; }
.ent-link { color: var(--red); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.ent-sec { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #7D808C; margin: 4px 0 -6px; }
.ent-date { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #7D808C; font-weight: 500; margin: 2px 0 -6px; }

.ent-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 52px; border-radius: 12px; background: var(--red); color: #fff; font-size: 16px; font-weight: 500; box-shadow: 0 6px 14px rgba(255, 0, 0, .22); transition: background .15s; flex-shrink: 0; }
.ent-btn:hover { background: var(--red-600); }
.ent-btn .ic { width: 22px; height: 22px; }
.ent-btn.outline { background: #fff; color: var(--red); border: 1.5px solid var(--red); box-shadow: none; }
.ent-btn.outline:hover { background: var(--red-50); }
.ent-btn.neutral { background: #fff; color: var(--ink); border: 1px solid #E5E5EA; box-shadow: none; }
.ent-btn.neutral:hover { background: var(--surface-2); }
.ent-btn[aria-disabled=true] { opacity: .5; box-shadow: none; }

/* Saudação + disponibilidade */
.ent-hello { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.ent-avatar { position: relative; width: 48px; height: 48px; min-width: 48px; aspect-ratio: 1 / 1; flex: 0 0 48px; overflow: hidden; border-radius: 50%; background: #DADBE0; color: #fff; display: grid; place-items: center; }
.ent-avatar > img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50% !important; }
.ent-avatar .ic { opacity: 0; }
.ent-avatar i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #A3A3AB; border: 2px solid #F8F8FA; }
.ent-avatar i.on { background: var(--green); }
.ent-hello b { font-weight: 500; font-size: 15.5px; display: block; }
.ent-avail { display: flex; align-items: center; gap: 8px; color: #7D808C; font-size: 13px; cursor: pointer; }
.switch.sm { width: 30px; height: 17px; }
.switch.sm input::after { width: 11px; height: 11px; top: 3px; left: 3px; }
.switch.sm input:checked { background: var(--green); }
.switch.sm input:checked::after { transform: translateX(13px); }
.ent-bell { position: relative; width: 40px; height: 40px; display: grid; place-items: center; margin-right: -6px; color: var(--ink); border-radius: 50%; }
.ent-bell i { position: absolute; top: 8px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ent-chips { margin: -4px -16px 0; padding: 0 16px; }
.ent-chips .chips { gap: 8px; }
.ent-chips .chip { height: 36px; padding: 0 14px; font-weight: 400; font-size: 13.5px; border-color: #E5E5EA; }
.ent-chips .chip .ic { width: 15px; height: 15px; }
.ent-chips .chip.solid.active { font-weight: 500; }
.ent-chips .chip .count { min-width: 26px; height: 20px; font-size: 12.5px; }
.ent-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 20px; }
.ent-empty p { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

/* Card de rota */
.ent-route { display: flex; flex-direction: column; gap: 16px; box-shadow: 0 4px 16px rgba(14,13,18,.03); }
.ent-route-head { display: flex; align-items: center; justify-content: space-between; }
.ent-route-head h2 { font-size: 18px; font-weight: 400; color: #1B1D29; }
.ent-stats { display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px 10px; }
.ent-stat { display: flex; align-items: flex-start; gap: 12px; }
.ent-stat > .ic { width: 22px; height: 22px; color: #6B6E7A; margin-top: 2px; }
.ent-stat b { display: block; font-size: 14px; font-weight: 600; color: #1B1D29; line-height: 1.3; }
.ent-stat b.big { font-size: 18px; }
.ent-stat small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.25; }

/* Mapa */
.ent-route-map-wrap { position: relative; }
.ent-route-map-wrap .pecae-osm-map { border-radius: 14px; }
.ent-route-map-wrap.full .pecae-osm-map { border-radius: 0; }
.pecae-osm-pin.driver { width: 20px; height: 20px; border-radius: 50%; transform: none; background: #1677ff; box-shadow: 0 0 0 8px rgba(22,119,255,.2); }
.ent-map { border-radius: 14px; min-height: 0; }
.ent-map .map-pin { width: 12px; height: 12px; box-shadow: none; }
.ent-map .map-pin .ic { display: none; }
.ent-map .map-pin.ent-dot { background: #fff; border: 3px solid var(--red); }
.ent-map .map-pin.ent-drop { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: translate(-50%, -100%) rotate(-45deg); background: var(--red); margin-top: -2px; }
.ent-map .map-pin.ent-drop .ic { display: block; transform: rotate(45deg); width: 15px; height: 15px; color: #fff; }
.ent-map .map-pin.ent-gpin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: translate(-50%, -100%) rotate(-45deg); background: #6D717D; }
.ent-map .map-pin.ent-gpin.done { background: var(--green); }
.ent-map .map-pin.ent-gpin::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ent-map .map-pin.ent-me { width: 16px; height: 16px; background: #fff; border: 4px solid var(--red); box-shadow: 0 0 0 12px rgba(255, 0, 0, .14); animation: ent-pulse 2s infinite; }
@keyframes ent-pulse { 50% { box-shadow: 0 0 0 16px rgba(255, 0, 0, .08); } }
.ent-mlabel { position: absolute; transform: translate(0, -50%); background: #fff; border-radius: 6px; padding: 3px 8px 4px; box-shadow: 0 2px 6px rgba(14,13,18,.1); line-height: 1.2; white-space: nowrap; z-index: 2; }
.ent-mlabel small { display: block; font-size: 10.5px; color: #3F4352; }
.ent-mlabel small.red { color: var(--red); }
.ent-mlabel b { display: block; font-size: 12px; font-weight: 600; color: #1B1D29; }
.ent-mapbtn { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 2px 8px rgba(14,13,18,.1); }
.ent-map-full { border-radius: 0; margin: 0; }
.ent-map-full .ent-mlabel { padding: 5px 10px 6px; border-radius: 8px; }
.ent-map-full .ent-mlabel small { font-size: 11.5px; }
.ent-map-full .ent-mlabel b { font-size: 14.5px; }
.ent-map-full .map-pin.ent-gpin { width: 20px; height: 20px; }
.ent-map-full .map-pin.ent-me { width: 18px; height: 18px; box-shadow: 0 0 0 14px rgba(255,0,0,.16); }
.ent-map-full .map-pin.ent-drop { width: 34px; height: 34px; }
.ent-map-full .map-pin.ent-drop .ic { width: 17px; height: 17px; }
.ent-locate { position: absolute; right: 17px; bottom: 58px; z-index: 3; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(14,13,18,.12); }

/* Lista de paradas (compacta) */
.ent-stops { display: flex; flex-direction: column; }
.ent-stop { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 12px; position: relative; color: inherit; }
.ent-stops li:not(:last-child) .ent-stop::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: -2px; width: 2px; background: #D7D8DD; }
.ent-stop-ic { width: 36px; height: 36px; border-radius: 50%; background: #EFEFF2; color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.ent-stop-ic.red { background: var(--red); color: #fff; }
.ent-stop-ic .ic { width: 18px; height: 18px; }
.ent-stop b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: #1B1D29; margin-top: 1px; }
.ent-stop small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; margin-top: 2px; }
.ent-stop > .ic { color: #6B6E7A; margin-top: 4px; }
.ent-stop .badge { font-size: 12px; height: 20px; padding: 0 7px; font-weight: 500; }
.ent-stops .badge.b-gray { background: #F0F0F2; color: var(--ink); }

/* Detalhes da rota */
.ent-store { display: flex; align-items: center; gap: 14px; }
.ent-store b { display: block; font-size: 16px; font-weight: 500; }
.ent-store small { display: block; color: #8A8D98; font-size: 13px; }
.ent-store .badge { height: 26px; padding: 0 12px; font-size: 13.5px; font-weight: 500; border-radius: 6px; }
.ent-mark { width: 48px; height: 48px; border-radius: 9px; background: #15161C; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 21px; letter-spacing: -.02em; flex-shrink: 0; grid-auto-flow: column; justify-content: center; }
.ent-mark b { color: var(--red); font-weight: 700; }
.ent-mark.lg { width: 52px; height: 52px; font-size: 19px; }
.ent-code { font-size: 26px; font-weight: 500; margin: 14px 0 16px; color: #1B1D29; }
.ent-card > .ent-store + .ent-stats { margin-top: 18px; }
.ent-card > .ent-stats + .ent-map, .ent-card > .ent-stats + a { margin-top: 18px; display: block; }
.ent-sheet { padding-top: 10px; margin-top: 8px; }
.ent-handle { display: block; width: 40px; height: 4px; border-radius: 4px; background: #DCDCE0; margin: 0 auto 14px; }
.ent-sheet .ent-h2 + .ent-sub { margin-bottom: 18px; }
.ent-tl { display: flex; flex-direction: column; gap: 18px; }
.ent-tl li { position: relative; padding-left: 48px; }
.ent-tl li::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: -18px; border-left: 2px dotted #C9CAD0; }
.ent-tl li:last-child::before { display: none; }
.ent-tl-ic { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #EFEFF2; display: grid; place-items: center; }
.ent-tl-ic.red { background: var(--red); color: #fff; }
.ent-tl-ic .ic { width: 18px; height: 18px; }
.ent-tl-head { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.ent-tl-head > b { font-weight: 500; font-size: 14.5px; }
.ent-tl-head em { font-style: normal; color: var(--red); }
.ent-tl-head small { color: #8A8D98; font-size: 13px; }
.ent-tl-head .badge { height: 20px; padding: 0 7px; font-size: 12px; font-weight: 500; }
.ent-tl .badge.b-gray { background: #F0F0F2; color: var(--ink); }
.ent-ib { width: 28px; height: 28px; display: grid; place-items: center; margin-right: -6px; border-radius: 50%; }
.ent-ib:hover { background: var(--surface-2); }
.ent-stop-box { margin-top: 10px; background: #F4F4F6; border-radius: 14px; padding: 12px; }
.ent-stop-box .row { gap: 12px; align-items: flex-start; }
.ent-stop-box b { display: block; font-weight: 600; font-size: 14.5px; }
.ent-stop-box small { display: block; color: #8A8D98; font-size: 12.5px; line-height: 1.35; }
.ent-stop-box small.red { color: var(--red); }
.ent-stop-box .ent-who { margin-top: 2px; }
.ent-ph { width: 56px; height: 56px; border-radius: 8px; background: #E4E4E7; flex-shrink: 0; }
.ent-ph.sm { width: 48px; height: 40px; }
.ent-chat { width: 36px; height: 36px; border-radius: 50%; background: #FDE3E3; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.ent-chat:hover { background: #FBD2D2; }
.ent-chat .ic { width: 18px; height: 18px; }
.ent-part { display: flex; gap: 10px; align-items: center; margin-top: 10px; background: #fff; border: 1px solid #ECECEF; border-radius: 12px; padding: 8px 10px; }
.ent-part small.red { font-size: 12px; }
.ent-info { padding: 18px 16px; }
.ent-info-head { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; margin-bottom: 18px; }
.ent-info-head b { font-weight: 500; font-size: 16px; }
.ent-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0; }
.ent-grid2 dt { color: #8A8D98; font-size: 13px; }
.ent-grid2 dd { margin: 0; font-weight: 600; font-size: 13.5px; }
.ent-grid2 dd.red { color: var(--red); }

/* Sucesso (rota aceita / transferência) */
.ent-burst { position: relative; width: 210px; height: 140px; margin: -4px auto -2px; }
.ent-burst .ring { position: absolute; left: 50%; top: 50%; width: 138px; height: 138px; margin: -69px 0 0 -69px; border-radius: 50%; background: radial-gradient(circle, #FDE0E0 0 50%, #FEF0F0 50% 100%); display: grid; place-items: center; }
.ent-burst .core { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(255,0,0,.35); }
.ent-burst .core .ic { width: 28px; height: 28px; stroke-width: 2.2; }
.ent-burst i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #F7A3A3; }
.ent-burst .c1 { left: 40px; top: 32px; background: var(--red); width: 6px; height: 6px; } .ent-burst .c2 { left: 60px; top: 18px; width: 3px; height: 3px; }
.ent-burst .c3 { left: 50px; top: 60px; background: #F06A6A; } .ent-burst .c4 { left: 34px; top: 76px; width: 4px; height: 4px; }
.ent-burst .c5 { right: 40px; top: 24px; background: var(--red); } .ent-burst .c6 { right: 54px; top: 46px; width: 4px; height: 4px; }
.ent-burst .c7 { right: 40px; top: 66px; background: #F06A6A; } .ent-burst .c8 { right: 56px; top: 86px; width: 4px; height: 4px; }
.ent-hero-t { text-align: center; font-size: 27px; font-weight: 600; color: #1B1D29; margin-top: 4px; }
.ent-hero-t.lg { line-height: 1.3; max-width: 320px; margin: 0 auto; }
.ent-hero-p { text-align: center; color: #7D808C; font-size: 14px; margin-top: -10px; }
.ent-hero-b { text-align: center; color: #6D707C; font-size: 15px; font-weight: 600; line-height: 1.4; margin-top: -8px; padding: 0 12px; }
.ent-hero-s { text-align: center; color: #8A8D98; font-size: 12.5px; line-height: 1.6; padding: 0 20px; margin-bottom: 8px; }

/* Navegação (entregando / retirada) */
.ent-nav-title { display: flex; align-items: center; gap: 12px; padding: 30px 16px 22px; background: #fff; }
.ent-nav-title h1 { font-size: 20px; font-weight: 500; }
.ent-nav-title p { color: #8A8D98; font-size: 13px; margin-top: 2px; }
.ent-round { width: 36px; height: 48px; border-radius: 999px; border: 1px solid #E5E5EA; display: grid; place-items: center; background: #fff; }
.ent-round:hover { background: var(--surface-2); }
.ent-panel { position: relative; margin-top: -16px; z-index: 5; background: #fff; border-radius: 24px 24px 0 0; padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 -6px 20px rgba(14,13,18,.06); }
.ent-panel > .ent-handle { margin-bottom: 4px; }
.ent-panel > .badge { align-self: flex-start; height: 28px; padding: 0 12px; font-size: 13.5px; font-weight: 500; border-radius: 6px; }
.ent-panel > .ent-h2 { margin-top: -2px; }
.ent-panel > .ent-sub { margin-top: -10px; }
.ent-eta { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 12px; background: #FFECEC; }
.ent-eta small { display: block; font-size: 13px; color: #3F4352; }
.ent-eta b { display: block; color: var(--red); font-size: 17px; font-weight: 600; line-height: 1.2; }
.ent-eta-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 8px; background: #fff; color: var(--red); font-weight: 600; font-size: 14px; }
.ent-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 6px -4px 0; }
.ent-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.ent-steps li::before { content: ''; position: absolute; top: 18px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: #E2E2E6; }
.ent-steps li:first-child::before { display: none; }
.ent-steps li.done::before, .ent-steps li.cur::before { background: var(--red); }
.ent-steps span { width: 36px; height: 36px; border-radius: 50%; background: #EFEFF2; color: #6B6E7A; display: grid; place-items: center; position: relative; z-index: 1; }
.ent-steps li.done span, .ent-steps li.cur span { background: var(--red); color: #fff; }
.ent-steps li.cur span { box-shadow: 0 0 0 5px #FCE0E0; }
.ent-steps b { font-size: 13.5px; font-weight: 500; color: #8A8D98; margin-top: 2px; }
.ent-steps li.done b { color: var(--ink); font-weight: 600; }
.ent-steps li.cur b { color: var(--red); }
.ent-steps small { font-size: 12px; color: #8A8D98; line-height: 1.3; }
.ent-steps li.cur small { color: var(--red); }
.ent-rows { padding: 0 14px; }
.ent-r { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #ECECEF; width: 100%; text-align: left; }
.ent-r:last-child { border-bottom: 0; }
.ent-r b { display: block; font-weight: 600; font-size: 14px; }
.ent-r small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; }
.ent-r .ent-ph { width: 64px; height: 56px; background: #F0F0F2; align-self: flex-start; }
.ent-ric { width: 40px; height: 40px; border-radius: 50%; background: #F0F0F2; display: grid; place-items: center; flex-shrink: 0; color: var(--ink); }
.ent-ric.sq { border-radius: 10px; width: 44px; height: 44px; }
.ent-ric .ic { width: 19px; height: 19px; }
.ent-pick-code { text-align: center; }
.ent-pick-code small { color: #8A8D98; font-size: 13px; }
.ent-pick-code p { color: #8A8D98; font-size: 12.5px; margin-top: 10px; line-height: 1.4; }
.ent-code-digits { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.ent-code-digits span { width: 48px; height: 56px; border-radius: 12px; background: #FFECEC; color: var(--red); font-size: 28px; font-weight: 600; display: grid; place-items: center; }
.ent-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #3F4352; cursor: pointer; line-height: 1.4; }
.ent-cb { appearance: none; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid #8A8D98; flex-shrink: 0; margin: 0; display: grid; place-items: center; background: #fff; cursor: pointer; }
.ent-cb:checked { background: var(--red); border-color: var(--red); }
.ent-cb:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ent-code-page { background: #fff; gap: 0; }
.ent-code-page > .badge { align-self: flex-start; height: 26px; padding: 0 10px; font-weight: 500; border-radius: 6px; }
.ent-photo { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; margin-top: 22px; padding: 12px 14px; border: 1px dashed #D5D6DB; border-radius: 14px; }
.ent-photo > .ic:first-child { color: var(--red); width: 24px; height: 24px; }
.ent-photo b { display: block; font-weight: 500; font-size: 14px; }
.ent-photo small { display: block; color: #8A8D98; font-size: 12.5px; }
.ent-photo.on { border-style: solid; border-color: var(--green); background: var(--green-bg); }
.ent-photo.on > .ic:first-child { color: var(--green); }
.ent-code-page .ent-otp { margin-top: 24px; }
.ent-code-page .ent-keypad button { height: 64px; }

/* Rota finalizada */
.ent-final-ill { position: relative; width: 220px; height: 220px; margin: 6px auto 16px; }
.ent-final-ill svg { width: 100%; height: 100%; }
.ent-final-ill .ok { position: absolute; right: 2px; bottom: 26px; width: 66px; height: 66px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(255,0,0,.3); }
.ent-final-ill .ok .ic { stroke-width: 2.6; }
.ent-sum { padding: 0 16px; margin: 0 4px; }
.ent-sum-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #ECECEF; }
.ent-sum-row:last-child { border-bottom: 0; }
.ent-sum-row.head { padding: 22px 0; }
.ent-sum-row b { display: block; font-weight: 500; font-size: 14.5px; }
.ent-sum-row.head b { font-size: 17px; }
.ent-sum-row small { display: block; color: #8A8D98; font-size: 13px; }
.ent-sum-row .ent-ric.sq { background: #F4F4F6; }

/* Minhas rotas */
.ent-hist { display: block; width: 100%; text-align: left; padding: 16px 14px; }
.ent-hist:hover { box-shadow: var(--sh-sm); }
.ent-hist-top { display: flex; align-items: center; gap: 12px; padding: 0 0 16px; border-bottom: 1px solid #ECECEF; }
.ent-hist-top b { display: block; font-size: 17px; font-weight: 500; }
.ent-hist-top small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; }
.ent-hist-top .ent-mark { width: 44px; height: 44px; }
.ent-hist-top .badge { height: 22px; font-size: 12px; font-weight: 500; }
.ent-hist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding-top: 14px; }
.ent-hist-grid > span { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; }
.ent-hist-grid i { grid-row: span 2; width: 36px; height: 36px; border-radius: 8px; background: #F4F4F6; display: grid; place-items: center; }
.ent-hist-grid i .ic { width: 18px; height: 18px; }
.ent-hist-grid b { font-size: 14px; font-weight: 500; line-height: 1.2; }
.ent-hist-grid small { color: #8A8D98; font-size: 13px; line-height: 1.2; }
.ent-filter-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--red-50); color: var(--red); font-size: 13px; font-weight: 500; }

/* Notificações / opções (drawer) */
.ent-notifs { display: flex; flex-direction: column; }
.ent-notifs > a, .ent-notifs > button { display: flex; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.ent-notifs > :last-child { border-bottom: 0; }
.ent-notifs > * > .ic { color: var(--red); width: 22px; height: 22px; }
.ent-notifs b { display: block; font-weight: 500; }
.ent-notifs small { display: block; color: var(--muted); font-size: 12.5px; }

/* ==========================================================
   CONTA E CARTEIRA (app)
   ========================================================== */
.ent-profile { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid #F8DADA;
  background: linear-gradient(115deg, #FFEDEE 0%, #FFEDEE 62%, #FDE3E4 62%, #FDE3E4 80%, #FFEDEE 80%); }
.ent-profile-open { display: block; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.ent-pf-av { position: relative; width: 72px; height: 72px; min-width: 72px; aspect-ratio: 1 / 1; flex: 0 0 72px; overflow: hidden; border-radius: 50%; background: #D7D8DD; display: grid; place-items: center; color: transparent; }
.ent-pf-av > img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50% !important; }
.ent-pf-av .cam { position: absolute; right: -2px; bottom: 0; width: 22px; height: 22px; padding: 0; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; border: 2px solid #fff; }
.ent-profile > .grow > b { display: block; font-size: 17px; font-weight: 500; }
.ent-rate { display: flex; align-items: center; gap: 4px; color: #8A8D98; font-size: 13px; margin: 4px 0 8px; }
.ent-rate .ic { color: var(--red); }
.ent-rate b { color: var(--ink); font-weight: 500; font-size: 14px; }
.ent-profile .badge { height: 24px; font-size: 13px; }
.ent-menu { padding: 0 14px; }
.ent-menu-i { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid #ECECEF; min-height: 70px; }
.ent-menu-i:last-child { border-bottom: 0; }
.ent-menu-i b { display: block; font-size: 14.5px; font-weight: 600; }
.ent-menu-i small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; }
.ent-menu-i > .ic:last-child { color: var(--ink); }
.ent-mi-ic { width: 44px; height: 44px; border-radius: 10px; background: #FDE7E8; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.ent-mi-ic.gray { background: #F4F4F6; color: var(--ink); }
.ent-menu.flat .ent-menu-i { min-height: 64px; gap: 14px; }
.ent-menu.flat .ent-menu-i b { font-size: 14px; }
.ent-menu.flat .ent-menu-i small { font-size: 12.5px; }
.ent-menu.flat .ent-mi-ic { width: 40px; height: 40px; }
.ent-menu.flat .ent-menu-i .badge { height: 22px; font-size: 12px; padding: 0 8px; }
.ent-menu-i .badge { height: 24px; font-size: 13px; font-weight: 500; flex-shrink: 0; }
.ent-menu-i.danger { background: #FFEFF0; margin: 0 -14px; padding: 12px 14px; width: calc(100% + 28px); border-radius: 16px 16px 0 0; }
.ent-menu-i.danger b, .ent-menu-i.danger > .ic:last-child { color: var(--red); }
.ent-menu-i.danger .ent-mi-ic { background: #FFE2E3; color: var(--red); }
.ent-logout { display: flex; align-items: center; gap: 18px; width: 100%; padding: 0 16px; height: 50px; border-radius: 14px; background: #FFECEC; color: var(--red); text-align: left; }
.ent-logout b { font-weight: 500; font-size: 14.5px; }

.ent-balance { position: relative; border-radius: 18px; padding: 22px 20px 20px; color: #fff; background: linear-gradient(135deg, #FF3B3B 0%, #F20000 45%, #D00000 100%); box-shadow: 0 10px 22px rgba(220,0,0,.25); }
.ent-balance small { display: block; font-size: 13.5px; opacity: .9; }
.ent-balance > b { display: block; font-size: 34px; font-weight: 600; line-height: 1.2; margin-top: 2px; letter-spacing: -.01em; }
.ent-balance > span { display: block; font-size: 13.5px; opacity: .92; margin-top: 4px; }
.ent-balance-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; margin-top: 22px; border-radius: 12px; background: #fff; color: var(--red); font-weight: 600; font-size: 16px; }
.ent-balance-btn:hover { background: #FFF5F5; }
.ent-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ent-kpi { border-radius: 12px; background: #FFEFF0; border: 1px solid #FBDCDD; padding: 10px 10px 8px; min-width: 0; }
.ent-kpi small { display: block; color: #7D808C; font-size: 11.5px; }
.ent-kpi b { display: block; font-size: 14px; font-weight: 600; margin-top: 2px; white-space: nowrap; }
.ent-kpi .row { margin-top: 8px; min-height: 20px; }
.ent-kpi .green { font-size: 12px; font-weight: 600; color: var(--green); }
.ent-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.ent-bars i { width: 5px; border-radius: 1px; background: #FF8A8A; }
.ent-bars i:nth-child(1) { height: 8px; } .ent-bars i:nth-child(2) { height: 13px; background: #FF4D4D; } .ent-bars i:nth-child(3) { height: 18px; background: var(--red); } .ent-bars i:nth-child(4) { height: 14px; background: var(--red); }
.ent-kpi .ent-bars { margin-left: auto; }
.ent-sec-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ent-seg { display: grid; grid-template-columns: repeat(4, 1fr); background: #EFEFF2; border-radius: 10px; padding: 4px; }
.ent-seg button { height: 32px; border-radius: 8px; font-size: 13.5px; color: #7D808C; }
.ent-seg button.on { background: var(--red); color: #fff; font-weight: 500; }
.ent-seg button:not(.on):hover { color: var(--ink); }

.ent-mv { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px; }
.ent-mv.card-like { background: #fff; border: 1px solid #ECECEF; border-radius: 14px; }
.ent-mv.card-like:hover { box-shadow: var(--sh-sm); }
.ent-mv-ic { width: 44px; height: 44px; border-radius: 10px; background: #FDE7E8; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.ent-mv-ic.sm { width: 34px; height: 34px; border-radius: 8px; }
.ent-mv b:not(.ent-mv-val) { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.ent-mv small { display: block; color: #8A8D98; font-size: 12.5px; line-height: 1.35; }
.ent-mv-val { font-weight: 500; font-size: 14px; white-space: nowrap; }
.ent-mv-val.pos { color: var(--green); }
.ent-mv-val.neg { color: var(--ink); }
.ent-mv > .ic:last-child { color: var(--ink); }
.ent-mv-big { font-size: 26px; margin-bottom: 12px; }
.ent-mv-big .ent-mv-val { font-size: 26px; }
.ent-list { padding: 0 14px; }
.ent-list .ent-mv { padding: 12px 0; border-bottom: 1px solid #ECECEF; border-radius: 0; }
.ent-list .ent-mv:last-child { border-bottom: 0; }

/* Formulário (conta bancária) */
.ent-form { gap: 16px; }
.ent-safe { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #FFEDEE; }
.ent-safe > .ic { color: var(--red); flex-shrink: 0; width: 28px; height: 28px; }
.ent-safe b { display: block; font-size: 14px; font-weight: 500; }
.ent-safe small { display: block; color: #7D808C; font-size: 12.5px; line-height: 1.35; }
.ent-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ent-field > label, .ent-field > .lbl { font-weight: 500; font-size: 15px; color: #1B1D29; }
.ent-field input:not([type=radio]) { height: 48px; border: 1px solid #DEDFE4; border-radius: 10px; padding: 0 14px; background: #fff; font-size: 15px; outline: 0; min-width: 0; width: 100%; }
.ent-field input::placeholder { color: #A3A6B0; }
.ent-field input:focus { border-color: var(--red); }
.ent-field.invalid input { border-color: var(--red); background: #FFF7F7; }
.ent-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ent-select { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 14px 0 12px; border: 1px solid #DEDFE4; border-radius: 12px; background: #fff; }
.ent-select:focus-within { border-color: var(--red); }
.ent-select select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 16px; }
.ent-select > .ic:last-child { margin-left: auto; }
.ent-select-v { font-size: 15px; }
.ent-bank-ic { width: 52px; height: 52px; border-radius: 10px; background: #15161C; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ent-bank-ic.sm { width: 40px; height: 40px; border-radius: 8px; }
.ent-bank-ic.sm .ic { width: 18px; height: 18px; }
.ent-radio-card { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid #DEDFE4; border-radius: 10px; background: #fff; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.ent-radio-card.on { border: 1.5px solid var(--red); background: #FFEDEE; color: var(--red); font-weight: 500; }
.ent-radio-card .radio:checked { box-shadow: inset 0 0 0 4px #fff; }
.ent-hint { display: flex; gap: 8px; align-items: flex-start; color: #7D808C; font-size: 12.5px; margin-top: -6px; }
.ent-hint .ic { flex-shrink: 0; margin-top: 1px; }
.ent-form .ent-btn { margin-top: 8px; }

/* Transferir */
.ent-saldo { border-radius: 16px; background: #FFEDEE; border: 1px solid #FBDCDD; padding: 18px 18px 16px; }
.ent-saldo small { display: block; color: #7D808C; font-size: 13px; }
.ent-saldo b { display: block; font-size: 30px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.ent-saldo span { display: flex; align-items: center; gap: 8px; color: var(--red); font-size: 13px; margin-top: 4px; }
.ent-amount { display: block; }
.ent-amount input { width: 100%; height: 56px; border: 1px solid #DEDFE4; border-radius: 12px; padding: 0 16px; font-size: 22px; background: #fff; outline: 0; }
.ent-amount input::placeholder { color: #A3A6B0; }
.ent-amount input:focus { border-color: var(--red); }
.ent-amount.over input { border-color: var(--red); color: var(--red); }
.ent-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 8px; margin-top: -6px; }
.ent-quick button { height: 34px; border-radius: 8px; background: #FFE5E6; color: var(--red); font-weight: 600; font-size: 13px; white-space: nowrap; padding: 0 4px; }
.ent-quick button.on { background: var(--red); color: #fff; }
.ent-bank { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 14px 16px; background: #fff; border: 1px solid #ECECEF; border-radius: 16px; }
.ent-bank b { display: block; font-weight: 500; font-size: 14.5px; }
.ent-bank small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.4; }
.ent-bank .badge { height: 20px; font-size: 12.5px; margin-top: 2px; font-weight: 500; }
.ent-bank.soft { background: #FFEDEE; border-color: #FBDCDD; }
.ent-add { display: flex; align-items: center; gap: 16px; padding: 14px 16px; }
.ent-add b { font-weight: 500; font-size: 14.5px; }
.ent-add-ic { width: 44px; height: 44px; border-radius: 10px; background: #FFE5E6; color: var(--red); display: grid; place-items: center; }
.ent-add-ic .ic { width: 22px; height: 22px; border: 1.6px solid currentColor; border-radius: 50%; padding: 2px; }
.ent-note { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #F0F0F2; }
.ent-note > .ic { flex-shrink: 0; }
.ent-note b { display: block; font-weight: 500; font-size: 14px; }
.ent-note small { display: block; color: #8A8D98; font-size: 12.5px; line-height: 1.4; }
.ent-note.warn { background: var(--amber-bg); }
.ent-note.warn > .ic { color: var(--amber); }
.ent-resume { display: flex; flex-direction: column; }
.ent-resume > div { display: flex; justify-content: space-between; padding: 6px 0; color: #8A8D98; font-size: 13.5px; }
.ent-resume > div.tot { border-top: 1px solid #ECECEF; margin-top: 8px; padding-top: 14px; color: var(--ink); font-size: 16px; }
.ent-resume > div.tot b { font-weight: 500; }
.ent-resume > div.tot b:last-child { font-size: 18px; }
.ent-card.ent-resume { padding: 12px 16px 16px; }

/* Sucesso da transferência */
.ent-amount-lbl { text-align: center; color: #7D808C; font-size: 13px; margin-top: 8px; }
.ent-amount-big { text-align: center; font-size: 36px; font-weight: 600; margin-top: -14px; letter-spacing: -.01em; }
.ent-receipt { padding: 0 16px; }
.ent-receipt > div { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid #ECECEF; color: #8A8D98; font-size: 13.5px; }
.ent-receipt > div:last-child { border-bottom: 0; }
.ent-receipt > div > :last-child { color: var(--ink); }
.ent-receipt > div > .badge { color: var(--green); }
.ent-receipt b { font-weight: 600; }

/* Segurança */
.ent-ok-box { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: #E8F6EC; }
.ent-ok-box > .ic { color: var(--green); width: 28px; height: 28px; }
.ent-ok-box b { display: block; color: var(--green); font-weight: 500; font-size: 14.5px; }
.ent-ok-box small { display: block; color: #6D707C; font-size: 13px; }
.ent-2fa { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #F0F0F2; cursor: pointer; }
.ent-2fa.on { background: #E8F6EC; }
.ent-2fa-ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: #7D808C; flex-shrink: 0; }
.ent-2fa.on .ent-2fa-ic { color: var(--green); }
.ent-2fa b { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; color: #6D707C; }
.ent-2fa.on b { color: var(--green); }
.ent-2fa small { display: block; color: #6D707C; font-size: 13px; margin-top: 2px; }
.ent-switch-lg { width: 48px; height: 28px; }
.ent-switch-lg input::after { width: 22px; height: 22px; }
.ent-switch-lg input:checked { background: var(--green); }
.ent-switch-lg input:checked::after { transform: translateX(20px); }
.ent-how { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.ent-how li { display: flex; align-items: center; gap: 14px; }
.ent-how li > span { width: 32px; height: 32px; border-radius: 50%; background: #F0F0F2; display: grid; place-items: center; font-size: 14px; font-weight: 500; flex-shrink: 0; }
.ent-how b { display: block; font-weight: 500; font-size: 14px; }
.ent-how small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; }
.ent-method { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid #ECECEF; background: #fff; cursor: pointer; }
.ent-method.on { border: 1.5px solid var(--red); background: #FFEDEE; }
.ent-method b { display: block; font-size: 16px; font-weight: 500; }
.ent-method small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; }
.ent-method .radio { width: 22px; height: 22px; }
.ent-method .radio:checked { background: #fff; border: 2px solid var(--red); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--red); }
.ent-disabled { opacity: .5; pointer-events: none; }
.ent-contacts { padding: 0 16px; }
.ent-contacts button { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid #ECECEF; }
.ent-contacts button:last-child { border-bottom: 0; }
.ent-contacts small { display: block; color: #8A8D98; font-size: 13px; }
.ent-contacts b { display: block; font-size: 16px; font-weight: 500; }
.ent-contacts button > .ic:first-child { color: #3F4352; }

.ent-doc-hero { margin-top: 4px; padding: 18px 16px 20px; border-radius: 16px; background: #FFEDEE; }
.ent-doc-hero > span { width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; }
.ent-doc-hero > span .ic { width: 18px; height: 18px; }
.ent-doc-hero h2 { font-size: 19px; font-weight: 500; margin-top: 16px; }
.ent-doc-hero p { color: #7D808C; font-size: 13px; line-height: 1.45; margin-top: 12px; }
.ent-doc { color: #7D808C; font-size: 13.5px; line-height: 1.3; }
.ent-doc h3 { font-size: 14.5px; font-weight: 500; color: #1B1D29; margin: 16px 0 6px; }
.ent-doc h3:first-child { margin-top: 0; }

.ent-del-q { font-weight: 600; font-size: 14px; margin-top: 2px; }
.ent-del-t { color: #3F4352; font-size: 13.5px; line-height: 1.4; margin-top: -4px; }
.ent-del-i { display: flex; align-items: center; gap: 16px; padding: 16px 14px; margin-top: -2px; }
.ent-del-i b { display: block; font-weight: 500; font-size: 16px; }
.ent-del-i small { display: block; color: #8A8D98; font-size: 13px; line-height: 1.35; }
.ent-del-ic { width: 40px; height: 40px; border-radius: 50%; background: #F0F0F2; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }

/* ==========================================================
   WEB (desktop) — conta e carteira
   ========================================================== */
.ent-whead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ent-wback { margin-bottom: 4px; font-size: 12px; }
.ent-help-round { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #ECECEF; display: grid; place-items: center; flex-shrink: 0; }
.ent-help-round:hover { background: var(--surface-2); }
.ent-wtop { display: grid; grid-template-columns: 420px repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.ent-balance.web { padding: 22px 24px; box-shadow: none; }
.ent-balance.web > b { font-size: 36px; font-weight: 500; }
.ent-balance.web small, .ent-balance.web > span { font-size: 12.5px; }
.ent-balance.web .ent-balance-btn { height: 42px; margin-top: 26px; font-size: 15px; font-weight: 500; border-radius: 10px; }
.ent-wkpi { display: flex; flex-direction: column; padding: 20px; border-radius: 16px; }
.ent-wkpi small { color: var(--muted); font-size: 12.5px; }
.ent-wkpi b { font-size: 19px; font-weight: 500; margin-top: 6px; }
.ent-wkpi .row { margin-top: auto; }
.ent-wkpi span.green, .ent-wkpi span.muted { font-size: 12.5px; }
.ent-wkpi span.green { font-weight: 500; }
.ent-wcard { padding: 26px 24px 18px; border-radius: 18px; }
.ent-wcard-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ent-wcard-head .card-title { font-weight: 400; font-size: 19px; }
.ent-wcard-head .row { gap: 16px; }
.ent-wcard .ent-seg { width: 290px; padding: 3px; }
.ent-wcard .ent-seg button { height: 28px; font-size: 12.5px; }
.ent-wlist { display: flex; flex-direction: column; }
.ent-wrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid #ECECEF; min-height: 72px; }
.ent-wrow:last-child { border-bottom: 0; }
.ent-wrow:hover { background: #FCFCFD; }
.ent-wrow b:not(.ent-mv-val) { display: block; font-weight: 500; font-size: 13px; }
.ent-wrow small { display: block; color: var(--muted); font-size: 12px; }
.ent-wdate { color: var(--muted); font-size: 12.5px; width: 140px; text-align: right; }
.ent-wrow .ent-mv-val { width: 120px; text-align: right; font-size: 13.5px; }
.ent-wrow > .ic:last-child { color: var(--muted); }
.ent-wbal { color: var(--muted); font-size: 12.5px; }
.ent-wbal b { color: var(--ink); font-weight: 500; font-size: 14px; }
.ent-wmonth { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 18px 0 4px; }
.ent-wcard-head + .ent-wmonth { margin-top: 8px; }
.ent-wq { font-size: 13px; color: var(--muted); }
.ent-wperiod { height: 44px; font-size: 15px; border-radius: 12px; }

.ent-wprofile { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: 18px; }
.ent-wav { width: 88px; height: 88px; border-radius: 50%; background: #EFEFF2; color: #4A4D58; display: grid; place-items: center; }
.ent-wav .ic { width: 30px; height: 30px; }
.ent-wprofile h2 { font-size: 22px; font-weight: 500; }
.ent-wprofile .ent-rate { margin: 6px 0 0; font-size: 12px; gap: 6px; }
.ent-wprofile .ent-rate b { font-size: 13px; }
.ent-wprofile .badge { height: 20px; font-size: 12px; margin-left: 4px; }
.ent-wedit { height: 44px; border-radius: 12px; font-size: 15px; }
.ent-wsec { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .02em; margin: 26px 0 14px; }
.ent-wtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ent-wtile { display: flex; flex-direction: column; text-align: left; padding: 20px; border-radius: 16px; transition: box-shadow .15s; }
.ent-wtile:hover { box-shadow: var(--sh-md); }
.ent-wtile .row .ic:last-child { color: var(--muted); }
.ent-wtile .t { font-size: 18px; font-weight: 400; margin-top: 18px; }
.ent-wtile small { color: var(--muted); font-size: 12px; margin-top: 8px; padding-bottom: 12px; border-bottom: 1px solid #ECECEF; }
.ent-wtile .f { font-size: 12.5px; font-weight: 500; margin-top: 10px; }
.ent-logout.web { margin-top: 26px; height: 52px; padding: 0 20px; font-size: 13px; }
.ent-logout.web b { font-size: 13px; }

.ent-wtransfer { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.ent-saldo.web { padding: 18px 18px 16px; }
.ent-saldo.web b { font-size: 22px; font-weight: 500; }
.ent-saldo.web small, .ent-saldo.web span { font-size: 12px; }
.ent-wsec.card { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 14px; border-radius: 16px; text-transform: none; color: inherit; font-size: inherit; letter-spacing: 0; margin: 0; }
.ent-wsec .ent-h4 { font-size: 17px; margin: 0; }
.ent-amount.web input { height: 54px; border: 1.5px solid var(--red); font-size: 18px; border-radius: 10px; }
.ent-wsec .ent-quick { margin-top: 0; }
.ent-wsec .ent-quick button { height: 32px; font-weight: 500; font-size: 13px; }
.ent-bank.web { padding: 12px 14px; border-radius: 12px; }
.ent-bank.web .ent-bank-ic { width: 44px; height: 44px; }
.ent-bank.web small { font-size: 12px; }
.ent-bank.web b { font-size: 13px; }
.ent-bank.web .badge { background: transparent; padding: 0 6px; font-weight: 600; font-size: 12px; height: auto; }
.ent-bank.sel { border: 1.5px solid var(--red); background: #FFEDEE; }
.ent-add.web { border: 1.5px dashed #DEDFE4; border-radius: 12px; padding: 10px 14px; gap: 12px; }
.ent-add.web b { font-size: 13px; }
.ent-add-ic.solid { width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; }
.ent-add-ic.solid .ic { border: 0; padding: 0; width: 13px; height: 13px; }
.ent-wsafe { display: flex; gap: 12px; padding: 4px 16px; }
.ent-wsafe b { display: block; font-size: 13px; font-weight: 500; }
.ent-wsafe small { display: block; color: var(--muted); font-size: 12px; }
.ent-wresume { padding: 22px 20px 20px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.ent-wresume .card-title { font-weight: 400; font-size: 18px; }
.ent-wresume .ent-resume > div { font-size: 12px; padding: 4px 0; }
.ent-wresume .ent-resume > div b { color: var(--ink); font-weight: 500; font-size: 13px; }
.ent-wresume .ent-resume > div.tot { font-size: 13px; margin-top: 6px; }
.ent-wresume .ent-resume > div.tot b.big { font-size: 19px; font-weight: 400; }
.ent-wresume .btn { height: 42px; margin-top: 6px; }

.ent-wsuccess { width: min(558px, 100%); margin: 0 auto; text-align: center; padding: 40px 40px 32px; border-radius: 20px; }
.ent-wok { width: 96px; height: 96px; border-radius: 50%; background: #FDE3E3; display: grid; place-items: center; margin: 0 auto 22px; position: relative; }
.ent-wok::before { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: var(--red); }
.ent-wok .ic { position: relative; color: #fff; stroke-width: 2.2; }
.ent-wsuccess h1 { font-size: 22px; font-weight: 500; }
.ent-wsuccess > p.muted:first-of-type { font-size: 12px; margin-top: 18px; }
.ent-wbig { font-size: 36px; font-weight: 500; margin: 6px 0 18px; }
.ent-wsuccess .ent-bank { text-align: left; }
.ent-wreceipt { margin-top: 20px; text-align: left; }
.ent-wreceipt > div { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 12px; color: var(--muted); }
.ent-wreceipt b { color: var(--ink); font-weight: 500; font-size: 12.5px; }
.ent-wbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ent-wbtns .btn { height: 44px; }
.ent-wbtns .btn-outline { border: 1.5px solid var(--red); color: var(--red); background: #fff; }

.ent-wmodal .modal-head { align-items: flex-start; }
.ent-wmodal .ent-mv-ic { width: 44px; height: 44px; }
.ent-x { width: 36px; height: 36px; border-radius: 50%; background: #F2F2F4; display: grid; place-items: center; flex-shrink: 0; }
.ent-form.web { display: flex; flex-direction: column; gap: 16px; }
.ent-form.web .ent-safe { padding: 12px 16px; border-radius: 10px; }
.ent-form.web .ent-safe > .ic { width: 20px; height: 20px; align-self: flex-start; }
.ent-form.web .ent-safe b { font-size: 13px; }
.ent-form.web .ent-safe small { font-size: 12px; }
.ent-form.web .ent-field > label, .ent-form.web .ent-field > .lbl { font-size: 13px; }
.ent-form.web .ent-field input:not([type=radio]), .ent-form.web .ent-radio-card { height: 46px; font-size: 13px; }
.ent-form.web .ent-select { height: 46px; padding: 0 16px; }
.ent-form.web .ent-select-v { font-size: 13px; }
.ent-form.web .ent-select > .ic:first-child { color: var(--muted); }
.ent-form.web .ent-hint { font-size: 12px; margin-top: -8px; }

@media (max-width: 1023px) {
  .ent-wtop { grid-template-columns: 1fr 1fr; }
  .ent-wtop .ent-balance { grid-column: 1 / -1; }
  .ent-wtiles { grid-template-columns: 1fr; }
  .ent-wtransfer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ent-wtop { grid-template-columns: 1fr; }
  .ent-wdate { display: none; }
  .ent-wrow .ent-mv-val { width: auto; }
  .ent-wcard .ent-seg { width: 100%; }
  .ent-wcard-head .row { width: 100%; justify-content: space-between; }
  .ent-wprofile { flex-wrap: wrap; }
  .ent-wprofile .ent-wedit { width: 100%; }
  .ent-wbtns { grid-template-columns: 1fr; }
  .ent-wsuccess { padding: 28px 18px; }
}

/* telas estreitas (≥ 360px) */
.ent-eta-btn { white-space: nowrap; }
@media (max-width: 380px) {
  .ent-eta { gap: 10px; padding-left: 12px; }
  .ent-eta b { font-size: 15px; white-space: nowrap; }
  .ent-eta-btn { padding: 0 10px; font-size: 13px; }
  .ent-quick button { font-size: 12px; }
  .ent-steps b { font-size: 12px; }
}
