/* Shared light/dark appearance for the public site and legal pages. */
:root{color-scheme:light}
.theme-toggle{flex-shrink:0;display:grid;place-items:center;width:36px;height:36px;border:1px solid #dfe7ed;border-radius:9px;background:#edf4f9;color:#365e76;cursor:pointer;padding:0;transition:background .2s,transform .2s}
.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{background:#daeaf5;transform:translateY(-1px)}
.theme-toggle:focus-visible{outline:3px solid #309fd6;outline-offset:4px}
.theme-toggle .theme-sun{display:none}
.theme-toggle[hidden]{display:none!important}
html[data-theme="dark"]{color-scheme:dark;--bg:#0b1520;--bg2:#101e2b;--fg:#e6eff6;--muted:#a7bdcc;--line:#2b4052;--card:#152635;--blue-d:#72c8f0;--ok:#79d7b6}
html[data-theme="dark"] body{background:var(--bg);color:var(--fg)}
html[data-theme="dark"] ::selection{background:#235c7d;color:#fff}
html[data-theme="dark"] .theme-toggle{background:#1c3548;color:#9cddfa;border-color:#345166}
html[data-theme="dark"] .theme-toggle:hover{background:#26485e}
html[data-theme="dark"] .theme-toggle .theme-moon{display:none}
html[data-theme="dark"] .theme-toggle .theme-sun{display:block}
/* Preserve both original logo colors and give the unchanged mark a light backing. */
.marka{--blue:#2ea2dd;--fg:#0f2635}
html[data-theme="dark"] .marka{background:#f7fafc;box-shadow:0 0 0 7px #f7fafc;border-radius:2px}
html[data-theme="dark"] header{background:#0b1520ed;border-color:#22384a}
html[data-theme="dark"] header.scrolled{box-shadow:0 4px 24px #0003}
html[data-theme="dark"] nav a{color:#b9ccda}
html[data-theme="dark"] nav a:hover,html[data-theme="dark"] nav a[aria-current]{color:#81d1f5}
html[data-theme="dark"] .jezici{background:#162a3b;border-color:#30495c}
html[data-theme="dark"] .jezici button{color:#b3c8d7}
html[data-theme="dark"] .jezici button.on{background:#2b4d65;color:#e4f5ff;box-shadow:none}
html[data-theme="dark"] .dugme.glavno,html[data-theme="dark"] .header-download{background:#51b5e5;color:#082234;box-shadow:0 5px 18px #0002}
html[data-theme="dark"] .dugme.glavno:hover,html[data-theme="dark"] .header-download:hover{background:#88d4f7}
html[data-theme="dark"] .dugme.sporedno{background:#203849;border-color:#3b586c;color:#e0eff9}
html[data-theme="dark"] .dugme.sporedno:hover{background:#2a4a60;border-color:#598099}
html[data-theme="dark"] .hero{background:radial-gradient(ellipse at 85% 42%,#173e5880,transparent 55%)}
html[data-theme="dark"] .play-circle{border-color:#39576d}
html[data-theme="dark"] .video-link:hover .play-circle{background:#203e54}
html[data-theme="dark"] .hero-assurances{color:#a7c1d1}
html[data-theme="dark"] .hero-assurances svg{color:#74c9ad}
html[data-theme="dark"] .orbit{border-color:#284b635c}
html[data-theme="dark"] .remote-window{background:#142635;border-color:#38556b;box-shadow:0 28px 60px #0004,0 0 60px #1c78a70d}
html[data-theme="dark"] .window-title{background:#192e40;border-color:#30495c;color:#b5c9d8}
html[data-theme="dark"] .demo-badge{background:#2a455a;color:#c5dbe9}
html[data-theme="dark"] .computer-avatar,html[data-theme="dark"] .feature-icon{background:#203d52;color:#7ecdf2}
html[data-theme="dark"] .demo-toolbar>div>span{color:#adc7d5}
html[data-theme="dark"] .demo-lock{color:#8bcfba}
html[data-theme="dark"] .demo-layout{border-color:#2b4559}
html[data-theme="dark"] .demo-tabs{background:#102333}
html[data-theme="dark"] .demo-tabs button{color:#9db8cb}
html[data-theme="dark"] .demo-tabs button:hover,html[data-theme="dark"] .demo-tabs button[aria-selected=true]{background:#254d68;color:#99dfff}
html[data-theme="dark"] .wallpaper{background:linear-gradient(130deg,#235575,#173955)}
html[data-theme="dark"] .wallpaper i{border-color:#87c2e414}
html[data-theme="dark"] .wallpaper i:nth-child(2){border-color:#549edc28}
html[data-theme="dark"] .wallpaper i:nth-child(3){border-color:#a3daee18}
html[data-theme="dark"] .desktop-icon{color:#c0dcec}
html[data-theme="dark"] .mini-app{background:#183247;box-shadow:0 12px 22px #0004}
html[data-theme="dark"] .mini-title{background:#244359;border-color:#3a596e}
html[data-theme="dark"] .mini-title svg{color:#85cff2}
html[data-theme="dark"] .mini-sidebar{border-color:#2c4b62}
html[data-theme="dark"] .mini-sidebar i,html[data-theme="dark"] .mini-bars i{background:#3f6178}
html[data-theme="dark"] .mini-sidebar i:first-child{background:#6bb7df}
html[data-theme="dark"] .mini-label{color:#aac6d8}
html[data-theme="dark"] .file-icon.blue{background:#234c67;border-color:#3b708e;color:#b6e5ff}
html[data-theme="dark"] .file-icon.green{background:#1a4949;border-color:#377168;color:#a1e3ce}
html[data-theme="dark"] .mini-file small{color:#adc7d8}
html[data-theme="dark"] .mini-file>svg{color:#8ad9bd}
html[data-theme="dark"] .desktop-dock{background:#17364ad9}
html[data-theme="dark"] .demo-bottom>span{color:#b6cbd9}
html[data-theme="dark"] .demo-bottom button{background:#254e68;color:#b1e7ff}
html[data-theme="dark"] .demo-bottom button:hover{background:#346886}
html[data-theme="dark"] .files-panel,html[data-theme="dark"] .chat-panel{background:#132b3c}
html[data-theme="dark"] .transfer-route>span:not(.transfer-dots),html[data-theme="dark"] .transfer-file small{color:#aec9db}
html[data-theme="dark"] .transfer-route svg{color:#78c9f0}
html[data-theme="dark"] .transfer-file{background:#1d3b50;border-color:#365970}
html[data-theme="dark"] .transfer-track{background:#31546b}
html[data-theme="dark"] .chat-bubble{background:#27465d;color:#e0f0fa}
html[data-theme="dark"] .chat-bubble.own{background:#2f7fa8;color:#fff}
html[data-theme="dark"] .chat-caption{color:#b0c9d8}
html[data-theme="dark"] .chat-check{color:#8bdcff}
html[data-theme="dark"] .floating-note{background:#192f40f7;border-color:#3a566b;box-shadow:0 12px 35px #0004}
html[data-theme="dark"] .note-icon,html[data-theme="dark"] .note-check{background:#224b43;color:#93dfc4}
html[data-theme="dark"] .floating-note div>span,html[data-theme="dark"] .demo-hint{color:#b0c5d4}
html[data-theme="dark"] .connection-overlay{background:#102737f2}
html[data-theme="dark"] .connection-ring{border-color:#3b6480;border-top-color:#7dcff4}
html[data-theme="dark"] .trust-strip{color:#bad0de}
html[data-theme="dark"] .trust-strip>span,html[data-theme="dark"] .trust-strip svg{color:#9fb9cb}
html[data-theme="dark"] .step-number{color:#688ba4}
html[data-theme="dark"] .step-top>svg{color:#78c3eb}
html[data-theme="dark"] .id-example span{background:#1c3347;color:#d4e6f2}
html[data-theme="dark"] .step-connected{color:#8dd4bf}
html[data-theme="dark"] .features-section,html[data-theme="dark"] .pricing-section{background:#101e2b;border-color:#253b4d}
html[data-theme="dark"] .feature,html[data-theme="dark"] .kartica{background:var(--card);border-color:var(--line)}
html[data-theme="dark"] .feature:hover{border-color:#47748e;box-shadow:0 14px 34px #0002}
html[data-theme="dark"] .feature-main{background:#102f45;border-color:#31556d}
html[data-theme="dark"] .feature-main p{color:#b5d0e1}
html[data-theme="dark"] .paper{background:#223d50;border-color:#46627a;color:#b2d1e6}
html[data-theme="dark"] .paper-two{background:#264b65;color:#95d9ff}
html[data-theme="dark"] .paper-three{background:#254740;color:#a0e0c7}
html[data-theme="dark"] .file-art-check{background:#2f6354;border-color:var(--card);color:#b5ffe0}
html[data-theme="dark"] .message-art>span:first-child{background:#2b4459}
html[data-theme="dark"] .message-art i{background:#88b5d0}
html[data-theme="dark"] .message-art>span:last-child{background:#26516c;color:#8dd4f6}
html[data-theme="dark"] kbd{background:#203647;border-color:#3c576a;color:#cee1ee}
html[data-theme="dark"] .password-art{background:#203747;color:#a8c5d9}
html[data-theme="dark"] .security-points>div>svg{background:#21473f;color:#9bdec4}
html[data-theme="dark"] .security-orbit{border-color:#2d495f}
html[data-theme="dark"] .orbit-b{background:#14354c35}
html[data-theme="dark"] .orbit-c{background:#1e526a30}
html[data-theme="dark"] .security-node,html[data-theme="dark"] .encryption-label{background:#192e40;border-color:#3b556a;color:#b6d6ec;box-shadow:0 5px 20px #0003}
html[data-theme="dark"] .cipher-label{color:#9cbbcf}
html[data-theme="dark"] .billing-toggle{background:#1f3447}
html[data-theme="dark"] .billing-toggle button{color:#b0c8da}
html[data-theme="dark"] .billing-toggle button[aria-pressed=true]{background:#385972;color:#e7f6ff}
html[data-theme="dark"] .save-badge{background:#315c50;color:#b0f1d8}
html[data-theme="dark"] .paket.istaknut{background:#13354c;border-color:#538baa;box-shadow:0 15px 28px #0003}
html[data-theme="dark"] .paket.istaknut .glavno{background:#69c5ed;color:#092537}
html[data-theme="dark"] .paket.istaknut .glavno:hover{background:#96dafa}
html[data-theme="dark"] .paket .cijene-sve,html[data-theme="dark"] .paket li.ne,html[data-theme="dark"] .seat-control label{color:#adc5d6}
html[data-theme="dark"] .seat-control>div{border-color:#3e5b70}
html[data-theme="dark"] .seat-control input{background:#142c3d;color:#e6f3fd}
html[data-theme="dark"] .seat-control button{background:#2a4b62;color:#c8eaff}
html[data-theme="dark"] .seat-control button:hover{background:#3a6883}
html[data-theme="dark"] summary::after{color:#8fb7d0}
html[data-theme="dark"] summary:hover::after{background:#234259}
html[data-theme="dark"] .cta-box{background:#143047;border-color:#345976}
html[data-theme="dark"] .cta-orbit{border-color:#386784;box-shadow:0 0 0 45px #2b567830,0 0 0 90px #2b567825,0 0 0 135px #2b567820}
html[data-theme="dark"] .cta-actions>span{color:#adc8db}
html[data-theme="dark"] footer{background:var(--bg)}
html[data-theme="dark"] .footer-bottom{color:#a7bdcc}
html[data-theme="dark"] .back-top:hover{background:#234259}
html[data-theme="dark"] dialog.ponuda{background:#152a3b;border-color:#3b586e}
html[data-theme="dark"] .ponuda input,html[data-theme="dark"] .ponuda textarea{background:#0e2030;color:#e3f0fa;border-color:#426079}
html[data-theme="dark"] .ponuda input::placeholder,html[data-theme="dark"] .ponuda textarea::placeholder{color:#9db4c7}
html[data-theme="dark"] .ponuda .status.greska{color:#ffaaa3}
html[data-theme="dark"] .ponuda .hvala .znak{background:#245343;color:#a1e6c6}
html[data-theme="dark"] .download-notice{background:#193247;border-color:#456780;box-shadow:0 8px 40px #0005}
html[data-theme="dark"] .download-notice button{color:#b4d5e9}
.legal-page .theme-toggle{margin-left:auto;margin-right:12px}
.legal-page .jezici{margin-left:0;height:auto}
html[data-theme="dark"] .legal-page a:not(.marka){color:#83cdf2}
html[data-theme="dark"] .legal-page .pod,html[data-theme="dark"] .legal-page footer{color:var(--muted)}
@media(min-width:801px) and (max-width:1150px){
  .header-download{display:none}
  header>.omot{gap:16px}.header-actions{gap:10px}nav{gap:14px}nav a{font-size:12px}
}
@media(max-width:800px){
  html[data-theme="dark"] nav{background:#182b3c;border-color:#3e5b70;box-shadow:0 15px 40px #0004}
  html[data-theme="dark"] nav a:hover{background:#25465e}
}
@media(max-width:620px){
  .theme-toggle,.legal-page .theme-toggle{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:44px;height:44px;margin:0;border-radius:50%;box-shadow:0 5px 20px #10324b2b;z-index:35}
  html[data-theme="dark"] .theme-toggle{box-shadow:0 5px 20px #0005}
  .legal-page .jezici{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
@media print{
  .theme-toggle{display:none!important}
  html[data-theme="dark"]{--fg:#0f2635;--muted:#506070;--line:#c7d5df}
  html[data-theme="dark"] body,html[data-theme="dark"] footer,html[data-theme="dark"] section,html[data-theme="dark"] .feature,html[data-theme="dark"] .kartica{background:white;color:#0f2635}
  html[data-theme="dark"] .feature-main p,html[data-theme="dark"] .paket .cijene-sve{color:#506070}
}

