/* dark-theme.css */

/* Базовые стили */
html.dark-theme body {
    background-color: #1a1a1a; 
    color: #e0e0e0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html.dark-theme .main-container.container {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

/* Заголовок h1 */
html.dark-theme h1 {
    color: #e0e0e0;
}

/* Убираем underline у всех ссылок по умолчанию и при наведении */
html.dark-theme a,
html.dark-theme .country-link,
html.dark-theme .state-link,
html.dark-theme .genre-link,
html.dark-theme .station-link,
html.dark-theme .bitrate-link {
    text-decoration: none;
}

/* Навбар */
html.dark-theme .custom-navbar {
    background-color: #222222; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

html.dark-theme .navbar-brand, 
html.dark-theme .nav-link {
    color: #e0e0e0;
}

html.dark-theme .nav-link:hover {
    color: #e0e0e0; 
}

html.dark-theme .favorite-link {
    background-color: #b02a37; 
    color: #ffffff;
}

html.dark-theme .favorite-link:hover {
    background-color: #8c1d28;
    color: #ffffff;
}

html.dark-theme .hamburger .bar {
    background-color: #e0e0e0; 
}

/* Stats-item в stats-container */
html.dark-theme .stats-container {
    background-color: #333333; 
    border: 1px solid #444444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}

html.dark-theme .stats-item {
    color: #e0e0e0; 
}

html.dark-theme .stats-item strong {
    color: #e0e0e0; 
}

html.dark-theme .stats-link {
    color: #e0e0e0; 
    text-decoration: none; 
}

html.dark-theme .stats-link:hover {
    color: #ffffff; 
    text-decoration: none;
}

/* Filter-card */
html.dark-theme .filter-card {
    background-color: #333333;
    border: 1px solid #444444; 
    color: #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

html.dark-theme .filter-label {
    color: #e0e0e0; 
}

html.dark-theme .scrollable-checkbox .form-check-label {
    color: #e0e0e0; 
}

html.dark-theme .scrollable-checkbox .form-check-input {
    background-color: #444444; 
    border-color: #555555;
}

html.dark-theme .scrollable-checkbox .form-check-input:checked {
    background-color: #1f7a33;
    border-color: #1f7a33;
}

html.dark-theme .btn-primary,
html.dark-theme #filter-submit,
html.dark-theme #filter-submit-top,
html.dark-theme .toggle-filters-btn {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #ffffff;
}

html.dark-theme .btn-primary:hover,
html.dark-theme #filter-submit:hover,
html.dark-theme #filter-submit-top:hover,
html.dark-theme .toggle-filters-btn:hover {
    background-color: #004d99; 
    border-color: #004d99;
}

html.dark-theme .btn-outline-secondary,
html.dark-theme #filter-reset,
html.dark-theme #filter-reset-top {
    background-color: #444444; 
    border-color: #555555;
    color: #e0e0e0;
}

html.dark-theme .btn-outline-secondary:hover,
html.dark-theme #filter-reset:hover,
html.dark-theme #filter-reset-top:hover {
    background-color: #555555; 
    color: #ffffff;
}

/* Scrollable-checkbox в фильтрах */
html.dark-theme .scrollable-checkbox {
	height: 200px;
    background-color: #333333;
    border: 1px solid #444444; 
    padding: 10px;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto; 
}

html.dark-theme .scrollable-checkbox .form-check {
    margin-bottom: 8px; 
}

html.dark-theme .scrollable-checkbox .form-check-input {
    background-color: #444444; 
    border-color: #555555; 
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

html.dark-theme .scrollable-checkbox .form-check-input:checked {
    background-color: #1f7a33; 
    border-color: #1f7a33;
}

html.dark-theme .scrollable-checkbox .form-check-input:hover:not(:checked) {
    background-color: #555555; 
}

html.dark-theme .scrollable-checkbox .form-check-label {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

html.dark-theme .scrollable-checkbox .form-check-label:hover {
    color: #ffffff;
}

/* Флаги в фильтрах стран */
html.dark-theme .scrollable-checkbox .flag-icon {
    border: 1px solid #555555; 
    border-radius: 2px; 
}

/* Подсветка активных элементов */
html.dark-theme .scrollable-checkbox .form-check-input:checked + .form-check-label {
    color: #ffffff;
}

/* Хлебные крошки */
html.dark-theme .breadcrumbs {
    background-color: #333333;
    border: 1px solid #444444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

html.dark-theme .breadcrumb-item {
    color: #a0a0a0;
}

html.dark-theme .breadcrumb-item a {
    color: #e0e0e0;
    text-decoration: none; 
}

html.dark-theme .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: none;
}

html.dark-theme .breadcrumb-item.active {
    color: #e0e0e0; 
}

html.dark-theme .breadcrumb-item + .breadcrumb-item::before {
    color: #a0a0a0;
}

/* Поиск */
html.dark-theme .search-container .btn-outline-secondary {
    background-color: #444444;
    border-color: #555555;
    color: #e0e0e0;
}

html.dark-theme .search-container .btn-outline-secondary:hover {
    background-color: #555555;
    color: #ffffff;
}

html.dark-theme #search-input {
    background-color: #333333;
    border: 1px solid #444444;
    color: #e0e0e0;
}

html.dark-theme #search-input::placeholder {
    color: #a0a0a0;
}

html.dark-theme #search-results {
    background-color: #333333;
    border: 1px solid #555555;
    color: #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

html.dark-theme #search-results .list-group-item {
    border-bottom: 1px solid #444444;
    color: #e0e0e0;
    background-color: #333333;
}

html.dark-theme #search-results .list-group-item:hover {
    background-color: #444444;
}

