:root {
	--primary-color: #4dabf7;
	--primary-dark: #1e81ce;
	--success-color: #51cf66;
	--danger-color: #ff6b6b;
	--warning-color: #ffd43b;
	--light-color: #f1f3f5;
	--dark-color: #1a1d21;
	--border-color: rgba(255,255,255,0.08);
	--body-bg: #0f1115;
	--radius: 12px;
	--shadow: 0 6px 20px rgba(0,0,0,0.45);
	--blur: 18px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.bm, #burger { display: none; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(180deg, var(--body-bg), #14171c);
	color: var(--light-color);
	line-height: 1.65;
	padding: 20px;
}

/* Контейнер */
.container {
	max-width: 80%;
	margin: 0 auto;
	background: rgba(45, 50, 56, 0.65);
	backdrop-filter: blur(var(--blur)) saturate(130%);
	-webkit-backdrop-filter: blur(var(--blur)) saturate(130%);
	padding: 32px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border: 1px solid var(--border-color);
	transition: box-shadow .25s ease, transform .25s ease;
}
.container:hover {
	box-shadow: 0 12px 32px rgba(0,0,0,0.55);
	transform: translateY(-2px);
}

/* Заголовки */
h1 {
	text-align: center;
	margin-bottom: 30px;
	color: var(--light-color);
	font-weight: 800;
	letter-spacing: 0.3px;
	text-shadow: 0 2px 14px rgba(77,171,247,0.25);
}
h2 {
	color: var(--primary-color);
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 8px;
	margin-bottom: 18px;
	font-weight: 700;
}
h3 {
	margin-bottom: 12px;
	color: var(--light-color);
	font-weight: 600;
}
h4 {
	margin-top: 18px;
	margin-bottom: 8px;
	color: var(--light-color);
	font-weight: 500;
}

.settings-section {
	margin-bottom: 36px;
}

/* Формы */
.form-group {
	margin-bottom: 18px;
}
.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--light-color);
	font-size: 0.95em;
}
.form-group input[type='text'],
.form-group input[type='url'],
.form-group input[type='password'],
.form-group input[type='number'],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	font-size: 15px;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.1s;
	background: linear-gradient(180deg, #2b3037, #22262b);
	color: var(--light-color);
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.05);
}
.form-group textarea {
	resize: vertical;
	min-height: 80px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(77,171,247,0.2), inset 0 1px 4px rgba(0,0,0,0.4);
	transform: scale(1.01);
}

/* Чекбокс */
.form-group-checkbox {
	display: flex;
	align-items: center;
	margin-top: 12px;
}
.form-group-checkbox input[type='checkbox'] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	accent-color: var(--primary-color);
}
.form-group-checkbox label {
	margin-bottom: 0;
	font-weight: 500;
	color: var(--light-color);
}

/* Поле пароля */
.password-wrapper {
	position: relative;
}
.toggle-password {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	height: 36px;
	width: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-color);
	background: #2d333b;
	cursor: pointer;
	border-radius: 6px;
	font-size: 18px;
	color: var(--light-color);
	transition: background 0.25s, border-color 0.25s;
}
.toggle-password:hover {
	background: #3a4049;
	border-color: var(--primary-color);
}

/* Кнопки */
.button {
	display: inline-block;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	border: none;
	border-radius: var(--radius);
	color: #fff;
	text-decoration: none;
	background: linear-gradient(180deg, #2d333b, #1a1d21);
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.05),
	            0 6px 18px rgba(0,0,0,0.35);
	transition: all 0.25s ease;
	position: relative;
	overflow: hidden;
}
.button:hover {
	transform: translateY(-2px);
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.08),
	            0 10px 24px rgba(0,0,0,0.55),
	            0 0 14px rgba(77,171,247,0.3);
}
.button:active {
	transform: translateY(1px) scale(0.97);
	box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
}

/* Light sweep эффект */
.button::after {
	content: "";
	position: absolute;
	top: 0; left: -50%;
	width: 40%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
	transform: skewX(-20deg);
	transition: 0.6s;
}
.button:hover::after {
	left: 130%;
}

