/* Službene aplikacije u zaglavlju (inc/apps.php). Boje nasljeđuju izbornik (currentColor), pa rade u svakoj shemi. */
.nav-apps { display: flex; flex: none; align-items: center; gap: 0.25rem; margin-left: 0.35rem; }
.nav-app {
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; width: 40px; height: 40px; min-width: 40px; min-height: 40px; padding: 0; border-radius: var(--r-round, 50%);
    color: inherit; text-decoration: none;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    transition: background-color 0.2s, border-color 0.2s;
}
.nav-app:hover, .nav-app:focus-visible { background: color-mix(in srgb, currentColor 10%, transparent); border-color: color-mix(in srgb, currentColor 45%, transparent); text-decoration: none; }
.nav-app:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nav-app-txt { display: none; }
body.io-btn-ostri .nav-app { border-radius: 0; }

/* mobitel: otvoreni izbornik — puni redovi „Preuzmite na App Store / Google Play” */
@media (max-width: 900px) {
    .nav-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.9rem 0 0; width: 100%; }
    .nav-apps:has(> .nav-app:only-child) { grid-template-columns: 1fr; }
    .nav-app { color: var(--pale-soft, #eef2f4); width: auto; height: auto; min-height: 52px; padding: 0.55rem 0.9rem; gap: 0.6rem; justify-content: flex-start; border-radius: var(--r-md, 12px); }
    .nav-app svg { width: 24px; height: 24px; flex: none; }
    .nav-app-txt { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 0.98rem; }
    .nav-app-txt small { font-weight: 500; font-size: 0.72rem; opacity: 0.8; }
}
@media (max-width: 380px) {
    .nav-apps { grid-template-columns: 1fr; }
}

/* e-Građani: gumb uz tražilicu (inc/apps.php) — okrugao kao gumb za pretraživanje, znak uvijek u službenoj crvenoj */
.nav-egr {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; flex: none;
    height: 44px; padding: 0 0.85rem 0 0.7rem; margin-right: 0.35rem; border-radius: 999px;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit; text-decoration: none;
    font-size: 0.86rem; font-weight: 700; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s;
}
.nav-egr:hover, .nav-egr:focus-visible { background: color-mix(in srgb, currentColor 8%, transparent); border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; text-decoration: none; }
.nav-egr:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nav-egr-mark { flex: none; }
body.io-btn-ostri .nav-egr { border-radius: 0; }
@media (min-width: 901px) and (max-width: 1240px) {
    .nav-egr { width: 44px; padding: 0; } /* uži ekrani: samo znak */
    .nav-egr-txt { display: none; }
}
@media (max-width: 900px) {
    .nav-egr { width: 100%; height: auto; min-height: 52px; margin: 0.9rem 0 0; justify-content: flex-start; padding: 0.55rem 0.9rem; border-radius: var(--r-md, 12px); color: var(--pale-soft, #eef2f4); font-size: 0.98rem; }
    .nav-egr-mark { width: 24px; height: 24px; }
}
