/* Shared coupons list layout (EUG + Preview). */

.coupons-page {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

@media (max-width: 767.98px) {
    .coupons-page {
        padding-bottom: 72px;
    }
}

.bottom-filter-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #6c757d;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    min-width: 64px;
    padding: 8px 4px;
    cursor: pointer;
    position: relative;
}

.bottom-filter-btn:hover {
    color: #033A3F;
    background-color: rgba(3, 58, 63, 0.05);
}

.bottom-filter-btn:focus {
    outline: none;
}

.bottom-filter-btn:focus-visible {
    outline: 2px solid #033A3F;
    outline-offset: -2px;
}

.bottom-filter-btn.active {
    color: #033A3F;
    background-color: rgba(3, 58, 63, 0.1);
}

.bottom-filter-btn.active svg {
    color: #033A3F;
}

.bottom-filter-btn.active span {
    font-weight: 600;
}

.bottom-filter-btn svg {
    margin-bottom: 2px;
    color: inherit;
}

.bottom-filter-btn span {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    color: inherit;
}

.bottom-filter-btn:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 1px;
    background-color: #e9ecef;
}

