.h1-log-title {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #555 !important;
    text-align: center !important;
    margin: 2px auto !important;
    line-height: 1.4 !important;
}
.h2-log-title {
    font-size: 1.5em !important;
    font-weight: 500 !important;
    color: #555 !important;
    text-align: center !important;
    margin: 2px auto 20px !important;
    line-height: 1.3 !important;
}
.h3-log-title {
    font-size: 1.3em !important;
    font-weight: 500 !important;
    color: #555 !important;
    text-align: center !important;
    margin: 2px auto 20px !important;
    line-height: 1 !important;
}

.wp-core-ui .button, 
.wp-core-ui .button-primary, 
.wp-core-ui .button-secondary {
    min-height: 34px;
    padding: 0 10px;
}

.bb-pagination .button,
.bb-pagination .button-primary {
    min-width: 40px;
}

tr.wl-label th {
	vertical-align: top;
}

tr.token-label th {
	vertical-align: middle;
}

.settings-arrow {
	font-size: 24px;
    vertical-align: super;
    margin-left: 20px;
    line-height: .1;
}

.show-page-field,
.show-ref-field,
.show-yan-field,
.show-ym-counter {
	display: table-row;
}

.hide-page-field,
.hide-ref-field,
.hide-yan-field,
.hide-ym-counter {
	display: none;
}

.banbot_page_bb-settings .form-table tr.on-border {
	border-bottom: none;
}
.banbot_page_bb-settings .form-table tr.off-border {
	border-bottom: 1px solid #d0d0d0;
}

.bb-ico {
	line-height: 14px;
    width: 14px;
    height: 14px;
    padding: 1px 0;
    vertical-align: sub;
}

.copyright {
	font-weight: 600;
}

.ym-set {
/*	width: 90%; */
	margin-bottom: 25px;
}

.form-table select {
	font-family: Consolas, Monaco, monospace;
}

td.iplog-ip.if-empty-ref {
	background: url("../img/empty-ref.png"); 
	background-position: 0 -34px;
	background-repeat: no-repeat; 
}

.itogo td {
	font-weight: 700;
	font-size: 1.1em !important;
	font-style: italic;
	border-top: double 4px #b2b2b2 !important;
}

.rsya-logo {
	margin: 0;
	text-align: center;
}

td.rub:nth-child(2):after {
  content: ' руб.'; 
}

th.ym-head-metrica {
	padding: 8px 5px !important;
	width: 85%;
}

th.ym-head-date {
	padding: 8px 5px !important;
	width: fit-content !important;;
}

th.ym-head-value {
	padding: 8px 5px !important;
	width: calc( 100% / 6 ) !important;
}

.banbot_page_bb-ym .sortable th:last-child {
	width: 150px;
	border-radius: 0;
	text-align: center;
}

.banbot_page_bb-ym .sortable td:last-child {
	width: inherit;
	max-width: inherit;
	border-radius: 0;
	text-align: right;
}

td.bad-value {
	color: red !important;
}

.ym-wrap {
	width: 90%;
	margin: 0 auto;
}

th.ym-widget-sources {
	width: 80%;
}

th.ym-widget-hits {
	width: 20%;
}

