/* iDEAN sales ticker toast — design-system tokens (DESIGN.md v2.0) */

.fex-ticker {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid #E3E5F0;            /* line-200 hairline */
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(8, 11, 65, 0.10);
    font-family: inherit;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
}

.fex-ticker.fex-ticker-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fex-ticker-avatar {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F2F3FF;                  /* wash-100 */
    color: #273272;                       /* navy-700 */
    border: 1px solid #E3E5F0;
    font-size: 14px;
    font-weight: 700;
    line-height: 32px;
    text-align: center;
    position: relative;
}

/* gold presence dot — the one warm accent */
.fex-ticker-avatar::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FED044;                  /* gold-400 */
    border: 2px solid #FFFFFF;
}

.fex-ticker-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fex-ticker-line1 {
    font-size: 14px;
    line-height: 1.45;
    color: #4A5064;                       /* text-body */
}

.fex-ticker-line1 strong {
    color: #171A26;                       /* text-strong */
    font-weight: 700;
}

.fex-ticker-line2 {
    font-size: 12px;
    color: #7B8095;                       /* text-muted */
}

.fex-ticker-close {
    flex: 0 0 auto;
    align-self: flex-start;
    margin: -4px -6px 0 0;
    padding: 2px 6px;
    background: none;
    border: 0;
    font-size: 14px;
    line-height: 1;
    color: #7B8095;
    cursor: pointer;
}

.fex-ticker-close:hover {
    color: #171A26;
}

@media (max-width: 480px) {
    .fex-ticker {
        left: 12px;
        bottom: 12px;
        padding: 10px 12px;
        gap: 10px;
    }
    .fex-ticker-line1 { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .fex-ticker { transition: opacity .2s ease; transform: none; }
    .fex-ticker.fex-ticker-show { transform: none; }
}
