/*
 * NetCobro · Edición azul · estilo social limpio (móvil y escritorio)
 * Capa exclusivamente visual: se apoya en app.css sin modificar rutas, orden, cobros ni datos.
 * Recursos propios / genéricos en public/assets/icons; ningún archivo HAR se distribuye.
 * Paleta: azul #0069e7, cian #24a8e9, índigo #5867e8, gris #737780.
 */
:root {
  --brand:#0069e7;
  --brand-dark:#0055c4;
  --deep:#101828;
  --ink:#16181d;
  --sub:#737780;
  --muted:#8e9199;
  --bg:#fafbfc;
  --line:#e8eaee;
  --white:#fff;
  --teal:#0b9e94;
  --shadow:0 2px 14px rgba(21,35,59,.034);
  --nc-border:#e8eaee;
  --nc-ink:#191c22;
  --nc-soft:#737780;
  --nc-blue-soft:#edf5ff;
  --nc-purple:#5867e8;
  --nc-cyan:#24a8e9;
  --nc-line:#e8eaee;
  --nc-radius:15px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:14px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
html,body {max-width:100%;}
body {color:var(--nc-ink);}
button,input,select,textarea {font:inherit;}
button,a,input,select,textarea {-webkit-tap-highlight-color:transparent;}
::selection {background:#b9dbff;color:#153b6c;}
:where(a,button,input,select,textarea,summary):focus-visible {outline:3px solid rgba(0,105,231,.35);outline-offset:3px;}

/* Iconografía lineal liviana, independiente de Instagram y utilizable sin conexión. */
.nc-glyph {width:23px;height:23px;flex:none;display:inline-block;background-color:currentColor;vertical-align:middle;mask-size:contain;mask-position:center;mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;}
.nc-glyph-home {mask-image:url('../icons/home.svg');-webkit-mask-image:url('../icons/home.svg');}
.nc-glyph-users {mask-image:url('../icons/users.svg');-webkit-mask-image:url('../icons/users.svg');}
.nc-glyph-calendar-clock {mask-image:url('../icons/calendar-clock.svg');-webkit-mask-image:url('../icons/calendar-clock.svg');}
.nc-glyph-credit-card {mask-image:url('../icons/credit-card.svg');-webkit-mask-image:url('../icons/credit-card.svg');}
.nc-glyph-history {mask-image:url('../icons/history.svg');-webkit-mask-image:url('../icons/history.svg');}
.nc-glyph-map-pin {mask-image:url('../icons/map-pin.svg');-webkit-mask-image:url('../icons/map-pin.svg');}
.nc-glyph-log-out {mask-image:url('../icons/log-out.svg');-webkit-mask-image:url('../icons/log-out.svg');}

/* Identidad visual NetCobro */
.brand {font-size:24px;gap:10px;font-weight:780;letter-spacing:-1.15px;color:var(--nc-ink);}
.brand-mark {width:36px;height:36px;background:var(--brand);border-radius:11px;font-weight:800;font-size:20px;letter-spacing:-1px;box-shadow:none;}
.brand-mark-dot {background:#8ce8ff;border-color:#0069e7;right:5px;top:5px;}
.brand-accent {color:var(--brand);}
.app-body {background:#fff;}
.app-shell {background:#fff;}
.sidebar {width:250px;padding:31px 13px 18px;background:#fff;border-right:1px solid var(--nc-line);box-shadow:none;}
.sidebar-brand {margin-bottom:35px;padding:0 12px;}
.sidebar-context {font-size:10px;line-height:1.5;letter-spacing:1.15px;color:#92959c;margin:0 12px 25px;}
.side-nav {gap:4px;}
.nav-caption {padding:0 15px;margin:2px 0 10px;color:#8b8e96;font-weight:720;letter-spacing:1px;}
.nav-caption-space {margin-top:25px;}
.nav-link {position:relative;min-height:52px;padding:12px 13px;border-radius:11px;gap:15px;font-size:14px;font-weight:530;color:#3c4048;letter-spacing:-.12px;transition:background .15s,color .15s,transform .15s;}
.nav-link .nc-glyph {width:24px;height:24px;}
.nav-link:hover {background:#f4f7fa;color:#11151b;}
.nav-link.nav-active {background:var(--nc-blue-soft);color:var(--brand);font-weight:750;}
.nav-active:before {display:none;}
.sidebar-caption {padding:12px 11px;margin-top:0;font-size:11px;color:#aaaeb6;border-top:1px solid var(--nc-line);}
.workspace {margin-left:250px;background:#fff;}
.topbar {height:72px;padding:0 clamp(24px,3.4vw,58px);background:rgba(255,255,255,.97);border-bottom:1px solid var(--nc-line);position:sticky;top:0;z-index:12;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
.topbar-left,.topbar-right {gap:18px;min-width:0;}
.breadcrumb {font-size:13px;font-weight:530;color:#8b8f98;letter-spacing:-.12px;}
.breadcrumb span {color:#b9bdc4;padding:0 9px;}
.breadcrumb strong {font-size:14px;font-weight:750;color:var(--nc-ink);}
.user-chip {gap:9px;border-left:0;padding-left:0;}
.avatar {width:35px;height:35px;border-radius:50%;background:var(--nc-blue-soft);color:var(--brand);font-size:14px;border:1px solid #d4e7ff;}
.user-info strong {font-size:12px;color:#282d34;}
.user-info small {font-size:11px;color:#81858f;}
.logout-button {border:1px solid var(--nc-line);border-radius:10px;padding:9px 12px;color:#58606b;background:white;font-size:12px;}
.logout-button .nc-glyph {width:17px;height:17px;}
.logout-button:hover {color:var(--brand);background:#f5f9ff;border-color:#d5e7fa;}
.menu-toggle {border:1px solid #ebedf1;border-radius:10px;width:39px;height:39px;padding:9px;background:#fff;}
.menu-toggle span {background:#2c313a;height:2px;}
.mobile-scrim {background:rgba(17,28,45,.43);}
.main-content {padding:34px clamp(24px,3.4vw,58px) 42px;max-width:1450px;}
.page-head {margin-bottom:24px;}
.page-head h1,.nc-clean-head h1 {color:#161b22;font-weight:790;font-size:clamp(26px,2.4vw,33px);line-height:1.18;letter-spacing:-1.05px;margin:0;}
.page-head p,.nc-clean-head p {color:var(--nc-soft);margin-top:8px;font-size:13px;line-height:1.55;}
.nc-clean-head h1 {display:flex;align-items:center;gap:11px;}
.nc-clean-head h1::before {content:'';display:inline-block;flex:none;width:26px;height:26px;background:var(--brand);mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url('../icons/chart.svg');-webkit-mask-image:url('../icons/chart.svg');}
[data-current-section='clientes'] .nc-clean-head h1::before {mask-image:url('../icons/users.svg');-webkit-mask-image:url('../icons/users.svg');}
[data-current-section='deudas'] .nc-clean-head h1::before {mask-image:url('../icons/calendar-clock.svg');-webkit-mask-image:url('../icons/calendar-clock.svg');}
[data-current-section='cobranza'] .nc-clean-head h1::before {mask-image:url('../icons/credit-card.svg');-webkit-mask-image:url('../icons/credit-card.svg');}
[data-current-section='historial'] .nc-clean-head h1::before {mask-image:url('../icons/history.svg');-webkit-mask-image:url('../icons/history.svg');}
[data-current-section='barrios'] .nc-clean-head h1::before {mask-image:url('../icons/map-pin.svg');-webkit-mask-image:url('../icons/map-pin.svg');}

/* Botones, filtros, campos y controles (no cambian nombres ni métodos del formulario). */
.button {border-radius:11px;font-size:13px;font-weight:700;letter-spacing:-.05px;min-height:43px;padding:12px 19px;gap:9px;box-shadow:none;transition:background .15s,transform .15s,border-color .15s;}
.button-primary {background:var(--brand);color:#fff;box-shadow:none;}
.button-primary:hover {background:var(--brand-dark);box-shadow:0 4px 13px rgba(0,105,231,.13);}
.button-secondary {background:#f2f4f6;border:1px solid #e9edf1;color:#242b35;box-shadow:none;font-weight:690;border-radius:11px;}
.button-secondary:hover {background:#e8edf2;}
.button-banner {color:var(--brand);box-shadow:none;}
.button-sm {min-height:35px;}
.button-danger {border-radius:10px;}
.filter-bar {background:#fff;border-bottom:1px solid var(--nc-line);}
.field {color:#424b59;gap:8px;font-weight:700;letter-spacing:-.08px;}
.field input,.field select,.field textarea,.auth-form .input-wrap {border:1px solid #dde2e8;background:#f8f9fb;border-radius:10px;color:#202731;box-shadow:none;transition:border-color .15s,box-shadow .15s,background .15s;}
.field input::placeholder,.auth-form input::placeholder {color:#959ca7;}
.field input:focus,.field select:focus,.field textarea:focus,.auth-form .input-wrap:focus-within {background:#fff;border-color:#77b7ff;box-shadow:0 0 0 3px rgba(0,105,231,.11);}
.field input[type=search] {padding-left:40px;background-image:url('../icons/search.svg');background-size:18px;background-repeat:no-repeat;background-position:13px center;}
.field small,.nc-muted {color:var(--nc-soft);}
select {accent-color:var(--brand);}
input[type=checkbox],input[type=radio],progress {accent-color:var(--brand);}
.text-link,.nc-detail-link,.nc-mini-metric a {color:var(--brand);font-weight:740;}
.pill {background:#eff5ff;color:#1556a9;border-radius:999px;font-size:11px;}
.status-overdue {background:#fff1ee;color:#b43a3f;}
.status-today {background:#fff6df;color:#8b651b;}
.status-current {background:#ebf8f2;color:#16744c;}
.notice {border-radius:12px;margin-top:0;}
.notice-error {background:#fff4f4;}
.notice-success {background:#effbf5;}
.form-hint,.control-confirm {background:#f5f9ff;border-color:#dfebfc;color:#4c5e77;}
.nc-check {background:#f6faff;border-color:#dce9f9;}
.nc-form-section-title {color:#647487;}

/* Superficies tipo feed: separación clara, sin degradados rojos ni amarillos decorativos. */
.content-card,.finance-kpi,.nc-stat,.nc-mini-metric,.nc-compact-summary>div {border:1px solid var(--nc-line);border-radius:var(--nc-radius);background:#fff;box-shadow:var(--shadow);}
.content-card {margin-bottom:17px;}
.card-header,.nc-card-header {border-bottom:1px solid #f0f1f3;}
.card-header h2,.nc-card-header h2,.nc-month-heading h2 {font-weight:770;color:#1a1e25;letter-spacing:-.45px;}
.card-header p,.nc-card-header p {color:#848992;}
.data-table th {background:#fafbfc;color:#80858d;border-color:var(--nc-line);font-weight:760;letter-spacing:.45px;}
.data-table td {border-color:#eef0f3;color:#333943;}
.data-table tr:hover td {background:#f7faff;}
.data-table strong {color:#22262d;}
.pagination,.nc-pagination {border-color:var(--nc-line);}
.nc-segment-tabs {background:#f5f6f8;border:1px solid var(--nc-line);padding:4px;border-radius:12px;}
.nc-segment-tabs a {color:#707781;border-radius:9px;}
.nc-segment-tabs a.selected {color:var(--brand);background:#fff;box-shadow:0 1px 5px rgba(10,27,60,.08);}
.nc-priority-item,.nc-month-due-row {border-color:#edf0f3;}
.nc-priority-person strong,.nc-priority-right>strong {color:#22262b;}
.nc-empty-state {color:#858993;}

/* Panel principal: cuatro tarjetas y estado cromático reservado a información real. */
.nc-dashboard-stats {gap:13px;margin-bottom:20px;}
.nc-stat {position:relative;gap:9px;padding:18px 18px 17px;border-radius:15px;border-left:1px solid var(--nc-line);box-shadow:none;}
.nc-stat:before {content:'';height:37px;width:37px;display:block;border-radius:12px;background-color:var(--brand);background-image:none;box-shadow:inset 0 0 0 1px rgba(0,105,231,.08);mask-image:none;-webkit-mask-image:none;}
.nc-stat:after {content:'';height:19px;width:19px;display:block;position:absolute;top:27px;left:27px;background:#fff;mask-image:url('../icons/wallet.svg');-webkit-mask-image:url('../icons/wallet.svg');mask-position:center;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;pointer-events:none;}
.nc-stat:nth-child(1):before {background-color:#5566ed;}
.nc-stat:nth-child(1):after {mask-image:url('../icons/calendar-clock.svg');-webkit-mask-image:url('../icons/calendar-clock.svg');}
.nc-stat:nth-child(2):before {background-color:#158ed6;}
.nc-stat:nth-child(2):after {mask-image:url('../icons/calendar.svg');-webkit-mask-image:url('../icons/calendar.svg');}
.nc-stat:nth-child(3):before {background-color:#0d9e9b;}
.nc-stat:nth-child(3):after {mask-image:url('../icons/check-circle.svg');-webkit-mask-image:url('../icons/check-circle.svg');}
.nc-stat:nth-child(4):before {background-color:var(--brand);}
.nc-stat>span {color:#767d87;font-weight:690;}
.nc-stat>strong {font-weight:820;color:#161b23;font-size:clamp(22px,2.25vw,30px);letter-spacing:-.95px;}
.nc-stat>small {color:var(--brand);font-weight:700;}
.nc-stat:hover,.nc-client-card:hover {border-color:#c9dcf4;}
.nc-stat:hover {box-shadow:0 5px 17px rgba(0,66,159,.06);}
.finance-kpi strong,.nc-compact-summary strong,.nc-mini-metric strong {font-weight:790;letter-spacing:-.65px;}
.nc-mini-notice {background:#f7faff;}
.nc-overdue-text {color:#aa4049!important;}

/* Resumen de meses: ficha expandible, números claros y progreso azul. */
.nc-month-section {border:1px solid var(--nc-line);background:#fff;border-radius:var(--nc-radius);box-shadow:none;}
.nc-month-accordion {box-shadow:var(--shadow);}
.nc-month-heading {padding:20px;}
.nc-month-count {background:#eef5ff;border:1px solid #dfeaff;color:#2265b0;border-radius:999px;}
.nc-month-list {gap:9px;}
.nc-month-details {border:1px solid #e6e9ee;border-radius:12px;background:#fff;box-shadow:none;}
.nc-month-details[open] {border-color:#dce7f5;box-shadow:none;}
.nc-month-details[open]>.nc-month-summary,.nc-month-summary:hover {background:#f7faff;border-bottom-color:#e6eef8;}
.nc-month-chevron {background:#ecf4ff;color:var(--brand);}
.nc-month-summary-label strong,.nc-month-summary-amount {color:#1c242f;}
.nc-month-tile {border-color:#e6eaf0;background:#f8fafd;}
.nc-month-expected {background:#f3f7ff;border-color:#dce7fc;}
.nc-month-covered {background:#effaf7;border-color:#d8eee8;}
.nc-month-covered>strong {color:#09836d;}
.nc-month-pending {background:#f2f7ff;border-color:#dfe9fa;}
.nc-month-pending>strong {color:#1f65ba;}
.nc-month-grid-three .nc-month-tile>span {color:#526278;}
.nc-month-progress progress {accent-color:var(--brand);background:#e8f0fa;}
.nc-month-progress progress::-webkit-progress-value {background:var(--brand);}
.nc-month-progress progress::-moz-progress-bar {background:var(--brand);}
.nc-month-progress-head strong {color:var(--brand);}
.nc-month-breakdown>span {background:#fafbfd;border-color:#edf0f4;color:#666e78;}
.nc-month-warning {border-color:#e9dfc6;background:#fffaf0;color:#6b5b36;}

/* Clientes, historial, deudas, barrios y fichas móviles. */
.nc-client-card {border-color:var(--nc-line);border-radius:14px;box-shadow:none;}
.nc-client-card-top h2,.nc-barrio-card h2,.nc-period-card h2 {color:#242930;font-weight:750;}
.nc-client-card-mid strong,.nc-debt-line strong {color:#212832;}
.nc-month-due-row a {color:var(--brand);}
.nc-period-amounts span {background:#f7f9fc;}
.nc-history-card-foot {border-color:#edf0f3;}
.nc-debt-dates-list li {background:#f1f6ff;border-color:#dce8f8;color:#366aab;}
.nc-view-details[open]>summary {background:#f7faff;}
.nc-danger-details {background:#fff;}
.nc-barrio-card-actions .delete-details form {box-shadow:0 10px 20px rgba(25,37,53,.08);}

/* Inicio de sesión en dos columnas, acabado ligero. */
.auth-body {background:#f8fafc;}
.auth-shell {background:#fff;max-width:none;}
.auth-showcase {background:linear-gradient(145deg,#0b55b4,#00438f 70%,#07356d);}
.auth-intro h1 {font-weight:790;letter-spacing:-3.2px;}
.auth-intro em {color:#abd9ff;}
.auth-intro>p {color:#d1e5fd;}
.eyebrow-light,.showcase-item {color:#e2efff;}
.showcase-symbol {background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.25);color:#fff;}
.brand-light,.brand-light .brand-accent {color:#fff;}
.brand-light .brand-mark {background:#1c84f5;}
.brand-light .brand-mark-dot {border-color:#1c84f5;}
.auth-panel {background:#fff;}
.auth-badge {border:1px solid #dceafc;color:#2f6eaf;background:#f1f7ff;border-radius:30px;}
.auth-form-container h2 {color:#171b22;font-weight:800;letter-spacing:-1.1px;}
.auth-subtitle {color:#727982;}
.auth-form label {color:#404852;}
.auth-form .input-wrap {height:54px;margin-bottom:23px;}
.auth-form .input-wrap input {background:transparent;border:0;box-shadow:none;}
.password-toggle {color:var(--brand);}
.auth-help svg {color:var(--brand);}
.auth-copyright {color:#9aa1ad;}
.error-body {background:#f8fafc;}
.error-card {border-color:var(--nc-line);box-shadow:0 12px 40px rgba(23,46,76,.05);}
.error-code {color:#a5caf6;}

@media (max-width:1180px) {
  .sidebar {width:238px;}
  .workspace {margin-left:238px;}
  .nav-link {font-size:13px;gap:12px;}
}
@media (max-width:920px) {
  .sidebar {width:268px;transform:translateX(-100%);padding:26px 16px;background:#fff;}
  .workspace {margin-left:0;}
  .sidebar.sidebar-open {box-shadow:12px 0 38px rgba(8,29,65,.14);}
}
@media (max-width:720px) {
  :root {--nc-radius:13px;}
  .app-body,.workspace,.app-shell {background:#fff;}
  .topbar {height:60px;padding:0 14px;z-index:16;}
  .topbar-left {gap:12px;}
  .breadcrumb {font-size:13px;color:var(--brand);font-weight:780;max-width:calc(100vw - 142px);}
  .breadcrumb>span {color:#c2c8d0;}
  .breadcrumb strong {color:#1f242b;font-size:13px;}
  .menu-toggle {display:flex;width:37px;height:37px;border:0;padding:8px;background:transparent;}
  .topbar-right {gap:10px;}
  .logout-button {min-width:35px;min-height:35px;border:0;background:#f5f7f9;border-radius:50%;padding:9px;}
  .logout-button .nc-glyph {width:18px;height:18px;}
  .user-chip {padding:0;}
  .avatar {width:33px;height:33px;border-radius:50%;}
  .main-content {padding:23px 13px calc(126px + env(safe-area-inset-bottom,0px));}
  .page-head {margin-bottom:19px;}
  .page-head h1,.nc-clean-head h1 {font-size:26px;letter-spacing:-.9px;}
  .nc-clean-head h1::before {width:24px;height:24px;}
  .page-head p,.nc-clean-head p {font-size:12px;line-height:1.5;}
  .nc-head-actions {gap:8px;}
  .nc-head-actions .button {border-radius:10px;min-height:42px;}
  .content-card {margin-bottom:14px;}
  .nc-dashboard-stats {gap:9px;}
  .nc-stat {padding:14px 13px;gap:8px;border-radius:13px;}
  .nc-stat:before {width:32px;height:32px;border-radius:10px;}
  .nc-stat:after {width:17px;height:17px;top:22px;left:21px;}
  .nc-stat>strong {font-size:clamp(18px,5.1vw,24px);}
  .nc-stat>span {font-size:11px;}
  .nc-stat>small {color:#2a77cf;}
  .nc-mobile-client-list,.nc-period-cards,.nc-history-list,.nc-payment-list,.nc-barrio-list {padding:9px;background:#fafbfc;}
  .nc-client-card {padding:14px;border-radius:12px;margin-bottom:9px;background:#fff;}
  .nc-filter-bar {padding:13px;}
  .nc-filter-advanced {background:#fff;}
  .nc-segment-tabs {border-radius:11px;}
  .nc-mobile-stack-table tbody {background:#fafbfc;}
  .nc-mobile-stack-table tr {box-shadow:none;border-color:var(--nc-line);border-radius:12px;}
  .nc-priority-item {padding:13px 14px;}
  .finance-kpi,.nc-compact-summary>div {padding:15px;}
  .nc-month-list {padding:0 10px 13px;}
  .nc-month-heading {padding:17px 14px 13px;}
  .nc-month-details[open]>.nc-month-summary {background:#f7faff;}
  .auth-panel {padding:30px 22px 26px;}
  .auth-form-container {margin:46px 0 40px;}
  .mobile-brand {font-size:23px;}
  .auth-form-container h2 {font-size:30px;}

  /* Pestañas inferiores: cuatro destinos ORIGINALES, iconografía al estilo app móvil. */
  .mobile-bottom-nav {
    display:grid;
    position:fixed;
    z-index:18;
    bottom:0;left:0;right:0;
    grid-template-columns:repeat(4,minmax(0,1fr));
    padding:7px 8px calc(31px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.98);
    border-top:1px solid #e9ebef;
    box-shadow:none;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }
  .mobile-tab {
    position:relative;min-width:0;min-height:55px;border:0;border-radius:11px;
    display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;
    color:#666c76;background:transparent;font-size:10px;font-weight:570;letter-spacing:-.03px;
    transition:color .15s,background .15s;
  }
  .mobile-tab .nc-glyph {width:25px;height:25px;}
  .mobile-tab>.nc-tab-label {font-size:10px;line-height:1.05;font-weight:590;}
  .mobile-tab:hover {background:#f4f8fd;}
  .mobile-tab-active {color:var(--brand);background:transparent;font-weight:790;}
  .mobile-tab-active>.nc-tab-label {font-weight:770;}
  .mobile-tab-active::before {content:'';width:22px;height:3px;background:var(--brand);border-radius:0 0 4px 4px;position:absolute;top:-8px;left:50%;transform:translateX(-50%);}
}
@media(max-width:380px) {
  .breadcrumb {max-width:calc(100vw - 128px);font-size:12px;}
  .main-content {padding-left:10px;padding-right:10px;}
  .nc-head-actions .button {font-size:11px;}
  .nc-stat {padding:12px 10px;}
  .nc-stat:after {left:18px;top:20px;}
}
@media(max-width:720px) and (display-mode:standalone) {
  .mobile-bottom-nav {padding-bottom:calc(31px + env(safe-area-inset-bottom,0px));}
  .mobile-tab {min-height:56px;gap:5px;}
  .mobile-tab .nc-glyph {width:25px;height:25px;}
  .main-content {padding-bottom:calc(128px + env(safe-area-inset-bottom,0px));}
}
@media(prefers-reduced-motion:reduce) {
  .nav-link,.mobile-tab,.button {transition:none;}
}

/* NET COBRO — identidad corporativa integrada. No cambia navegación, datos ni avatar. */
.brand-mark-netcobro {
  display:inline-flex;flex:none;align-items:center;justify-content:center;
  overflow:hidden;border-radius:11px;background:#03152f;
  width:38px;height:38px;padding:0;box-shadow:0 1px 6px rgba(0,35,93,.14);
}
.brand-mark-netcobro img {display:block;width:100%;height:100%;object-fit:contain;max-width:none;}
.brand-light .brand-mark-netcobro {background:#03152f;box-shadow:0 0 0 1px rgba(115,208,255,.27);}
.topbar-brand-icon {display:none;flex:none;width:28px;height:28px;border-radius:8px;object-fit:contain;}
.netcobro-showcase-logo {width:clamp(170px,19vw,245px);aspect-ratio:1;margin:20px auto 0;flex:none;border-radius:18px;overflow:hidden;box-shadow:0 10px 24px rgba(0,7,30,.16);position:relative;z-index:1;}
.netcobro-showcase-logo img {display:block;width:100%;height:100%;object-fit:contain;}
.auth-showcase .auth-intro {padding:20px 0 24px;}
@media (max-width:1180px) and (min-width:721px) {
  .netcobro-showcase-logo {width:180px;margin-top:12px;}
  .auth-showcase .auth-intro {padding:12px 0 16px;}
}
@media (max-height:690px) and (min-width:721px) {
  .netcobro-showcase-logo {width:125px;margin-top:8px;}
  .auth-showcase .auth-intro {padding:5px 0 10px;}
}
@media (max-width:720px) {
  .topbar-brand-icon {display:block;width:26px;height:26px;border-radius:8px;}
  .topbar-left {gap:8px;}
  .breadcrumb {max-width:calc(100vw - 171px);}
  .brand-mark-netcobro {width:38px;height:38px;border-radius:11px;}
  .netcobro-showcase-logo {display:none;}
}
@media (max-width:380px) {
  .topbar-brand-icon {width:24px;height:24px;}
  .breadcrumb {max-width:calc(100vw - 164px);}
}

/* NET COBRO logo completo (símbolo, nombre y lema): nunca se recorta el cuadrado. */
.netcobro-mobile-logo {display:none;}
@media (max-width:720px) {
  .netcobro-mobile-logo {display:block;align-self:center;width:clamp(108px,31vw,132px);height:auto;aspect-ratio:1;margin:16px auto 0;overflow:hidden;border-radius:14px;box-shadow:0 5px 15px rgba(5,28,59,.15);}
  .netcobro-mobile-logo img {display:block;width:100%;height:100%;object-fit:contain;}
  .auth-panel:has(.netcobro-mobile-logo) .auth-form-container {margin:16px 0 24px;}
  .topbar-brand-icon {width:30px;height:30px;object-fit:contain;}
  .breadcrumb {max-width:calc(100vw - 175px);}
}
@media (max-width:380px) {
  .netcobro-mobile-logo {width:104px;margin-top:10px;}
  .topbar-brand-icon {width:26px;height:26px;}
  .breadcrumb {max-width:calc(100vw - 166px);}
}

/* NetCobro - solo dos iconos superiores: perfil neutro y salida azul.
   No modifica formularios, posiciones de navegación ni lógica de autenticación. */
.nc-glyph-profile {
  mask-image:url('../icons/profile-silhouette.svg');
  -webkit-mask-image:url('../icons/profile-silhouette.svg');
}
.topbar-right .avatar {
  background:#eef0f3;
  border:1px solid #e2e5e9;
  color:#767d87;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.topbar-right .avatar .nc-glyph-profile {
  width:23px;
  height:23px;
  display:block;
}
.topbar-right .logout-button {
  color:#0069e7;
  background:#eaf3ff;
  border:1px solid #d7e8ff;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.topbar-right .logout-button:hover {
  color:#0055c4;
  background:#dcecff;
  border-color:#b8d8ff;
}
.topbar-right .logout-button:focus-visible {
  outline:3px solid rgba(0,105,231,.37);
  outline-offset:3px;
}
/* La regla base @media es '.logout-button span {display:none}', que ocultaba
   tanto 'Salir' como el dibujo. Este selector recupera solo el icono. */
.topbar-right .logout-button .nc-glyph-log-out {
  display:inline-block;
  mask-image:url('../icons/log-out-facebook-style.svg');
  -webkit-mask-image:url('../icons/log-out-facebook-style.svg');
  width:18px;
  height:18px;
  flex-shrink:0;
}
@media (max-width:720px) {
  .topbar-right .avatar {width:35px;height:35px;}
  .topbar-right .avatar .nc-glyph-profile {width:23px;height:23px;}
  .topbar-right .logout-button {
    min-width:35px;min-height:35px;width:35px;height:35px;
    padding:8px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
  }
  .topbar-right .logout-button .nc-glyph-log-out {display:inline-block;}
}

.nc-prepaid-badge {display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:5px;padding:5px 9px;border-radius:999px;background:#eaf3ff;color:#0058bd;border:1px solid #d8e9ff;font-size:11px;font-weight:750;line-height:1.2;}
