/* =============================================
   Триггер — плашка, прижатая к левому краю
   ============================================= */

.auth-promo-banner__trigger {
    position: fixed;
    bottom: 24px;
    left: 0;
    z-index: 10002;
    width: 96px;
    padding: 14px 10px;
    box-sizing: border-box;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 4px 16px rgba(255, 102, 0, 0.5);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    animation: auth-promo-pulse 2s ease-in-out infinite;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-promo-banner__trigger:hover {
    transform: scale(1.04);
    box-shadow: 4px 6px 20px rgba(255, 102, 0, 0.7);
}

@keyframes auth-promo-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.85; }
}

/* =============================================
   Панель с содержимым
   ============================================= */

.auth-promo-banner__panel {
    position: fixed;
    bottom: 24px;
    left: 0;
    width: 320px;
    max-width: calc(100vw - 20px);
    max-height: 60vh;
    box-sizing: border-box;
    z-index: 10002;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.18);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.auth-promo-banner__panel.is-open {
    transform: translateX(0);
}

.auth-promo-banner__title {
    margin: 0 0 12px;
    padding-right: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.auth-promo-banner__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.auth-promo-banner__close:hover {
    color: #666;
}

.auth-promo-banner__image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.auth-promo-banner__text,
.auth-promo-banner__html {
    margin: 0;
}
