/* Баллы: страница личного кабинета, карточки тарифов и журнал операций.
   Подключается только со страницы bs5.points.*, поэтому классы с префиксом
   np-points-* (рядом с темой Bootstrap Minty). */

.np-points-balance__value {
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.np-points-tabs {
    margin-top: .5rem;
}

.np-points-tab-content {
    padding-top: 1rem;
}

.np-points-gift-box {
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: .5rem;
    background: rgba(var(--bs-success-rgb), .04);
}

.np-points-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .np-points-packages {
        grid-template-columns: 1fr;
    }
}

.np-points-package {
    height: 100%;
}

.np-points-package--accent {
    border-color: var(--bs-success);
    box-shadow: 0 0 0 1px var(--bs-success) inset;
}

.np-points-package__points {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.np-points-package__days {
    color: var(--bs-secondary-color);
    font-size: .85rem;
    margin: .35rem 0 .75rem;
}

.np-points-package__price {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.np-points-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .75rem 1.25rem;
    margin-bottom: .75rem;
}

.np-points-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.np-points-filter-label {
    color: var(--bs-secondary-color);
    font-size: .85rem;
    margin-right: .15rem;
}

.np-points-period {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.np-points-period .btn {
    white-space: nowrap;
    border-radius: .375rem !important;
}

.np-points-custom-menu {
    min-width: 19rem;
    max-width: calc(100vw - 2rem);
    padding: .75rem;
}

.np-points-custom-dates {
    display: flex;
    gap: .5rem;
    margin-bottom: .5rem;
}

.np-points-custom-dates input {
    min-width: 0;
}

.np-points-date {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
}

.np-points-date > span {
    color: var(--bs-secondary-color);
    font-size: .8rem;
    white-space: nowrap;
}

.np-points-date input[type="date"] {
    min-width: 10.5rem;
}

.np-points-scroll {
    max-height: 30rem;
    overflow: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    background: var(--bs-body-bg);
}

.np-points-table {
    margin: 0;
}

.np-points-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bs-body-bg);
    border-bottom-width: 1px;
    color: var(--bs-secondary-color);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.np-points-table td {
    vertical-align: top;
}

.np-points-table__date {
    color: var(--bs-secondary-color);
    font-size: .8rem;
    white-space: nowrap;
    width: 8.5rem;
}

.np-points-table__type {
    font-weight: 600;
    line-height: 1.25;
}

.np-points-table__source {
    line-height: 1.3;
}

.np-points-table__comment {
    word-break: break-word;
}

.np-points-table__amount {
    font-weight: 700;
    white-space: nowrap;
    width: 6.5rem;
}

.np-points-table__balance {
    white-space: nowrap;
    width: 7rem;
}

.np-points-sentinel {
    padding: 1rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .np-points-table {
        min-width: 38rem;
    }

    .np-points-date input[type="date"] {
        min-width: 9rem;
    }
}

/* Страница тарифов: карточки возможностей и частые вопросы.
   Вопрос в FAQ намеренно темнее и крупнее ответа: Robokassa смотрит
   страницу с ценами, а пользователю важно быстро найти свой вопрос. */

.np-tariffs-feature {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
}

.np-tariffs-feature__icon {
    margin-bottom: .5rem;
    color: var(--bs-success);
    font-size: 1.5rem;
    line-height: 1;
}

.np-tariffs-faq__item + .np-tariffs-faq__item {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--bs-border-color);
}

.np-tariffs-faq__q {
    margin-bottom: .35rem;
    color: var(--bs-body-color);
    font-size: 1.05rem;
    font-weight: 600;
}

.np-tariffs-faq__a {
    margin-bottom: 0;
    color: var(--bs-secondary-color);
}

