@font-face{
	font-family: "Factor IO";
	src: url("fonts/factor-io-light.woff2") format("woff2");
	font-weight: 100 300;
	font-style: normal;
	font-display: swap;
}
@font-face{
	font-family: "Factor IO";
	src: url("fonts/factor-io-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face{
	font-family: "Factor IO";
	src: url("fonts/factor-io-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face{
	font-family: "Factor IO";
	src: url("fonts/factor-io-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
.top-header-panel{
display: flex;
justify-content: space-between;
}
.mode-orders-swith{

}
.mode-text{
	color: #999;
	font-size: 6px;
	user-select: none;
}
.btn-logout-area{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: .5rem;
}
.form-switch-orders{}
.form-switch-orders label{
	cursor: pointer;
	user-select: none;
}
.emails-toolbar{
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin: 1rem 0 .25rem;
}
.sites-tabs{
	margin-top: 5rem;
}
.sites-tab-end{
	margin-left: auto;
}
.sites-tabs .analytics-btn{
	top: -1px;
	box-shadow: 0 1px 0 0 var(--bs-nav-tabs-link-active-border-color);;
}
.sites-tabs .analytics-btn,
.sites-tabs .analytics-btn:hover,
.sites-tabs .analytics-btn:focus,
.sites-tabs .analytics-btn:focus-visible{
	color: #607D8B;
	background-color: var(--bs-nav-tabs-link-active-bg);
	border-color: var(--bs-nav-tabs-link-active-border-color);
	isolation: isolate;
}
.sites-tabs .analytics-btn.active{
	color: #3d6173;
	/* color: var(--bs-nav-link-color); */
}
.sites-tabs .nav-item button{
	position: relative;
	user-select: none;
	touch-action: manipulation;
}
.sites-tabs .nav-link *{
	pointer-events: none;
}
.sites-tabs{}

.sites-tabs .icon-project{
	display: inline-flex;
	align-items: center;
	/* line-height: 1; */
}
.sites-tabs .icon-project::before{
	display: inline-flex;
	content: '';
	width: 1rem;
	height: 1rem;
	margin-right: .35rem;
	background-size: contain;
	background-position:center;
	background-repeat: no-repeat;
}
.sites-tabs .icon-project-streamup::before{
	background-image: url(../assets/img/projects-favicons/streamup.svg);

}
.sites-tabs .icon-project-viewsgo::before{
	background-image: url(../assets/img/projects-favicons/viewsgo.png);
}
.sites-tabs .icon-project-ctrgo::before{
	background-image: url(../assets/img/projects-favicons/ctrgo.svg);
}

.table-wrap-responsive{
		width: 100%;
	overflow-x: auto; /* Включает горизонтальный скролл при необходимости */
	-webkit-overflow-scrolling: touch; /* Плавный скролл на iOS устройствах */
	/* margin-bottom: 20px; */
}
.table-orders{
	margin-top: 1rem;
	margin-bottom: 5rem;
}
.table-orders thead tr th{
	background: #fafafa;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .65px;
	padding-top: .5rem;
	padding-bottom: .5rem;
	line-height: 2.4;
	/* text-align: center; */
}
.table-orders thead tr th:first-of-type{
	border-radius: 8px 0 0 0;
}
.table-orders thead tr th:last-of-type{
	border-radius: 0 8px 0 0;
}
.table-orders tr{
	position: relative;
}
.table-orders .th-order-link-id{
	text-align: center;
}
.order-id-cell{
	display: flex;
	flex-direction: column;
}
.order-id-cell b{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.order-type-label{
	padding: .15rem .25rem;
	margin-left: .25rem;
	border-radius: 5px;

	font-size: 10px;
	font-size: 7.5px;
}
.order-label-name-order{
	background: rgba(3,169,244,.11);
	color: #03A9F4;
}
.order-label-name-extra-order{
	background: rgba(76,175,80,.11);
	color: #4CAF50;
}
.order-payment-id-text{
	font-size: 10px;
	color: #eee;
	color: #999;
}

.table-orders > tbody td,
.table-orders > tbody th{
	height:69px;
	vertical-align: middle;
	font-size: 12px;
}
.table-orders tr.order-row-new th,
.table-orders tr.order-row-new td{
	animation: order-row-new-flash 2s ease-out;
}
@keyframes order-row-new-flash {
	from { background: #fff3cd; }
	to { background: transparent; }
}

.table-orders .accordion-collapse.collapse.show{
	position: absolute;
	top: 34px;
	top: 57px;
	left: 0;
	width: 100%;
	height: calc(100% - 35px);
	background: rgba(207,226,255,.25);
	background: #F3F8FF;

	z-index: 4;
	/* height: 290px; */
	/* height: 310px; */
	/* height: 390px; */
	height: 420px;
	overflow-y: auto;
	box-shadow: 0 5px 40px rgb(0 0 0 / 10%);
}

.accordion-button:not(.collapsed){
		background: rgba(207,226,255,.25);
		background: #F3F8FF;
		box-shadow: 0 0 0 0;
		outline: 0;
}

.accordion-button:focus{
			box-shadow: 0 0 0 0;
}
.accordion-button:not(.collapsed){
			position: relative;
		/* padding-bottom: 100px; */
		padding-bottom: 70px;
		padding-bottom: 95px;
		/* padding-bottom: 370px; */
		z-index: 10;
		padding-bottom: 10px;
}

.accordion-body table{
	border: 1px solid #ddd;
	margin-top: 13px;
}
.accordion-body table th{
	height: 36px;
	padding-left: .5rem;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	color: #222;
}
.accordion-body table td{
	height: 45px;
	height: 40px;
	padding-left: .5rem;
}

.order-pay-table th{
	font-weight: 600;
	white-space: nowrap;
}
.order-pay-table .order-pay-used td{
	color: #111;
	font-weight: 600;
}
.order-pay-table .order-pay-idle td{
	color: #9aa3ad;
}

.order-meta-accordion{
	background: #fff;
	border: 1px solid #ddd;
	margin-top: 13px !important;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}


.order-link{
	display: flex;
	max-width: 367px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	margin-bottom: 0;
	text-decoration: none;
	color: #000;
}
.order-link:before{
	display: flex;
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	align-self: center;
	margin-right: .5rem;
}
.order-link[data-link-url*="kick"]:before{
	background: #03e787;
}
.order-link[data-link-url*="youtube"]:before{
	background: #FF0000;
}
.order-link[data-link-url*="twitch"]:before{
	background: #9146FF;
}


.order-link-data-cell{
		max-width:200px;
		white-space: normal;      /* Разрешает стандартный перенос строк */
		overflow-wrap: break-word; /* Переносит длинные слова и ссылки, если они не помещаются */
		word-break: break-word;
}
.order-link-data{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.order-link-id{

}
.order-link-type{
	font-size: 8px;
	letter-spacing: 1px;
	color: #999;
}

.order-pay-status-cell{}
.order-pay-status{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.order-pay-status-name{
	font-size: 8px;
	letter-spacing: 1px;
	color: #999;
}
.order-pay-method{
	font-size: 8px;
	letter-spacing: 1px;
	color: #666;
}

.order-pay-status-dot,
.order-start-status-dot{
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
	box-sizing: border-box;
	background: transparent;
	border: 1px solid transparent;
}

.order-pay-status-dot--0{
	background: #ddd;
	border-color: #ccc;
}
.order-pay-status-dot--1{
	width: 14px;
	height: 14px;
	border: 1px solid rgb(22 163 74 / 30%);
	border-radius: 50%;
	background-color: transparent;
	background-image: url("img/order-pay-status-ok.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.order-pay-status-dot--2{
	width: 14px;
	height: 14px;
	border-radius: 0;
	border: none;
	background: none;
	/* System emoji ⌛️ (Apple Color Emoji on macOS) — matches OS glyph */
	font-size: 13px;
	line-height: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.order-pay-status-dot--2::before{
	content: "\231B\FE0F";
}
.order-pay-status-dot--3{
	background: #92400e;
	border-color: #78350f;
}

.order-date{
	display: flex;
	flex-direction: column;
}
.order-date-create{}
.order-start-date{
	font-size: 10px;
	color: #eee;
	color: #999;
}



.order-start-status-cell{}
.order-start-status{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.order-start-status-mode{
	font-size: 8px;
	letter-spacing: 1px;
	/* color: #eee; */
	color: #999;
}
.order-start-status-dot--0{
	opacity: 0;
}
.order-start-status-dot--1{
	width: 14px;
	height: 14px;
	border: 1px solid rgb(22 163 74 / 30%);
	border-radius: 50%;
	background-color: transparent;
	background-image: url("img/order-pay-status-ok.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.order-start-status-dot--2{
	background: #92400e;
	border-color: #78350f;
}
.order-start-status-dot--3{
	background: #bf8b78;
	border-color: #bf8b78;
}
.order-start-status-dot--4{
	background: #f3f4f6;
	border-color: #d1d5db;
}
.order-start-status-dot--5{
	background: #ef4444;
	border-color: #dc2626;
}

/* Customizable select (Chrome/Edge 135+): status dots in options */
@supports (appearance: base-select) {
	select.order-status-select,
	select.order-status-select::picker(select) {
		appearance: base-select;
	}

	select.order-status-select {
		padding: 0.375rem 0.75rem;
		min-width: 12rem;
	}

	select.order-status-select::picker-icon {
		display: none;
	}

	select.order-status-select > button {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		width: 100%;
		border: 0;
		background: transparent;
		padding: 0;
		font: inherit;
		color: inherit;
		text-align: left;
	}

	select.order-status-select selectedcontent {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
	}

	select.order-status-select::picker(select) {
		border: 1px solid #dee2e6;
		border-radius: 0.375rem;
		padding: 0.25rem;
		background: #fff;
		box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 12%);
	}

	select.order-status-select option {
		display: flex;
		align-items: center;
		gap: 0.45rem;
		padding: 0.4rem 0.55rem;
		border-radius: 0.25rem;
		cursor: pointer;
	}

	select.order-status-select option:hover,
	select.order-status-select option:checked {
		background: #f8f9fa;
	}

	select.order-status-select option::checkmark {
		display: none;
	}

	select.order-status-select .order-status-select-label {
		line-height: 1.2;
	}
}








tr.acitve-tr {
	opacity:.6;
}
tr.acitve-tr td,tr.acitve-tr th {
	background:#0080001c;
	color:#008000;
}



.form-archive-order,
.form-archive-mail{

	.btn-del-order{}

	.btn-del-order svg{
		width: 16px;
		height: 16px;
		position: relative;
		top: -1px;
	}

}
.btn-start-order{}

.btn-start-order svg{
	width: 16px;
	height: 16px;
	position: relative;
	top: -1px;
}

.form-start-manual-order{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.25rem;
}

.btn-start-order-service{
	display: block;
	max-width: 11rem;
	font-size: 0.75rem;
	line-height: 1.2;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}



/* https://share.cleanshot.com/tc1MlZVG */
/* https://getbootstrap.com/docs/5.3/components/accordion/#via-javascript */





/* MAIL TABLE */

.mail-description-short{
	display: block;
	max-width: 540px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	margin-bottom: 0;
}

.table-mails .status-mail-pinned th,
.table-mails .status-mail-pinned td{
	background:antiquewhite;
}

.table-mails .status-mail-unread th,
.table-mails .status-mail-unread td{
	background:aliceblue;
}
.table-mails .status-mail-read th,
.table-mails .status-mail-read td{
	opacity: .25;
}

/* Analytics tab — YooKassa-like */
.analytics-board{
	margin-top: 1.5rem;
	margin-bottom: 4rem;
	color: #1a1a1a;
}
.analytics-toolbar{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin-bottom: 1.25rem;
}
.analytics-board button,
.analytics-board select,
.analytics-board input{
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	box-shadow: none;
}
.analytics-board button::-moz-focus-inner,
.analytics-board input::-moz-focus-inner{
	border: 0;
	padding: 0;
}
.analytics-switch{
	display: inline-flex;
	overflow: hidden;
	border: 1px solid #d9dde3;
	border-radius: 10px;
	background: #fff;
}
.analytics-chip{
	border: 0;
	background: #fff;
	border-radius: 0;
	height: 36px;
	padding: 0 14px;
	color: #6b7280;
	cursor: pointer;
	white-space: nowrap;
}
.analytics-chip + .analytics-chip{
	border-left: 1px solid #d9dde3;
}
.analytics-chip:hover{
	background: #f7f8fa;
	color: #1a1a1a;
}
.analytics-chip:focus-visible{
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(0, 184, 148, .35);
	position: relative;
	z-index: 1;
}
.analytics-chip.active{
	background: #e8faf4;
	color: #00916e;
	font-weight: 600;
}
.analytics-title{
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.02em;
	margin: 0 0 1rem;
	color: #111;
}
.analytics-card{
	background: #fff;
	border: 1px solid #e6e8ee;
	border-radius: 16px;
	padding: 8px 8px 20px;
	box-shadow: none;
	font-family: "Factor IO", Arial, sans-serif;
	font-synthesis: none;
}
.analytics-card .apexcharts-text,
.analytics-card .apexcharts-legend-text,
.analytics-card .apexcharts-datalabel,
.analytics-card .apexcharts-tooltip{
	font-family: "Factor IO", Arial, sans-serif !important;
	font-synthesis: none;
}
.analytics-kpis{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0;
	padding: 8px 16px 0;
	border-bottom: 1px solid #eef0f4;
}
.analytics-kpi{
	border: 0;
	background: transparent;
	text-align: left;
	padding: 10px 28px 14px 4px;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	min-width: 140px;
}
.analytics-kpi-label{
	display: block;
	font-size: 13px;
	color: #8b919a;
	font-weight: 400;
	margin-bottom: 6px;
}
.analytics-kpi-value{
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #111;
	letter-spacing: -.03em;
	line-height: 1.15;
}
.analytics-kpi.active{
	border-bottom-color: #00b894;
}
.analytics-kpi.active .analytics-kpi-value{
	color: #111;
}
.analytics-hide{
	margin-left: auto;
	margin-bottom: 10px;
	border: 0;
	background: transparent;
	color: #6b7280;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	padding: 8px 8px 12px;
}
.analytics-hide:hover{
	color: #111;
}
.analytics-hide:focus-visible,
.analytics-kpi:focus-visible{
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 184, 148, .16);
	border-radius: 8px;
}
.analytics-board.is-collapsed .analytics-hide svg{
	transform: rotate(180deg);
}
.analytics-board.is-collapsed .analytics-body{
	display: none;
}
.analytics-body{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 248px;
	gap: 8px 24px;
	align-items: start;
	padding: 16px 16px 0 8px;
}
.analytics-chart-wrap{
	min-width: 0;
}
#analytics-chart{
	min-height: 340px;
}
.analytics-status{
	margin: 0;
	min-height: 1.2em;
	font-size: 13px;
	color: #8b919a;
}
.analytics-filters{
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 8px;
}
.analytics-field{
	position: relative;
	display: block;
	width: 100%;
	height: 42px;
	border: 1px solid #d9dde3;
	border-radius: 10px;
	background: #fff;
	color: #9aa0a8;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.analytics-field:hover{
	border-color: #c5cad3;
}
.analytics-field:focus-within{
	border-color: #00b894;
	box-shadow: 0 0 0 3px rgba(0, 184, 148, .12);
}
.analytics-select{
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 10px;
	padding: 0 36px 0 12px;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239aa0a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	color: #1a1a1a;
	cursor: pointer;
}
.analytics-select:focus{
	outline: none;
}
.analytics-select:disabled{
	color: #1a1a1a;
	opacity: 1;
	cursor: default;
}
.analytics-dates{
	display: flex;
	align-items: center;
	gap: 6px;
}
.analytics-date{
	flex: 1;
	min-width: 0;
}
.analytics-date-text{
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 34px 0 12px;
	font-size: 14px;
	color: #1a1a1a;
	pointer-events: none;
}
.analytics-input{
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
	color-scheme: light;
}
.analytics-input::-webkit-calendar-picker-indicator{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.analytics-date svg{
	position: absolute;
	right: 10px;
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
	pointer-events: none;
}
.analytics-dates-sep{
	color: #9aa0a8;
	font-size: 13px;
	flex: 0 0 auto;
}
.password-strength-bar{
	height: .35rem;
	border-radius: .25rem;
	background: #e9ecef;
	overflow: hidden;
}
.password-strength-fill{
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	transition: width .2s ease, background-color .2s ease;
	background: #adb5bd;
}
.password-strength-fill.is-weak{
	background: #dc3545;
}
.password-strength-fill.is-fair{
	background: #fd7e14;
}
.password-strength-fill.is-good{
	background: #ffc107;
}
.password-strength-fill.is-strong{
	background: #20c997;
}
.password-strength-fill.is-stronger{
	background: #198754;
}
.password-strength-label.is-weak{
	color: #dc3545;
}
.password-strength-label.is-fair{
	color: #fd7e14;
}
.password-strength-label.is-good{
	color: #b78103;
}
.password-strength-label.is-strong{
	color: #0f766e;
}
.password-strength-label.is-stronger{
	color: #146c43;
}
.apexcharts-tooltip.apexcharts-theme-dark{
	font-weight: 300;
}
.apexcharts-tooltip.apexcharts-theme-dark,
.apexcharts-tooltip.apexcharts-theme-light{
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip{
	display: none !important;
}
.apexcharts-tooltip.apexcharts-active{
	overflow: visible;
}
.analytics-chart-tooltip{
	background: #0b162a;
	border-radius: 10px;
	/* padding: 12px 14px; */
	padding: 13px;
	box-shadow: 0 8px 24px rgba(11, 22, 42, 0.28);
	font-family: "Factor IO", Arial, sans-serif;
	font-weight: 300;
	font-synthesis: none;
	line-height: 1.25;
	/* min-width: 7.5rem; */
}
.analytics-chart-tooltip-row{
	display: flex;
	align-items: center;
	gap: 8px;
}
.analytics-chart-tooltip-marker{
	display: inline-block;
	width: 13px;
	height: 1.5px;
	/* background: #00b894; */
	background: rgb(0, 168, 132);
	flex: 0 0 auto;
}
.analytics-chart-tooltip-value{
	color: #fff;
	font-size: 10.5px;
	line-height: 18px;
	white-space: nowrap;
}
.analytics-chart-tooltip-date{
	padding-left: 20px;
	/* color: #828d9a; */
	color: rgba(255,255,255,.6);
	font-size: 9.5px;
	line-height: 14px;
	white-space: nowrap;
}
@media (max-width: 960px){
	.analytics-body{
		grid-template-columns: 1fr;
	}
	.analytics-hide{
		width: 100%;
		justify-content: flex-end;
	}
}




.order-price-data-cell:after{
	content: " ₽";
}

/* Градиент цвета текста с приоритетом !important */
.price-vol-1 { color: #b78103 !important; } /* Маленький заказ: Темно-желтый */
.price-vol-2 { color: #829117 !important; } /* Оливково-зеленый */
.price-vol-3 { color: #4b830d !important; } /* Травяной зеленый */
.price-vol-4 { color: #1b6d22 !important; } /* Насыщенный зеленый */
.price-vol-5 { color: #004d40 !important; } /* Большой заказ: Темно-зеленый */