/* Варианты кнопок */
.button-primary {
	background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}
.button-start {
	background: linear-gradient(180deg, var(--success-color), #2ea14b);
}
.button-stop {
	background: linear-gradient(180deg, var(--warning-color), #f59f00);
	color: #111;
}
.button-danger {
	background: linear-gradient(180deg, var(--danger-color), #e03131);
}
.button-warning {
	background: linear-gradient(180deg, var(--warning-color), #f59f00);
	color: #111;
}

/* Доп. стили кнопок */
.button-disabled {
	background: #576072;
	cursor: not-allowed;
	opacity: 0.6;
	box-shadow: none;
}
.button-small {
	padding: 7px 14px;
	font-size: 13px;
	border-radius: 8px;
}
.button-tiny {
	padding: 2px 8px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 6px;
}


/* flash-сообщения */
.flash {
	padding: 14px 16px;
	margin-bottom: 18px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	background: rgba(20, 25, 30, 0.85);
	backdrop-filter: blur(14px) saturate(120%);
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
	animation: fadeIn 0.35s ease;
}
.flash-success {
	color: var(--light-color);
	background: linear-gradient(180deg, #2f6b3b, #24522d);
	border-left: 4px solid var(--success-color);
	box-shadow: 0 0 12px rgba(81,207,102,0.25);
}
.flash-danger {
	color: var(--light-color);
	background: linear-gradient(180deg, #7a2e34, #5a2025);
	border-left: 4px solid var(--danger-color);
	box-shadow: 0 0 12px rgba(255,107,107,0.25);
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

.user-session-controls {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* ====== Поиск пользователей ====== */
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.search-input {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 3px rgba(0, 123, 255, 0.4);
}

.search-form .button-secondary {
	background: #ddd;
	color: #333;
	border: 1px solid #bbb;
}

.search-form .button-secondary:hover {
	background: #ccc;
}

/* logout */
.button-logout {
	background: #6c757d;
	padding: 8px 15px;
	font-size: 14px;
	border-radius: 8px;
	color: #fff;
	transition: background .25s, transform .15s;
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.05), 0 4px 12px rgba(0,0,0,0.3);
}
.button-logout:hover {
	background: #5a6268;
	transform: translateY(-1px);
}

/* login */
body.login-page {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 0;
	background: radial-gradient(800px at 50% -10%, rgba(77,171,247,0.15), transparent 60%),
	            linear-gradient(180deg, var(--body-bg), #101217);
}
.login-container {
	width: 100%;
	max-width: 400px;
	padding: 36px;
	background: rgba(45, 50, 56, 0.85);
	backdrop-filter: blur(16px) saturate(125%);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(0,0,0,0.45);
	border: 1px solid var(--border-color);
	animation: scaleIn 0.35s ease;
}
.login-container h1 {
	text-align: center;
	margin-bottom: 22px;
	color: var(--light-color);
	font-weight: 700;
}

@keyframes scaleIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

/* header */
.main-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px dashed var(--border-color);
	padding-bottom: 12px;
	margin-bottom: 18px;
}

/* навигация */
.navigation .nav-link {
	font-size: 1em;
	font-weight: 600;
	color: var(--light-color);
	text-decoration: none;
	margin-right: 20px;
	padding: 6px 0;
	position: relative;
	transition: color 0.25s;
}
.navigation .nav-link:hover,
.navigation .nav-link.active {
	color: var(--primary-color);
}
.navigation .nav-link.active::after,
.navigation .nav-link:hover::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), transparent);
	border-radius: 2px;
	animation: slideIn 0.4s ease;
}
.navigation .nav-link.nav-link-alert {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	min-width: 22px;
	border-radius: 999px;
	background: #e74c3c;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.5;
}
@keyframes slideIn {
	from { width: 0; }
	to { width: 100%; }
}

/* header controls */
.header-controls {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 18px;
}

/* footer */
.main-footer {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px dashed var(--border-color);
	color: #868e96;
	font-size: 0.9em;
}

/* статистика */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}
.stat-card {
	background: rgba(45, 50, 56, 0.8);
	padding: 22px;
	border-radius: 14px;
	text-align: center;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0,0,0,0.4),
	            0 0 14px rgba(77,171,247,0.25);
}
.stat-card h3 {
	margin: 0 0 8px;
	color: #adb5bd;
	font-size: 0.9em;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.stat-card .stat-number {
	font-size: 2.4em;
	font-weight: 800;
	color: var(--light-color);
	line-height: 1.2;
	text-shadow: 0 2px 14px rgba(255,255,255,0.05);
	transition: color .3s ease;
}
.stat-card:hover .stat-number {
	color: var(--primary-color);
}
.stat-card .stat-number small {
	font-size: 0.5em;
	font-weight: 400;
	color: #adb5bd;
}

/* настройки */
.settings-container {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}
.settings-column-left {
	flex: 2;
	min-width: 360px;
}
.settings-column-right {
	flex: 3;
	min-width: 440px;
}

/* карточки хостов */
.host-card {
	background: rgba(45, 50, 56, 0.82);
	border: 1px solid var(--border-color);
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.host-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.35),
	            0 0 12px rgba(77,171,247,0.2);
}

.host-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px dashed var(--border-color);
	padding-bottom: 10px;
	margin-bottom: 14px;
}
.host-header h3 {
	margin: 0;
	color: var(--light-color);
	font-weight: 600;
}

/* Сворачивание/разворачивание блоков */
.host-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.host-body.active {
  max-height: 2000px; /* большое значение, чтобы влез весь контент */
  opacity: 1;
}

/* Кнопка-стрелка для сворачивания */
.collapse-toggle {
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.collapse-toggle.open {
  transform: rotate(180deg); /* поворот стрелки вниз/вверх */
}



/* графики */
.chart-container {
	background: rgba(45, 50, 56, 0.85);
	border: 1px solid var(--border-color);
	border-radius: 14px;
	margin-bottom: 28px;
	max-width: 720px;
	max-height: 430px;
	padding: 20px 20px 50px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
	transition: transform .25s ease, box-shadow .25s ease;
	overflow: hidden;
	position: relative;
}
.chart-container::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 6px;
	background: linear-gradient(90deg, var(--primary-color), transparent);
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	opacity: .4;
}
.chart-container:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(0,0,0,0.45),
	            0 0 18px rgba(77,171,247,0.25);
}

