﻿.page-footer {
    position: fixed;
    bottom: 0;
    width: stretch;
    height: 60px;
    z-index: 1050; /* Стандарт для фиксированных элементов */
    background-color: rgba(33, 37, 41, 0.9); /* Полупрозрачность */
    backdrop-filter: blur(10px); /* Эффект матового стекла */
    color: #f8f9fa;

    display: flex;
    justify-content: space-between; /* Распределяем статистику и заказ по краям */
    align-items: center;
    /* Отступы и скругление */
    padding: 0 2rem;
    margin-bottom: 0px; /* Отступ от нижнего края экрана */
    border-radius: 12px 12px 0 0; /* Скругляем только верхние углы */
    /* Границы и тени */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    text-shadow: none;
    transition: all 0.3s ease;
}

    /* Добавим легкий градиент на верхнюю границу */
    .page-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(13, 202, 240, 0.3), transparent);
    }

.info-badge {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid #607D8B;
    transition: all 0.2s ease;
}

    .info-badge:hover {
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

.icon-accent {
    color: #d4a373; /* Более благородный оттенок вместо wheat */
    margin-right: 8px;
    font-size: 1.1rem;
}




/* Обертка для уведомления */
.notification-pill {
    background: rgba(255, 193, 7, 0.08); /* Очень легкий желтый фон */
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 4px 16px;
    border-radius: 50px;
    width: 100%;
    max-width: 800px; /* Ограничиваем ширину, чтобы не растягивалось на весь экран */
}

/* Иконка и заголовок */
.badge-warning-icon {
    color: #FFC107;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Контейнер для бегущей строки */
.ticker-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Анимация пульсации для иконки */
.fade-in-out {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.6;
    }
}

/* Если нужен эффект плавного появления текста */
.ticker-text {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(10px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.vr {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.5);
}

/* Анимация появления снизу вверх */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Пульсация для суммы */
@keyframes softPulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(13, 202, 240, 0));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(13, 202, 240, 0.4));
    }

    100% {
        filter: drop-shadow(0 0 2px rgba(13, 202, 240, 0));
    }
}

.stat-card {
    animation: slideUp 0.4s ease-out both;
}

/* Задержки, чтобы блоки вылетали по очереди */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.total-pulse {
    animation: softPulse 3s infinite ease-in-out;
}

.label-text {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
}


@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-animation {
    animation: pulse-ring 2s infinite ease-in-out;
}












/* Точка-индикатор статуса */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #198754;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(25, 135, 84, 0.4);
    animation: pulse-dot-key 2s infinite;
}

@keyframes pulse-dot-key {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(25, 135, 84, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}