table.ym-total {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	border: 1px solid #000;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

table.ym-total td {
	padding: 5px 10px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td.ym-total-name {
}

td.ym-total-value {
}

.charts-div {
	display: block;
	min-height: 350px; 
	background:#fff;
	border: 1px solid #c3c4c7; 
	margin: 5px 0 15px 0;
	padding: 3px 8px;
}

.pie-width {
	width: 45%;
	margin: 0 auto;
}

@media screen and (max-width: 650px) {
	.ym-wrap {
	width: 100%;
	}
	.pie-width {
		width: 95%;
		margin: 0 auto;
	}
	h3.h3-stat {
		font-size: 1.2em;
		font-weight: 400;
		text-align: center !important;
		margin: 15px 0 0 0;
		line-height: 1;
	}
	th.vertical-txt span {
		writing-mode: tb-rl;
		transform:rotate(180deg);
	}
	th.vertical-txt {
	width: 40px;
	}
}

.details_hide {
	display: inline;
}

.banbot_page_bb-ym3 .details_hide,
.banbot_page_bb-ym2 .details_hide {
	display: none;
}

.banbot_page_bb-ym .wp-filter {
	margin: 0;
}

.banbot_page_bb-ym .filter-links li>a {
    padding: 5px 0;
}

.banbot_page_bb-ym  .filter-links .current {
    border-bottom: 4px solid #ff0000;
}

h1.h1-stat {
    font-size: 1.4em;
	font-weight: 400;
    text-align: center !important;
    margin: 10px 0;
    line-height: 1;
}

h2.h2-stat {
    font-size: 1.3em;
	font-weight: 400;
    text-align: center !important;
    margin: 20px 0;
    line-height: 1;
}

h3.h3-stat {
    font-size: 1.2em;
	font-weight: 400;
    text-align: center !important;
    margin: 15px 0 0 0;
    line-height: 1;
}

input[type=text] {
    padding: 0 8px;
    line-height: 1.9;
    min-height: 25px;
}

/* МЕНЮ */
.top-menu {
	display: flex;
    justify-content: space-between;
	align-items: end;
    flex-wrap: wrap;
    gap: 10px;
	margin-bottom: 8px;
}

/* КНОПКИ ВЕРХНЕГО МЕНЮ */
.k2-clear-button { 
	width: fit-content; 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #f22626; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400; 
	white-space: nowrap;
	padding: 4px 10px; 
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-clear-button:hover {
	background: #f2c126;
}

.k2-renew-button {
	width: fit-content; 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #02a799; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400;
	white-space: nowrap; 
	padding: 4px 10px;
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-renew-button:hover {
	background: #03c8b8;
}
a.k2-renew-button {
	text-decoration: none;
	color: #fff;
}

.k2-toip-button { 
	width: fit-content; 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #21990c; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400;
	white-space: nowrap;  
	padding: 4px 10px;
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-toip-button:hover {
	background: #31c018;
}
/* =========================== */
/* КНОПКИ ДОБАВЛЕНИЯ / ОЧИСТКИ СПИСКА УНИКАЛЬНЫХ IP */
.k2-add-button { 
	width: 130px; 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #3b6aeb; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400;  
	padding: 4px 10px;
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-add-button:hover {
	background: #5b67bf;
}

.k2-erase-button { 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #f22626; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400;
	white-space: nowrap;  
	padding: 6px 12px;
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-erase-button:hover {
	background: #f2c126;
}
/* =========================== */
/* КНОПКИ КОПИРОВАНИЯ / ВСТАВКИ УНИКАЛЬНЫХ IP */
.k2-copy-button { 
	min-height: 38px; 
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #265df2; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400; 
	white-space: nowrap;
	padding: 6px 12px;
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-copy-button:hover {
	background: #2ECC71;
}

.k2-black-list-button {  
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #21990c; 
	outline: none; 
	border: none; 
	border-radius: 3px; 
	font-size: 15px; 
	font-weight: 400; 
	white-space: nowrap; 
	padding: 6px 12px;
	cursor: pointer; 
	transition: all 0.4s ease;
}
.k2-black-list-button:hover {
	background: #31c018;
}
/* =========================== */
/* КНОПКИ СОХРАНИТЬ / АКТИВИРОВАТЬ / СБРОСИТЬ НА СТРАНИЦЕ НАСТРОЕК */
.k2-ok-button { 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #148600; 
	outline: none; 
	border: none; 
	border-radius: 4px; 
	font-size: 17px; 
	font-weight: 400; 
	white-space: nowrap; 
	padding: 6px 14px; 
	cursor: pointer; 
	transition: all 0.4s ease;
	width: fit-content;
}

.k2-ok-button:hover {
	color: #fff;
	background: #19a500;
}

.k2-act-button { 
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #007686; 
	outline: none; 
	border: none; 
	border-radius: 4px; 
	font-size: 17px; 
	font-weight: 400; 
	white-space: nowrap; 
	padding: 6px 14px; 
	cursor: pointer; 
	transition: all 0.4s ease;
	width: fit-content;
}

.k2-act-button:hover {
	color: #fff;
	background: #0091a4;
}

.k2-reset-button {  
	min-height: 38px;
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #e50000;; 
	outline: none; 
	border: none; 
	border-radius: 4px; 
	font-size: 17px; 
	font-weight: 400; 
	white-space: nowrap; 
	padding: 6px 14px; 
	cursor: pointer; 
	transition: all 0.4s ease;
	width: fit-content;
}
.k2-reset-button:hover {
	color: #fff;
	background: #ff0000;
}

/* =========================== */
/* КНОПКИ ВСПЛЫВАЮЩИХ ОКОН */
.swal2-confirm {
	height: 46px; 
	width: 210px; 
	color: #fff; 
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 10px 10px rgba(0, 0, 0, 0.1);
	background: #148600; 
	outline: none; 
	border: none; 
	border-radius: 8px; 
	font-size: 17px; 
	font-weight: 400; 
	margin: 8px 2px; 
	cursor: pointer; 
	transition: all 0.4s ease;
}
.swal2-confirm:hover {
	color: #fff;
	background: #19a500;
}

/* Поле поиска */

.search-field {
    display: flex;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0;
}

.search-field input {    
	width: calc(100% - 30px); 
    height: auto; 
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;   
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border: 0;
	border-color: #fff;
	margin: 0;
	padding: 1px 10px;
}

.search-field input[type="search"]:active,
.search-field input[type="search"]:focus {
	border: none !important;
	outline: none !important;
	border-color: inherit;
  	-webkit-box-shadow: none;
  	box-shadow: none;
	background: #fff;
}

.search-sign { 
    height: auto; 
    /* background-color: #e6e6e6; */ 
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 5px 10px;
    line-height: 2.3;
}

.dashicons-search:before {
    content: "\f179";
	font-size: 22px;
    vertical-align: middle;
}


.banbot_page_bb-settings .dashicons-controls-play {
	vertical-align: middle;
	line-height: .8;
	margin-left: 10px;
}

.mark {
	background-color: #2300c1;
	color: #f6ff00;
}

/*******************************************/

.banbot_page_bb-settings .wrap,
.banbot_page_bb-blacklist .wrap,
.banbot_page_bb-ym .wrap {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.banbot_page_bb-settings .sidebar,
.banbot_page_bb-blacklist .sidebar,
.banbot_page_bb-ym .sidebar {
	padding-left: 1em;
    padding-top: 5em;
    vertical-align: top;
    flex-basis: 25%;
    flex-grow: 0;
    flex-shrink: 0;
}

#wpcontent {
    padding-left: 20px;
	padding-right: 20px;
}

.settings-grid {
    display: flex;
}

.main_col {
	flex-grow: 1;
    padding-top: 1em;
}

.box-warning {
	background-color: #ffc21d;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.47);
    padding: 10px 15px;
    font-size: 14px;
	border: double 4px red;
	border-radius: 8px;
	margin-bottom: 5px;
	box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.93);
	background-image: url('data:image/svg+xml,<svg width="100px" height="100px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" stroke="%23ffffff" stroke-width="30.72"><g id="SVGRepo_bgCarrier" stroke-width="0"/><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/><g id="SVGRepo_iconCarrier"><path fill="%23ff0000" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"/></g></svg>');
	background-size: 60px;
	background-repeat: no-repeat;
	background-position: 99.5% 3%;
}

.box-info {
	background-color: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.47);
    padding: 15px;
    font-size: 14px;
	border: double 3px rgb(15 126 253);
	margin-bottom: 20px;
	box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.9);
	background-image: url('data:image/svg+xml,<svg width="100px" height="100px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" stroke="%23ffffff" stroke-width="30.72" transform="rotate(180)"><g id="SVGRepo_bgCarrier" stroke-width="0"/><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/><g id="SVGRepo_iconCarrier"><path fill="%230084ff" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"/></g></svg>');
	background-size: 60px;
	background-repeat: no-repeat;
	background-position: 100% 0%;
	z-index: -1000;
}

.box-info h3 {
	font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    color: #0040ff;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.box-info dd {
	margin-left: 20px;
}

.section-general,
.section-secure,
.section-misc {
}

.h1-log {
	font-size: 1.8em !important;
	text-align: center !important;
	margin-bottom: 10px !important;
	line-height: 1 !important;
	font-weight: 400  !important;
}

.h2-log {
	font-size: 1.7em !important;
	text-align: center !important;
	margin: 30px 0 20px;
	line-height: 1 !important;
}

.h2-subtitle {
	font-size: 1.7em !important;
	text-align: center !important;
	margin: 0 0 30px !important;
	line-height: 1 !important;
}

.h3-log {
	font-weight: 500 !important;
	font-size: 1.1em !important;
	text-align: left !important;
	margin: 10px 0 5px 20px !important;
	line-height: 1 !important;
}

.h3-warning {
	font-weight: 600;
	font-size: 1.1em;
	text-align: left;
	color: #ff0000;
	margin: 0;
	padding: 0 0 5px 0;
	line-height: 1;
}

.h3-info {
	font-weight: 600;
	font-size: 1.1em;
	text-align: center;
	color: #0040ff;
	margin: 0;
	padding: 0;
	line-height: 1;
}

.myip {
	margin: 5px 0;
}

.myip a {
	font-weight: 600;
}

.myip-txt {
	vertical-align: super;
	font-size: 1.1em;
}

.banbot_page_bb-settings .myip a,
.banbot_page_bb-blacklist .myip a {
	color: green;
	font-size: 1.2em;
	font-weight: 600;
	line-height: 1.4;
}

.banbot_page_bb-settings .myip,
.banbot_page_bb-blacklist .myip {
	text-align: center;
}

.settings-form-submit {
	text-align: center;
	margin: 15px 0;
	display: block;
	max-width: calc(68% - 40px);
}

.bb-hlp {
	font-size: 14px;
	line-height: 1.4;
}

.question-ico {
	width:15px;
	height:15px;
	vertical-align:text-top;
	border: none !important;
	outline: none !important;
	background: none !important;
	padding: 0 !important;
}

.close-ico {
	width:20px;
	height:20px;
	position: absolute;
    right: -13px;
    top: -13px;
	border: none;
	outline: none;
	background: none;
	padding: 0;
}

.close-block {
	position: relative;
	top:0;
	right:0;
}

img.question-ico:focus,
img.question-ico:active,
a.ajax_link:focus,
a.ajax_link:active,
.ajax_link:focus,
.ajax_link:active {
	border: none !important;
	outline: none !important;
	background: none !important;
	padding: 0 !important;
}

.banbot_page_bb-settings .notice.is-dismissible {
    width: 450px !important;
	font-size: 1.4em;
}

.swal2-title {
    line-height: 1;
}

.swal2-timer-progress-bar {
    width: 100%;
    height: .75em;
	border-radius: 0;
    background: rgb(0, 131, 50);
}

.swal2-timer-progress-bar-container {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.swal2-popup {
	font-size: 1.1em;
	padding: 10px 20px 20px 20px;
	min-width: 30em;
	width: fit-content;
}

.swal2-icon {
	border: none !important;
}

body.swal2-shown > [aria-hidden="true"] {
	filter: blur(1px);
}

.sweet-img {
	width: 450px;
	height: 450px;
}

.sweet-img-wordfence {
	width: 900px;
	height: auto;
}

.rotating {
  -webkit-animation: spin 1.5s linear infinite !important;
  -moz-animation: spin 1.5s linear infinite !important;
  animation: spin 1.5s linear infinite !important;
}

.banbot_page_bb-settings .form-table {
	width: 100% !important;
}

.banbot_page_bb-settings .form-table th {
    padding: 7px 0 7px 20px;
    font-weight: 400;
	width: 42%;
    /*vertical-align: middle;*/
}

.banbot_page_bb-settings .form-table td {
    padding: 3px 10px;
	vertical-align: middle;
	/* min-width: 400px; */
	/* text-align: right; */
}

.banbot_page_bb-settings .form-table input,
.banbot_page_bb-settings .form-table select,
.banbot_page_bb-settings .form-table textarea {
	min-width: fit-content;
}

.banbot_page_bb-settings .form-table tr {
	border-bottom: 1px solid #d0d0d0;
}

.banbot_page_bb-settings .form-table tr:hover {
	background: #f4f4f4;
}

input[type=checkbox] {
	margin: 1px;
}
 
 .inline-button {
	display: inline-block;
}

@media (max-width: 480px) {
	#k2button{width: 100%;}
}

.respo {
    display: flex;
    justify-content: center;
	align-items: normal;
    flex-wrap: wrap;
    gap: 10px;
}

.left-table {
	min-height: 300px;
}

.center-arrow {
}

.right-form {
	min-height: 300px;	
}

.log-buttons {
	display: flex;
    gap: 7px;
	text-align: center;
    margin-bottom: 0;
}

.setting-buttons {
	text-align: left;
	margin: 30px 0;
}

.log-textarea {
	width: 100%;
	border: double 5px #888;
	padding: 20px;
}

textarea.outarea {
	height: 305px;
	width: 370px;
	border-radius: 0;
	resize: none;
}

textarea.outarea:focus,
textarea.outarea:active {
	border: none !important;
	outline: none !important;
}

textarea.outarea::-webkit-scrollbar {
	width: 13px;
} 
textarea.outarea::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 123, 255, 0.628);
	border-left: 1px solid #555;
	cursor: default; 
} 
textarea.outarea::-webkit-scrollbar-thumb {
	box-shadow: inset 0 0 6px rgba(0, 77, 211, 0.882);
	cursor: default; 
}

.wp-admin #wp-admin-bar-bb_admin_link {
	display:none;
}

.trap-wrap {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1em;
	display: block;
	width: 80%;
	margin: 20px auto;
	padding: 50px 100px;
	line-height: 1.3em;
	text-align: justify;
}

.trap-wrap code {
	font-size: 1.2em;
	font-weight: 500;
	background-color: #eee;
}

.trap-img {
	max-width: 100%;
	width: 80%;
}

.log-description {
	display: block;
	width: 90%;
	margin: 0 auto 30px;
}

.log-description p {
	font-size: 1.1em;
	font-weight: 400;
	text-align: justify;
}

a:focus { outline: none !important; }
:focus {outline:none !important;}
::-moz-focus-inner {border:0 !important;}

/* CheckBox Style */
.toggle {
  position: relative;
  width: 35px; /* 36px;  Ширина переключателя */
  height: 20px; /* 21px;  Высота переключателя */
  display: inline-block;
  user-select: none; /* Запрещаем выделение */
}

.toggle > .checkbox {
  display: none; /* Скрываем браузерный чекбокс */
}

.toggle > .switch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.2s; /* Для плавности */
  cursor: pointer;
  background-color: #d1d1d1cf;
  border: 1px solid #d1d1d1;

  /*box-shadow: inset 0 2px 3px rgba(28, 123, 255, 0.479);
   box-shadow: 2px 2px 5px 0px rgba(3, 146, 255, 0.551) inset; */
}

.toggle > .switch:before {
  position: absolute;
  content: "";
  width: 15px; /*  16px;  Ширина бегунка */
  height: 15px; /* 16px;   Высота бегунка */
  left: 2px;
  bottom: 2px;
  background-color: #fff; /* Цвет бегунка */
  transition: 0.2s;
}

/* При состоянии checked - смещаем бегунок вправо */
.checkbox:checked + .switch:before {
  transform: translateX(14px); /* 15px */
}

/* При состоянии checked - меняем цвет фона */
.checkbox:checked + .switch {
  background-color: #00a220;
  border: solid 1px #018f2b;
  /*box-shadow: inset 0 2px 3px rgba(0, 86, 206, 0.738);*/
}

/* Стили загругленного переключателя */
.toggle.round > .switch {
  border-radius: 21px;
}

/* Делаем бегунок круглым  */
.toggle.round > .switch:before {
  border-radius: 50%;
  /*  
  border: solid 1px #bdbdbd;
	background: 
    radial-gradient(
      circle at 5% 5%,
      #ffffff,
      #f7f7f7a9
    );*/
}

.toggle {
  margin-right: 10px;
  margin-top: 3px;
/*  margin-bottom: -4px; 
  vertical-align: middle; */
}

.toplevel_page_bb-menu .toggle {
  margin-bottom: 0;
}

/******/

.bb-table-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 15px;
	margin: 5px 0 15px;
}

/* Леганда */
.legend {
    width: fit-content;
    padding: 1px 10px;
    border-left: solid 6px #0065ab75;
}
.legend-items {
	display:flex;
	align-items:center;
	margin: 5px;
}
.legend-myip {
	display:block; 
}
.legend-wlip {
	display:block; 
}
.legend-trapip {
	display:block; 
} 
.myip-lt {
	margin-left: 35px;
}
.wlip-lt,
.trapip-lt,
.noref-lt {
	margin-left: 55px;
}
.noref-legend {
	width: 30px; 
	height: 15px; 
	border: 1px solid #444; 
	background: url(../img/empty-ref.png); 
	background-position: 0 -34px; 
	background-repeat: no-repeat; 
	position: absolute; 
	margin-left: 20px;
}
ul.legend-note {
	list-style: square;
    margin-left: 5px;
    padding: 10px 5px 0 15px;
    border-top: 1px solid #b4b4b4;
}
.legend-note li {
	line-height: 1.1em;
	padding-bottom: 1px;
}
.active { background: #ff0 !important; }
input[type="checkbox"]:disabled { opacity: 0.35; cursor: not-allowed; }
input[type="checkbox"]:disabled + label { cursor: not-allowed; }
.myip-cell { opacity: 0.35; cursor: not-allowed; }
tr.myip-wl-row { background-color: #c6ffcf !important; }
tr.myip-wl-row td { background-color: #c6ffcf !important; }

/* IP администратора НЕ в белом списке — жёлтый */
tr.myip-row { background-color: #fff3cd !important; }
tr.myip-row td { background-color: #fff3cd !important; }

/* Тумблер "Мой IP" в легенде: цвет зависит от статуса IP */
/* IP админа в белом списке — зелёный прямоугольник */
.legend-myip-wl .switch_hide_my_ip:before {
	background-color: #c6ffcf !important;
}
/* IP админа НЕ в белом списке — жёлтый прямоугольник */
.legend-myip-nwl .switch_hide_my_ip:before {
	background-color: #fff3cd !important;
}
/* Тумблер включён (строки скрыты) — нейтральный серый */
.legend-myip.toggled .switch_hide_my_ip:before {
	background-color: #dcdcde !important;
}

/* Блок информации о логе */
.bb-log-info-box {
    font-size: 15px;
    margin: 10px 0;
    color:#555;
    width: fit-content;
    height: fit-content;
    padding: 1px 10px;
    border-left: solid 6px #0065ab75;
}
.bb-rec-count {
	font-size: 1.1em;
}
.bb-log-info {
	font-size: .9em;
	font-weight: 400;

}

/* CheckBox for My IP hide */
.toggle_hide {
  position: relative;
  user-select: none;
}
.toggle_hide > .checkbox_hide {
  display: none; /* Скрываем браузерный чекбокс */
}
.toggle_hide > .switch_hide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.toggle_hide > .switch_hide_my_ip:before {
  position: absolute;
  content: "";
  width: 30px;
  height: 15px;
  left: 0;
  bottom: 0;
  cursor: pointer;
  border: 1px solid #444;
}
.toggle_hide > .switch_hide_wl_ip:before {
  position: absolute;
  content: "";
  width: 30px;
  height: 15px;
  left: 0;
  bottom: 0;
  cursor: pointer;
  margin-left: 20px;
  background-color: #d3f4fd;
  border: 1px solid #444;
}
.toggle_hide > .switch_hide_trap_ip:before {
  position: absolute;
  content: "";
  width: 30px;
  height: 15px;
  left: 0;
  bottom: 0;
  cursor: pointer;
  margin-left: 20px;
  background-color: #e3dffb;
  border: 1px solid #444;
}
/* При состоянии checked - смещаем бегунок вправо */
.checkbox_hide:checked + .switch_hide_my_ip:before,
.checkbox_hide:checked + .switch_hide_wl_ip:before,
.checkbox_hide:checked + .switch_hide_trap_ip:before {
   background-color: #dcdcde;
   border: 1px solid #c3c4c7;
}

/******/
tr.logdata.trap-row {
	background-color: #e3dffb !important;
}
tr.logdata.wlip-row {
	background-color: #d3f4fd !important;
}

#toplevel_page_bb-menu .wp-submenu li.current {
	border-left: solid 4px #fff;
}

textarea.wlipselect {
	border-radius: 0;
	resize: none;
	min-height: 150px;
	width: 100%;
}

textarea.wlipselect:focus,
textarea.outarea:active {
	border: none !important;
	outline: none !important;
}

textarea.wlipselect::-webkit-scrollbar {
	width: 13px;
} 
textarea.wlipselect::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 123, 255, 0.628);
	border-left: 1px solid #555;
	cursor: default; 
} 
textarea.wlipselect::-webkit-scrollbar-thumb {
	box-shadow: inset 0 0 6px rgba(0, 77, 211, 0.882);
	cursor: default; 
}

input.pageselect,
input.refselect {
	width: 100%;
}

textarea.wlipselect:focus,
textarea.wlipselect:focus,
input.pageselect:focus,
input.refselect:focus,
input.pageselect:active,
input.refselect:active {
	outline: none;
	border: none;
	border-color: #fff;
}

/* Оформление чекбоксов */

  .checkbox-wrapper-18 .round {
    position: relative;
  }

  .checkbox-wrapper-18 .round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    width: 20px;
    display: block;
  }

  .checkbox-wrapper-18 .round label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 4px;
    opacity: 0;
    position: absolute;
    top: 5px;
    transform: rotate(-45deg);
    width: 12px;
  }

  .checkbox-wrapper-18 .round input[type="checkbox"] {
    visibility: hidden;
    display: none;
    opacity: 0;
  }

  .checkbox-wrapper-18 .round input[type="checkbox"]:checked + label {
    background-color: #00a220;
    border-color: #018f2b;
  }

  .checkbox-wrapper-18 .round input[type="checkbox"]:checked + label:after {
    opacity: 1;
  }

/* Копирование: кратковременная подсветка иконки */
#ctc.copied {
	color: #d63638;
}

