.fi-fo-field-label-content a.legal-doc-link {
    color: var(--primary-600, rgb(37, 99, 235));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fi-fo-field-label-content a.legal-doc-link:hover {
    color: var(--primary-700, rgb(29, 78, 216));
}

.dark .fi-fo-field-label-content a.legal-doc-link {
    color: var(--primary-400, rgb(96, 165, 250));
}

.dark .fi-fo-field-label-content a.legal-doc-link:hover {
    color: var(--primary-300, rgb(147, 197, 253));
}

.fi-user-credits {
    display: inline-flex;
    align-items: center;
    margin-inline-end: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: rgb(37, 99, 235);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.dark .fi-user-credits {
    background: rgba(96, 165, 250, 0.15);
    color: rgb(147, 197, 253);
}

.fi-fo-slider:not(.fi-fo-slider-vertical) .noUi-horizontal {
    height: 6px;
}

.fi-fo-slider .noUi-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 9999px !important;
    border: 2px solid rgb(37 99 235) !important;
    background: rgb(255 255 255) !important;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.08) !important;
}

.fi-fo-slider .noUi-handle::before,
.fi-fo-slider .noUi-handle::after {
    display: none !important;
}

.fi-fo-slider .noUi-connect {
    background: rgb(37 99 235) !important;
}

.fi-fo-slider .noUi-connects {
    border-radius: 9999px;
    background: rgb(229 231 235);
}

.dark .fi-fo-slider .noUi-connects {
    background: rgb(55 65 81);
}

.dark .fi-fo-slider .noUi-handle {
    background: rgb(31 41 55) !important;
    border-color: rgb(96 165 250) !important;
}

img.fi-sc-image {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.avito-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    color: rgb(3 7 18);
}

.dark .avito-logo {
    color: rgb(249 250 251);
}

.avito-logo svg {
    height: 24px;
    width: auto;
    max-width: 92px;
}

.dialogs-switch {
    position: relative;
    display: inline-flex;
    height: 26px;
    width: 48px;
    border-radius: 9999px;
    background: rgb(148 163 184);
    transition: all 0.2s ease;
    align-items: center;
}

.dialogs-switch:hover {
    opacity: 0.9;
}

.dialogs-switch-active {
    background: rgb(37 99 235);
}

.dialogs-switch-thumb {
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 9999px;
    background: rgb(255 255 255);
    transform: translateX(3px);
    transition: transform 0.2s ease;
}

.dialogs-switch-active .dialogs-switch-thumb {
    transform: translateX(25px);
}

.dialogs-chat-card {
    border-width: 1px;
}

.dialogs-chat-card-active {
    box-shadow: 0 0 0 2px rgb(37 99 235 / 0.35);
}

.dark .dialogs-chat-card-active {
    box-shadow: 0 0 0 2px rgb(96 165 250 / 0.45);
}

.dialogs-thread-layout {
    height: 72vh;
}

.dialogs-thread-panel {
    min-height: 0;
}

.dialogs-thread-messages {
    min-height: 0;
}

.dialogs-operator-textarea {
    display: block;
    width: 100%;
}
