/* Select & Apply: card buttons + the sticky selection bar (brand: blue #053cae, gold #f1b917) */

/* select toggle sits next to Apply Now / details in a card's action row */
.uni-card-v2__btn-select {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #053cae;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background .15s, border-color .15s, transform .15s;
    -webkit-tap-highlight-color: transparent;
}
.uni-card-v2__btn-select:hover { background: #e8efff; border-color: #053cae; }
.uni-card-v2__btn-select.is-on { background: #053cae; border-color: #053cae; color: #fff; }
.uni-card-v2.is-selected, .university-card.is-selected { outline: 2.5px solid #053cae; outline-offset: -2px; }

/* primary Apply Now: unmistakable, gold accent on brand blue */
.uni-card-v2__btn-apply, .js-apply-now.uni-card-v2__btn-apply {
    min-height: 48px;
    letter-spacing: .01em;
    white-space: nowrap;
}
.uni-card-v2__btn-apply i { font-size: .8em; transition: transform .2s; }
.uni-card-v2__btn-apply:hover i { transform: translateX(3px); }

/* sticky selection bar. Sits ABOVE the mobile bottom nav (which is ~64px tall) */
.w2-applybar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 78px);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 10px 16px;
    background: #ffffff;
    border: 1px solid #dbe4f5;
    border-radius: 16px;
    box-shadow: 0 16px 40px -10px rgba(5, 60, 174, .35);
    font-family: Inter, system-ui, sans-serif;
    animation: w2BarIn .25s cubic-bezier(.16, 1, .3, 1);
}
.w2-applybar[hidden] { display: none; }
@keyframes w2BarIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.w2-applybar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.w2-applybar__text strong { font-size: .95rem; color: #0f172a; }
.w2-applybar__text span { font-size: .78rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w2-applybar__clear { border: 0; background: none; color: #64748b; font: 600 .85rem Inter, system-ui, sans-serif; padding: 10px 8px; min-height: 44px; cursor: pointer; }
.w2-applybar__go { border: 0; border-radius: 12px; background: #f1b917; color: #1e2a44; font: 800 .95rem Inter, system-ui, sans-serif; padding: 0 18px; min-height: 46px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.w2-applybar__go:hover { background: #ffc832; }
@media (min-width: 768px) {
    .w2-applybar { left: auto; right: 24px; bottom: 24px; width: 440px; }
}
@media (max-width: 360px) {
    .w2-applybar { left: 8px; right: 8px; padding-left: 12px; }
    .w2-applybar__clear { display: none; }
}

/* Floating call / WhatsApp buttons must never cover the selection bar: lift them above it */
body.w2-has-applybar .floating-contact-widgets { bottom: calc(env(safe-area-inset-bottom, 0px) + 160px); }
@media (min-width: 768px) {
    body.w2-has-applybar .floating-contact-widgets { bottom: 110px; }
}
