body {
    background-color: #121212;
    color: #ffffff;
    min-width: 360px;
    position: relative;
}
::selection {
    background-color: rgba(108, 117, 125, 0.7); /* Полупрозрачный серый */
    color: #ffffff;
}
a {
    color: #4ea8de;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
a:hover {
    color: #63c5f1;
    text-decoration: none;
}
a:active {
    color: #1f78b4;
    transform: scale(0.98);
}
.data-container {
    margin: 0 auto 20px;
    width: 100%;
    overflow-y: auto;
    background: #1e1e1e;
    border-radius: 0 10px 10px 10px;
    padding: 25px 15px 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.card-wrapper {
    margin: 0 auto 20px;
    width: 100%;
    overflow-y: auto;
    background: #1e1e1e;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.chat-message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 70%;
    z-index: 1;
}
.text-helper {
    display: block;
}
.message-left {
    background: #2a2a2a;
    color: #f8f9fa;
    align-self: flex-start;
}
.message-left .text-helper {
    color: gray;
}
.message-right {
    background: #007bff;
    color: white;
    align-self: flex-end;
    text-align: right;
}
.message-right .text-helper {
    color: #b3e5fc;
}
.chat-messages {
    display: flex;
    flex-direction: column;
}
.chat-section {
    position: relative;
}
.time-interval {
    position: absolute;
    top: 0;
    left: 250px;
    height: 100%;
    z-index: 0;
}
@media (min-width: 576px) {
    .time-interval {
        left: 60%;
    }
}
.time-interval-divider {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #494949;
}
.time-interval-left {
    position: absolute;
    left: 4px;
    bottom: -1.5px;
    transform: rotate(35deg);
    width: 2px;
    height: 15px;
    background-color: #4e4e4e;
}
.time-interval-right {
    position: absolute;
    left: -4px;
    bottom: -1.5px;
    transform: rotate(-35deg);
    width: 2px;
    height: 15px;
    background-color: #4e4e4e;
}
.time-interval-text {
    position: absolute;
    top: calc(50% + 20px);
    margin-left: 12px;
}
.time-interval-non-working {
    position: absolute;
    top: calc(50% + 25px);
    left: -34px;
    opacity: .7;
    transition: width 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.time-interval-non-working:hover {
    opacity: 1;
}
.time-interval-text > span {
    display: block;
    font-size: 13px;
    color: gray;
}
.w-100 {
    min-width: 300px;
}
.hidden {
    display: none !important;
}
.chat-section.outgoing {
    min-height: 200px;
}
.mw-820 {
    max-width: 820px;
}
.container-fluid {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.fill {
    flex-grow: 1;
}
.nav-tabs {
    border: none;
}
.nav-tabs .nav-link {
    color: #bbb; /* Цвет неактивных табов */
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-color: transparent;
}
.nav-tabs .nav-link.active {
    color: white;
    background-color: #1e1e1e;
    border-color: #1e1e1e;
}
.tab-pane {
    display: none; /* Полностью убирает блок */
}
.tab-pane.active {
    display: block !important; /* Показывает активный блок */
}
#stats ul {
    padding-left: 10px;
}
#stats ul > li {
    list-style-type: none;
    margin-bottom: 7px;
}
#stats ul span:first-child {
    font-weight: 500;
}
#stats ul small {
    display: block;
    color: gray;
    margin-top: -2px;
}
.chart-container {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    height: 240px;
}
.non-working-text {
    color: #b8b8b8;
}
.non-working-data {
    margin-top: 4px;
}
.helper {
    color: gray;
    display: block;
}
.table {
    color: #ffffff;
    border-radius: 4px;
}
.table th {
    vertical-align: middle;
}
.table th > span {
    font-weight: normal;
    display: block;
    color: gray;
}
.form-control, .form-select {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #333;
}
.form-control::placeholder {
    color: #bbb;
}
.form-control:focus, .form-select:focus {
    background-color: #1e1e1e;
    color: #ffffff;
    border-color: #555;
}
label {
    color: #ffffff;
}
.card {
    border: none;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 1rem;
}
.card-stats {
    margin-top: 2rem;
}
.card strong {
    font-size: 2rem;
}
.bg-warning {
    background-color: rgba(207, 161, 25, 1) !important;
}
.bg-info {
    background-color: rgba(8, 159, 190, 1) !important;
}
.form-control, .form-select, .input-group-text {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #333;
}
tr[data-href] {
    cursor: pointer;
}
.filters {
    background-color: #1e1e1e;
}
.filters .container {
    padding-top: 30px;
    padding-bottom: 20px;
}

.card i {
    position: absolute;
    top: 15px;
    opacity: .2;
    font-size: 4.8rem;
    right: 20px;
}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}
