/* ============================================
   СТИЛИ ДЛЯ АНИМАЦИЙ СТАВОК И КОНФЕТТИ
   Автор: DeepSeek | Версия: 1.0
   ============================================ */


/* ===== УЛУЧШЕННЫЕ СООБЩЕНИЯ ===== */
.bid-message--success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.1)) !important;
    border: 2px solid rgba(76, 175, 80, 0.4) !important;
    color: #4caf50 !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2) !important;
    animation: messagePop 0.5s ease !important;
}

.bid-message--error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.1)) !important;
    border: 2px solid rgba(244, 67, 54, 0.4) !important;
    color: #f44336 !important;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.2) !important;
    animation: messageShake 0.5s ease !important;
}

@keyframes messagePop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes messageShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ===== ИКОНКИ ДЛЯ КНОПОК КАТЕГОРИЙ ===== */
.lot-category-btn {
    position: relative;
    padding-left: 45px !important;
    text-align: left;
}

.lot-category-btn::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.category-high-art::before { content: "🎨"; }
.category-folk-art::before { content: "👨‍🎨"; }
.category-souvenirs::before { content: "🎁"; }
.category-books::before { content: "📚"; }
.category-other::before { content: "🔮"; }

/* ===== УПОРЯДОЧЕННЫЕ КНОПКИ КАТЕГОРИЙ ===== */
.lot-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(17, 12, 6, 0.9);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 128, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.lot-category-btn {
    padding: 12px 20px 12px 45px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 128, 0.4);
    background: linear-gradient(135deg, rgba(30, 22, 12, 0.9), rgba(17, 12, 6, 0.9));
    color: #f6f2e9;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.lot-category-btn:hover {
    background: linear-gradient(135deg, rgba(50, 37, 20, 0.9), rgba(30, 22, 12, 0.9));
    border-color: rgba(255, 215, 128, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 128, 0.3);
}

.lot-category-btn.active {
    background: linear-gradient(135deg, rgba(255, 215, 128, 0.9), rgba(230, 190, 100, 0.9));
    border-color: #ffd780;
    color: #000;
    font-weight: 600;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 215, 128, 0.6);
}

/* ===== КНОПКИ СТАТУСОВ ===== */
.lot-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(17, 12, 6, 0.7);
    border-radius: 12px;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.lot-filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(129, 199, 245, 0.4);
    background: rgba(8, 5, 3, 0.9);
    color: #81c7f5;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.lot-filter-btn:hover {
    background: rgba(129, 199, 245, 0.15);
    border-color: rgba(129, 199, 245, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(129, 199, 245, 0.3);
}

.lot-filter-btn.active {
    background: rgba(129, 199, 245, 0.25);
    border-color: #81c7f5;
    color: #fff;
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(129, 199, 245, 0.5);
}

/* ===== ФИКСИРОВАННЫЕ СКРОЛЛЫ ===== */
.lot-card__description-container,
.lot-card__sale-terms {
    max-height: 120px;
    border: 1px solid rgba(255, 215, 128, 0.25) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.2) !important;
    margin: 10px 0 !important;
}


