/* Veća čitljivost primarne navigacije bez promjene širine sidebara. */
.sidebar .nav,
.sidebar .group-link {
    gap: 13px;
    padding: 12px 13px;
    font-size: 15.5px;
    line-height: 1.25;
}

.sidebar .nav {
    font-weight: 600;
}

.sidebar .nav-icon {
    width: 27px;
    flex: 0 0 27px;
    text-align: center;
    font-size: 20px;
    line-height: 1;
}

.sidebar .group-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 23px;
}

.sidebar .group-link small {
    font-size: 12px;
    margin-top: 3px;
}

.sidebar .side-label {
    font-size: 11px;
    margin-top: 19px;
}

@media (max-width: 760px) {
    .sidebar .nav,
    .sidebar .group-link {
        font-size: 15px;
    }
}

.emoji-section { margin-top: 22px; }
.emoji-section > label { font-size: 12px; font-weight: 700; }
.emoji-help { color: var(--muted); font-size: 13px; margin: 6px 0 10px; }
.emoji-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.emoji-choice { min-width: 58px; height: 58px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 29px; cursor: pointer; display: grid; place-items: center; }
.emoji-choice small { display: block; font-size: 9px; line-height: 1; color: var(--muted); }
.emoji-choice:hover, .emoji-choice.selected { border-color: var(--blue); background: var(--blue2); box-shadow: 0 0 0 3px #ccebf4; }
.custom-emoji { display: block; max-width: 260px; }
.kindergarten-panel { margin-bottom: 16px; }
.kindergarten-switcher { display: inline-block; position: relative; margin-left: 10px; }
.kindergarten-switcher summary { cursor: pointer; color: var(--blue); }
.kindergarten-switcher > div { position: absolute; right: 0; z-index: 40; width: 240px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.kindergarten-switcher button { width: 100%; padding: 9px; border: 0; background: white; text-align: left; cursor: pointer; }
.kindergarten-switcher button:hover { background: var(--blue2); }
.transfer-alert { max-width: 1050px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.logout-form { margin: 8px 0 18px; }
.logout-button { width: 100%; border: 0; color: #a23f35; cursor: pointer; text-align: left; font-family: inherit; background: transparent; }
.auth-download { margin: 16px 0; padding: 14px; background: var(--blue2); border-radius: 12px; }
.auth-download p { margin: 6px 0 10px; }
.auth-download > div { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.brand-logo { width: 46px; height: 46px; flex: 0 0 46px; overflow: hidden; border-radius: 12px; display: block; background: #eef8fc; box-shadow: 0 6px 16px #176b8730; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-logo.login-logo { width: 110px; height: 110px; margin: 0 auto 10px; border-radius: 20px; }
.manual-auth { margin: 16px 0; padding: 12px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.manual-auth summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.manual-auth ol { padding-left: 22px; font-size: 13px; line-height: 1.5; }
.copy-secret { display: flex; gap: 7px; margin-top: 6px; }
.copy-secret input { min-width: 0; flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 9px; font-family: monospace; }
.copy-status { min-height: 18px; margin: 6px 0 0!important; font-size: 12px; color: #39865a!important; }
.topbar .operator { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.operator-kindergarten { font-weight: 750; font-size: 18px; color: var(--ink); }
.operator-user { font-weight: 600; color: var(--blue); }
.operator-separator { width: 1px; height: 22px; background: var(--line); }
@media (max-width: 760px) {
    .topbar .operator { font-size: 12px; gap: 6px; max-width: 48vw; }
    .operator-kindergarten { max-width: 25vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
    .operator-user { max-width: 18vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .operator-separator { height: 17px; }
}