/* список транзакций */
.transaction-list {
	list-style: none;
	padding: 0;
}
.transaction-item {
	background: rgba(45, 50, 56, 0.85);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 14px;
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.transaction-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(0,0,0,0.4);
	border-color: var(--primary-color);
}
.transaction-item p {
	margin: 0 0 6px;
	font-size: 0.95em;
	color: var(--light-color);
}
.transaction-item p strong {
	color: var(--light-color);
	display: inline-block;
	width: 130px;
	font-weight: 600;
}
.transaction-item .user-info {
	color: var(--primary-color);
	font-weight: 700;
	text-shadow: 0 0 6px rgba(77,171,247,0.25);
}

/* таблица транзакций */
.transactions-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.transactions-table thead {
	background: linear-gradient(180deg, #343a40, #2a2f36);
}
.transactions-table th,
.transactions-table td {
	border: 1px solid var(--border-color);
	padding: 12px 14px;
	text-align: left;
	font-size: 0.92em;
	color: var(--light-color);
}
.transactions-table th {
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #e9ecef;
}
.transactions-table tr {
	transition: background 0.25s ease;
}
.transactions-table tr:hover td {
	background: rgba(77,171,247,0.08);
}

/* пагинация */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 28px;
	gap: 6px;
}
.pagination a {
	color: var(--primary-color);
	background: rgba(45, 50, 56, 0.85);
	border: 1px solid var(--border-color);
	padding: 8px 14px;
	text-decoration: none;
	border-radius: 8px;
	transition: background .25s, color .25s, transform .15s, box-shadow .25s;
}
.pagination a:hover {
	background: #2d3645;
	color: var(--light-color);
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.pagination a.active {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	cursor: default;
	box-shadow: 0 6px 18px rgba(77,171,247,0.35);
}
.pagination a.disabled {
	color: #6c757d;
	background: #2a2f36;
	border-color: var(--border-color);
	pointer-events: none;
}

/* таблица пользователей */
.users-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.users-table thead {
	background: linear-gradient(180deg, #343a40, #2a2f36);
}
.users-table th,
.users-table td {
	border: 1px solid var(--border-color);
	padding: 12px 14px;
	text-align: left;
	vertical-align: middle;
	color: var(--light-color);
	font-size: 0.92em;
}
.users-table th {
	font-weight: 700;
	color: #e9ecef;
}
.users-table tr {
	transition: background 0.25s ease;
}
.users-table tr:hover td {
	background: rgba(77,171,247,0.08);
}
.users-table .actions-cell {
	width: 240px;
	text-align: right;
}

.actions-cell form {
	display: inline-block;
	margin-left: 5px;
}

/* AyaPayment */
.ayapayment-layout {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 24px;
}
.orders-column {
	background: rgba(18, 21, 26, 0.6);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 20px;
	max-height: calc(100vh - 220px);
	overflow-y: auto;
}
.order-list {
	list-style: none;
	margin: 0 0 24px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.order-list.completed {
	opacity: 0.85;
}
.order-item a {
	display: block;
	padding: 12px 14px;
	border-radius: var(--radius);
	border: 1px solid transparent;
	background: rgba(255,255,255,0.02);
	color: var(--light-color);
	text-decoration: none;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.order-item a:hover {
	transform: translateY(-2px);
	border-color: var(--primary-color);
}
.order-item.selected a {
	border-color: var(--primary-color);
	background: rgba(77, 171, 247, 0.12);
}
.order-item-header,
.order-item-body,
.order-item-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}
.order-item-body {
	font-size: 0.85rem;
}
.order-item-footer {
	font-size: 0.75rem;
	opacity: 0.7;
}
.order-unread {
	background: var(--danger-color);
	color: #fff;
	border-radius: 999px;
	padding: 0 6px;
	min-width: 18px;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 700;
}
.order-status {
	font-size: 0.75rem;
	padding: 2px 8px;
	border-radius: 999px;
	text-transform: capitalize;
	background: rgba(255,255,255,0.08);
}
.order-status.status-pending {
	background: rgba(255, 212, 59, 0.15);
	color: var(--warning-color);
}
.order-status.status-paid {
	background: rgba(81, 207, 102, 0.15);
	color: var(--success-color);
}
.order-status.status-completed {
	background: rgba(77, 171, 247, 0.15);
	color: var(--primary-color);
}
.order-details {
	background: rgba(18, 21, 26, 0.6);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.order-summary .summary-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	background: rgba(255,255,255,0.1);
}
.order-summary .summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin-top: 18px;
}
.summary-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(241,243,245,0.6);
}
.summary-value {
	display: block;
	margin-top: 4px;
	font-size: 0.95rem;
	font-weight: 600;
}
.summary-value.code {
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
	font-size: 0.85rem;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(0,0,0,0.35);
}
.complete-form {
	margin-top: 16px;
}
.order-chat {
	border-top: 1px dashed var(--border-color);
	padding-top: 16px;
}
.chat-thread {
	max-height: 320px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
	padding-right: 6px;
}
.chat-message {
	border-radius: var(--radius);
	padding: 12px 14px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.05);
}
.chat-message.admin {
	border-color: rgba(77, 171, 247, 0.35);
	background: rgba(77, 171, 247, 0.12);
}
.chat-message.user {
	border-color: rgba(255, 255, 255, 0.08);
}
.chat-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	opacity: 0.7;
	margin-bottom: 6px;
}
.chat-text {
	white-space: pre-wrap;
	font-size: 0.95rem;
}
.chat-form textarea {
	width: 100%;
	background: rgba(0,0,0,0.35);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	color: var(--light-color);
	padding: 10px 12px;
	resize: vertical;
	min-height: 90px;
	margin-bottom: 12px;
}
.chat-form textarea:focus {
	outline: none;
	border-color: var(--primary-color);
}
.empty-state {
	margin: auto;
	text-align: center;
	padding: 40px 20px;
	border: 1px dashed var(--border-color);
	border-radius: var(--radius);
	color: rgba(241,243,245,0.7);
}


