/*
 * All American Pathway Banner (issue #2076, G4)
 * Static promotional banner styles for the X1 camper dashboard.
 * Namespaced with .aap- to avoid collisions with predash/postdash stylesheets.
 */

.aap-row {
    margin-bottom: 20px;
}

.aap-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    background: #101010;
    border-radius: 18px;
    padding: 22px 28px;
    color: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}

/* --- 2% SELECTED chip --- */
.aap-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    background: #f1531f;
    border-radius: 12px;
    line-height: 1;
    text-align: center;
}

.aap-chip-num {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
}

.aap-chip-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
}

/* --- ELITE PROGRAM / ALL AMERICAN PATHWAY label --- */
.aap-title {
    flex: 0 0 auto;
}

.aap-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #8a8a8a;
    margin-bottom: 6px;
}

.aap-title-main {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
}

/* --- vertical divider --- */
.aap-divider {
    flex: 0 0 auto;
    align-self: stretch;
    width: 1px;
    background: #333333;
    margin: 4px 0;
}

/* --- steps --- */
.aap-steps {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 0;
}

.aap-step {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.aap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #3a3a3a;
    color: #bdbdbd;
    font-size: 18px;
    margin-bottom: 10px;
}

.aap-icon--active {
    background: #f1531f;
    color: #ffffff;
}

.aap-step-label {
    font-size: 13px;
    font-weight: 700;
    color: #c9c9c9;
    line-height: 1.25;
}

.aap-step--active .aap-step-label {
    color: #f1531f;
}

.aap-step-sub {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #7d7d7d;
    line-height: 1.2;
}

/* --- dotted orange arrow connector --- */
.aap-connector {
    flex: 1 1 40px;
    min-width: 24px;
    height: 2px;
    position: relative;
    margin-top: 21px;
    background-image: linear-gradient(to right, #f1531f 0 6px, transparent 6px 12px);
    background-size: 12px 2px;
    background-repeat: repeat-x;
}

.aap-connector::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #f1531f;
}

/* --- outlined-orange Learn More button ---
   flex-basis: 100% always starts a new flex line, so the button sits
   below the timeline instead of competing with it for row space and
   crushing .aap-steps down to an overflowing sliver (issue #603). */
.aap-learn-more {
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 2px solid #f1531f;
    border-radius: 999px;
    color: #f1531f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.aap-learn-more:hover,
.aap-learn-more:focus {
    background: #f1531f;
    color: #ffffff;
    text-decoration: none;
}

/* --- responsive: stack the header, let steps scroll on narrow screens --- */
@media (max-width: 991px) {
    .aap-banner {
        flex-wrap: wrap;
        gap: 20px;
    }

    .aap-divider {
        display: none;
    }

    .aap-steps {
        flex: 1 1 100%;
        overflow-x: auto;
        gap: 8px;
    }

    .aap-step {
        flex: 0 0 auto;
    }
}
