/* Минимальные специфичные стили для страницы DID-номеров */

/* Стили для страницы DID-номеров с акцентом на детали и пропорции */

/* Общие улучшения для фильтров */
.filters {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0;
}

.filter-btn {
    transition: all 0.25s ease;
    border-radius: 6px;
}

.filter-btn:hover {
    transform: translateY(-1px);
}

.filter-btn.active {
    font-weight: 600;
}

#countrySearch {
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 6px;
}

/* Улучшения для таблицы */
.table-container {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 10px 0 0 0;
    overflow-x: auto; /* Добавляем горизонтальную прокрутку для широкой таблицы */
}

.pricing-table {
    border-radius: 10px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 900px; /* Минимальная ширина для нормального отображения всех столбцов */
}

/* Исправление шапки таблицы - убираем position:sticky */
.pricing-table thead {
    background: linear-gradient(90deg, #2f2668, #382f80);
    position: static; /* Убираем прилипание */
}

.pricing-table thead th {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 8px;
    color: white;
    font-size: 0.9em;
    white-space: nowrap;
}

/* Стили для первой строки таблицы */
.pricing-table tbody tr:first-child td {
    padding-top: 15px; /* Увеличиваем отступ сверху первой строки */
}

.pricing-table tbody tr {
    transition: all 0.2s ease;
}

.pricing-table tbody tr:hover {
    background-color: #f0f0f5 !important;
    transform: translateX(3px);
}

/* Стили для колонок в таблице */
.pricing-table td {
    padding: 10px 8px;
    vertical-align: middle;
    line-height: 1.3;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
}

/* Первая колонка - Страна */
.pricing-table td:first-child {
    color: #2e2570;
    font-weight: 500;
}

/* Вторая колонка - Тип */
.pricing-table td:nth-child(2) {
    text-align: center;
    font-weight: 500;
}

/* Ценовые колонки */
.pricing-table td:nth-child(3),
.pricing-table td:nth-child(4),
.pricing-table td:nth-child(5),
.pricing-table td:nth-child(6),
.pricing-table td:nth-child(7) {
    text-align: center;
    white-space: nowrap;
}

/* Чередование строк для улучшения читаемости */
.pricing-table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.7);
}

/* Специальные стили для пустых данных */
.pricing-table td:empty:after {
    content: "—";
    color: #ccc;
}

/* Адаптивность для мобильной версии */
@media (max-width: 768px) {
    .pricing-table {
        min-width: 700px; /* Меньшая минимальная ширина для мобильных */
    }
    
    .pricing-table th,
    .pricing-table td {
        font-size: 0.85em;
        padding: 8px 6px;
    }
    
    .pricing-table thead th {
        font-size: 0.8em;
    }
    
    .pricing-table tbody tr:hover {
        transform: translateX(2px);
    }
} 