/* Top bar on every page except home (_Layout .appHeader): white instead of the old red
   title header - back arrow on one side, the user's points and tickets on the other.
   Stays 40px and fixed like the old .pages-header, so the pages' top spacing is unchanged. */
.pages-header.appHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid #EEF0F3;
    color: #1F2937;
}

    .pages-header.appHeader.hide {
        display: none;
    }

.appHeaderRtl {
    direction: rtl;
}

.appHeader .appHeaderBack {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start; /* arrow hugs the start edge, not centred in its 32px tap area */
    width: 32px;
    height: 32px;
    color: #1F2937;
    margin-inline-start: -6px; /* pulls the arrow further left (right in RTL) than the bar's 12px padding */
    cursor: pointer;
}

.appHeaderRtl .appHeaderBack svg {
    transform: scaleX(-1);
}

.appHeader .appHeaderStats {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.appHeader .appStat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #E5E7EB; /* neutral grey, same as the home tickets / points pills */
    border-radius: 14px;
    background: transparent; /* the header shows through, like the home tickets / points pills */
    color: #1F2937;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

    .appHeader .appStat:hover,
    .appHeader .appStat:focus {
        color: #1F2937;
        text-decoration: none;
    }

.appHeader .appStatIcon {
    display: inline-flex;
}

    .appHeader .appStatIcon svg,
    .appHeader .appStatIcon img {
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

.appHeader .appStatValue {
    font-family: "IRANYekanExtraBoldRd", "IRANYekanBoldRd";
}

.appHeader .appStatLabel {
    color: #6C727F;
    font-size: 12px;
}