div:where(.swal2-container) .swal2-html-container {
    padding: unset !important;
}

table.ripe-tab {
}

td.ripe-key {
	width: 30%;
	padding: 2px 8px;
}

td.ripe-value {
	width: 70%;
	padding: 2px 8px;
}

/* ---------- Убираем рамку фокуса у ссылок, изображений и чекбоксов после клика ---------- */
a:focus,
a:focus-visible,
img:focus,
img:focus-visible,
input[type="checkbox"]:focus,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus,
input[type="radio"]:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.checkbox-wrapper-18 {
    margin-right: 12px;
}

/* Шкала опасности IP */
.bb-danger-scale {
    width: 100%;
    max-width: 240px;
    margin: 6px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-danger-scale__title {
    font-size: 10px;
    color: #666;
    margin-bottom: 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.bb-danger-scale__track {
    position: relative;
    height: 36px; /* Место под линейку, стрелку и плашку с цифрой */
}
.bb-danger-scale__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    /* Градиент: Зеленый -> Желтый -> Оранжевый -> Красный */
    background: linear-gradient(to right, #46b450 0%, #a8c744 25%, #dba617 50%, #ff6a00 75%, #d63638 100%);
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
/* Засечки на линейке (эффект |||||) */
.bb-danger-scale__bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.6) 1px, transparent 1px);
    background-size: 10% 100%; /* Засечка каждые 10% */
    border-radius: 4px;
}
.bb-danger-scale__pointer {
    position: absolute;
    top: 8px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Пружинящая анимация при смене */
}
.bb-danger-scale__arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 7px solid #23282d; /* Стрелка смотрит ВВЕРХ на линейку */
    filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.2));
}
.bb-danger-scale__val {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #23282d;
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    white-space: nowrap;
}

