/* RFX LIGHT v1 2026-09-25: tema deschisa pentru paginile vechi cu fundal inchis.
   Se aplica doar pe paginile care au pe <body> una dintre clasele rfx-lt-a / rfx-lt-b / rfx-lt-c. */
html:has(body.rfx-lt-a),html:has(body.rfx-lt-b),html:has(body.rfx-lt-c){background:#f5f6fa}
body.rfx-lt-a,body.rfx-lt-b{background:#f5f6fa!important;color:#12182a!important}
body.rfx-lt-c{background:#fff!important;color:#12182a!important;box-shadow:0 0 0 1px #e6e9f0;border-radius:0;padding:28px 40px 40px!important;margin:0 auto!important;min-height:100vh}
@media(max-width:700px){body.rfx-lt-c{padding:20px 18px 30px!important}}

/* ---------- coloana alba de continut ---------- */
body.rfx-lt-a .container{background:#fff;box-shadow:0 0 0 1px #e6e9f0;padding:28px 40px 40px}
body.rfx-lt-b .content{background:#fff;box-shadow:0 0 0 1px #e6e9f0;margin:0 auto 40px;padding:40px 44px 44px;max-width:820px}
@media(max-width:700px){body.rfx-lt-a .container{padding:20px 18px 30px}body.rfx-lt-b .content{padding:26px 18px 32px;margin:0 auto 30px}}

/* ---------- text ---------- */
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) :is(h1,h2,h3,h4,summary,strong,b,th):not(:where(#exit-popup-overlay,#rfchat-window,#rfchat-btn,#rfx-form,#nota-consultanta,#sal-sol,#rfx-bar,.hero,nav,footer) *){color:#12182a!important}
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) :is(p,li,ul,ol,td,dd,label,.intro,.sub):not(:where(#exit-popup-overlay,#rfchat-window,#rfchat-btn,#rfx-form,#nota-consultanta,#sal-sol,#rfx-bar,.hero,nav,footer) *){color:#1a202c!important}
.rfx-lt-a .container h1,body.rfx-lt-c>h1{color:#16264D!important}
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) :is(.breadcrumb,.bc,.disclaimer,.src,.meta,.hint,.trust){color:#343c4c!important}
/* culori scrise direct in atribute style (text deschis gandit pentru fundal inchis) */
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) :is([style*="color:#B0B8C8"],[style*="color: #B0B8C8"],[style*="color:#B8C5E0"],[style*="color:#b8c5e0"],[style*="color:#F4F6FB"],[style*="color:#f4f6fb"],[style*="color:#7A91BE"],[style*="color:#c3cadd"],[style*="color:#C9D0E2"],[style*="color:#c9d0e2"],[style*="color:#9fb0d0"],[style*="color:#fff"],[style*="color:#FFF"],[style*="color:white"]):not([style*="background"]):not(:where(#exit-popup-overlay,#rfchat-window,#rfchat-btn,#rfx-form,#nota-consultanta,#sal-sol,#rfx-bar,.hero,nav,footer) *){color:#1a202c!important}

/* ---------- linkuri ---------- */
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) :is(.container,.content,.lh,.rfp-local) a:not([class]),
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) :is(.key,.breadcrumb,.bc,.src,.rfx-tools-links,details,.faq-item,.note) a:not([class]),
html body.rfx-lt-c>ul a,html body.rfx-lt-c>p a{color:#B84300!important;text-decoration:underline;text-underline-offset:2px}

/* ---------- componente ---------- */
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .key{background:#fff7f1!important;border-left:4px solid #E85D00;color:#3a2a1a}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .key :is(p,li,span){color:#3a2a1a!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) :is(.step,.content-box){background:#f7f8fb!important;border:1px solid #e6e9f0!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .step b{color:#E85D00!important}
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) details{background:#f7f8fb!important;border:1px solid #e6e9f0!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .faq-item{border-bottom:1px solid #e6e9f0!important}
.rfx-lt-b .content .note{background:#fff7f1!important;border-left:3px solid #E85D00}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .warn{background:#fff3f0!important;border:1px solid #f3cfc7;color:#7a2418!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .disclaimer{background:#f5f6fa!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .related a{background:#eef1f7!important;color:#16264D!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .footer-nav{border-top:1px solid #e6e9f0!important}
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .footer-nav a{color:#343c4c!important}
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) :is(th){background:#fff4ec!important;border-bottom:1px solid #f0d9c8!important}
:is(.rfx-lt-a .container,.rfx-lt-b .content,body.rfx-lt-c) :is(td){border-bottom-color:#e6e9f0!important}
.rfx-lt-a .facts td{border-bottom:1px solid #e6e9f0!important}
.rfx-lt-c .lh .st div{background:#f7f8fb!important;border:1px solid #e6e9f0!important}
.rfx-lt-c .lh .st b{color:#E85D00!important}
.rfx-lt-c .lh :is(td,th){border-bottom:1px solid #e6e9f0!important}
.rfx-lt-c .lh .src{color:#343c4c!important}

/* casetele de apel la actiune raman inchise, ca in pagina model */
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .cta-box{background:linear-gradient(135deg,#16264D,#0B1330)!important;border:0!important;box-shadow:0 10px 30px rgba(22,38,77,.18)}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .cta-box.cta-box :is(h2,h3,strong,b){color:#fff!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .cta-box.cta-box :is(p,li,span,div,[style]){color:#c3cadd!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .cta-box .promise span{color:#34d27b!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .cta-box a:not(.cta-btn){color:#FFB37A!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .cta-btn{color:#fff!important}

/* calculatoarele (.rt) sunt deja albe: doar un contur mai clar */
:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt{box-shadow:0 6px 24px rgba(4,9,26,.08)}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt .res :is(p,li,span,div,b,strong,td,th){color:#fff!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt .res .big{color:#FF9A4D!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt .lead :is(p,span,label,b,div){color:#1b1f2a!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt :is(label,.hint,h3){color:#1b1f2a!important}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt .res .warn{background:#3a2410!important;color:#fff!important;border:0}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt .res .ok{background:#0f3b24!important;color:#fff!important}

/* antetul si bara de sus raman inchise */
.rfx-lt-b .hero,.rfx-lt-b .hero :is(h1,h2,p){color:#fff}
.rfx-lt-b .hero .bc,.rfx-lt-b .hero .meta{color:#9fb0d0}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) .rt .res :is(th,td){background:transparent!important;border-bottom:1px solid rgba(255,255,255,.14)!important}
html body.rfx-lt-b .hero .bc a{color:#c3cadd!important;text-decoration:none}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) :is(.container,.content,.lh) .related a{color:#16264D!important;text-decoration:none}
html body:is(.rfx-lt-a,.rfx-lt-b,.rfx-lt-c) :is(.container,.content,.lh) .footer-nav a{color:#343c4c!important;text-decoration:none}
:is(.rfx-lt-a,.rfx-lt-b) .rfp-local{background:#fff;box-shadow:0 0 0 1px #e6e9f0;padding:26px 40px 30px!important;max-width:820px!important;margin:0 auto!important;box-sizing:border-box}
@media(max-width:700px){:is(.rfx-lt-a,.rfx-lt-b) .rfp-local{padding:20px 18px!important}}