/* бейджи статуса */
.status-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 16px;
	font-size: 0.82em;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.03em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25);
	transition: transform .2s ease, box-shadow .25s ease, background .3s ease;
	position: relative;
	overflow: hidden;
}
.status-badge:hover {
	transform: translateY(-1px) scale(1.03);
	box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

/* Активный */
.status-active {
	background: var(--success-color);
	text-shadow: 0 0 10px rgba(81,207,102,0.7);
	animation: pulseActive 2.5s infinite;
}
@keyframes pulseActive {
	0%, 100% { box-shadow: 0 0 10px rgba(81,207,102,0.6); }
	50% { box-shadow: 0 0 18px rgba(81,207,102,0.9); }
}

/* Забанен */
.status-banned {
	background: var(--danger-color);
	text-shadow: 0 0 10px rgba(255,107,107,0.7);
	animation: pulseBanned 2.5s infinite;
}
@keyframes pulseBanned {
	0%, 100% { box-shadow: 0 0 10px rgba(255,107,107,0.6); }
	50% { box-shadow: 0 0 18px rgba(255,107,107,0.9); }
}

/* адаптив */
@media (max-width: 1256px) {
	.navigation {
		display: flex;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
	.header-controls {
		flex-wrap: wrap;
	}
	.bot-control {
		padding-right: 0;
	}
	li { list-style-type: none; }
	.bm { display: block; }

	.ayapayment-layout {
		grid-template-columns: 1fr;
	}
	.orders-column {
		order: 2;
		max-height: none;
	}
	.order-details {
		order: 1;
	}

	/* бургер */
	.bm input + label {
		position: fixed;
		top: 30px;
		right: 30px;
		z-index: 5;
		width: 28px;
		height: 22px;
		cursor: pointer;
	}
	.bm input + label span {
		position: absolute;
		width: 100%;
		height: 2px;
		left: 0;
		background: var(--light-color);
		border-radius: 2px;
		transition: .4s;
	}
	.bm input + label span:first-child { top: 0; }
	.bm input + label span:nth-child(2) { top: 10px; }
	.bm input + label span:last-child { top: 20px; }

	.bm input:checked + label span {
		top: 10px;
		transform: rotate(45deg);
	}
	.bm input:checked + label span:nth-child(2) { opacity: 0; }
	.bm input:checked + label span:last-child {
		top: 10px;
		transform: rotate(-45deg);
	}

	/* меню */
	.bm input ~ nav {
		background: rgba(45, 50, 56, 0.95);
		position: fixed;
		top: 0;
		right: 0;
		width: 280px;
		height: 0;
		z-index: 3;
		transition: height .4s ease;
		overflow: hidden;
	}
	.bm input:checked ~ nav { height: 100%; }
	.bm input ~ nav > ul {
		position: absolute;
		top: 100px;
		right: 10%;
	}
	.bm input ~ nav > ul > li {
		opacity: 0;
		transition: opacity .3s ease;
		margin-bottom: 22px;
	}
	.bm input:checked ~ nav > ul > li {
		opacity: 1;
		transition-delay: .2s;
	}
	.bm input ~ nav > ul > li > a {
		color: var(--light-color);
		font-size: 1.6em;
		text-decoration: none;
	}

	.navigation { display: none; }
	.burger_img {
		background: url('../img/burger.png');
		background-size: 32px 32px;
		height: 32px;
		width: 32px;
	}
	.main-header { justify-content: flex-start; }
	.container {
		max-width: 93%;
		padding: 20px;
	}
	.bm input + label {
		top: 20px;
		right: 10px;
	}
}

@media (max-width: 772px) {
	.header-controls { justify-content: flex-start; }
}
@media (max-width: 620px) {
	.chart-container {
		max-width: 100%;
		min-height: 300px;
	}
	.container { width: 100%; }
	.dashboard-column-left { min-width: 10px; }
	.dashboard-column-right { min-width: 460px; }
}
@media (max-width: 570px) {
	.dashboard-column-right { min-width: 415px; }
}
@media (max-width: 475px) {
	.dashboard-column-right { min-width: 330px; }
	h2 { font-size: 1em; }
	h1 { font-size: 1.5em; }
}
@media (max-width: 455px) {
	.chart-container h3 { font-size: 1em; }
}
@media (max-width: 430px) {
	.dashboard-column-right { min-width: 283px; }
}
@media (max-width: 380px) {
	.dashboard-column-right { min-width: 240px; }
}
@media (max-width: 600px) {
	h1 {
		font-size: 1.4em;
		margin-bottom: 15px;
	}
	.settings-container { flex-direction: column; }
	.settings-column-left,
	.settings-column-right {
		flex: 1 1 100%;
		min-width: 0;
	}
}


	/* Адаптация секции хостов */
.host-card {
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 12px;
	transition: box-shadow .25s ease, transform .25s ease;
}
.host-header {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.host-header h3 {
	margin-bottom: 4px;
	font-size: 1em;
	font-weight: 600;
}
.host-header form {
	margin-top: 4px;
}
.plan-list li {
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 8px;
	border-radius: 8px;
	transition: background .25s ease;
}
.plan-list li:hover {
	background: rgba(77,171,247,0.05);
}
.plan-list li form {
	margin-top: 4px;
}

/* Адаптация форм */
.form-group {
	margin-bottom: 14px;
}
.form-group label {
	font-size: 0.9em;
}
.form-group input[type='text'],
.form-group input[type='url'],
.form-group input[type='password'],
.form-group input[type='number'],
.form-group select,
.form-group textarea {
	font-size: 14px;
	padding: 10px;
	border-radius: 8px;
	transition: border .25s ease, box-shadow .25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(77,171,247,0.25);
}
.form-group textarea {
	min-height: 60px;
}
.toggle-password {
	top: 40%;
	width: 38px;
	font-size: 18px;
}
.form-inline {
	flex-direction: column;
	gap: 8px;
}
.form-inline input {
	min-width: 100%;
}

/* Кнопки */
.button {
	padding: 10px 18px;
	font-size: 14px;
	border-radius: 8px;
}
.button-small {
	padding: 6px 12px;
	font-size: 12px;
}
.button-tiny {
	padding: 2px 6px;
	font-size: 10px;
}

/* Mobile < 480px */
@media (max-width: 480px) {
	h1 {
		font-size: 1.2em;
	}
	.host-card {
		padding: 12px;
		border-radius: 10px;
	}
	.form-group input[type='text'],
	.form-group input[type='url'],
	.form-group input[type='password'],
	.form-group input[type='number'],
	.form-group select,
	.form-group textarea {
		font-size: 12px;
		padding: 8px;
	}
	.toggle-password {
		width: 34px;
		font-size: 16px;
	}
	.button {
		padding: 8px 14px;
		font-size: 12px;
	}
}

/* Mobile < 375px */
@media (max-width: 375px) {
	h1 {
		font-size: 1em;
	}
	.host-card {
		padding: 8px;
		border-radius: 8px;
	}
	.form-group input[type='text'],
	.form-group input[type='url'],
	.form-group input[type='password'],
	.form-group input[type='number'],
	.form-group select,
	.form-group textarea {
		font-size: 10px;
		padding: 6px;
	}
	.toggle-password {
		width: 30px;
		font-size: 14px;
	}
	.button {
		padding: 6px 10px;
		font-size: 10px;
	}
	.plan-list li {
		padding: 6px;
		border-radius: 6px;
	}
}
