/* Zajednički identitet Portala, DMS-a, Ponuda i Reciklažnih */
.gos-brand-group{display:flex;flex-direction:column;margin:0 0 24px;gap:0;min-height:54px}
.gos-brand-group .gos-brand{display:flex;align-items:center;gap:12px;color:#214033;text-decoration:none!important;font:700 18px/1.25 system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:0;margin:0;padding:0}
.gos-brand-group .gos-brand img{width:64px;height:46px;object-fit:contain;flex:none;margin:0;background:white;border-radius:10px;padding:4px;align-self:center}
.gos-brand-group .gos-brand span{min-width:0}.gos-brand-group .gos-brand:hover{text-decoration:none!important}
body>aside:has(.gos-brand-group){width:250px;padding:28px 20px;background:#fff;color:#214033;border-right:1px solid #dfe7e1;overflow-y:auto}
body>aside:has(.gos-brand-group) nav a{color:#506458}body>aside:has(.gos-brand-group) nav a:hover{background:#e6f1e9;color:#173f32}
body>aside:has(.gos-brand-group) .account{border-color:#dfe7e1}body>aside:has(.gos-brand-group) .account small{color:#62756a}
body>aside:has(.gos-brand-group)~main,body>aside:has(.gos-brand-group)~.workspace{margin-left:250px}
.gos-credit-footer{display:flex;justify-content:center;align-items:center;padding:20px 24px 28px;clear:both}
body:has(>aside .gos-brand-group)>.gos-credit-footer{margin-left:250px}
.gos-credit,.gos-credit:hover,.gos-credit:visited{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:#62756a;text-decoration:none!important;border:0;font:400 12px/1.3 system-ui,-apple-system,'Segoe UI',sans-serif;white-space:nowrap}
.gos-credit span{display:inline;margin:0;color:inherit}.gos-credit img{width:100px;height:40px;object-fit:contain;display:block;margin:0}.gos-credit:hover{opacity:.8}.gos-credit:focus-visible{outline:2px solid #176c51;outline-offset:5px;border-radius:6px}
.welcome .welcome-symbol{display:grid;place-items:center;width:150px;height:112px;flex:none;background:#fff;border-radius:20px;padding:20px;margin:0 0 0 24px}.welcome-symbol img{display:block;width:100%;height:100%;object-fit:contain}
.app-icon .gos-module-icon{width:27px;height:27px}.app-icon{flex:none}
.login-intro .gos-brand{color:white}.login-intro .gos-brand img{background:white}
/* Reciklažna koriste istu lijevu navigaciju kao ostale aplikacije. */
.rd-shell .rd-sidebar{position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:30}
.rd-shell .rd-sidebar .tabs{display:flex;flex-direction:column;align-items:stretch;border:0;padding:0;gap:5px;margin:12px 0 0;background:none}
.rd-shell .rd-sidebar .tabs a{margin:0;font-size:15px;justify-content:flex-start;padding:13px 12px}
.rd-shell .rd-sidebar .tabs a.new-action{color:white}.rd-shell .rd-sidebar .tabs a.new-action:hover{color:white;background:#10523d}
.rd-shell .rd-workspace{margin-left:250px}.rd-shell .rd-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 32px;min-height:74px;background:white;border-bottom:1px solid #dfe7e1;font-size:13px}
.rd-shell .rd-topbar .account{display:flex;gap:18px;align-items:center;font-size:13px}.rd-shell .location{padding:15px 32px}.rd-shell main{padding-top:28px}.rd-shell .rd-topbar a{text-decoration:none}.rd-shell .rd-topbar a:hover{color:#10523d}
@media(max-width:760px){body>aside:has(.gos-brand-group){position:static;width:100%;padding:18px;border-right:0;border-bottom:1px solid #dfe7e1}.gos-brand-group{min-height:46px;margin-bottom:12px}.gos-brand-group .gos-brand{font-size:18px}.gos-brand-group .gos-brand img{width:58px;height:42px}body>aside:has(.gos-brand-group)~main,body>aside:has(.gos-brand-group)~.workspace,body:has(>aside .gos-brand-group)>.gos-credit-footer{margin-left:0}.rd-shell .rd-sidebar{position:static}.rd-shell .rd-workspace{margin-left:0}.rd-shell .rd-sidebar .tabs{flex-direction:row;flex-wrap:wrap;gap:6px;margin-top:12px}.rd-shell .rd-sidebar .tabs a{font-size:13px;padding:10px}.rd-shell .rd-topbar{padding:14px 18px;min-height:55px}.rd-shell .rd-topbar>span{display:none}.rd-shell .rd-topbar .account{width:100%;justify-content:space-between}.rd-shell .account span{display:inline}.rd-shell .location{padding:14px 18px}.welcome .welcome-symbol{width:90px;height:76px;border-radius:14px;padding:12px;margin-left:14px}.welcome{gap:8px}.welcome h1{font-size:26px}.gos-credit-footer{padding:18px}.gos-credit img{width:92px;height:37px}}
@media(max-width:440px){.welcome{flex-wrap:wrap}.welcome .welcome-symbol{margin:8px 0 0}.rd-shell .rd-topbar .account{flex-wrap:wrap}.rd-shell .rd-sidebar .tabs a .rd-icon{width:18px}}

/* Compatibility with pages that still contain the previous header markup.
   The credit now belongs in .gos-credit-footer; never render its old copy. */
.gos-brand-group > .gos-powered,
.brand-group > .powered,
.login-intro .gos-powered,
.login-intro .powered { display:none !important; }
.login-layout > * { min-width:0; }
.login-intro .gos-brand img { width:64px; height:46px; max-width:64px; object-fit:contain; }
/* Keep the login columns within their container, including long content. */
@media(min-width:761px) {
 .login-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
}

/* Optical alignment with the EkoIT wordmark below the top of its leaf. */
.gos-credit > span { transform:translateY(5px); line-height:1; }
.rd-shell .rd-sidebar .rd-portal-back { display:flex; align-items:center; gap:8px; margin:10px 0 20px; padding:12px; color:#506458; text-decoration:none; border-radius:8px; font-size:14px; }
.rd-shell .rd-sidebar .rd-portal-back:hover { background:#e6f1e9; color:#173f32; text-decoration:none; }
.rd-shell .rd-sidebar .rd-portal-back:focus-visible { outline:2px solid #176c51; outline-offset:2px; }
.rd-portal-back svg { width:18px; height:18px; flex:none; }
@media(max-width:760px) { .rd-shell .rd-sidebar .rd-portal-back { margin:0 0 8px; padding:8px 0; } }
