.dark-theme {
    background-color: #8a8a8a;
}

.dark-theme .sidebar {
    background-color: #8a8a8a;
}

.dark-theme .main {
    background-color: #8a8a8a;
}

.dark-theme .table {
    background-color: #8a8a8a !important;
}

.dark-theme .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #929292 !important;
}

.dark-theme .table-striped > tbody > tr:nth-of-type(even) {
    background-color: #8a8a8a !important;
}

.dark-theme .table > thead > tr > th {
    background-color: #929292 !important;
    color: #1a1a1a !important;
}

.dark-theme .table > tbody > tr > td {
    border-color: #aaaaaa !important;
    color: #1a1a1a !important;
}

.dark-theme .table > tbody > tr:hover {
    background-color: #b0b0b0 !important;
}

.dark-theme .table a {
    color: #272362 !important;
}

.dark-theme .table a:hover {
    color: #3a3680 !important;
    text-decoration: underline !important;
}

.dark-theme .badge {
    background-color: #272362 !important;
    color: #ffffff !important;
}

.dark-theme .badge.progress-bar-success {
    background-color: #0395ab !important;
}

.dark-theme .footer {
    background-color: #8a8a8a !important;
    border-top: 1px solid #aaaaaa !important;
    color: #1a1a1a !important;
}

.dark-theme .footer a {
    color: #272362 !important;
}

.dark-theme .sidebar .nav-sidebar > li > a {
    color: #000000 !important;
}

.dark-theme .sidebar .nav-sidebar > li > a:hover {
    background-color: #aaaaaa !important;
    color: #000000 !important;
}

.dark-theme .sidebar .nav-sidebar > li.active > a {
    background-color: #0395ab !important;
    color: #ffffff !important;
}

/* ========== ПРАВАЯ ТАБЛИЦА ДЛЯ ТЁМНОЙ ТЕМЫ ========== */
/* Все ячейки правой таблицы - одинаковый фон */
.dark-theme .col-md-6:last-child .table-clean td,
.dark-theme .col-md-6:last-child .table-clean td table,
.dark-theme .col-md-6:last-child .table-clean td table td,
.dark-theme .col-md-6:last-child .table-clean td table tr,
.dark-theme .col-md-6:last-child .table-clean td table tr td {
    background-color: #8a8a8a !important;
}

/* При наведении на корреспондентов в правой таблице */
.dark-theme .col-md-6:last-child .table-clean td table tr:hover td {
    background-color: #b0b0b0 !important;
}

/* Светлая тема - наведение на корреспондента в правой таблице */
.col-md-6:last-child .table-clean td table tr:hover td {
    background-color: #d1d1d1 !important;
}