.btn-auto-refresh {
    background-color: #535353;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
    display: inline-block;
    margin-left: 50px;
}

/* При наведении */
.btn-auto-refresh:hover {
    background: linear-gradient(1deg, #d9915514 30%, #d9915557 100%);
    color: #fff;
}

/* Активное состояние (ВКЛ) с градиентом */
.btn-auto-refresh.active {
    background: linear-gradient(23deg, #865023 0%, #da9256 55%);
    color: #fff;
}

.button_plus_purse {
    transition: 0.2s;
    display: flex;
    padding: 0 19px;
    border-radius: 8px;
    background: linear-gradient(68deg, #553820 0%, #da9256db 55%);
    cursor: pointer;
    font-size: 10.5px;
    color: #fff;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
}

/* Hover-эффект */
.button_plus_purse:hover {
    filter: brightness(1.1);
}

/* Active (при нажатии) */
.button_plus_purse:active {
    transform: scale(0.97);
    filter: brightness(0.95);
}

.msg_type{
   display: inline-block;
    padding: 0.15em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.15rem;
}

.chatlog .vertical-navigation.categories li a {
    justify-content: start;
}

.chatlog .vertical-navigation {
	display: block;
}

.chat_log_empty {
    display: flex;
    width: 100%;
    height: 100%;
    font-weight: bold;
    color: #727287;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.chatlog #chatlog_list_messages {
	margin-left: 0 !important;
	height: 100% !important;
    min-height: 300px !important;
	width: 100% !important;
}

.chatlog #chatlog_list .loading {
	position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
	width: 35px;
    height: 35px;
    border: 3px solid #3dbf81;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
 0% {
    transform: rotate(0deg);
 }
 100% {
    transform: rotate(360deg);
 }
}

.search_form {
    display: flex;
    flex-direction: column;
    gap: 13px;
	margin-top: 12px;
}

.search_form label {
	top: 0px;
}

.search_form label input {
	border-radius: 14px;
}

.search_form  .bottom-button {
	margin-right: 0px;
	border-radius: 14px;
}

#chatlog_list {
	position: relative;
}

#chatlog_list_messages .chat_message {
	position: relative;
    overflow: hidden;
    height: 100%;
    padding: 8px 0px 10px 0;
}

#chatlog_list_messages .chat_message .message {
    width: calc(100% - 6px);
    float: right;
    word-wrap: break-word;
    position: relative;
    font-size: 14px;
    right: 5px;
    line-height: 18px;
}

#chatlog_list_messages .chat_message .message .info {
    line-height: 15px;
    font-size: 11px;
    display: block;
    font-weight: 600;
    height: 16px;
}

#chatlog_list_messages .chat_message .message .with_code {
    border-radius: 14px;
    padding: 15px 15px 15px 11px;
    display: flex;
    background: linear-gradient(0deg, #3738448f 30%, #373744 100%);
    max-width: fit-content;
    margin-top: -24px;
    font-weight: 600;
    font-size: 11px;
    line-height: 17px;
    color: #ffffff;
    overflow-wrap: break-word;
    height: auto;
}

@media (max-width: 576px) {
	#chatlog_list_messages .chat_message .message .with_code {
		width: 100%;
	}
}