/* Portal de Clientes «Mi NovaNet» (ficticio) dentro de un navegador */
.brw { position: absolute; inset: 0; display: flex; flex-direction: column; background: #dee1e6; font-family: 'Segoe UI', system-ui, Arial, sans-serif; }
.brw-tabs { height: 36px; display: flex; align-items: flex-end; padding: 0 8px; gap: 4px; }
.brw-tab { background: #fff; border-radius: 8px 8px 0 0; padding: 8px 14px; font-size: 12px; color: #202124; display: flex; align-items: center; gap: 8px; min-width: 220px; }
.brw-tab .fav { width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(135deg, #5b2bb5, #ff6a13); }
.brw-tab .spin { width: 12px; height: 12px; border: 2px solid #1a73e8; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.brw-bar { background: #fff; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-bottom: 1px solid #dadce0; }
.brw-bar .nav { color: #5f6368; font-size: 15px; letter-spacing: 6px; }
.brw-url { flex: 1; background: #f1f3f4; border-radius: 16px; padding: 6px 14px; font-size: 13px; color: #202124; display: flex; gap: 8px; align-items: center; }
.brw-url .lock { color: #5f6368; }
.brw-url .path { color: #5f6368; }
.brw-page { flex: 1; overflow: auto; background: #f6f5fa; position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Portal */
.nv-top { background: linear-gradient(90deg, #3a1a78, #5b2bb5); color: #fff; display: flex; align-items: center; gap: 28px; padding: 0 32px; height: 64px; }
.nv-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.3px; }
.nv-logo i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #ff8a3d, #ff5a00); display: grid; place-items: center; font-style: normal; font-size: 18px; }
.nv-logo small { font-weight: 400; font-size: 13px; opacity: .8; margin-left: 4px; }
.nv-nav { display: flex; gap: 4px; flex: 1; }
.nv-nav a { color: #e8defa; padding: 8px 14px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.nv-nav a.sel, .nv-nav a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.nv-user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.nv-user b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ff6a13; }
.nv-wrap { max-width: 1180px; margin: 0 auto; padding: 26px 32px 40px; }
.nv-h1 { font-size: 26px; font-weight: 700; color: #231347; margin: 0 0 4px; }
.nv-sub { color: #6b6385; margin: 0 0 22px; font-size: 14px; }
.nv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.nv-card { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(35, 19, 71, .07); }
.nv-card label { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #8a82a3; }
.nv-card .big { font-size: 28px; font-weight: 800; color: #231347; margin: 6px 0 2px; }
.nv-card .muted { color: #8a82a3; font-size: 13px; }
.nv-btn { background: #ff6a13; color: #fff; border: 0; border-radius: 10px; padding: 11px 22px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .1s; }
.nv-btn:hover { background: #f25c00; }
.nv-btn.pressed { transform: scale(.94); box-shadow: 0 0 0 6px rgba(255, 106, 19, .25); }
.nv-btn.ghost { background: #efe9fb; color: #5b2bb5; }
.nv-btn:disabled { opacity: .6; cursor: default; }
.nv-panel { background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(35, 19, 71, .07); padding: 20px 22px; min-height: 300px; position: relative; }
.nv-panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.nv-panel-h h2 { margin: 0; font-size: 18px; color: #231347; }
.nv-select { border: 1px solid #ddd6ee; border-radius: 10px; padding: 9px 12px; font-size: 14px; color: #231347; background: #fff; }
.nv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nv-table th { text-align: left; color: #8a82a3; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding: 10px 8px; border-bottom: 1px solid #eee9f7; }
.nv-table td { padding: 12px 8px; border-bottom: 1px solid #f3f0fa; color: #231347; }
.nv-table .pill { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.pill.pend { background: #fff1e6; color: #c24e00; } .pill.paid { background: #e6f7ef; color: #0b7a4b; }
.nv-link { color: #5b2bb5; font-weight: 600; cursor: pointer; margin-right: 14px; }
.nv-empty { color: #8a82a3; text-align: center; padding: 60px 0; font-size: 15px; }
.nv-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 0; gap: 14px; color: #6b6385; font-size: 15px; }
.nv-loading .spinner { width: 46px; height: 46px; border: 5px solid #efe9fb; border-top-color: #5b2bb5; border-radius: 50%; animation: spin .9s linear infinite; }
.nv-loading .secs { font-family: Consolas, monospace; font-size: 30px; color: #231347; font-weight: 700; }
.nv-loading .secs.slow { color: #c24e00; }
.nv-toast { background: #fff7e0; border: 1px solid #ffd98a; color: #7a5200; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.nv-toast.ok { background: #e6f7ef; border-color: #a9e2c6; color: #0b6b40; }
.nv-err { text-align: center; padding: 40px 20px; }
.nv-err .code { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #c0263a; background: #fde8eb; border-radius: 8px; padding: 4px 10px; margin-bottom: 12px; }
.nv-err h3 { margin: 0 0 8px; font-size: 22px; color: #231347; }
.nv-err p { color: #6b6385; margin: 0 0 18px; }
.nv-err .ico { font-size: 44px; }
.nv-form { display: grid; gap: 12px; max-width: 640px; }
.nv-form label { font-size: 13px; color: #6b6385; font-weight: 600; }
.nv-form input, .nv-form textarea, .nv-form select { width: 100%; border: 1px solid #ddd6ee; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: #231347; font-family: inherit; }
.nv-form textarea { min-height: 110px; resize: vertical; }
.nv-ok { background: #e6f7ef; border-radius: 12px; padding: 18px 20px; color: #0b6b40; font-size: 15px; }
.nv-ok b { font-family: Consolas, monospace; }
.nv-grid2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.nv-banner { background: linear-gradient(120deg, #ffede0, #f1e9ff); border-radius: 14px; padding: 18px 20px; color: #3a1a78; }
.nv-foot { text-align: center; color: #a39cba; font-size: 12px; padding: 20px 0; }

/* Páginas crudas (504 de Apache / error del navegador) */
.raw-apache { background: #fff; color: #000; font-family: 'Times New Roman', serif; padding: 8px 12px; position: absolute; inset: 0; }
.raw-apache h1 { font-size: 32px; margin: 16px 0; }
.raw-apache p { font-size: 16px; }
.raw-apache address { font-style: italic; font-size: 16px; }
.raw-chrome { position: absolute; inset: 0; background: #fff; display: flex; justify-content: center; padding-top: 12vh; font-family: 'Segoe UI', Arial, sans-serif; color: #202124; }
.raw-chrome .box { max-width: 560px; }
.raw-chrome .ico { font-size: 60px; color: #5f6368; }
.raw-chrome h1 { font-size: 24px; font-weight: 500; margin: 20px 0 12px; }
.raw-chrome p { color: #5f6368; font-size: 15px; }
.raw-chrome .code { color: #5f6368; font-size: 12px; margin-top: 18px; text-transform: uppercase; }
.raw-chrome button { margin-top: 24px; background: #1a73e8; color: #fff; border: 0; border-radius: 4px; padding: 9px 22px; font-size: 14px; cursor: pointer; }
