/* ============================================
   LOT MANAGER - Стили для управления компонентами
   ============================================ */

/* Контейнер для компонентов */
.lot-components-container {
    margin: 30px 0;
}

/* Фильтры/табы для сортировки лотов */
.lot-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(17, 12, 6, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 128, 0.2);
}

.lot-filter-btn {
    padding: 10px 25px;
    background: rgba(255, 215, 128, 0.1);
    border: 1px solid rgba(255, 215, 128, 0.3);
    color: #ffd780;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.lot-filter-btn:hover {
    background: rgba(255, 215, 128, 0.2);
    transform: translateY(-2px);
}

.lot-filter-btn.active {
    background: rgba(255, 215, 128, 0.3);
    border-color: #ffd780;
    box-shadow: 0 0 15px rgba(255, 215, 128, 0.2);
}

/* Сетка карточек */
.lot-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 10px;
}

/* Заголовки секций */
.lot-section-title {
    color: #ffd780;
    font-size: 24px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 128, 0.3);
}

/* Состояния карточек */
.lot-card--current {
    border-left: 4px solid #4CAF50;
}

.lot-card--finished {
    border-left: 4px solid #9E9E9E;
    opacity: 0.8;
}

.lot-card--sold {
    border-left: 4px solid #2196F3;
}

.lot-card--featured {
    border: 2px solid #FF9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.3);
}

/* Индикатор загрузки */
.lot-components-loading {
    text-align: center;
    padding: 40px;
    color: #ffd780;
    font-size: 16px;
}

.lot-components-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #ffd780;
    border-top-color: transparent;
    border-radius: 50%;
    animation: lot-spin 1s linear infinite;
}

@keyframes lot-spin {
    to { transform: rotate(360deg); }
}

/* Пустое состояние */
.lot-components-empty {
    text-align: center;
    padding: 50px;
    color: rgba(246, 242, 233, 0.6);
    font-size: 16px;
    background: rgba(17, 12, 6, 0.3);
    border-radius: 10px;
    border: 1px dashed rgba(255, 215, 128, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .lot-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .lot-filter-btn {
        padding: 8px 15px;
        min-width: 100px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lot-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .lot-filters {
        flex-wrap: wrap;
        justify-content: center;
    }



    /* Добавьте в конец файла: */

/* Классы для фильтрации */
.lot-card--current {
    border-left: 4px solid #4CAF50;
    animation: pulse-current 2s infinite;
}

@keyframes pulse-current {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.lot-card--finished {
    border-left: 4px solid #9E9E9E;
    opacity: 0.85;
    filter: grayscale(0.3);
}

.lot-card--sold {
    border-left: 4px solid #2196F3;
    position: relative;
}

.lot-card--sold::after {
    content: "ПРОДАНО";
    position: absolute;
    top: 10px;
    right: -30px;
    background: #2196F3;
    color: white;
    padding: 4px 35px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
}

.lot-card--featured {
    border: 2px solid #FF9800;
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.3);
    position: relative;
}

.lot-card--featured::before {
    content: "⭐ ХИТ";
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF9800;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}


}