/* FERRO Enterprise premium / shared interface, release 20260910. */
@media screen {
body.ferro-premium :is(.rate-grid>div,.totals-box,.form-section-title,.receipt-preview,.info,.description,.total,.price-picker-dialog,.price-picker-results,.picker-product){background:#19324f!important;color:#e5efff!important;border-color:#334e6d!important}
body.ferro-premium :is(.rate-grid span,.rate-grid strong,.receipt-preview strong,.receipt-preview span,.stat,.stat strong,.stat p){color:#d4e5fb!important}
body.ferro-premium .hero-card{background:radial-gradient(ellipse at 98% 4%,#bd203535,transparent 48%),linear-gradient(125deg,#102948,#132e50 54%,#0d203b)!important;border:1px solid #324c6e;border-left:3px solid #ed2943}
body.ferro-premium .secondary-button{background:#213c5c!important;color:#e5efff!important}
body.ferro-premium :is(.status.recibido,.status-realizada){background:#163f37!important;color:#aeefd3!important}
body.ferro-premium :is(.status.anulado,.status-anulada){background:#542735!important;color:#ffd0d9!important}
body.ferro-premium{--fp-red:#ed2943;--fp-bright:#ff8194;--fp-navy:#08172c;--fp-page:#0a192f;--fp-face:#142944;--fp-text:#eff4ff;--fp-muted:#a6b8d0;--fp-line:#304763;--fp-speed:4.6s;--fp-glow:.20;--green:#a8c6ef;--dark:#071326;--gold:#ff8194;--cream:#0a192f;--ink:#eff4ff;--muted:#a6b8d0;--line:#304763;--white:#142944;--bg:#0a192f;--surface:#142944;--surface-soft:#19324f;--navy:#08172c;--blue:#a6c9f5;--red:#ed2943;--sidebar:#0b203c;--sidebar-2:#071326;--bs-body-bg:#0a192f;--bs-body-color:#eff4ff;--bs-secondary-color:#a6b8d0;--bs-tertiary-color:#a6b8d0;--bs-secondary-bg:#19324f;--bs-tertiary-bg:#19324f;--bs-border-color:#304763;--bs-link-color:#bedaff;--bs-link-hover-color:#fff;color-scheme:dark;background:radial-gradient(ellipse at 95% 5%,#243b5738,transparent 55%),#0a192f!important;color:#eff4ff!important;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.ferro-premium :is(h1,h2,h3,h4,h5,h6){color:#edf4ff;letter-spacing:-.3px}
body.ferro-premium :is(a,.link,.table-link,.panel-heading a){color:#b9d7fc}
body.ferro-premium :is(p,label,legend,summary){color:inherit}
body.ferro-premium :is(label,.form-label){color:#d2def0}
body.ferro-premium :is(small,.muted,.text-muted,.text-secondary,.form-text,.metric-card small,.page-footer,.group-heading small,.card p,.panel p,.product p,.cart-item span){color:#a6b8d0!important}
body.ferro-premium :is(.eyebrow,.page-title>div>span){color:#ff8597!important}
body.ferro-premium :is(body>aside,.sidebar,.rh-side){background:linear-gradient(155deg,#0d2341,#071326 65%)!important;color:#eef4ff;border-right:1px solid #2b4260;box-shadow:8px 0 30px #00000014}
body.ferro-premium :is(.topbar,.navbar,body>header,.main>header,main>header,.fp-topbar){background:#0b1a2e!important;color:#eef4ff!important;border-bottom:1px solid #30435c;box-shadow:0 5px 20px #020b171c}
body.ferro-premium :is(.brand,.navbar-brand,.sidebar-brand){color:white!important}
body.ferro-premium :is(.brand img,.navbar-brand img,.sidebar-brand img,.side-logo){background:white;border-radius:50%;border:1px solid #b5c6db;box-shadow:0 3px 0 #6e829d,0 8px 18px #010a1f50;object-fit:contain}
body.ferro-premium :is(nav a,.sidebar a,body>aside>a){color:#c5d5eb!important;transition:background .2s,color .2s,box-shadow .2s;align-items:center}
body.ferro-premium :is(nav a:hover,.sidebar a:hover,body>aside>a:hover){background:#213955!important;color:white!important}
body.ferro-premium :is(nav a.active,.sidebar a.active,nav a[aria-current=page]){background:linear-gradient(105deg,#b91731,#ed2943)!important;color:white!important;border-color:#ff697d;box-shadow:0 5px 17px #ed294330}
body.ferro-premium :is(.card,.panel,.enterprise-panel,.metric-card,.stats article,.summary,.activity,.catalog,.quote,.recent,.login-card,.portal-card,.item-card,.department-card,.payroll-group,.product,.recent-quote,.modal-content,.modal-card,dialog,.payment-method-card,.provider-card,.method-card,.setting-card,.quick-form){background:linear-gradient(150deg,#1b3555,#122842 60%,#102238)!important;border-color:#304b6a!important;color:#edf4ff!important;box-shadow:0 8px 22px #020b1e33,inset 0 1px #ffffff06;border-radius:16px}
body.ferro-premium :is(.card,.panel,.enterprise-panel,.metric-card,.stats article,.catalog,.quote){border:1px solid #304b6a}
body.ferro-premium :is(.hero,.hero-enterprise){background:radial-gradient(ellipse at 98% 4%,#bd203535,transparent 48%),linear-gradient(125deg,#102948,#132e50 54%,#0d203b)!important;color:white!important;border:1px solid #324c6e;border-left:3px solid #ed2943;box-shadow:0 12px 26px #040e2138}
body.ferro-premium :is(.hero p,.hero-enterprise p,.hero small){color:#bdcde3!important}
body.ferro-premium :is(.quick-action,.account-row,.numbers>div,.group-heading,.expense-total,.batch,.permission-box,.system-note,.conversion-preview,.conversion-preview span,.summary-box,.balance-box,.info-box,.totals,.rate,.bg-light,.bg-white,.bg-body-tertiary){background:#19324f!important;color:#e5efff!important;border-color:#334e6d!important}
body.ferro-premium :is(.rate strong,.rate b,.price strong,.totals strong,.recent-grid strong,.danger-card strong){color:#c4dbfa!important}
body.ferro-premium :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea,.form-control,.form-select){background-color:#0b1e35!important;color:#edf4ff!important;border:1px solid #46617e!important;box-shadow:inset 0 2px 5px #050c1725;border-radius:9px}
body.ferro-premium :is(input,select,textarea)::placeholder{color:#94aac6!important;opacity:1}
body.ferro-premium :is(input,select,textarea):focus{border-color:#f36c82!important;outline:2px solid #ed294326;box-shadow:0 0 0 3px #ed294320!important}
body.ferro-premium :is(input,select,textarea):disabled{background:#20334b!important;color:#adbdd3!important;opacity:.85}
body.ferro-premium :is(input[type=checkbox],input[type=radio]){accent-color:#ed2943}
body.ferro-premium option{background:#102640;color:#fff}
body.ferro-premium :is(button,.btn,.button,.primary,.action-link,.hero-button,.edit-employee-button){color:#fff;background:linear-gradient(135deg,#f44662,#c51a34);border-color:#f56a80;border-radius:9px;box-shadow:0 3px 0 #811a31,0 7px 15px #030e2329;transition:filter .18s,transform .18s,box-shadow .18s}
body.ferro-premium :is(button,.btn,.button,.primary,.action-link,.hero-button):hover{filter:brightness(1.12)}
body.ferro-premium :is(button,.btn,.button,.primary):active{transform:translateY(1px);box-shadow:0 1px 0 #811a31}
body.ferro-premium :is(.btn-secondary,.btn-light,.btn-outline-secondary,.btn-outline-light,.secondary,.button.ghost,.btn-outline-primary,.btn-outline-success,.btn-outline-warning,.qty button,.remove){background:linear-gradient(140deg,#2c496d,#1a3555)!important;color:#e7f1ff!important;border:1px solid #507093;box-shadow:0 2px 0 #09172a}
body.ferro-premium :is(.btn-danger,.danger-button,.small-danger,.btn-outline-danger){background:linear-gradient(140deg,#bc263e,#851b31)!important;color:#ffe5eb!important;border:1px solid #e57284;box-shadow:0 2px 0 #5d1425}
body.ferro-premium :is(.btn-success,.whatsapp,.btn-whatsapp){background:linear-gradient(140deg,#1b705b,#125543)!important;color:#edfff8!important;border-color:#4a9d80}
body.ferro-premium :is(button:disabled,.btn.disabled){filter:none;opacity:.5;transform:none;cursor:not-allowed}
body.ferro-premium :is(.btn-close,.modal-close){background-color:#2d4766;color:white;box-shadow:none}
body.ferro-premium .btn-close{filter:invert(1) grayscale(1)}
body.ferro-premium table{--bs-table-color:#e8f1ff;--bs-table-bg:transparent;--bs-table-border-color:#304763;--bs-table-striped-bg:#1b3450;--bs-table-striped-color:#edf4ff;--bs-table-hover-bg:#284566;--bs-table-hover-color:#fff;color:#e8f1ff!important}
body.ferro-premium :is(th,thead td){background:#0c2039!important;color:#b8cdec!important;border-color:#3c5473!important}
body.ferro-premium td{color:#e1edff;border-color:#304763!important}
body.ferro-premium tbody tr:nth-child(even){background-color:#1a324d55}
body.ferro-premium tbody tr:hover{background-color:#28456655}
body.ferro-premium :is(tr.low,tr.danger-row){background:#56293966!important}
body.ferro-premium :is(.status,.badge,.tags span,.version-badge){background:#254666!important;color:#d4e8ff!important;border:1px solid #40688a}
body.ferro-premium :is(.status.pagada,.status-pill,.bg-success,.badge-success,.alert-success,.flash.success,.flash.ok,.alert.success,.supplier.preferred){background:#163f37!important;color:#aeefd3!important;border-color:#356e5b!important}
body.ferro-premium :is(.status.vencida,.status.anulada,.bg-danger,.badge-danger,.flash.error,.alert-danger,.alert.danger){background:#542735!important;color:#ffd0d9!important;border-color:#a4576b!important}
body.ferro-premium :is(.status.pendiente,.status.parcial,.warning-pill,.bg-warning,.alert-warning){background:#493c2c!important;color:#ffdfa0!important;border-color:#8e794f!important}
body.ferro-premium :is(.alert-info,.alert-primary,.notice,.flash:not(.error):not(.success):not(.ok)){background:#1b3856!important;color:#d0e6ff!important;border-color:#4b6d90!important}
body.ferro-premium :is(.dropdown-menu,.list-group-item,.accordion-item,.accordion-button,.popover){background:#142b45!important;color:#e3efff!important;border-color:#42617f!important}
body.ferro-premium :is(.text-dark,.text-body,.text-black){color:#e7effb!important}
body.ferro-premium :is(.text-success,.text-primary){color:#b8dafb!important}
body.ferro-premium .text-danger{color:#ff99aa!important}
body.ferro-premium .login-shell{background:#10223b!important}
body.ferro-premium :is(.login-shell aside,.login-visual){background:linear-gradient(145deg,#102b4c,#321b36)!important}
body.ferro-premium .login{background:radial-gradient(ellipse at 85% 10%,#ed294327,transparent 50%),linear-gradient(135deg,#08172c,#112d4f)!important}
body.ferro-premium .login form{background:#142944!important;border-color:#3f5676!important;color:#fff}
body.ferro-premium #ferro-enterprise-return{background:linear-gradient(135deg,#263f61,#102943)!important;border:1px solid #4b647f;border-radius:10px!important;box-shadow:0 3px 0 #071326!important}
.ferro-premium .ferro-module-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:19px 22px;margin:4px 0 23px;border:1px solid #385272;border-left:3px solid #ed2943;border-radius:16px;background:radial-gradient(ellipse at 95% 3%,#b8283c22,transparent 55%),linear-gradient(120deg,#142f50,#10243f);color:#edf4ff}
.ferro-premium .ferro-module-identity{display:flex;align-items:center;gap:16px;min-width:0}
.ferro-premium .ferro-module-identity small{display:block;font-size:10px;letter-spacing:1.8px;color:#ff99aa!important}
.ferro-premium .ferro-module-identity strong{display:block;font-size:21px;letter-spacing:-.4px;line-height:1.3;margin-top:4px}
.ferro-premium .ferro-banner-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.ferro-premium .ferro-banner-actions a,.ferro-premium .ferro-motion{background:#213c5c!important;border:1px solid #496685!important;border-radius:9px;padding:9px 11px;color:#d8e6f9!important;font-size:11px;width:auto!important;margin:0!important;box-shadow:0 2px 0 #071326!important;text-decoration:none;display:inline-flex;align-items:center;gap:7px}
.ferro-premium .ferro-nav-icon{display:inline-flex;vertical-align:middle;margin-right:8px;flex:none;pointer-events:none}
.ferro-premium .ferro-nav-icon svg{width:16px;height:16px;pointer-events:none;stroke-width:1.7}
.ferro-premium .ferro-icon-scene{position:relative;width:61px;height:56px;display:inline-block;flex:none;perspective:260px;pointer-events:none}
.ferro-premium .ferro-icon-scene:before{content:'';position:absolute;left:0;bottom:0;width:50px;height:10px;border-radius:50%;background:#02091980;filter:blur(4px)}
.ferro-premium .ferro-icon-back{position:absolute;left:1px;top:5px;width:43px;height:43px;border:1px solid #789ab544;border-radius:12px;background:#23456d33;transform:rotate(-17deg)}
.ferro-premium .ferro-icon-block{position:absolute;left:8px;top:0;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#668fba,#375a87 43%,#163759);border:1px solid #9db9d8a3;color:#eff9ff;box-shadow:-1px 1px #426c95,-2px 2px #30577f,-3px 3px #27496f,-4px 4px #142e51,0 6px 17px #06132480,inset 1px 1px 3px #a7cbeb55;transform:rotateX(13deg) rotateY(-15deg) rotateZ(-7deg);animation:ferro-icon-float var(--fp-speed) ease-in-out infinite;animation-delay:var(--ferro-delay,0s);pointer-events:none}
.ferro-premium .ferro-icon-block svg{width:24px;height:24px;stroke-width:1.65;filter:drop-shadow(0 2px 1px #0b183966);pointer-events:none}
.ferro-premium .ferro-icon-red .ferro-icon-block{background:linear-gradient(140deg,#ff8b9d,#e44665 42%,#a70e2c);border-color:#ffb2c4a3;box-shadow:-1px 1px #d3536d,-2px 2px #ba304f,-3px 3px #992340,-4px 4px #661d38,0 6px 18px #6b16295e,inset 1px 1px 3px #ffe1e54d}
.ferro-premium .ferro-icon-red .ferro-icon-back{border-color:#f56f8d40;background:#a82b4838}
.ferro-premium .ferro-icon-tilt .ferro-icon-block{animation-name:ferro-icon-tilt}
.ferro-premium .ferro-icon-slide .ferro-icon-block{animation-name:ferro-icon-slide}
.ferro-premium .ferro-icon-pulse .ferro-icon-block{animation-name:ferro-icon-pulse}
.ferro-premium .ferro-stat-icon{display:block;margin-bottom:8px}
.ferro-premium :is(.summary-grid,.metrics-grid,.stats) .ferro-stat-icon{transform:scale(.8);transform-origin:left center;height:46px}
.ferro-premium[data-ferro-motion=paused] :is(.ferro-icon-block,.fp-icon-block,.fp-ring,.fp-emblem img){animation-play-state:paused!important}
.ferro-premium .ferro-motion svg{width:14px;height:14px}
.ferro-premium .ferro-table-scroll{max-width:100%;overflow:auto}
@keyframes ferro-icon-float{0%,100%{transform:translateY(0) rotateX(13deg) rotateY(-15deg) rotateZ(-7deg)}50%{transform:translateY(-5px) rotateX(6deg) rotateY(-6deg) rotateZ(-3deg)}}
@keyframes ferro-icon-tilt{0%,100%{transform:rotateX(13deg) rotateY(-15deg) rotateZ(-7deg)}50%{transform:translateY(-3px) rotateX(4deg) rotateY(3deg) rotateZ(5deg)}}
@keyframes ferro-icon-slide{0%,100%{transform:rotateX(13deg) rotateY(-15deg) rotateZ(-7deg)}50%{transform:translateX(5px) translateY(-3px) rotateX(12deg) rotateY(-2deg) rotateZ(-4deg)}}
@keyframes ferro-icon-pulse{0%,100%{transform:scale(1) rotateX(13deg) rotateY(-15deg) rotateZ(-7deg)}50%{transform:scale(1.09) translateY(-3px) rotateX(8deg) rotateY(-8deg) rotateZ(-4deg)}}
@media(max-width:760px){.ferro-premium .ferro-module-banner{padding:16px;margin-bottom:18px}.ferro-premium .ferro-module-identity strong{font-size:19px}.ferro-premium .ferro-banner-actions{width:100%}.ferro-premium .ferro-banner-actions a,.ferro-premium .ferro-motion{min-height:40px}.ferro-premium :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}.ferro-premium .navbar-brand{white-space:normal}.ferro-premium .navbar-brand span{font-size:16px}.ferro-premium :is(.hero,.page-title,.panel-head){gap:15px}.ferro-premium .ferro-table-scroll{overflow:auto}}
@media(prefers-reduced-motion:reduce){.ferro-premium :is(.ferro-icon-block,.fp-icon-block,.fp-ring,.fp-emblem img){animation:none!important}.ferro-premium *{scroll-behavior:auto!important;transition:none!important}}
}
@media print{.ferro-module-banner,.ferro-nav-icon,.ferro-icon-scene,.ferro-motion,.fp-sidebar,.fp-topbar{display:none!important}body.ferro-premium{background:white!important;color:black!important;color-scheme:light}.ferro-premium .ferro-table-scroll{overflow:visible}.ferro-premium *{animation:none!important}}