html.dark-theme #search-results .no-logo {
    background-color: #555555;
    color: #a0a0a0;
}

html.dark-theme #search-input:focus {
    border-color: #555555;
    box-shadow: 0 0 8px rgba(31, 122, 51, 0.3);
    background-color: #444444;
}

/* Карточка станции */
html.dark-theme .station-card {
    background-color: #333333; 
    border: 1px solid #444444;
    color: #e0e0e0;
}

html.dark-theme .station-info h1 {
    color: #e0e0e0;
}

html.dark-theme .station-logo,
html.dark-theme .no-logo {
    border: 1px solid #555555; 
}

html.dark-theme .no-logo {
    background-color: #555555;
    color: #a0a0a0;
}

html.dark-theme .country-link,
html.dark-theme .state-link {
    color: #e0e0e0; 
}

html.dark-theme .country-link:hover,
html.dark-theme .state-link:hover,
html.dark-theme .station-link:hover,
html.dark-theme .bitrate-link:hover {
    text-decoration: none; 
    color: #ffffff;
}

html.dark-theme .genre-link {
    background-color: #444444;
    color: #e0e0e0;
}

html.dark-theme .genre-link:hover {
    text-decoration: none;
    background-color: #555555;
    color: #e0e0e0;
}

/* Элементы управления */
html.dark-theme .bitrate-badge {
    background-color: #555555;
    color: #ffffff;
}

html.dark-theme .bitrate-badge:hover {
    background-color: #666666;
}

html.dark-theme .btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

html.dark-theme .btn-primary:hover {
    background-color: #004d99;
}

html.dark-theme .btn-success {
    background-color: #1f7a33;
    border-color: #1f7a33;
}

html.dark-theme .btn-success:hover {
    background-color: #145c24;
}

/* Кнопка "Добавить в избранное" */
html.dark-theme .favorite-btn {
    background-color: #a0a0a0; 
    color: #333333;
}

html.dark-theme .favorite-btn::before {
    color: #333333;
}

html.dark-theme .favorite-btn.added {
    background-color: #a0a0a0; 
    color: #333333;
}

html.dark-theme .favorite-btn.added::before {
    color: #333333;
}

