body { background: #f5f6f8; }
.navbar-brand { font-weight: 600; }
.card { border: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Навбар жолы: логотип + Шығу/тіл батырмалары әрдайым бір жолда тұрады, ал ФИО (мобильде —
   рөлсіз) тар экранда бөлек, толық ендікті жаңа жолға түседі. */
.shygu-navbar-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: .5rem;
}
.shygu-navbar-quick-actions {
    order: 1;
    margin-left: auto;
}
.shygu-navbar-fio {
    order: 2;
    width: 100%;
}
@media (min-width: 576px) {
    .shygu-navbar-fio {
        order: 0;
        width: auto;
        margin-left: auto;
    }
    .shygu-navbar-quick-actions {
        order: 1;
        margin-left: .75rem;
    }
}

/* Choices.js (Институт/Мамандығы/Топ/Жұмыс бөлімі іздеу өрістері) — Bootstrap
   form-select/form-control дизайнымен бірдей көрінуі үшін. */
.choices {
    margin-bottom: 0;
}
.choices__inner {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: calc(1.5em + 0.75rem + 2px);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
}
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}
.choices__list--single {
    padding: 0;
    font-size: 1rem;
}
.choices__list--single .choices__item {
    color: #212529;
}
.choices__list--dropdown,
.choices__list[aria-expanded] {
    border-color: #dee2e6;
    border-radius: 0.375rem;
    font-size: 1rem;
    z-index: 20;
}
.choices__input {
    background-color: #fff;
    margin-bottom: 0;
    font-size: 1rem;
    font-family: inherit;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #e9ecef;
}
select.form-select ~ .choices,
select.form-control ~ .choices {
    margin-bottom: 0;
}

/* Навбардағы жалпы dropdown үлгісі — ФИО жанындағы "Дербес кабинет/Жеке деректерім/
   Қызметтер" мәзірі және тіл таңдау мәзірі осы бір ортақ класстарды қолданады. */
.shygu-dropdown {
    position: relative;
}
.shygu-dropdown-toggle {
    cursor: pointer;
    user-select: none;
}
.shygu-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: .5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    min-width: 240px;
    max-width: calc(100vw - 1rem);
    z-index: 1050;
    padding: .25rem 0;
}
.shygu-dropdown-menu.show {
    display: block;
}

/* Admin "Шығу парақтары" бетіндегі әр өтінімнің аккордеон тақырыбы. */
.shygu-accordion-toggle {
    cursor: pointer;
    user-select: none;
}
.shygu-dropdown-menu a,
.shygu-dropdown-menu .shygu-user-menu-toggle-group {
    display: block;
    padding: .5rem 1rem;
    color: #212529;
    text-decoration: none;
    font-size: .9rem;
    cursor: pointer;
}
.shygu-dropdown-menu a:hover,
.shygu-dropdown-menu .shygu-user-menu-toggle-group:hover {
    background: #f1f3f5;
}
.shygu-dropdown-menu a.shygu-user-menu-indent {
    padding-left: 2rem;
    font-size: .85rem;
}
.shygu-dropdown-menu.shygu-lang-menu {
    min-width: 140px;
}
.shygu-dropdown-menu a.shygu-lang-active {
    font-weight: 600;
}
