/**
 * @author      Luděk Nezmar
 * @copyright   2018-2026 ACRESIA Consulting s.r.o.
 * @license     Proprietary – použití podléhá licenčnímu ujednání
 *
 * Floating "resume wizard" pill — bottom-right of the viewport, hidden by
 * default; the JS adds `.awr-visible` when localStorage has an active entry.
 */

.awr-pill {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 9990;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
    font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
    max-width: 360px;
}

.awr-pill.awr-visible {
    display: inline-flex;
}

.awr-pill:hover,
.awr-pill:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 71, 161, 0.45), 0 2px 4px rgba(0, 0, 0, 0.25);
}

.awr-pill__icon {
    font-size: 18px;
    line-height: 1;
}

.awr-pill__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.awr-pill__step {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}

.awr-pill__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}

.awr-pill__close:hover,
.awr-pill__close:focus {
    background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 575.98px) {
    .awr-pill {
        right: 12px;
        bottom: 76px;
        max-width: calc(100vw - 24px);
        padding: 9px 12px;
        font-size: 13px;
    }
}
