/* Стили для фильтров */
.filter-container {
    background: #1a1320;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-input {
    padding: 8px 12px;
    border-radius: 4px;
    background: #211927;
    color: white;
    border: 1px solid #3d3542;
    min-width: 200px;
    flex: 1;
}

.search-input {
    max-width: 250px;
}

.filter-select {
    padding: 8px;
    border-radius: 4px;
    background: #211927;
    color: white;
    border: 1px solid #3d3542;
    min-width: 140px;
}

.reset-btn {
    margin-left: auto;
}

.filter-info {
    margin-top: 10px;
    font-size: 12px;
    color: #888;
    min-height: 20px;
}

.filter-stats {
    display: none;
    background: #1a1320;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}

.stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-input,
    .filter-select {
        width: 100%;
        min-width: auto;
        max-width: none;
    }
    
    .search-input {
        max-width: none;
    }
    
    .reset-btn {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-start;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .table-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .table-actions .btn {
        width: 100%;
    }
}
</style>
             <style>
.hash-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hash-container a {
    color: #007bff;
    text-decoration: none;
    font-family: monospace;
    transition: color 0.2s;
    padding: 2px 5px;
    border-radius: 3px;
}

.hash-container a:hover {
    color: #0056b3;
    background-color: rgba(0, 123, 255, 0.1);
    text-decoration: underline;
}

.hash-container span {
    font-family: monospace;
    padding: 2px 5px;
    border-radius: 3px;
    background-color: #5169b4;
    border: 1px solid #dee2e6;
}

.copy-hash-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

.copy-hash-btn:hover {
    background-color: rgba(108, 117, 125, 0.1);
    color: #495057;
    transform: scale(1.1);
}

.copy-hash-btn:active {
    transform: scale(0.95);
}

/* Стиль для успешного копирования */
.copy-hash-btn.copied {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



/* Добавьте в ваш CSS файл */
.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.file-input {
    display: none;
}

.file-name {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-preview-container {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    text-align: center;
}

.preview-error {
    padding: 10px;
    border-radius: 4px;
    background-color: #ffe6e6;
    color: #dc3545;
    font-size: 14px;
}


/* Базовые стили для компактных навигационных кнопок */
.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    min-height: 70px;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Компактные размеры для разных экранов */
@media (max-width: 480px) {
    .nav-btn {
        min-height: 65px;
        padding: 10px 6px;
        border-radius: 8px;
    }
}

@media (max-width: 360px) {
    .nav-btn {
        min-height: 60px;
        padding: 8px 4px;
        border-radius: 6px;
    }
}

/* Стили для иконок (уменьшенные) */
.nav-btn i {
    font-size: 18px;
    margin-bottom: 6px;
    color: #007bff;
    transition: all 0.2s ease;
    z-index: 1;
}

/* Стили для текста (уменьшенные) */
.nav-btn span {
    font-size: 11px;
    color: #2d3436;
    font-weight: 500;
    line-height: 1.2;
    z-index: 1;
    letter-spacing: -0.1px;
    max-width: 100%;
    word-wrap: break-word;
    padding: 0 2px;
}

/* Адаптивный размер текста для компактных кнопок */
@media (max-width: 480px) {
    .nav-btn span {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .nav-btn span {
        font-size: 9px;
    }
}

/* Эффект при нажатии (для мобильных устройств) */
.nav-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

/* Состояние при наведении (для устройств с поддержкой hover) */
@media (hover: hover) {
    .nav-btn:hover {
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
        border-color: #007bff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
    }
    
    .nav-btn:hover i {
        transform: scale(1.05);
    }
}

/* Стили для активного состояния */
.nav-btn.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
}

.nav-btn.active i {
    color: white;
}

.nav-btn.active span {
    color: white;
}

/* Стили для групп кнопок (более плотная сетка) */
.nav-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 8px;
    padding: 12px;
}

/* Адаптивная сетка для очень маленьких экранов */
@media (max-width: 480px) {
    .nav-buttons-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 кнопки в ряд на телефонах */
        gap: 6px;
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .nav-buttons-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 кнопки в ряд на очень маленьких экранах */
        gap: 5px;
        padding: 8px;
    }
}

/* Стили для фонового эффекта (облегченный вариант) */
.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.02);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-btn:hover::before {
    opacity: 1;
}

/* Компактная анимация загрузки */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-btn {
    animation: fadeInUp 0.3s ease forwards;
}

/* Вариант для ultra-компактных кнопок (если нужно совсем маленькие) */
.nav-btn.compact {
    min-height: 55px;
    padding: 6px 4px;
    border-radius: 6px;
}

.nav-btn.compact i {
    font-size: 16px;
    margin-bottom: 4px;
}

.nav-btn.compact span {
    font-size: 9px;
    font-weight: 400;
}

/* Дополнительный класс для квадратных кнопок (опционально) */
.nav-btn.square {
    aspect-ratio: 1/1;
    min-height: auto;
    height: 70px;
    width: 70px;
}

@media (max-width: 480px) {
    .nav-btn.square {
        height: 60px;
        width: 60px;
    }
}

/* Класс для кнопок без текста (только иконка) */
.nav-btn.icon-only {
    min-height: 55px;
    padding: 10px;
}

.nav-btn.icon-only i {
    margin-bottom: 0;
    font-size: 20px;
}

/* Убираем текст для icon-only кнопок */
.nav-btn.icon-only span {
    display: none;
}