/* PHỞ in USA — one global Back control for every frontend child page. */
body.pho-frontend .pho-global-back {
    box-sizing: border-box;
    width: 100%;
    padding-inline: clamp(16px, 3.6vw, 24px);
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 4;
}
body.pho-frontend .pho-global-back--top {
    padding-top: 14px;
    padding-bottom: 8px;
}
body.pho-frontend .pho-global-back--bottom {
    padding-top: 14px;
    padding-bottom: 24px;
}
body.pho-frontend .pho-global-back__button {
    box-sizing: border-box;
    width: auto;
    min-width: 108px;
    min-height: 40px;
    padding: 0 17px 0 13px;
    border: 1px solid rgba(226,198,140,.90);
    border-radius: 999px;
    background-color: #063b2a;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.12)),
        url('/assets/images/ui/pho-button-fabric.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 100% 100%, 100% 100%;
    color: #e7ca86 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: 14px;
    line-height: 1;
    font-weight: 850;
    text-decoration: none !important;
    letter-spacing: .01em;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.11),
        inset 0 -1px 0 rgba(0,0,0,.28),
        0 0 0 1px rgba(215,184,117,.08),
        0 4px 13px rgba(0,0,0,.34),
        0 0 12px rgba(215,184,117,.07);
    -webkit-tap-highlight-color: transparent;
}
body.pho-frontend .pho-global-back__button:hover {
    filter: brightness(1.07);
    color: #f0d797 !important;
}
body.pho-frontend .pho-global-back__button:active {
    transform: translateY(1px);
    filter: brightness(.95);
}
body.pho-frontend .pho-global-back__button:focus-visible {
    outline: 2px solid rgba(240,215,151,.88);
    outline-offset: 3px;
}
body.pho-frontend .pho-global-back__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Retire the page-specific legacy back links so every page uses the exact
   same top + bottom component instead of mixing pink/gold/text-only links. */
body.pho-frontend .pho-account__back,
body.pho-frontend .pho-application__back,
body.pho-frontend .pho-public-profile__back {
    display: none !important;
}

@media (max-width: 430px) {
    body.pho-frontend .pho-global-back {
        padding-inline: 14px;
    }
    body.pho-frontend .pho-global-back--top {
        padding-top: 12px;
        padding-bottom: 7px;
    }
    body.pho-frontend .pho-global-back--bottom {
        padding-top: 12px;
        padding-bottom: 20px;
    }
    body.pho-frontend .pho-global-back__button {
        min-width: 104px;
        min-height: 39px;
        padding-inline: 12px 16px;
        font-size: 13.5px;
    }
}
