.app-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-soft); background: rgba(0, 26, 30, .88); backdrop-filter: blur(16px); }
.app-nav-inner { display: flex; max-width: 1240px; min-height: 72px; margin: 0 auto; padding: .75rem clamp(1rem, 4vw, 2.4rem); align-items: center; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--txt); }
.brand:hover { color: var(--txt); }
.brand img { width: 34px; height: 41px; object-fit: contain; }
.brand-word { font-family: 'Space Grotesk', sans-serif; font-size: 1.32rem; font-weight: 700; letter-spacing: -.03em; }
.brand-word b { color: var(--lime); }
.app-nav .navbar-toggler { margin-left: auto; border: 1px solid var(--line); color: var(--txt); }
.app-nav .navbar-toggler-icon { filter: invert(1); }
.app-nav .navbar-collapse { align-items: center; }
.app-nav .navbar-nav { align-items: center; gap: .1rem; }
.app-nav .nav-link { padding: .5rem .75rem !important; border-radius: 9px; color: var(--txt-dim); font-size: .9rem; font-weight: 500; }
.app-nav .nav-link:hover, .app-nav .nav-link.active { background: var(--surface); color: var(--lime); }
.app-nav .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.app-user { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.app-user-name { color: var(--txt); font-weight: 600; }
.button-close { border: 1px solid var(--line); color: var(--txt) !important; }
.button-close:hover { border-color: var(--lime); color: var(--lime) !important; }
.language-switch { display: flex; margin-left: .4rem; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; }
.language-switch .nav-link { padding: .32rem .48rem !important; border-radius: 0; font-size: .72rem; font-weight: 700; }
.app-main { width: 100%; max-width: 1240px; min-height: calc(100vh - 150px); margin: 0 auto; padding: clamp(1.4rem, 4vw, 3rem) clamp(1rem, 4vw, 2.4rem); animation: page-in .35s ease; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app-footer { border-top: 1px solid var(--line-soft); color: var(--txt-faint); }
.app-footer-inner { display: flex; max-width: 1240px; margin: 0 auto; padding: 1.3rem clamp(1rem, 4vw, 2.4rem); align-items: center; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.footer-status { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; }
.status-pill::before { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); content: ''; }
.status-pill.error::before { background: var(--danger); }
.text-center { margin-top: 0; }
.page-shell { width: 100%; }
.page-heading { margin-bottom: 2rem; text-align: center; }
.page-heading h1 { margin-bottom: .35rem; }
.page-heading p { margin: 0; color: var(--txt-dim); }
.dashboard-greet { display: flex; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dashboard-greet h1 { margin: 0; text-align: left; }
.dashboard-greet h1 span { color: var(--lime); }
.dashboard-date { color: var(--txt-dim); font-family: var(--mono); font-size: .9rem; }
.wallet-balance { margin-bottom: 1.2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; }
.wallet-balance strong { color: var(--lime); font-family: var(--mono); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.kpi { position: relative; overflow: hidden; padding: 1.5rem 1.6rem; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); transition: .18s; }
.kpi:hover { transform: translateY(-2px); border-color: var(--line); }
.kpi.featured { border-color: var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.kpi-label { margin-bottom: .6rem; color: var(--txt-dim); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.kpi-total { font-family: var(--mono); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 600; }
.kpi-total small { margin-right: .3rem; color: var(--txt-faint); font-size: .8rem; }
.kpi-rows { display: grid; gap: .55rem; margin-top: 1.2rem; }
.kpi-row { display: flex; align-items: center; justify-content: space-between; font-size: .86rem; }
.kpi-row .key { display: flex; align-items: center; gap: .45rem; color: var(--txt-dim); }
.kpi-row .key::before { width: 7px; height: 7px; border-radius: 50%; background: var(--dead); content: ''; }
.kpi-row.pending .key::before { background: var(--warn); }
.kpi-row.settled .key::before { background: var(--ok); }
.kpi-row.commission .key::before { background: var(--info); }
.kpi-row .value { font-family: var(--mono); font-weight: 500; }
.charge-card { max-width: 880px; margin: 0 auto 2.6rem; padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.charge-fx { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.1rem; align-items: end; }
.money-field label { display: block; margin-bottom: .5rem; }
.money-box { display: flex; min-height: 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); align-items: stretch; }
.money-box:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(183, 240, 1, .12); }
.money-currency { display: flex; width: 5rem; padding: 0 .9rem; background: var(--surface-2); color: var(--lime); font-family: var(--mono); font-weight: 700; align-items: center; flex: 0 0 5rem; }
.money-box input { min-width: 0; border: 0; border-radius: 0; background: transparent !important; color: var(--txt); font-family: var(--mono); font-size: 1.2rem; font-weight: 500; box-shadow: none !important; }
.money-box.output input { color: var(--lime); }
.fx-arrow { display: grid; min-width: 42px; padding-bottom: .55rem; color: var(--lime); font-size: 1.4rem; place-items: center; }
.fx-arrow svg path { fill: currentColor; }
.charge-actions { display: grid; grid-template-columns: 2fr 1fr; gap: .9rem; margin-top: 1.4rem; }
.charge-actions .btn { width: 100%; }
.table-section { margin-top: 2.5rem; }
.table-title { margin-bottom: 1rem; text-align: left; font-size: 1.4rem; }
.table-card { overflow: hidden; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); }
.table-scroll { overflow-x: auto; }
.transactions-table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; color: var(--txt); font-size: .86rem; }
.transactions-table thead th { padding: .9rem 1rem; border: 0; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); color: var(--txt-dim) !important; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.transactions-table tbody { border: 0; background: transparent; color: var(--txt); }
.transactions-table tbody td, .transactions-table tbody th { padding: .8rem 1rem; border-color: var(--line-soft); background: transparent !important; color: inherit; vertical-align: middle; white-space: nowrap; }
.transactions-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.transactions-table tfoot th, .transactions-table tfoot td { padding: .9rem 1rem; border: 0; border-top: 1px solid var(--line); background: var(--surface-2); color: var(--txt) !important; }
.transactions-table a { color: var(--lime); }
.operations-table-card { height: max(240px, calc(100vh - var(--operations-grid-top, 0px) - 1rem)); }
.operations-table-scroll { height: 100%; overflow: scroll; scrollbar-gutter: stable; }
.operations-grid th { position: relative; user-select: none; }
.operations-grid thead th { cursor: grab; }
.operations-grid thead th:active { cursor: grabbing; }
.operations-grid .column-resizer { position: absolute; top: 0; right: -4px; z-index: 2; width: 8px; height: 100%; padding: 0; border: 0; background: transparent; cursor: col-resize; touch-action: none; }
.operations-grid .column-resizer::after { position: absolute; top: 20%; bottom: 20%; left: 3px; width: 2px; border-radius: 2px; background: var(--line); content: ''; }
.operations-grid .column-resizer:hover::after, .operations-grid .column-resizer.resizing::after { background: var(--lime); }
.operations-grid .column-dragging { opacity: .45; }
.operations-grid .column-drop-target { box-shadow: inset 3px 0 0 var(--lime); }
.td-date { color: var(--txt-dim); font-family: var(--mono); }
.filters-card { margin-bottom: 1.4rem; padding: 1.2rem; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); }
#UiFormOperations { width: 100%; height: auto; }
.modal-content { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--txt); box-shadow: var(--shadow); }
.modal-header, .modal-footer { border-color: var(--line-soft); }
.modal-header .btn-close { filter: invert(1); }
.modal-body { padding: 1.6rem; }
.cobrar-qr { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.modal-body img[id='UiQrCode'] { width: min(100%, 300px) !important; height: auto !important; padding: 12px; border-radius: 14px; background: #fff; }
.link-container { display: flex; min-height: 58px; margin: 1rem 0; padding: .4rem; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; align-items: center; }
.link-container a { color: var(--blue); font-family: var(--mono); }
.vertical-divider { border-left: 1px solid #d5dae1; }
.ui-jqgrid { overflow: hidden; border: 1px solid var(--line-soft) !important; border-radius: 16px; background: var(--surface) !important; color: var(--txt) !important; }
.ui-jqgrid .ui-jqgrid-hdiv, .ui-jqgrid .ui-jqgrid-pager, .ui-jqgrid .ui-jqgrid-toppager { background: var(--surface-2) !important; color: var(--txt) !important; }
.ui-jqgrid tr.jqgrow td, .ui-jqgrid .ui-jqgrid-htable th { border-color: var(--line-soft) !important; background: var(--surface) !important; color: var(--txt) !important; }
.ui-jqgrid input, .ui-jqgrid select { border: 1px solid var(--line-soft); border-radius: 7px; background: var(--bg); color: var(--txt); }
.landing-page main { overflow: hidden; }
.landing-hero, .landing-section { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; }
.landing-hero { display: grid; min-height: 680px; padding: clamp(4rem, 9vw, 8rem) 0; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-eyebrow { display: block; margin-bottom: 1rem; color: var(--lime); font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; }
.landing-hero h1 { max-width: 720px; margin-bottom: 1.3rem; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.landing-hero-copy > p { max-width: 630px; color: var(--txt-dim); font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.7; }
.hero-form { display: flex; max-width: 620px; margin-top: 2rem; gap: .7rem; }
.hero-form .form-control { min-height: 54px; }
.hero-visual { position: relative; min-height: 430px; }
.hero-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 8%; animation: orbit 20s linear infinite; }
.hero-orbit::after { position: absolute; top: 15%; left: 2%; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 30px var(--lime); content: ''; }
.orbit-two { inset: 20%; animation-direction: reverse; animation-duration: 13s; }
.hero-mark { position: absolute; display: grid; width: 155px; height: 155px; border: 1px solid var(--line); border-radius: 38px; background: var(--surface); box-shadow: var(--shadow); inset: 50% auto auto 50%; place-items: center; transform: translate(-50%, -50%) rotate(-6deg); }
.hero-mark img { width: 82px; }
.hero-chip { position: absolute; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); color: var(--lime); font-family: var(--mono); font-size: .72rem; }
.chip-one { top: 12%; right: 7%; }.chip-two { right: 2%; bottom: 18%; }.chip-three { bottom: 8%; left: 4%; }
@keyframes orbit { to { transform: rotate(360deg); } }
.landing-section { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line-soft); }
.landing-section-heading { max-width: 720px; margin-bottom: 3rem; }
.landing-section-heading h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.landing-section-heading p, .contact-copy > p { color: var(--txt-dim); font-size: 1.05rem; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step-card { min-height: 220px; padding: 1.5rem; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); }
.step-card span { color: var(--lime); font-family: var(--mono); font-size: .8rem; }
.step-card h3 { margin-top: 4rem; font-size: 1.22rem; line-height: 1.35; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.contact-list { display: grid; margin-top: 2rem; gap: .8rem; }
.contact-list a, .contact-list div { display: flex; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); color: var(--txt); justify-content: space-between; gap: 1rem; }
.contact-list span { color: var(--txt-dim); }
.contact-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.contact-card label { margin-top: .7rem; }
.contact-card .btn { width: 100%; margin-top: 1.2rem; }
@media (max-width: 991px) { .landing-hero { grid-template-columns: 1fr; } .hero-visual { min-height: 330px; } .steps-grid { grid-template-columns: repeat(2, 1fr); } .contact-section { grid-template-columns: 1fr; } .app-nav-inner { flex-wrap: wrap; } .app-nav .navbar-collapse { flex-basis: 100%; } .app-nav .navbar-nav { align-items: stretch; } .app-user { padding: .5rem .75rem; } .language-switch { width: max-content; margin: .5rem .75rem; } .kpi-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .app-main { padding-top: 1.5rem; } .app-footer-inner { align-items: flex-start; flex-direction: column; } .charge-fx { grid-template-columns: 1fr; } .fx-arrow { padding: 0; transform: rotate(90deg); } .charge-actions { grid-template-columns: 1fr; } .table-card { margin-right: -1rem; margin-left: -1rem; border-radius: 0; } .landing-hero { min-height: auto; padding-top: 4rem; } .landing-hero h1 { font-size: clamp(2.5rem, 14vw, 4rem); } .hero-form { flex-direction: column; } .hero-visual { min-height: 280px; } .steps-grid { grid-template-columns: 1fr; } .step-card { min-height: 180px; } .contact-list a, .contact-list div { align-items: flex-start; flex-direction: column; } }
