﻿/* Основной контейнер футера */
.page-footer-deluxe {
    background: rgba(30, 33, 37, 0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-stats-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Стили виджета */
.stat-widget {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

    /* Разные цвета для разных типов итогов */
    .stat-icon-wrapper.accrued {
        background: rgba(245, 222, 179, 0.1); /* Wheat color */
        color: wheat;
        box-shadow: 0 0 15px rgba(245, 222, 179, 0.1);
    }

    .stat-icon-wrapper.payments {
        background: rgba(13, 110, 253, 0.1);
        color: #0d6efd;
        box-shadow: 0 0 15px rgba(13, 110, 253, 0.1);
    }

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace; /* Твой любимый стиль */
}

.currency {
    font-size: 0.8rem;
    opacity: 0.5;
    font-weight: 400;
    margin-left: 4px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}










/* Всплывающее окно */
.deluxe-popover {
    position: absolute;
    bottom: calc(100% + 10px); /* Над кнопкой с отступом */
    left: 0;
    width: 380px;
    max-height: 500px;
    background: rgba(30, 33, 37, 0.95);
    backdrop-filter: blur(10px); /* Эффект матового стекла */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popover-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    font-weight: bold;
    color: #0d6efd;
    text-transform: uppercase;
}

.popover-body {
    overflow-y: auto;
    padding: 8px;
}

/* Элемент клиента в списке */
.client-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ced4da;
    margin-bottom: 2px;
}

    .client-item:hover {
        background: rgba(13, 110, 253, 0.1);
        color: #fff;
    }

.client-avatar {
    width: 28px;
    height: 28px;
    background: #3d444b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 12px;
}

/* Кнопка в футере */
.btn-deluxe-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .btn-deluxe-outline:hover {
        background: rgba(13, 110, 253, 0.1);
        border-color: #0d6efd;
        color: #fff;
    }

/* Анимация появления */
.fade-in-up {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