html.dark-theme .favorite-btn:hover {
    background-color: #777777;
    color: #333333;
}

html.dark-theme .favorite-btn.added:hover {
    background-color: #cccccc;
    color: #333333;
}

html.dark-theme .play-button {
    background: linear-gradient(135deg, #1f7a33, #145c24);
}

html.dark-theme .play-button:hover {
    background: linear-gradient(135deg, #145c24, #1f7a33);
}

html.dark-theme .play-button.playing {
    background: linear-gradient(135deg, #b02a37, #8c1d28);
}

html.dark-theme .play-button.loading::before {
    background: linear-gradient(135deg, #1f7a33, #145c24) border-box;
}

html.dark-theme .volume-slider {
    background: #a0a0a0;
}

html.dark-theme .volume-slider:hover {
    background: #b0b0b0;
}

html.dark-theme .volume-slider::-webkit-slider-thumb {
    background: #1f7a33;
}

html.dark-theme .volume-slider::-webkit-slider-thumb:hover {
    background: #145c24;
}

html.dark-theme .volume-slider::-moz-range-thumb {
    background: #1f7a33;
}

html.dark-theme .volume-slider::-moz-range-thumb:hover {
    background: #145c24;
}

html.dark-theme .mute-button {
    color: #a0a0a0;
}

html.dark-theme .mute-button:hover {
    color: #e0e0e0;
}

/* Рейтинг */
html.dark-theme .rating-stars {
    color: #e0e0e0;
}

html.dark-theme .rating-text {
    color: #a0a0a0;
}

/* Now Playing */
html.dark-theme .now-playing .card {
    background-color: #3a3a3a;
    border: 1px solid #444444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
}

html.dark-theme .now-playing-info h5 {
    color: #ffffff;
}

html.dark-theme .now-playing-info p {
    color: #e0e0e0;
}

html.dark-theme .now-playing-info .text-muted {
    color: #a0a0a0 !important;
}

html.dark-theme .now-playing-icon {
    color: #e0e0e0;
}

/* Таблица table table-hover table-bordered table-striped */
html.dark-theme .table {
    background-color: #333333; 
    color: #e0e0e0;
    border: 1px solid #444444;
}

html.dark-theme .table.table-bordered th,
html.dark-theme .table.table-bordered td {
    border: 1px solid #444444;
}

html.dark-theme .table th {
    background-color: #3a3a3a; 
    color: #e0e0e0;
    border-bottom: none;
}

html.dark-theme .table td {
    border-bottom: 1px solid #444444;
    color: #e0e0e0;
}

html.dark-theme .table.table-striped tbody tr:nth-child(odd) {
    background-color: #333333; 
}

html.dark-theme .table.table-striped tbody tr:nth-child(even) {
    background-color: #3a3a3a;
}

html.dark-theme .table.table-hover tbody tr:hover {
    background-color: #444444 !important;
}

/* Стили для специфичных элементов таблицы */
html.dark-theme .table .station-link,
html.dark-theme .table .country-link,
html.dark-theme .table .state-link {
    color: #e0e0e0;
}

html.dark-theme .table .station-link:hover,
html.dark-theme .table .country-link:hover,
html.dark-theme .table .state-link:hover {
    color: #ffffff; 
    text-decoration: none;
}

html.dark-theme .table .genre-link {
    background-color: #444444;
    color: #e0e0e0;
}

html.dark-theme .table .genre-link:hover {
    background-color: #555555;
    color: #e0e0e0;
    text-decoration: none;
}

html.dark-theme .table .badge-info {
    background-color: #555555; 
    color: #e0e0e0;
}

html.dark-theme .table .badge-info a {
    color: #e0e0e0;
}

html.dark-theme .table .badge-info:hover {
    background-color: #666666;
}

/* Related Stations */
html.dark-theme .related-stations {
    background-color: #333333;
    border: 1px solid #444444;
    color: #e0e0e0;
}

html.dark-theme .related-stations-title {
    color: #e0e0e0;
}

html.dark-theme .related-stations-table {
    background-color: #333333;
    border-collapse: collapse; 
}

html.dark-theme .related-stations-table thead {
    border-bottom: 1px solid #444444; 
}

html.dark-theme .related-stations-table tr:last-child td {
    border-bottom: none;
}

html.dark-theme .related-stations-table th {
    color: #e0e0e0;
    background-color: #3a3a3a;
    border-bottom: none;
}

html.dark-theme .related-stations-table td {
    color: #e0e0e0;
    border-bottom: 1px solid #444444; 
}

html.dark-theme .related-stations-table .station-logo, 
html.dark-theme .related-stations-table .no-logo {
    border: 1px solid #555555;
}

html.dark-theme .related-stations-table tr {
    background-color: #333333;
}

html.dark-theme .related-stations-table tr:hover {
    background-color: #3a3a3a !important;
}

html.dark-theme .related-stations-table .station-link {
    color: #e0e0e0; 
}

html.dark-theme .related-stations-table .station-link:hover {
    color: #ffffff;
}

html.dark-theme .related-stations-table .genre-link {
    background-color: #444444;
    color: #e0e0e0;
}

html.dark-theme .related-stations-table .genre-link:hover {
    background-color: #555555;
}

html.dark-theme .related-stations-table .badge-info {
    background-color: #555555;
    color: #e0e0e0;
}

html.dark-theme .related-stations-table .play-button {
    background: linear-gradient(135deg, #1f7a33, #145c24);
}

html.dark-theme .related-stations-table .play-button:hover {
    background: linear-gradient(135deg, #145c24, #1f7a33);
}

html.dark-theme .related-stations-table .play-button.playing {
    background: linear-gradient(135deg, #b02a37, #8c1d28);
}

/* Базовые стили для favorite-btn в тёмной теме */
html.dark-theme .related-stations-table .favorite-btn {
    background-color: #a0a0a0;
    color: #333333;
    border: none;
    transition: background-color 0.3s ease;
}

/* Убеждаемся, что иконка всегда тёмная */
html.dark-theme .related-stations-table .favorite-btn::before {
    color: #333333 !important;
}

/* Состояние "добавлено" */
html.dark-theme .related-stations-table .favorite-btn.added {
    background-color: #a0a0a0; 
    color: #333333;
}

html.dark-theme .related-stations-table .favorite-btn.added::before {
    color: #333333;
}

/* Hover-эффект с таким же приоритетом */
html.dark-theme body .related-stations-table .favorite-btn:hover {
    background-color: #777777 !important;
    color: #333333 !important;
}

/* Состояние "добавлено" */
html.dark-theme body .related-stations-table .favorite-btn.added {
    background-color: #a0a0a0 !important;
    color: #333333 !important;
}

/* Hover для "добавлено" */
html.dark-theme body .related-stations-table .favorite-btn.added:hover {
    background-color: #cccccc !important;
    color: #333333 !important;
}

html.dark-theme body .related-stations-table .favorite-btn {
    background-color: #a0a0a0 !important;
    color: #333333 !important;
}

/* Комментарии */
html.dark-theme .comment-form-title {
    color: #e0e0e0;
}

html.dark-theme .comment-form-wrapper {
    background-color: #333333;
    border: 1px solid #444444;
    padding: 15px;
    border-radius: 10px;
}

html.dark-theme .comment-form input[type="text"],
html.dark-theme .comment-form input[type="email"],
html.dark-theme .comment-form textarea {
    background-color: #444444;
    border: 1px solid #555555;
    color: #e0e0e0;
}

html.dark-theme .comment-form input[type="text"]::placeholder,
html.dark-theme .comment-form input[type="email"]::placeholder,
html.dark-theme .comment-form textarea::placeholder {
    color: #a0a0a0;
}

html.dark-theme .rating-stars-input {
    background-color: transparent;
}

html.dark-theme .rating-stars-input i {
    color: #e0e0e0; 
    background-color: transparent;
}

html.dark-theme .rating-stars-input i:hover,
html.dark-theme .rating-stars-input i.active {
    color: #ffaa00;
}

html.dark-theme .comments-card {
    background-color: #333333;
    border: 1px solid #444444;
    color: #e0e0e0;
}

html.dark-theme .comment-header {
    color: #e0e0e0;
}

html.dark-theme .user-rating-stars {
    color: #e0e0e0;
}

html.dark-theme .comment-content p {
    color: #e0e0e0;
}

html.dark-theme .comment-content small {
    color: #a0a0a0;
}

/* Comment Form Container */
html.dark-theme #comment-form-container .comment-form-wrapper {
    background-color: #333333;
    border: 1px solid #444444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

html.dark-theme .comment-input-group input[type="text"],
html.dark-theme .comment-input-group input[type="email"],
html.dark-theme .comment-input-group textarea {
    background-color: #444444;
    border: 1px solid #555555;
    color: #e0e0e0;
}

html.dark-theme .comment-input-group input[type="text"]::placeholder,
html.dark-theme .comment-input-group input[type="email"]::placeholder,
html.dark-theme .comment-input-group textarea::placeholder {
    color: #a0a0a0;
}

html.dark-theme .comment-input-group input[type="text"]:focus,
html.dark-theme .comment-input-group input[type="email"]:focus,
html.dark-theme .comment-input-group textarea:focus {
    border-color: #555555;
    box-shadow: 0 0 8px rgba(31, 122, 51, 0.3);
    background-color: #555555;
}

html.dark-theme .comment-rating-input {
    background-color: #3a3a3a;
    border: 1px solid #555555;
}

html.dark-theme .rating-label {
    color: #e0e0e0;
}

html.dark-theme .rating-description {
    color: #a0a0a0;
}

/* Описание рейтинга при наведении */
html.dark-theme .rating-description:not(:empty) {
    color: #e0e0e0;
}

html.dark-theme .rating-error {
    background-color: #8c1d28;
    color: #e0e0e0;
}

html.dark-theme .comment-form button[type="submit"] {
    background: linear-gradient(90deg, #1f7a33, #145c24);
}

html.dark-theme .comment-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #145c24, #1f7a33);
}

html.dark-theme #comment-message.text-danger {
    background-color: #8c1d28;
    color: #e0e0e0;
}

html.dark-theme #comment-message.text-success {
    background-color: #1f7a33;
    color: #e0e0e0;
}

/* Comments Section */
html.dark-theme .comments-section .comments-card {
    background-color: #333333;
    border: 1px solid #444444;
    color: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

html.dark-theme .comments-header {
    border-bottom: 2px solid #555555;
}

html.dark-theme .comments-header h3 {
    color: #ffffff;
}

html.dark-theme .comment {
    background-color: #3a3a3a;
    border-bottom: 1px solid #555555;
}

html.dark-theme .comment:hover {
    background-color: #444444;
}

html.dark-theme .comment-header strong {
    color: #e0e0e0;
}

html.dark-theme .rating-value {
    color: #a0a0a0;
}

html.dark-theme .comment-actions .vote-up {
    background-color: #1f7a33;
}

html.dark-theme .comment-actions .vote-up:hover {
    background-color: #145c24;
}

html.dark-theme .comment-actions .vote-down {
    background-color: #b02a37;
}

html.dark-theme .comment-actions .vote-down:hover {
    background-color: #8c1d28;
}

html.dark-theme .comment-actions .vote-score {
    color: #e0e0e0;
}

/* Футер */
html.dark-theme .custom-footer {
    background-color: #222222;
    color: #e0e0e0;
    border-top: 1px solid #444444;
    margin-top: 15px;
}

html.dark-theme .footer-section h5 {
    color: #ffffff;
}

html.dark-theme .footer-section p {
    color: #a0a0a0;
}

html.dark-theme .footer-links a {
    color: #e0e0e0; 
}

html.dark-theme .footer-links a:hover {
    color: #ffffff;
}

html.dark-theme .footer-bottom p {
    color: #a0a0a0;
}

html.dark-theme .scroll-top-btn {
    background-color: #0066cc;
}

html.dark-theme .scroll-top-btn:hover {
    background-color: #004d99;
}

html.dark-theme .footer-section p a {
    color: #e0e0e0;
    text-decoration: none;
}

html.dark-theme .footer-section p a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Уведомления */
html.dark-theme .toast {
    background-color: #444444;
    color: #e0e0e0;
}

html.dark-theme .toast.success {
    background-color: #1f7a33;
}

html.dark-theme .toast.error {
    background-color: #b02a37;
}

html.dark-theme .toast .favorites-link {
    color: #cc9900;
}

html.dark-theme .toast .favorites-link:hover {
    color: #e0e0e0;
}

/* Переключатель темы */
html.dark-theme .theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

html.dark-theme .theme-toggle input[type="checkbox"] {
    display: none;
}

html.dark-theme .theme-toggle label {
    cursor: pointer;
    color: #e0e0e0;
    font-size: 0.95rem;
    padding: 6px 10px; 
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; 
    transition: color 0.2s ease;
}

html.dark-theme .theme-toggle label i {
    font-size: 1.2rem;
    margin-left: 4px;
}

html.dark-theme .theme-toggle label:hover {
    color: #f1c40f;
}

html.dark-theme .theme-toggle input[type="checkbox"]:checked + label i::before {
    content: "\f185"; /* fa-sun */
}

/*top*/

html.dark-theme .scroll-top-btn:focus,
html.dark-theme .scroll-top-btn:active {
    outline: none;
}

/* Пагинация */
html.dark-theme #pagination-container {
    padding: 10px;
    border-radius: 8px;
}

html.dark-theme .pagination {
    background-color: transparent; 
}

html.dark-theme .page-item .page-link {
    background-color: #444444; 
    border: 1px solid #555555; 
    color: #e0e0e0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html.dark-theme .page-item.active .page-link {
    background-color: #e0e0e0; 
    border-color: #e0e0e0;
    color: #333333; 
}

html.dark-theme .pagination .page-item .page-link:hover {
    background-color: #777777; 
    color: #333333; 
    border-color: #777777;
}

html.dark-theme .page-item.disabled .page-link {
    background-color: #333333;
    border-color: #444444;
    color: #a0a0a0; 
    pointer-events: none;
}

/* Стили для мобильного меню */
@media (max-width: 767px) {
    html.dark-theme .navbar-menu {
        background-color: #222222;
    }

    html.dark-theme .nav-link {
        border-bottom: 1px solid #444444;
    }

    html.dark-theme .nav-link:hover {
        background-color: #333333;
    }

    html.dark-theme .theme-toggle {
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid #444444;
    }

    html.dark-theme .related-stations-table tr {
        background-color: #333333 !important;
        border: 1px solid #444444;
    }
	
	/* Обычная таблица (table) */
    html.dark-theme .table {
        background: none; 
        border: none;
        box-shadow: none;
    }
	
	
	
html.dark-theme .table tr {
        background-color: #333333 !important;
        border: 1px solid #444444;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

/* Убираем границы у ячеек в тёмной теме */
    html.dark-theme .table td {
        border: none !important; 
    }
	
	html.dark-theme .table.table-hover tbody tr:hover {
        background-color: #333333 !important; 
    }

/* Таблица связанных станций (related-stations-table) */
    html.dark-theme .related-stations-table {
        background: none;
        border: none; 
    }
	
	html.dark-theme .related-stations-table tr {
        background-color: #333333 !important;
        border: 1px solid #444444;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 10px; 
        padding: 10px; 
    }
	
	html.dark-theme .related-stations-table td {
        border-bottom: none; 
        color: #e0e0e0; 
    }


    html.dark-theme .related-stations-table tr:hover {
        background-color: #333333 !important;
    }
	/* Ссылки жанров в обычной таблице */
    html.dark-theme .table td[data-label="Genres"] .genre-link {
        background-color: #444444; 
        color: #e0e0e0;
        text-decoration: none;
    }

    html.dark-theme .table td[data-label="Genres"] .genre-link:hover {
        background-color: #555555;
        color: #ffffff;
        text-decoration: none; 
    }

    /* Ссылки жанров в таблице связанных станций */
    html.dark-theme .related-stations-table td[data-label="Genres"] .genre-link {
        background-color: #444444; 
        color: #e0e0e0; 
        text-decoration: none;
    }

    html.dark-theme .related-stations-table td[data-label="Genres"] .genre-link:hover {
        background-color: #555555; 
        color: #ffffff; 
        text-decoration: none;
    }
	
	html.dark-theme .related-stations-table .favorite-btn {
        width: 80px !important;
        height: 80px !important;
        background-color: #a0a0a0;
        color: #333333;
    }
	
	html.dark-theme body .related-stations-table .favorite-btn {
        width: 80px !important;
        height: 80px !important;
        background-color: #a0a0a0 !important;
        color: #333333 !important;
    }

    html.dark-theme body .related-stations-table .favorite-btn:hover {
        background-color: #777777 !important;
        color: #333333 !important;
    }

    html.dark-theme body .related-stations-table .favorite-btn.added {
        background-color: #a0a0a0 !important;
        color: #333333 !important;
    }

    html.dark-theme body .related-stations-table .favorite-btn.added:hover {
        background-color: #cccccc !important;
        color: #333333 !important;
    }
	
	/* States */
    html.dark-theme .countries-table td[data-label="State"] .country-link {
        color: #e0e0e0;
    }

    html.dark-theme .countries-table td[data-label="State"] .country-link:hover {
        color: #ffffff;
    }

    html.dark-theme .countries-table td[data-label="Stations"]::before {
        color: #e0e0e0;
    }

    html.dark-theme .countries-table td[data-label="Stations"] .badge {
        background-color: #555555;
    }
	
	/* Bitrates */
    html.dark-theme .table td[data-label="Bitrate"] .station-link {
        color: #e0e0e0;
    }

    html.dark-theme .table td[data-label="Bitrate"] .station-link:hover {
        color: #ffffff;
    }

    html.dark-theme .table td[data-label="Popular Genres"] .genre-link {
        background-color: #444444;
        color: #e0e0e0;
    }

    html.dark-theme .table td[data-label="Popular Genres"] .genre-link:hover {
        background-color: #555555;
        color: #ffffff;
    }
	
	html.dark-theme .table td[data-label="Popular Genres"]::before {
    display: none;
}
	
/* Countries */
html.dark-theme .countries-table td[data-label="Country"] .country-link {
    color: #e0e0e0;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

html.dark-theme .countries-table td[data-label="Country"] .country-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

html.dark-theme .countries-table td[data-label="Country"] .country-flag-large {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

html.dark-theme .countries-table td[data-label="Stations"]::before {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
}

html.dark-theme .countries-table td[data-label="Stations"] .badge {
    background-color: #555555;
}

html.dark-theme .countries-table td[data-label="Stations"] .badge a {
    color: #e0e0e0;
    text-decoration: none;
}

html.dark-theme .countries-table td[data-label="Stations"] .badge a:hover {
    color: #ffffff;
    text-decoration: underline;
}
	
	/* Genres */
    html.dark-theme .table td[data-label="Genre"] .genre-link {
        color: #e0e0e0;
    }

    html.dark-theme .table td[data-label="Genre"] .genre-link:hover {
        color: #ffffff;
    }
	
	html.dark-theme .table td[data-label="Genre"]::before {
    display: none;
}
}