body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Таблица заявок */
.photo-request-grid .badge {
    font-weight: 500;
}

/* Страница входа */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-box {
    width: 100%;
    max-width: 380px;
}

/* Просмотр фотографий заявки */
.photo-tile {
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    overflow: hidden;
    background: var(--bs-body-bg);
}

.photo-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.photo-tile .photo-caption {
    padding: .4rem .6rem;
    font-size: .85rem;
}

/* Счётчик непроверенных заявок в шапке панели.
   Заметный, но не кричащий: диспетчер должен видеть его боковым зрением. */
.pending-counter {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .7rem;
    border-radius: 1rem;
    font-size: .875rem;
    text-decoration: none;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, .12);
    color: #d7dae0;
}

.pending-counter:hover {
    background-color: rgba(255, 255, 255, .22);
    color: #fff;
    text-decoration: none;
}

/* Пока есть непроверенные заявки — оранжевый, привлекает внимание. */
.pending-counter--active {
    background-color: #fd7e14;
    color: #fff;
    font-weight: 600;
}

.pending-counter--active:hover {
    background-color: #e8590c;
    color: #fff;
}

/* Точка-индикатор слева от текста. */
.pending-counter__dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background-color: currentColor;
    flex: 0 0 auto;
}

/* В свёрнутом меню (узкое окно клиента Infinity) текст мешает — скрываем,
   оставляя только точку и число. */
@media (max-width: 576px) {
    .pending-counter__text {
        display: none;
    }
}

