/**
 * Guest account CTA — gold + blue shimmer on ::before only; copy stays solid dark (readable wash behind).
 */

.home-guest-account-banner[hidden] {
    display: none !important;
}

.home-guest-account-banner {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f6f1ea 0%, #e8ecf6 50%, #f6f1ea 100%);
    border-top: 1px solid rgba(196, 155, 97, 0.35);
    box-shadow: inset 0 1px 0 rgba(30, 58, 138, 0.06);
}

/* Gold + blue sweep — lightens the bar behind the text; does not recolor the glyphs */
.home-guest-account-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        100deg,
        transparent 0%,
        transparent 18%,
        rgba(196, 155, 97, 0.32) 32%,
        rgba(229, 196, 138, 0.5) 38%,
        rgba(240, 180, 41, 0.36) 42%,
        rgba(30, 58, 138, 0.34) 48%,
        rgba(59, 130, 246, 0.55) 52%,
        rgba(30, 58, 138, 0.32) 56%,
        rgba(196, 155, 97, 0.34) 62%,
        rgba(229, 196, 138, 0.28) 68%,
        transparent 82%,
        transparent 100%
    );
    background-size: 220% 100%;
    background-position: 120% 0;
    animation: guest-banner-shimmer 7s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes guest-banner-shimmer {
    from {
        background-position: 120% 0;
        opacity: 0.7;
    }
    to {
        background-position: -120% 0;
        opacity: 0.95;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-guest-account-banner::before {
        animation: none;
        opacity: 0;
    }
}

.home-guest-account-banner__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 9px 18px;
    box-sizing: border-box;
}

.home-guest-account-banner__line {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 14px;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 500;
    text-align: center;
}

@media (min-width: 900px) {
    .home-guest-account-banner__line {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

.home-guest-account-banner__text {
    display: inline;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

.home-guest-account-banner__actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.home-guest-account-banner a.home-guest-account-banner__link {
    display: inline;
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 58, 138, 0.45);
    transition: color 0.15s ease, border-color 0.15s ease;
    -webkit-font-smoothing: antialiased;
}

.home-guest-account-banner a.home-guest-account-banner__link:hover {
    color: #172554;
    border-bottom-color: rgba(23, 37, 84, 0.85);
}

.home-guest-account-banner__dot {
    color: rgba(15, 23, 42, 0.4);
    user-select: none;
}

.mag-view-hero-banner.home-guest-account-banner,
.sp-page-guest-banner.home-guest-account-banner {
    margin-top: 0;
    margin-bottom: 0;
    border-top: none;
}