.bb-pro-badge{
	display: inline-block;
	margin: 4px 0 0 0;
	padding: 1px 8px 2px;
	border-radius: 9px;
	background: linear-gradient(135deg,#f5a623,#e08600);
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 1), 0px 10px 10px rgba(0, 0, 0, 0.1);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	vertical-align: top;
}
.toggle.round input:disabled + .switch{ 
    opacity:.45; 
    cursor: default;
}

.bb-hourly-chart-wrap h2.h2-log,
.bb-dashboard-chart h2.h2-log,
.card h2 {
    margin-top: 0;
}

.button-primary.export {
	width: 350px;
}

/* Стили для индикаторов сервисов в модальном окне */
.svc-item {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Модальное окно информации об IP */

/* ---------- Модальные таблицы IP / User-Agent ---------- */
table.ip-info-table,
table.ua-info-table {
	width: 100%;
	border: 1px solid #ccc;
	padding: 2px;
	font-size: .9em;
}
table.ip-info-table td,
table.ua-info-table td {
	padding: 2px 8px;
	vertical-align: top;
	white-space: nowrap;
	background: #eaeaea8e;
}
table.ua-info-table tr:has(td:empty),
table.ip-info-table tr:has(td:empty) {
	display: none;
}
table.ip-info-table tr.hide,
table.ua-info-table tr.hide {
	display: none;
}
.ip-info-table td.r,
.ua-info-table td.r {
	width: 35%;
	text-align: right;
}
.ip-info-table td.l,
.ua-info-table td.l {
	width: 65%;
	text-align: left;
}
.ip-info-flag {
	width: auto;
	height: 12px;
	border: 1px solid #acacac;
	margin-left: 5px;
	vertical-align: baseline;
}
.ip-info-ip {
	text-align: center;
	font-size: 1.25em;
	font-weight: 700;
	color: #0054c2;
	margin: 15px 0;
	padding: 0;
}
.bb-yes,
.bb-yes a {
	text-align: center;
	font-size: 1.25em;
	font-weight: 700;
	color: #e10000;
	margin: 15px 0;
	padding: 0;
}
.bb-no,
.bb-no a {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #00952d;
	text-decoration: none;
	margin: 0;
	padding: 0;
	line-height: 1;
}
.ua-info-ua {
	text-align: center;
	font-size: .9em;
	font-weight: 700;
	color: #0054c2;
	margin: 5px 0;
	padding: 0;
}
span.dashicons-yes.green {
	color: green;
	font-size: 22px;
}
span.dashicons-no-alt.red {
	color: red;
	font-size: 22px;
    line-height: unset;
}
.blimg {
	vertical-align: sub;
}

.info-sign {
	color: #0081f1;
    font-size: 33px;
}

.myhelp-sign {
	color: #c900f1;
    font-size: 33px;
	text-decoration: none;
}

.myinfo-sign {
	color: #3800f1;
    font-size: 33px;
    text-decoration: none;
}

.bb-sign {
	width:22px;
	height: 22px;
}

/* Модальное окно - добавление в BlackList */
/* Затемнение фона (overlay) */
.banbot-toast-container {
    background-color: rgba(0, 0, 0, 0.7) !important; /* Темное затемнение */
    backdrop-filter: blur(3px) !important; /* Размытие фона */
}

/* Само всплывающее окно */
.banbot-toast-popup {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    min-width: fit-content;
    max-width: 100%;
}

/* Полоска таймера */
.banbot-toast-progress {
    background: linear-gradient(90deg, #46b450 0%, #2e7d32 100%) !important;
    height: 4px !important;
    border-radius: 2px !important;
}

.wp-core-ui .button-primary {
    background: #0065ab !important;
}