/* prettier-ignore */
/*# sourceMappingURL=user.css.map */
/* .login_container {
	display: flex;
	flex-direction: column;
	border-top: var(--phoenix-gray-300);
	padding-top: 1rem;
	margin-top: 1rem;
	align-items: center;
	justify-content: center;
	width: 75%;
} */

.integra_shtamp {
	display: flex;
	position: fixed;
	top: 15vh;
	left: 40vw;
	border-radius: 20px;
	border: 2px solid red;
	align-items: center;
	justify-content: center;
	height: 10vh;
	width: 15vw;
}

.main_log_form {
	margin-top: 5%;
	margin-left: 5%;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.6);
	border: 2px solid #1496ec;
	border-radius: 30px;
	display: flex;
	flex-direction: column;
	height: fit-content;
	width: fit-content;
	max-width: 35vw;
	align-items: center;
	justify-content: center;
	padding-left: 3%;
	padding-right: 3%;
	padding-bottom: 1.5%;
	padding-top: 1.5%;
}

@media (max-width: 1000px) {

	.main_log_form {
		max-width: 45vw;
	}
}

@media (max-width: 800px) {

	.main_log_form {
		max-width: 95vw;
		margin: 0;
	}
}

@media (min-width: 992px) {
		.right-expand-lg  {
			-ms-flex-wrap: nowrap;
			flex-wrap: nowrap;
			-webkit-box-pack: start;
			-ms-flex-pack: start;
			justify-content: flex-start;
		}
		.right-expand-lg  .navbar-nav {
			-webkit-box-orient: horizontal;
			-webkit-box-direction: normal;
			-ms-flex-direction: row;
			flex-direction: row;
		}

		.right-expand-lg  .navbar-nav .nav-link {
			padding-right: var(--phoenix-navbar-nav-link-padding-x);
			padding-left: var(--phoenix-navbar-nav-link-padding-x);
		}
		.right-expand-lg  .navbar-nav-scroll {
			overflow: visible;
		}
		.right-expand-lg  .navbar-collapse {
			display: -webkit-box !important;
			display: -ms-flexbox !important;
			display: flex !important;
			-ms-flex-preferred-size: auto;
			flex-basis: auto;
		}
		.right-expand-lg  .navbar-toggler {
			display: none;
		}
		.right-expand-lg  .offcanvas {
			position: static;
			z-index: auto;
			-webkit-box-flex: 1;
			-ms-flex-positive: 1;
			flex-grow: 1;
			width: auto !important;
			height: auto !important;
			visibility: visible !important;
			background-color: transparent !important;
			border: 0 !important;
			-webkit-transform: none !important;
			-ms-transform: none !important;
			transform: none !important;
			-webkit-box-shadow: none;
			box-shadow: none;
			-webkit-transition: none;
			-o-transition: none;
			transition: none;
		}
		.right-expand-lg  .offcanvas .offcanvas-header {
			display: none;
		}
		.right-expand-lg  .offcanvas .offcanvas-body {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-flex: 0;
			-ms-flex-positive: 0;
			flex-grow: 0;
			padding: 0;
			overflow-y: visible;
		}
	}
@media (min-width: 992px) {
			.navbar-vertical.right-expand-lg {
			width: 15.875rem;
			border-left: 1px solid var(--phoenix-navbar-vertical-border-color);
			margin: 0;
			right: 0;
			-webkit-transition: width 0.2s ease;
			-o-transition: width 0.2s ease;
			transition: width 0.2s ease;
		}
		.navbar-vertical.right-expand-lg + .navbar .navbar-vertical-toggle {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
		}

		.navbar-vertical.right-expand-lg .navbar-vertical-content {
			width: 100%;
		}
		.navbar-vertical.right-expand-lg .navbar-vertical-content .navbar-nav .nav-link {
			padding-top: 0.35rem;
			padding-bottom: 0.35rem;
			padding-right: 1.75rem;
			margin-left: 0.75rem;
			margin-right: 0.75rem;
			border-radius: 0.5rem;
		}

		.navbar-vertical.right-expand-lg ~ .navbar-top {
			padding-right: 2.5rem;
		}
		.navbar-vertical.right-expand-lg ~ .navbar-top .navbar-toggler {
			display: none;
		}
		.navbar-vertical.right-expand-lg ~ .navbar-top .navbar-logo {
			position: relative;
			background: transparent;
		}
		/* .navbar-vertical.right-expand-lg ~ .navbar-top ~ .container-content {
			padding-left: 2.5rem;
			padding-right: 2.5rem;
			margin-right: 15.875rem;
		} */

	}
@media (min-width: 992px) {
		html:not(.navbar-vertical-collapsed) .navbar-vertical.right-expand-lg  {
			height: calc(100vh - var(--phoenix-navbar-top-height));
		}
	}
@media (min-width: 992px) {
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  {
			position: absolute;
			top: 0;
			height: auto;
			min-height: 100%;
			padding-top: var(--phoenix-navbar-top-height);
			padding-bottom: 4rem;
			width: 4rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-line {
			display: block;
			margin-right: 1rem;
			margin-left: 1rem;
			color: var(--phoenix-navbar-vertical-hr-color);
		}

		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:has(.active) .label-1 .nav-link-icon {
			color: var(--phoenix-navbar-vertical-link-active-color);
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-label {
			display: none;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .dropdown-indicator-icon,
	.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-link-text,
	.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-footer-text {
			display: none;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-footer {
			padding-left: 1.5rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .label-1.nav-link {
			padding-top: 10px;
			padding-bottom: 10px;
			line-height: 1.2;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  + .navbar.navbar-top ~ .container-content {
			margin-left: auto !important;
			margin-right: auto !important;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-content {
			overflow: visible;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-content .navbar-nav .nav-link {
			padding-left: 1rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .navbar-vertical-content .navbar-nav .nav-link.label-1 {
			padding-left: 0.75rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item {
			position: fixed;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper {
			position: relative;
			display: block;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper > .dropdown-indicator .new-page-indicator {
			margin-left: -8px !important;
			margin-top: -15px;
			display: block !important;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .parent-wrapper.label-1 {
			display: none;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .parent-wrapper.label-1 > .parent:first-child {
			display: block;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .parent-wrapper.label-10 {
			display: none;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .parent-wrapper.label-10 > .parent:first-child {
			display: block;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .hover-actions {
			pointer-events: none;
			display: none;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .hover-hide {
			opacity: 1;
			display: block;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .dropdown-indicator.label-1 {
			pointer-events: none;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .dropdown-indicator.label-1 {
			background-color: var(--phoenix-navbar-vertical-link-hover-bg);
			border-radius: 0.5rem;
			color: var(--phoenix-navbar-vertical-link-hover-color);
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .dropdown-indicator.label-1 .nav-link-icon {
			color: var(--phoenix-navbar-vertical-link-hover-color);
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .collapsed-nav-item-title {
			display: block !important;
			padding-left: 16px;
			padding-top: 15px;
			padding-bottom: 14px;
			border-bottom: 1px solid var(--phoenix-navbar-vertical-border-color);
			color: var(--phoenix-navbar-vertical-link-hover-color);
			font-size: 12.8px;
			line-height: 1.2;
			margin-bottom: 0.5rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link:not(.label-1) .nav-link-text,
	.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link-text-wrapper .nav-link-text {
			display: block;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link:not(.label-1) .dropdown-indicator-icon {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link:not(.label-1) {
			margin-left: 0;
			margin-right: 0;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link:not(.label-1):hover {
			border-radius: 0;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav .nav .nav-link {
			padding-left: 2rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav .nav .nav .nav-link {
			padding-left: 3rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav .nav .nav .nav .nav-link {
			padding-left: 4rem;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .parent-wrapper.label-1,
	.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link-text-wrapper {
			position: absolute;
			display: block;
			right: 130%;
			background: var(--phoenix-navbar-vertical-collapsed-menu-bg);
			border-bottom-left-radius: 0.025rem;
			padding-top: 0.05rem !important;
			padding-bottom: 0.05rem !important;
			border-radius: 8px;
			border-bottom: 1px solid var(--phoenix-gray-300);
			border-left: 1px solid var(--phoenix-gray-300);
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .parent-wrapper.label-1 > .parent,
	.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link-text-wrapper .nav-link-text {
			width: 220px;
			background: var(--phoenix-navbar-vertical-collapsed-menu-bg);
			margin-left: 16px;
			border-radius: 0.5rem;
			position: relative;
			padding-bottom: 8px;
			border: 1px solid var(--phoenix-navbar-vertical-border-color);
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link-text-wrapper .nav-link-text {
			padding-top: 15px;
			padding-bottom: 15px;
			padding-left: 16px;
		}
		.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .parent-wrapper.label-1 > .parent:after,
	.navbar-vertical-collapsed .navbar-vertical.right-expand-lg  .nav-item-wrapper:hover .nav-link-text-wrapper .nav-link-text:after {
			content: "";
			position: absolute;
			z-index: 1;
			width: 1rem;
			height: 1rem;
			background: inherit;
			top: 0.85rem;
			left: -9px;
			-webkit-transform: rotate(45deg);
			-ms-transform: rotate(45deg);
			transform: rotate(45deg);
			border-bottom-left-radius: 0.125rem;
			border-width: 0 0 1px 1px;
			border-style: solid;
			border-color: var(--phoenix-navbar-vertical-border-color);
		}
	}

.container-content {
	width: 70%;
	margin-left: 12%;
	max-width: 1600px; /* Ограничиваем максимальную ширину на очень широких экранах */
	}

/* Оптимизация для очень широких экранов (1920px и выше) */
@media (min-width: 1920px) {
	.container-content {
		width: 60%;
		margin-left: 20%;
		max-width: 1400px;
	}
}

/* Оптимизация для сверхшироких экранов (2560px и выше) */
@media (min-width: 2560px) {
	.container-content {
		width: 50%;
		margin-left: 25%;
		max-width: 1200px;
	}
}

/* Оптимизация для 4K экранов (3840px и выше) */
@media (min-width: 3840px) {
	.container-content {
		width: 40%;
		margin-left: 30%;
		max-width: 1400px;
	}
}

.nav-item-wrapper{
	padding-top: 0.15rem;
	margin-right: auto;
	margin-left: 15px;
}
.no-select {
	user-select: none;
}
.table-container  {
	position: relative;
	overflow-y: auto; /* Позволяет прокручивать тело таблицы */

}
.table-container  thead {
	position: sticky; /* Делает шапку фиксированной */
	top: 0;
	background: var(--phoenix-emphasis-bg); /* Задайте цвет фона для шапки */
	z-index: 1; /* Убедитесь, что шапка будет поверх содержимого */
}

.legend-item {
	padding: 0px 5px 0px 5px;
	border-radius: 5px;
	cursor: pointer;
}

.legend-item-off {
	text-decoration: line-through;
	opacity: 0.5;
}

.legend-item:hover {
	background-color: var(--phoenix-gray-100);
}

.user-pt-2 {
	padding-top: 0.2rem !important;
	padding-bottom: 0.2rem !important;
	border-radius: 8px;
	border-bottom: 1.3px solid var(--phoenix-gray-300);
	border-left: 1.3px solid var(--phoenix-gray-300);
}

.modal-xxl {
    max-width: 1500px;
}


.w2ui-grid .w2ui-grid-body table .w2ui-head {
	margin: 0px;
	padding: 0px;
	border-right: 1px solid var(--phoenix-secondary-bg);
	border-bottom: 1px solid var(--phoenix-secondary-bg);
	border-bottom: 1px solid var(--phoenix-secondary-bg);

	/* color: var(--phoenix-gray-600);
	background-image: linear-gradient(var(--phoenix-emphasis-bg), var(--phoenix-emphasis-bg)); */
	background-color: var(--phoenix-emphasis-bg);
	background-image: none;
}
.w2ui-grid {
  position: relative;
  border: 1px solid var(--phoenix-secondary-bg);
  border-radius: 2px;
  overflow: hidden !important;
}
.w2ui-grid .w2ui-grid-body {
  position: absolute;
  overflow: hidden;
  padding: 0px;
  background-color: var(--phoenix-secondary-bg);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.w2ui-grid .w2ui-grid-body table td {
  border-right: 1px solid var(--phoenix-secondary-bg);
  border-bottom: 1px solid var(--phoenix-secondary-bg);
  cursor: default;
  overflow: hidden;
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-odd,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-odd {
  color: inherit;
  background-color:var(--phoenix-emphasis-bg);
  border-bottom: 1px var(--phoenix-secondary-bg);
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-odd:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-odd:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-odd.w2ui-record-hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-odd.w2ui-record-hover {
  color: inherit;
  background-color: var(--phoenix-primary-bg-subtle);
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-odd.w2ui-empty-record:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-odd.w2ui-empty-record:hover {
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even {
  color: inherit;
  background-color: var(--phoenix-emphasis-bg);
  border-bottom: 1px dotted var(--phoenix-secondary-bg);
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even.w2ui-record-hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even.w2ui-record-hover {
  color: inherit;
  background-color: var(--phoenix-primary-bg-subtle) ;
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even.w2ui-empty-record:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even.w2ui-empty-record:hover {
  background-color:var(--phoenix-primary-bg-subtle) ;
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr td.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr td.w2ui-selected {
  color:var(--phoenix-gray-600) !important;
  background-color: var(--phoenix-primary-bg-subtle) !important;
  border-bottom: 1px solid transparent;
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-inactive,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-inactive,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr td.w2ui-inactive,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr td.w2ui-inactive {
  background-color: var(--phoenix-emphasis-bg) !important;
}
.w2ui-overlay .w2ui-overlay-body.w2ui-white {
  color:var(--phoenix-gray-600);
  text-shadow: none;
  background-color: var(--phoenix-emphasis-bg);
  border: 1px solid var(--phoenix-secondary-bg);
  box-shadow: 0px 0px 1px 1px var(--phoenix-secondary-bg);
}
.w2ui-menu {
  display: block;
  color:var(--phoenix-gray-600);
  padding: 5px 0px;
  border-radius: 5px;
  overflow-x: hidden;
  cursor: default;
}
.w2ui-grid .w2ui-grid-summary {
  position: absolute;
  border-top: 1px solid gainsboro;
  box-shadow: 0px -1px 4px #f0eeee;
}
.w2ui-grid .w2ui-grid-summary table {
  color: inherit;
}
.w2ui-grid .w2ui-grid-summary table .w2ui-odd {
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-grid .w2ui-grid-summary table .w2ui-even {
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-grid .w2ui-grid-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-size: 11px;
  height: 24px;
  overflow: hidden;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -o-user-select: text;
  user-select: text;
  box-shadow: 0px -1px 4px var(--phoenix-secondary-bg);
  color: var(--phoenix-gray-600);
  background-color: var(--phoenix-emphasis-bg);
  border-top: 1px solid var(--phoenix-secondary-bg);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
.w2ui-tabs {
  cursor: default;
  overflow: hidden;
  position: relative;
  background-color: var(--phoenix-emphasis-bg);
  min-height: 28px;
  padding: 0px;
  margin: 0px;
}
.w2ui-tabs .w2ui-tabs-line {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 1;
  border: 0;
  height: 1px;
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab {
  height: 28px;
  position: relative;
  z-index: 20;
  padding: 7px 20px 4px 20px;
  text-align: center;
  color: var(--phoenix-gray-600);
  background-color: transparent;
  border: 2px solid transparent;
  white-space: nowrap;
  margin: 0px 1px;
  border-radius: 0;
  cursor: default;
  user-select: none;
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab.active {
  color: #0175ff;
  background-color: transparent;
  border: 2px solid transparent;
  border-bottom: 2px solid #0175ff;
  margin-bottom: 0px;
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab:hover {
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab.moving {
  color: inherit;
  background-color: var(--phoenix-emphasis-bg);
  border: 2px solid transparent;
  border-radius: 0px;
  margin-bottom: 0px;
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab.closable {
  padding: 6px 28px 6px 20px;
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab .w2ui-tab-close {
  position: absolute;
  right: 3px;
  top: 5px;
  color: var(--phoenix-gray-600);
  float: right;
  margin-top: -3px;
  padding: 2px 4px;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  border: 0px;
  border-top: 3px solid transparent;
  border-radius: 3px;
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab .w2ui-tab-close:hover {
  background-color: var(--phoenix-emphasis-bg);
  color: red;
  opacity: 1;
  font-weight: bold;
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab .w2ui-tab-close:active {
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tab .w2ui-tab-close:before {
  position: relative;
  top: -2px;
  left: 0px;
  color: inherit;
  text-shadow: inherit;
  content: 'x';
}
.w2ui-tabs .w2ui-scroll-wrapper .w2ui-tabs-right {
  padding: 8px 2px;
  width: 100%;
  text-align: right;
  white-space: nowrap;
}

.w2ui-grid .w2ui-grid-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  padding: 10px;
  overflow: hidden;
  font-size: 16px;
  color: #444;
  background-color: var(--phoenix-emphasis-bg);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom: 1px solid var(--phoenix-gray-600) !important;
}
.w2ui-grid .w2ui-grid-toolbar .w2ui-grid-search-input .w2ui-search-all {
  outline: none !important;
  border-radius: 4px !important;
  line-height: normal !important;
  height: 30px !important;
  width: 300px !important;
  border: 1px solid var(--phoenix-gray-600) !important;
  color:var(--phoenix-gray-600) !important;
  background-color: var(--phoenix-emphasis-bg) !important;
  padding: 1px 28px 0px 28px !important;
  margin: 0px !important;
  margin-top: 1px !important;
  font-size: 13px !important;
}
.w2ui-grid .w2ui-grid-toolbar .w2ui-grid-search-input .w2ui-search-all:focus {
  border: 1px solid #007cff !important;
  background-color: var(--phoenix-emphasis-bg) !important;
}

/* * ---- Toolbar ---- */
.w2ui-grid .w2ui-grid-toolbar {
  position: absolute;
  border-bottom: 1px solid #efefef;
  background-color: var(--phoenix-emphasis-bg);
  height: 52px;
  padding: 9px 3px 0px 3px ;
  margin: 0px;
  box-shadow: 0px 1px 2px #f5f5f5;
}

.w2ui-toolbar {
  background-color: var(--phoenix-emphasis-bg);
  user-select: none;
  padding: 2px;
}
.w2ui-toolbar .w2ui-tb-line {
  overflow: hidden;
  position: relative;
  min-height: 28px;
  padding: 2px;
  margin: 0;
}
.w2ui-toolbar .disabled {
  opacity: 0.3;
  filter: alpha(opacity=30);
}
.w2ui-toolbar .w2ui-scroll-left,
.w2ui-toolbar .w2ui-scroll-right {
  z-index: 30;
  display: flex;
}
.w2ui-toolbar .w2ui-tb-line:nth-child(2),
.w2ui-toolbar .w2ui-tb-line:nth-child(3),
.w2ui-toolbar .w2ui-tb-line:nth-child(4) {
  border-top: 1px solid #e7e7e7;
  padding-top: 4px;
  margin: 0;
}
.w2ui-toolbar .w2ui-scroll-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  padding: 0;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button {
  position: relative;
  z-index: 20;
  height: 30px;
  min-width: 30px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: transparent;
  white-space: nowrap;
  margin: 0 1px;
  cursor: default;
  user-select: none;
  flex-shrink: 0;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-icon {
  float: left;
  width: 22px;
  margin: 4px 0 0 1px;
  text-align: center;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-icon > span {
  font-size: 15px;
  color: #8D99A7;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-text {
  margin-left: 20px;
  color:var(--phoenix-gray-600);
  padding: 5px ;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-text .w2ui-tb-color-box {
  display: inline-block;
  height: 13px;
  width: 13px;
  margin: 0 -1px -2px 0;
  border-radius: 1px;
  border: 1px solid #fff;
  box-shadow: 0 0 1px #555;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-text .w2ui-tb-count {
  padding: 0 0 0 4px;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-text .w2ui-tb-count > span {
  border: 1px solid #F6FCF4;
  border-radius: 11px;
  width: auto;
  height: 18px;
  padding: 0 6px 1px 6px;
  background-color: var(--phoenix-emphasis-bg);
  color:var(--phoenix-gray-600);
  box-shadow: 0px 0px 2px #474545;
  text-shadow: 1px 1px 0px #FFF;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-text .w2ui-tb-down {
  display: inline-block;
  width: 10px;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button .w2ui-tb-text .w2ui-tb-down > span {
  display: inline-block;
  position: relative;
  top: 3px;
  left: 3px;
  border: 4px solid transparent;
  border-top: 5px solid #8D99A7;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.over {
  border: 1px solid transparent;
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.over .w2ui-tb-text {
  color:var(--phoenix-gray-600)k;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.checked {
  border: 1px solid #d2d2d2;
  background-color: var(--phoenix-emphasis-bg);
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.checked .w2ui-tb-text {
  color: var(--phoenix-gray-600);
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.down {
  border: 1px solid #ccc;
  background-color:var(--phoenix-emphasis-bg);
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.down .w2ui-tb-text {
  color: #666;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-button.no-icon .w2ui-tb-text {
  margin-left: 0;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-right {
  width: 100%;
  text-align: right;
  white-space: nowrap;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-break {
  background-image: linear-gradient(to bottom, rgba(153, 153, 153, 0.1) 0%, #999 40%, #999 60%, rgba(153, 153, 153, 0.1) 100%);
  width: 1px;
  height: 24px;
  padding: 0;
  margin: 3px 6px;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-html {
  white-space: nowrap;
}
.w2ui-toolbar .w2ui-scroll-wrapper .w2ui-tb-spacer {
  width: 100%;
}


/* Основной аватар */
.avatar-portfolio {
	position: relative;
	width: 48px;
	height: 48px;
	background-color: var(--phoenix-avatar-button-bg) !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avatar.avatar-div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar.avatar-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Статус-индикатор — маленький круг в углу */
.status-indicator {
	position: absolute;
	bottom: 1px;
	right: 5px;
	width: 16px;
	height: 20px;
	border-radius: 50%;


	/* Фон — можно убрать, если картинка заполняет всё */
	background: transparent;

	display: flex;
	align-items: center;
	justify-content: center;
	/* overflow: hidden; /* чтобы картинка не вылезала за границы */
}

/* Картинка статуса — увеличена, чтобы заполнить почти весь индикатор */
.status-indicator .status-icon {
	width: 25px;     /* почти 16px — индикатор */
	height: 25px;    /* чтобы выглядело как "целиком заполненный" круг */
	border-radius: 50%;
	object-fit: cover;
}

.fs-shares {
  font-size: 0.7rem !important;
}

.badge-shares {
  text-transform: uppercase;
  padding: 1px 4px;
  background-color: var(--phoenix-badge-bg);
  color: var(--phoenix-badge-color);
  border: 1px solid var(--phoenix-badge-border-color);
}


/* Зелёное мигание — рост цены */
/* @keyframes blink-up {
    0% { background-color: #0ac43583; }
    100% { background-color: transparent; }
} */

/* Красное мигание — падение цены */
/* @keyframes blink-down {
    0% { background-color: #bd1c2993; }
    100% { background-color: transparent; }
} */

/* Серое мигание — без изменений */
/* @keyframes blink-neutral {
    0% { background-color: #8f8f8f60; }
    100% { background-color: transparent; }
} */


/* Общий класс для применения анимации */
.blink-up, .blink-down, .blink-neutral {
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
.blink-up { animation-name: blink-up; }
.blink-down { animation-name: blink-down; }
.blink-neutral { animation-name: blink-neutral; }

/* Анимации для фона всей карточки */
@keyframes blink-up-card {
    0% { background-color: #bbf1c875; }
    100% { background-color: inherit; }
}
@keyframes blink-down-card {
    0% { background-color: #e9a3a86e; }
    100% { background-color: inherit; }
}
@keyframes blink-neutral-card {
    0% { background-color: #bfc8db5d; }
    100% { background-color: inherit; }
}


.blink-up-card, .blink-down-card, .blink-neutral-card {
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.blink-up-card { animation-name: blink-up-card; }
.blink-down-card { animation-name: blink-down-card; }
.blink-neutral-card { animation-name: blink-neutral-card; }

.menu-search_edit {
  min-width: calc(50vw - 12px); /* примерно половина экрана минус отступы */
}

#loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    #loading-overlay.hidden {
      display: none;
    }

    #loading-overlay .spinner {
      border: 4px solid #f3f3f3;
      border-top: 4px solid #3498db;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }


.support-chat-container {
  display: none;
}
.support-chat-container.show {
  display: block;
}

/* Общие свойства фона для чата */
.chat-container {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.no-select {
  -webkit-user-select: none; /* Safari */
     -moz-user-select: none; /* Firefox */
          user-select: none; /* Standard */
}

/* Светлая тема (по умолчанию) */
:root {
  --chat-background-url: url('/static/assets/img/img/chat_background_light.jpg');
}

/* Тёмная тема */
[data-bs-theme="dark"] {
  --chat-background-url: url('/static/assets/img/img/chat_background_dark.png');
}

/* Применяем переменную */
.chat-container {
  background-image: var(--chat-background-url);
}

.support-chat {
  position: fixed;
  bottom: 3rem;
  left: 0; /* ← изменено с right на left */
  max-width: 27.87rem;
  width: 100%;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  -webkit-transform-origin: bottom right;
  transform-origin: bottom left; /* ← изменено с bottom right */
  transform-origin: bottom right;
  z-index: 1030;
  -webkit-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  padding-bottom: 3rem;
}
.support-chat-start .support-chat {
  right: auto;
  right: 0;
  -webkit-transform-origin: bottom right;
  -ms-transform-origin: bottom right;
  transform-origin: bottom right;
}
.support-chat-bottom-lg .support-chat {
  bottom: 5.5rem;
}
@media (min-width: 576px) {
  .support-chat {
    left: 1rem;
  }
  .support-chat-start .support-chat {
    right: 1rem;
  }
}
@media (min-width: 992px) {
  .support-chat {
    left: 2rem;
  }
  .support-chat-start .support-chat {
    right: 2rem;
  }
}
.support-chat .card {
  -webkit-box-shadow: 0px 0px 32px 0px rgba(36, 40, 46, 0.12);
  box-shadow: 0px 0px 32px 0px rgba(36, 40, 46, 0.12);
}
[data-bs-theme=dark] .support-chat .card {
  -webkit-box-shadow: 0px 0px 32px 10px rgba(0, 0, 0, 0.41);
  box-shadow: 0px 0px 32px 10px rgba(0, 0, 0, 0.41);
}

.support-chat .card-body {
  height: 27rem;
}
.support-chat.show-chat {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
.support-chat .send-btn {
  width: 37.06px;
  height: 37.06px;
  border-radius: 50%;
  color: var(--phoenix-primary);
}
.support-chat .send-btn:hover {
  background-color: var(--phoenix-body-highlight-bg);
  color: var(--phoenix-primary-light);
}
.support-chat .send-btn:active {
  background-color: var(--phoenix-secondary-bg);
  color: var(--phoenix-primary-light);
}

/* Стили для вкладок модального окна all_shares */
#instrumentTabs .nav-link {
	border: none;
	border-bottom: 2px solid transparent;
	color: var(--phoenix-gray-600);
	padding: 0.75rem 1rem;
	font-weight: 500;
	transition: all 0.2s ease-in-out;
	background: transparent;
}

#instrumentTabs .nav-link:hover {
	color: var(--phoenix-primary);
	border-bottom-color: var(--phoenix-primary);
	background: rgba(var(--phoenix-primary), 0.05);
}

#instrumentTabs .nav-link.active {
	color: var(--phoenix-primary);
	border-bottom-color: var(--phoenix-primary);
	font-weight: 600;
	background: rgba(var(--phoenix-primary), 0.1);
}

#instrumentTabs .nav-link:focus {
	color: var(--phoenix-primary);
	border-bottom-color: var(--phoenix-primary);
	background: rgba(var(--phoenix-primary), 0.15);
	box-shadow: 0 0 0.5rem 0.5rem 0 rgba(var(--phoenix-primary), 0.15);
}

#instrumentTabsContent .tab-pane {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

#instrumentTabsContent .tab-pane.show {
	display: block;
	opacity: 1;
}

#instrumentTabsContent .tab-pane.active {
	display: block;
	opacity: 1;
}

/* Стили для таблицы акций */
#tableallshares tbody tr:hover {
	background-color: rgba(var(--phoenix-primary), 0.05);
}

#tableallshares .text-success {
	color: var(--phoenix-success);
}

#tableallshares .text-danger {
	color: var(--phoenix-danger);
}

/* Стили для таблицы облигаций */
#tablebonds tbody tr:hover {
	background-color: rgba(var(--phoenix-info), 0.05);
}

#tablebonds .text-end {
	text-align: right;
}

/* Стили для таблицы фьючерсов */
#tablefutures tbody tr:hover {
	background-color: rgba(var(--phoenix-warning), 0.05);
}

#tablefutures .text-end {
	text-align: right;
}

/* Иконки вкладок */
#instrumentTabs .nav-link .fa-chart-line {
	color: var(--phoenix-success);
}

#instrumentTabs .nav-link .fa-file-contract {
	color: var(--phoenix-info);
}

#instrumentTabs .nav-link .fa-exchange-alt {
	color: var(--phoenix-warning);
}

/* Бейджи для процентов */
.badge-percent {
	font-size: 0.75rem;
	font-weight: 600;
}

.support-chat + .btn-support-chat {
  position: fixed;
  bottom: 2.5rem;
  left: 1rem; /* ← изменено */
  width: 3rem;
  height: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--phoenix-emphasis-bg) !important;
  z-index: 1030;
  border-radius: var(--phoenix-border-radius-pill);
  -webkit-box-shadow: 0px 0px 32px 0px rgba(36, 40, 46, 0.12);
  box-shadow: 0px 0px 32px 0px rgba(36, 40, 46, 0.12);
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}
[data-bs-theme=dark] .support-chat + .btn-support-chat {
  -webkit-box-shadow: 0px 0px 32px 10px rgba(0, 0, 0, 0.41);
  box-shadow: 0px 0px 32px 10px rgba(0, 0, 0, 0.41);
}
.support-chat-start .support-chat + .btn-support-chat {
  left: auto;
  right: 1rem;
}
.support-chat-bottom-lg .support-chat + .btn-support-chat {
  bottom: 5rem;
}
@media (min-width: 576px) {
  .support-chat + .btn-support-chat {
    width: 9rem;
    left: 2rem;
  }
  .support-chat-start .support-chat + .btn-support-chat {
    right: 2rem;
  }
}
@media (min-width: 992px) {
  .support-chat + .btn-support-chat {
    left: 1rem;
  }
  .support-chat-start .support-chat + .btn-support-chat {
    right: 3rem;
  }
}
.support-chat + .btn-support-chat:hover {
  background-color: var(--phoenix-body-highlight-bg) !important;
}
.support-chat + .btn-support-chat .fa-chevron-down {
  display: none;
}
.support-chat + .btn-support-chat .btn-text {
  display: none;
}
@media (min-width: 576px) {
  .support-chat + .btn-support-chat .btn-text {
    display: block;
  }
}
.support-chat + .btn-support-chat.btn-chat-close {
  border-radius: 50%;
  width: 3rem;
}
.support-chat + .btn-support-chat.btn-chat-close .btn-text,
.support-chat + .btn-support-chat.btn-chat-close .fa-headset,
.support-chat + .btn-support-chat.btn-chat-close .ping-icon-wrapper {
  display: none;
}
.support-chat + .btn-support-chat.btn-chat-close .fa-chevron-down {
  display: block;
}

.chat .chat-message .actions {
  -webkit-box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.12), 0px 8px 24px -4px rgba(36, 40, 46, 0.12);
  box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.12), 0px 8px 24px -4px rgba(36, 40, 46, 0.12);
}
.chat .chat-message .chat-message-content {
  max-width: calc(100% - 4rem);
}
.chat .chat-message .chat-message-content.received {
  max-width: calc(100% - 6rem);
}
@media (min-width: 576px) {
  .chat .chat-message .chat-message-content {
    max-width: calc(100% - 10rem);
  }
  .chat .chat-message .chat-message-content.received {
    max-width: calc(100% - 11rem);
  }
}
.chat .chat-message .received-message-content {
  position: relative;
}
.chat .chat-message .received-message-content:not(.chat .chat-message .received-message-content.gallery):after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -10px;
  right: auto;
  top: 0px;
  bottom: auto;
  border: 10px solid;
  border-color: var(--phoenix-emphasis-bg) transparent transparent transparent;
}
.chat .chat-message .received-message-content:not(.chat .chat-message .received-message-content.gallery):before {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: -12px;
  right: auto;
  top: -1px;
  bottom: auto;
  border: 11px solid;
  border-color: var(--phoenix-border-color) transparent transparent transparent;
}
.chat .chat-message .sent-message-content {
  position: relative;
}
.chat .chat-message .sent-message-content:not(.chat .chat-message .sent-message-content.gallery):after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -12px;
  top: auto;
  bottom: 0;
  border: 12px solid var(--phoenix-border-color-translucent);
  border-color: transparent transparent var(--phoenix-primary) transparent;
}

.glow_border {
	outline: 0;
	border-radius: 5px;
	border: 1px solid #86b7fe; /* или ваш primary цвет */
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* стандартный glow Bootstrap */
	}

.thin_border {
	border-radius: 5px;
	border: 1px solid #1496ec;
}

#buyAndSellTabContent {
  position: relative; /* важно! */
}

#buyAndSellTabContent .notification {
  pointer-events: auto; /* разрешаем клики внутри уведомления */
}

#buyAndSellTabContent .notification > .bg-white {
  pointer-events: auto; /* явно разрешаем клики на самом окне */
}


#buyAndSellTabContent .notification::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 248, 248, 0.85);
  z-index: -1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.icon-container {
    animation: pulse 1s ease infinite alternate;
}


.notification {
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease forwards;
}

.notification.hide {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.notification-inner {
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.icon-container {
    animation: pulse 1s ease infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}
.logo-text {
  position: relative;
}
.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  background: #6c767e; }

.dropdown-menu .nav-link {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 1;
}
.dropdown-menu .nav-item {
  display: block;
}
/* Уменьшенные отступы для card-body в портфеле */
.card-body {
   padding: 1rem 1rem 0.75rem 1rem !important;
}

/* Дополнительные стили для графиков портфеля */
.echart-top-legend,
.echart-doughnut-legend {
   padding: 0.25rem 0;
}

.legend-item:hover {
   background-color: var(--phoenix-body-highlight-bg);
}

/* Скрытие бегунка прокрутки, когда нет курсора мыши */
.echart-top-legend,
.echart-doughnut-legend {
   scrollbar-width: thin;
   scrollbar-color: transparent transparent;
}

.echart-top-legend::-webkit-scrollbar,
.echart-doughnut-legend::-webkit-scrollbar {
   width: 6px;
   background-color: transparent;
}

.echart-top-legend::-webkit-scrollbar-thumb,
.echart-doughnut-legend::-webkit-scrollbar-thumb {
   background-color: var(--phoenix-gray-300);
   border-radius: 3px;
   opacity: 0;
   transition: opacity 0.2s;
}

.echart-top-legend:hover::-webkit-scrollbar-thumb,
.echart-doughnut-legend:hover::-webkit-scrollbar-thumb {
   opacity: 0.5;
}

.echart-top-legend::-webkit-scrollbar-track,
.echart-doughnut-legend::-webkit-scrollbar-track {
   background-color: transparent;
}

/* Стили для индикатора статуса соединения WebSocket */
.socket-status-indicator {
	width: 8px;
	height: 8px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: all 0.3s ease;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.socket-status-indicator.bg-success {
	background-color: #198754;
	box-shadow: 0 0 6px rgba(25, 135, 84, 0.6);
	animation: pulse-success 2s infinite;
}

.socket-status-indicator.bg-danger {
	background-color: #dc3545;
	box-shadow: 0 0 6px rgba(220, 53, 69, 0.6);
	animation: pulse-danger 2s infinite;
}

@keyframes pulse-success {
	0% {
		box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(25, 135, 84, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
	}
}

@keyframes pulse-danger {
	0% {
		box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
	}
}

.socket-icon {
	transition: color 0.3s ease;
}

#socketConnection:hover .socket-icon {
	color: var(--phoenix-primary);
}

/* ==========================================
   Современные стили для таблицы table_portfolio
   ========================================== */

/* Общие стили для w2grid таблицы портфелей */
/* #table_portfolio .w2ui-grid-body {
	background-color: var(--phoenix-emphasis-bg);
} */

/* Скрытие пустых строк */
/* #table_portfolio .w2ui-grid-body table tr[line="0"], */

/* #table_portfolio .w2ui-grid-body table tr.grid_portfolio_rec_top {
	display: none !important;
} */

/* Скрытие пустых ячеек */
/* #table_portfolio .w2ui-grid-body table td:empty,
#table_portfolio .w2ui-grid-body table td:not(:has(*)) {
	visibility: hidden;
} */

/* #table_portfolio .w2ui-grid-body table tr {
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--phoenix-gray-200);
} */
/* 
#table_portfolio .w2ui-grid-body table tr:hover {
	background-color: var(--phoenix-primary-bg-subtle) !important;
	transform: translateX(2px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#table_portfolio .w2ui-grid-body table td {
	padding: 12px 8px;
	vertical-align: middle;
} */

/* Стили для ячейки портфеля */
.portfolio-cell {
	padding: 8px 0;
}

.portfolio-icon-wrapper {
	width: 42px;
	height: 42px;
	/* background: linear-gradient(135deg, var(--phoenix-primary) 0%, var(--phoenix-primary-dark) 50%); */
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.portfolio-icon-wrapper:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(var(--phoenix-primary-rgb), 0.3);
}

.broker-badge {
	width: 20px;
	height: 20px;
	border: 2px solid var(--phoenix-emphasis-bg);
	border-radius: 50%;
	overflow: hidden;
	background-color: var(--phoenix-gray-100);
}

.broker-icon {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.portfolio-info a {
	transition: color 0.2s ease;
}

.portfolio-info a:hover {
	color: var(--phoenix-primary) !important;
}

.portfolio-id {
	opacity: 0.7;
	font-weight: 500;
}

/* Стили для ячейки значения */
.value-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.value-main {
	font-size: 0.95rem;
	letter-spacing: -0.3px;
}

.value-currency {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Стили для ячейки прибыли */
.profit-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border-radius: 8px;
	background-color: var(--phoenix-gray-100);
	transition: all 0.2s ease;
}

.profit-cell:hover {
	transform: scale(1.05);
}

.profit-value {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Стили для ячейки доходности */
.profitability-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.profitability-cell:hover {
	transform: scale(1.05);
}

/* Стили для ячейки изменений за день */
.changes-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.changes-cell:hover {
	transform: scale(1.05);
}

/* Стили для ячейки маржинальности */
.margin-cell {
	display: flex;
	align-items: center;
	justify-content: center;
}

.margin-cell .badge {
	padding: 6px 12px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.margin-cell .badge:hover {
	transform: scale(1.1);
}

/* Стили для ячейки валюты */
.currency-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 8px;
	background-color: var(--phoenix-gray-100);
	transition: all 0.2s ease;
}

.currency-cell:hover {
	background-color: var(--phoenix-gray-200);
	transform: translateY(-2px);
}

/* Стили для ячейки риска */
.badge-phoenix-soft-success {
	background-color: rgba(25, 135, 84, 0.1);
	color: #198754;
	border: 1px solid rgba(25, 135, 84, 0.2);
}

.badge-phoenix-soft-warning {
	background-color: rgba(255, 193, 7, 0.1);
	color: #ffc107;
	border: 1px solid rgba(255, 193, 7, 0.2);
}

.badge-phoenix-soft-danger {
	background-color: rgba(220, 53, 69, 0.1);
	color: #dc3545;
	border: 1px solid rgba(220, 53, 69, 0.2);
}

.badge-phoenix-soft-secondary {
	background-color: rgba(108, 117, 125, 0.1);
	color: #6c757d;
	border: 1px solid rgba(108, 117, 125, 0.2);
}

/* Стили для ячейки действий */
.actions-cell {
	display: flex;
	align-items: center;
	justify-content: center;
}

.actions-cell .action-btn {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

/* ==========================================
   Современные стили для таблицы table_funds
   ========================================== */

/* Контейнер таблицы денежных средств */
#table_funds {
	border-radius: 8px;
	overflow: hidden;
	background: var(--phoenix-emphasis-bg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}



/* Тело таблицы */
#table_funds .w2ui-grid-body {
	background: var(--phoenix-emphasis-bg) !important;
	border-radius: 0 0 8px 8px;
}

/* Строки таблицы */
#table_funds .w2ui-grid-body table tr {
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--phoenix-gray-200);
	background: transparent;
}

#table_funds .w2ui-grid-body table tr:hover {
	background: linear-gradient(90deg, var(--phoenix-primary-bg-subtle) 0%, transparent 100%) !important;
	transform: translateX(2px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#table_funds .w2ui-grid-body table tr.w2ui-selected {
	background: linear-gradient(90deg, var(--phoenix-primary-bg-subtle) 0%, var(--phoenix-primary-bg-subtle) 100%) !important;
	border-left: 2px solid var(--phoenix-primary);
}

/* Ячейки таблицы */
#table_funds .w2ui-grid-body table td {
	padding: 6px 4px;
	vertical-align: middle;
	border-right: none !important;
}

/* Стили для ячейки с флагом валюты */
#table_funds .w2ui-grid-body td:first-child {
	padding-left: 8px;
}

#table_funds .avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	border: 1px solid var(--phoenix-gray-200);
}

#table_funds .avatar:hover {
	transform: scale(1.08) rotate(3deg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	border-color: var(--phoenix-primary);
}

#table_funds .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Стили для ячейки с кодом валюты */
#table_funds .w2ui-grid-body td:nth-child(2) {
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--phoenix-gray-900);
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

/* Стили для ячейки с названием валюты */
#table_funds .w2ui-grid-body td:nth-child(3) {
	font-weight: 500;
	font-size: 0.75rem;
	color: var(--phoenix-gray-700);
}

/* Стили для ячейки с количеством */
#table_funds .w2ui-grid-body td:nth-child(4) {
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--phoenix-primary);
	background: linear-gradient(135deg, var(--phoenix-primary-bg-subtle) 0%, transparent 100%);
	border-radius: 6px;
	padding: 4px 8px;
	margin: 2px;
}

/* Пустые строки */
#table_funds .w2ui-grid-body table tr.w2ui-empty-record {
	background: var(--phoenix-gray-100) !important;
}

#table_funds .w2ui-grid-body table tr.w2ui-empty-record td {
	color: var(--phoenix-gray-500) !important;
	font-style: italic;
	font-size: 0.9rem;
}

/* Скроллбар */
#table_funds .w2ui-grid-body .w2ui-scrollbar {
	background: var(--phoenix-gray-100) !important;
	border-radius: 0 0 12px 12px;
}

#table_funds .w2ui-grid-body .w2ui-scrollbar .w2ui-scroll-left,
#table_funds .w2ui-grid-body .w2ui-scrollbar .w2ui-scroll-right {
	background: var(--phoenix-gray-200) !important;
	border-radius: 4px;
	transition: all 0.2s ease;
}

#table_funds .w2ui-grid-body .w2ui-scrollbar .w2ui-scroll-left:hover,
#table_funds .w2ui-grid-body .w2ui-scrollbar .w2ui-scroll-right:hover {
	background: var(--phoenix-primary) !important;
	color: white;
}

/* Статус бар */
#table_funds .w2ui-grid-footer {
	background: var(--phoenix-gray-100) !important;
	border-top: 1px solid var(--phoenix-gray-200) !important;
	border-radius: 0 0 12px 12px;
	padding: 8px 16px;
	font-size: 0.85rem;
	color: var(--phoenix-gray-600);
}

/* Анимация загрузки */
@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

#table_funds.loading .w2ui-grid-body table tr {
	background: linear-gradient(90deg,
		var(--phoenix-gray-100) 0%,
		var(--phoenix-gray-200) 50%,
		var(--phoenix-gray-100) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	#table_funds .w2ui-grid-body table td {
		padding: 8px 4px;
		font-size: 0.85rem;
	}

	#table_funds .avatar {
		width: 32px;
		height: 32px;
	}

}

/* Эффект пульсации для новых записей */
@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.7;
	}
}

#table_funds .w2ui-grid-body table tr.new-record {
	animation: pulse 2s ease-in-out 3;
	background: linear-gradient(90deg,
		var(--phoenix-success-bg-subtle) 0%,
		transparent 100%) !important;
}


/* Тень для контейнера */
#table_funds .w2ui-grid-box {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
}

/* Класс для современного вида таблицы */
#table_funds.modern-grid {
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

#table_funds.modern-grid.loaded {
	opacity: 1;
	transform: translateY(0);
}

/* Стили для ячейки с суммой */
.funds-amount-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	padding: 4px 8px;
	border-radius: 6px;
	background: linear-gradient(135deg, var(--phoenix-primary-bg-subtle) 0%, transparent 100%);
	transition: all 0.2s ease;
}

.funds-amount-cell:hover {
	background: linear-gradient(135deg, var(--phoenix-primary-bg-subtle) 0%, var(--phoenix-primary-bg-subtle) 100%);
	transform: scale(1.03);
	box-shadow: 0 1px 4px rgba(var(--phoenix-primary-rgb), 0.2);
}

.funds-amount-value {
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--phoenix-primary);
	letter-spacing: -0.2px;
}

/* Стили для отображения оригинальной суммы */
.funds-amount-original {
	font-size: 0.7rem;
	color: var(--phoenix-gray-500);
	margin-top: 2px;
	font-weight: 400;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.funds-amount-original:hover {
	opacity: 1;
}

/* Эффект при выборе строки */
#table_funds.grid-selected .w2ui-grid-body table tr.w2ui-selected {
	background: linear-gradient(90deg,
		var(--phoenix-primary-bg-subtle) 0%,
		var(--phoenix-primary-bg-subtle) 100%) !important;
	border-left: 2px solid var(--phoenix-primary);
	animation: slideIn 0.2s ease;
}

@keyframes slideIn {
	from {
		transform: translateX(-5px);
		opacity: 0.7;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Улучшенные стили для иконки флага */
#table_funds .avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid var(--phoenix-gray-200);
	background: var(--phoenix-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
}

#table_funds .avatar:hover {
	transform: scale(1.08) rotate(3deg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	border-color: var(--phoenix-primary);
}

#table_funds .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* Улучшенные стили для пустых записей */
#table_funds .w2ui-grid-body table tr.w2ui-empty-record {
	background: linear-gradient(135deg,
		var(--phoenix-gray-100) 0%,
		var(--phoenix-gray-200) 100%) !important;
}

#table_funds .w2ui-grid-body table tr.w2ui-empty-record td {
	color: var(--phoenix-gray-500) !important;
	font-style: italic;
	font-size: 0.8rem;
	padding: 12px;
}

/* Анимация появления записей */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#table_funds .w2ui-grid-body table tr {
	animation: fadeInUp 0.2s ease;
}

/* Стили для адаптивности */
@media (max-width: 992px) {
	#table_funds .w2ui-grid-body table td {
		padding: 5px 3px;
		font-size: 0.75rem;
	}

	#table_funds .avatar {
		width: 24px;
		height: 24px;
	}

	.funds-amount-cell {
		padding: 3px 6px;
	}

	.funds-amount-value {
		font-size: 0.75rem;
	}
}

@media (max-width: 768px) {
	#table_funds .w2ui-grid-body table td {
		padding: 4px 2px;
		font-size: 0.7rem;
	}

	#table_funds .avatar {
		width: 22px;
		height: 22px;
	}

	.funds-amount-cell {
		padding: 2px 4px;
	}

	.funds-amount-value {
		font-size: 0.7rem;
	}

}

/* Эффект свечения при наведении на строку */
#table_funds .w2ui-grid-body table tr:hover::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--phoenix-primary) 0%, var(--phoenix-primary-dark) 100%);
	animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
	from {
		box-shadow: 0 0 3px var(--phoenix-primary);
	}
	to {
		box-shadow: 0 0 8px var(--phoenix-primary);
	}
}

/* Стили для тултипов */
#table_funds .avatar img[title]:hover::after {
	content: attr(title);
	position: absolute;
	bottom: -25px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--phoenix-gray-900);
	color: white;
	padding: 3px 6px;
	border-radius: 4px;
	font-size: 0.7rem;
	white-space: nowrap;
	z-index: 1000;
	opacity: 0;
	animation: fadeIn 0.2s ease forwards;
}

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

/* Скрытие фиксированных записей при клике */
#table_funds .w2ui-grid-frecords {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute;
	z-index: -1;
}

/* Скрытие контейнера для фиксированных записей */
#table_funds .w2ui-grid-records {
	position: relative;
}

/* Убеждаемся, что при клике не появляются лишние элементы */
#table_funds .w2ui-grid-box .w2ui-grid-frecords,
#table_funds .w2ui-grid-box .w2ui-grid-fcolumns {
	display: none !important;
	visibility: hidden !important;
}

/* Скрытие лишних элементов при выборе */
#table_funds .w2ui-selected .w2ui-grid-frecords {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* Предотвращение появления дубликатов при клике */
#table_funds .w2ui-grid-body table tr.w2ui-selected + .w2ui-grid-frecords {
	display: none !important;
	visibility: hidden !important;
}

/* Стили для предотвращения проблем с кликом */
#table_funds .w2ui-grid-body table tr {
	position: relative;
	z-index: 1;
}

.actions-cell .action-btn:hover {
	background-color: var(--phoenix-primary);
	color: white !important;
	transform: rotate(90deg);
}

.actions-cell .action-btn:active {
	transform: rotate(180deg);
}

/* Стили для dropdown меню */
.actions-cell .dropdown-menu {
	border-radius: 12px;
	border: 1px solid var(--phoenix-gray-200);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	min-width: 180px;
}

.actions-cell .dropdown-item {
	padding: 10px 16px;
	border-radius: 8px;
	transition: all 0.2s ease;
	margin: 2px 8px;
}

.actions-cell .dropdown-item:hover {
	background-color: var(--phoenix-primary-bg-subtle);
	color: var(--phoenix-primary);
}

.actions-cell .dropdown-item.text-danger:hover {
	background-color: rgba(220, 53, 69, 0.1);
	color: #dc3545;
}

/* Анимации для чисел */
@keyframes countUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.value-main,
.profit-value,
.profitability-cell,
.changes-cell {
	animation: countUp 0.3s ease;
}

/* Адаптивные стили */
@media (max-width: 1200px) {
	.portfolio-cell {
		padding: 6px 0;
	}
	
	.portfolio-icon-wrapper {
		width: 36px;
		height: 36px;
	}
	
	.value-main,
	.profit-value {
		font-size: 0.85rem;
	}
}

@media (max-width: 768px) {
	#table_portfolio .w2ui-grid-body table td {
		padding: 8px 4px;
	}
	
	.portfolio-icon-wrapper {
		width: 32px;
		height: 32px;
	}
	
	.value-main,
	.profit-value {
		font-size: 0.8rem;
	}
	
	.profitability-cell,
	.changes-cell {
		font-size: 0.75rem;
		padding: 4px 8px;
	}
}

/* ============================================
   Современный swiper-slide с волной в синеголубом стиле
   (тёмная тема, волна от середины левого края к нижнему правому углу)
   ============================================ */

/* Основная карточка swiper-slide */
.swiper-slide .card {
	position: relative;
	overflow: hidden;
	background: var(--phoenix-emphasis-bg);
	border-radius: 0.75rem;
	transition: all 0.3s ease;
}

/* ============================================
   Варианты волн для разных карточек (рандомность)
   ============================================ */

/* Вариант 1 (базовый) */
.swiper-slide:nth-child(6n+1) .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.15' d='M0,100 Q150,70 250,110 T400,140 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.swiper-slide:nth-child(6n+1) .card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.2' d='M0,110 Q160,80 260,120 T400,150 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Вариант 2 (более плавная волна) */
.swiper-slide:nth-child(6n+2) .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.14' d='M0,95 Q140,65 240,105 T400,135 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.swiper-slide:nth-child(6n+2) .card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.19' d='M0,105 Q150,75 250,115 T400,145 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Вариант 3 (более крутая волна) */
.swiper-slide:nth-child(6n+3) .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.16' d='M0,105 Q160,60 260,115 T400,145 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.swiper-slide:nth-child(6n+3) .card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.21' d='M0,115 Q170,70 270,125 T400,155 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Вариант 4 (более пологая волна) */
.swiper-slide:nth-child(6n+4) .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.13' d='M0,98 Q145,75 245,108 T400,138 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.swiper-slide:nth-child(6n+4) .card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.18' d='M0,108 Q155,85 255,118 T400,148 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Вариант 5 (волна с резким спуском) */
.swiper-slide:nth-child(6n+5) .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.17' d='M0,102 Q155,55 255,112 T400,142 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.swiper-slide:nth-child(6n+5) .card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.22' d='M0,112 Q165,65 265,122 T400,152 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Вариант 6 (волна с мягким изгибом) */
.swiper-slide:nth-child(6n+6) .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.12' d='M0,97 Q140,80 240,100 T400,136 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.swiper-slide:nth-child(6n+6) .card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.17' d='M0,107 Q150,90 250,110 T400,146 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Градиентный блик сверху */
.swiper-slide .card .card-body {
	position: relative;
	z-index: 2;
}

/* Hover эффект - поднимаем карточку и добавляем тень */
.swiper-slide .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 153, 255, 0.25);
	transition: all 0.3s ease;
}

/* Плавная анимация для волн при hover */
.swiper-slide .card:hover::before {
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.swiper-slide .card:hover::after {
	opacity: 1;
	transition: opacity 0.3s ease;
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
	.swiper-slide:nth-child(6n+1) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.15' d='M0,110 Q160,80 260,120 T400,150 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+1) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.2' d='M0,120 Q170,90 270,130 T400,160 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+2) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.14' d='M0,105 Q150,75 250,115 T400,145 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+2) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.19' d='M0,115 Q160,85 260,125 T400,155 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+3) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.16' d='M0,115 Q170,70 270,125 T400,155 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+3) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.21' d='M0,125 Q180,80 280,135 T400,165 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+4) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.13' d='M0,108 Q155,85 255,118 T400,148 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+4) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.18' d='M0,118 Q165,95 265,128 T400,158 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+5) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.17' d='M0,112 Q165,65 265,122 T400,152 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+5) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.22' d='M0,122 Q175,75 275,132 T400,162 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+6) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.12' d='M0,107 Q150,90 250,110 T400,146 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+6) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.17' d='M0,117 Q160,100 260,120 T400,156 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide .card:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 20px rgba(0, 153, 255, 0.2);
	}
}

/* Оптимизация для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
	.swiper-slide:nth-child(6n+1) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.15' d='M0,105 Q155,75 255,115 T400,145 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+1) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.2' d='M0,115 Q165,85 265,125 T400,155 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+2) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.14' d='M0,100 Q145,70 245,110 T400,140 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+2) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.19' d='M0,110 Q155,80 255,120 T400,150 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+3) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.16' d='M0,110 Q165,65 265,120 T400,150 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+3) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.21' d='M0,120 Q175,75 275,130 T400,160 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+4) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.13' d='M0,103 Q150,80 250,113 T400,143 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+4) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.18' d='M0,113 Q160,90 260,123 T400,153 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+5) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.17' d='M0,107 Q160,60 260,117 T400,147 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+5) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.22' d='M0,117 Q170,70 270,127 T400,157 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+6) .card::before {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%230099ff' fill-opacity='0.12' d='M0,102 Q145,85 245,105 T400,141 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
	
	.swiper-slide:nth-child(6n+6) .card::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath fill='%2300ccff' fill-opacity='0.17' d='M0,112 Q155,95 255,115 T400,151 L400,200 L0,200 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		background-size: 100% 100%;
	}
}

/* ============================================
   РЕДИЗАЙН МОДАЛЬНОГО ОКНА SELLBUY
   Современный дизайн с поддержкой светлой и тёмной темы
   ============================================ */

/* Основной контейнер модального окна */
.sellbuy-modal {
	background-color: var(--phoenix-emphasis-bg);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--phoenix-gray-200);
	overflow: hidden;
	transition: all 0.3s ease;
}

/* Тёмная тема */
[data-bs-theme="dark"] .sellbuy-modal {
	background-color: var(--phoenix-emphasis-bg);
	border-color: var(--phoenix-gray-700);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   HEADER МОДАЛЬНОГО ОКНА
   ============================================ */

.sellbuy-modal-header {
	background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
	padding: 1.5rem 2rem;
	border-bottom: none;
	position: relative;
	overflow: hidden;
}

.sellbuy-modal-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.1); opacity: 0.8; }
}

.sellbuy-icon-wrapper {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.sellbuy-icon {
	font-size: 24px;
	line-height: 1;
}

.sellbuy-modal-title {
	color: white;
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}

.sellbuy-modal-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.875rem;
	margin-bottom: 0;
}

.sellbuy-close-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 8px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0;
	position: relative;
	z-index: 10;
	cursor: pointer;
}

.sellbuy-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.sellbuy-close-icon {
	color: white;
	font-size: 20px;
	line-height: 1;
}

/* ============================================
   BODY МОДАЛЬНОГО ОКНА
   ============================================ */

.sellbuy-modal-body {
	padding: 2rem;
	background-color: var(--phoenix-emphasis-bg);
}

/* ============================================
   СЕЛЕКТОР ТИПА ИНСТРУМЕНТА (Компактный)
   ============================================ */

.sellbuy-form-group {
	margin-bottom: 1.25rem;
}

.sellbuy-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--phoenix-gray-700);
	margin-bottom: 0.5rem;
}

[data-bs-theme="dark"] .sellbuy-label {
	color: var(--phoenix-gray-300);
}

/* ============================================
   ФОРМЫ И ПОЛЯ ВВОДА
   ============================================ */

.sellbuy-input-wrapper {
	position: relative;
}

.sellbuy-input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	line-height: 1;
	color: var(--phoenix-gray-400);
	pointer-events: none;
}

.sellbuy-input {
	padding-left: 3rem !important;
	padding-right: 1rem !important;
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
	border: 2px solid var(--phoenix-gray-200);
	border-radius: 10px;
	background-color: var(--phoenix-emphasis-bg);
	color: var(--phoenix-gray-800);
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

[data-bs-theme="dark"] .sellbuy-input {
	background-color: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-700);
	color: var(--phoenix-gray-200);
}

.sellbuy-input:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
	background-color: var(--phoenix-emphasis-bg);
}

[data-bs-theme="dark"] .sellbuy-input:focus {
	background-color: var(--phoenix-gray-800);
}

.sellbuy-input::placeholder {
	color: var(--phoenix-gray-400);
}

/* Выпадающее меню поиска */
.sellbuy-dropdown-menu {
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid var(--phoenix-gray-200);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	background-color: var(--phoenix-emphasis-bg);
}

[data-bs-theme="dark"] .sellbuy-dropdown-menu {
	border-color: var(--phoenix-gray-700);
	background-color: var(--phoenix-gray-800);
}

/* ============================================
   КНОПКИ ТИПА ОПЕРАЦИИ
   ============================================ */

.sellbuy-operation-buttons {
	display: flex;
	gap: 1rem;
}

.sellbuy-operation-btn {
	flex: 1;
	position: relative;
}

.sellbuy-operation-btn .form-check-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.sellbuy-operation-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem;
	background: var(--phoenix-emphasis-bg);
	border: 2px solid var(--phoenix-gray-200);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .sellbuy-operation-label {
	background: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-700);
	color: var(--phoenix-gray-300);
}

.sellbuy-operation-btn:hover .sellbuy-operation-label {
	border-color: rgba(0, 123, 255, 0.5);
	transform: translateY(-2px);
}

.sellbuy-operation-btn.active .sellbuy-operation-label {
	border-color: #007bff;
	background: rgba(0, 123, 255, 0.1);
}

.sellbuy-operation-btn.active[data-operation="buy"] .sellbuy-operation-label {
	color: #28a745;
	border-color: #28a745;
	background: rgba(40, 167, 69, 0.1);
}

.sellbuy-operation-btn.active[data-operation="sell"] .sellbuy-operation-label {
	color: #dc3545;
	border-color: #dc3545;
	background: rgba(220, 53, 69, 0.1);
}

.sellbuy-operation-icon {
	font-size: 18px;
	line-height: 1;
}

.buy-icon {
	color: #28a745;
}

.sell-icon {
	color: #dc3545;
}

/* ============================================
   ИНФОРМАЦИОННЫЕ ЭЛЕМЕНТЫ
   ============================================ */

.sellbuy-info-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
}

.sellbuy-info-item {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.8rem;
}

.sellbuy-info-icon {
	font-size: 14px;
	line-height: 1;
	color: var(--phoenix-gray-400);
}

.sellbuy-info-label {
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .sellbuy-info-label {
	color: var(--phoenix-gray-400);
}

.sellbuy-info-value {
	color: #007bff;
	font-weight: 700;
	text-decoration: none;
}

.sellbuy-info-value:hover {
	color: #0056b3;
}

.sellbuy-info-unit {
	color: var(--phoenix-gray-500);
}

/* ============================================
   СУММА СДЕЛКИ
   ============================================ */

.sellbuy-amount-wrapper {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	padding: 1rem;
	background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
	border-radius: 10px;
	border: 1px solid rgba(0, 123, 255, 0.2);
}

[data-bs-theme="dark"] .sellbuy-amount-wrapper {
	background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 212, 255, 0.15) 100%);
	border-color: rgba(0, 123, 255, 0.3);
}

.sellbuy-amount-label {
	font-size: 0.875rem;
	color: var(--phoenix-gray-600);
	font-weight: 600;
}

[data-bs-theme="dark"] .sellbuy-amount-label {
	color: var(--phoenix-gray-400);
}

.sellbuy-amount-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: #007bff;
}

.sellbuy-amount-currency {
	font-size: 1rem;
	color: var(--phoenix-gray-500);
	font-weight: 600;
}

/* ============================================
   TOGGLE ПЕРЕКЛЮЧАТЕЛЬ
   ============================================ */

.sellbuy-toggle-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.875rem 1rem;
	background: var(--phoenix-emphasis-bg);
	border: 1px solid var(--phoenix-gray-200);
	border-radius: 10px;
}

[data-bs-theme="dark"] .sellbuy-toggle-wrapper {
	background: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-700);
}

.sellbuy-toggle-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sellbuy-toggle-icon {
	font-size: 18px;
	line-height: 1;
	color: var(--phoenix-gray-400);
}

.sellbuy-toggle-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--phoenix-gray-700);
}

[data-bs-theme="dark"] .sellbuy-toggle-label {
	color: var(--phoenix-gray-300);
}

.sellbuy-toggle .form-check-input {
	width: 3rem;
	height: 1.5rem;
	cursor: pointer;
}

.sellbuy-toggle .form-check-input:checked {
	background-color: #007bff;
	border-color: #007bff;
}

/* ============================================
   FOOTER МОДАЛЬНОГО ОКНА
   ============================================ */

.sellbuy-modal-footer {
	padding: 1.5rem 2rem;
	background: linear-gradient(135deg, rgba(0, 123, 255, 0.03) 0%, rgba(0, 212, 255, 0.03) 100%);
	border-top: 1px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .sellbuy-modal-footer {
	background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
	border-color: var(--phoenix-gray-700);
}

.sellbuy-balance-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: var(--phoenix-emphasis-bg);
	border-radius: 10px;
	border: 1px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .sellbuy-balance-wrapper {
	background: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-700);
}

.sellbuy-balance-icon {
	font-size: 18px;
	line-height: 1;
	color: #007bff;
}

.sellbuy-balance-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .sellbuy-balance-label {
	color: var(--phoenix-gray-400);
}

.sellbuy-balance-value {
	font-size: 1.125rem;
	font-weight: 700;
	color: #28a745;
	text-decoration: none;
}

.sellbuy-balance-currency {
	font-size: 0.875rem;
	color: var(--phoenix-gray-500);
	font-weight: 600;
}

/* ============================================
   КНОПКИ ДЕЙСТВИЙ
   ============================================ */

.sellbuy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
}

.sellbuy-btn-icon {
	font-size: 16px;
	line-height: 1;
}

.sellbuy-btn-secondary {
	background: var(--phoenix-emphasis-bg);
	color: var(--phoenix-gray-700);
	border: 2px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .sellbuy-btn-secondary {
	background: var(--phoenix-gray-800);
	color: var(--phoenix-gray-300);
	border-color: var(--phoenix-gray-700);
}

.sellbuy-btn-secondary:hover {
	background: var(--phoenix-gray-100);
	border-color: var(--phoenix-gray-300);
	transform: translateY(-2px);
}

[data-bs-theme="dark"] .sellbuy-btn-secondary:hover {
	background: var(--phoenix-gray-700);
	border-color: var(--phoenix-gray-600);
}

.sellbuy-btn-primary {
	background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.sellbuy-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.sellbuy-btn-primary:active {
	transform: translateY(0);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
	.sellbuy-modal-header {
		padding: 1.25rem 1.5rem;
	}

	.sellbuy-modal-body {
		padding: 1.5rem;
	}

	.sellbuy-modal-footer {
		padding: 1.25rem 1.5rem;
	}

	.sellbuy-type-buttons {
		flex-direction: column;
	}

	.sellbuy-operation-buttons {
		flex-direction: column;
	}

	.sellbuy-info-row {
		flex-direction: column;
		gap: 0.5rem;
	}

	.sellbuy-modal-footer .row {
		flex-direction: column;
	}

	.sellbuy-modal-footer .col-12 {
		width: 100%;
	}

	.sellbuy-btn {
		width: 100%;
	}
}

/* ============================================
   АНИМАЦИИ
   ============================================ */

.sellbuy-modal {
	animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(-20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.sellbuy-type-btn,
.sellbuy-operation-btn {
	animation: buttonSlideUp 0.3s ease-out;
}

@keyframes buttonSlideUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ============================================
   СКРОЛЛБАР
   ============================================ */

.sellbuy-dropdown-menu::-webkit-scrollbar {
	width: 6px;
}

.sellbuy-dropdown-menu::-webkit-scrollbar-track {
	background: var(--phoenix-gray-100);
	border-radius: 3px;
}

[data-bs-theme="dark"] .sellbuy-dropdown-menu::-webkit-scrollbar-track {
	background: var(--phoenix-gray-700);
}

.sellbuy-dropdown-menu::-webkit-scrollbar-thumb {
	background: var(--phoenix-gray-300);
	border-radius: 3px;
}

[data-bs-theme="dark"] .sellbuy-dropdown-menu::-webkit-scrollbar-thumb {
	background: var(--phoenix-gray-600);
}

.sellbuy-dropdown-menu::-webkit-scrollbar-thumb:hover {
	background: var(--phoenix-gray-400);
}

[data-bs-theme="dark"] .sellbuy-dropdown-menu::-webkit-scrollbar-thumb:hover {
	background: var(--phoenix-gray-500);
}

/* ============================================
   РЕДИЗАЙН МОДАЛЬНОГО ОКНА FUNDS
   ============================================ */

/* Основной контейнер модального окна */
.funds-modal {
	background-color: var(--phoenix-emphasis-bg);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--phoenix-gray-200);
	overflow: hidden;
	transition: all 0.3s ease;
}

/* Тёмная тема */
[data-bs-theme="dark"] .funds-modal {
	background-color: var(--phoenix-emphasis-bg);
	border-color: var(--phoenix-gray-700);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   HEADER МОДАЛЬНОГО ОКНА FUNDS
   ============================================ */

.funds-modal-header {
	background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
	padding: 1.5rem 2rem;
	border-bottom: none;
	position: relative;
	overflow: hidden;
}

.funds-modal-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	animation: pulse 8s ease-in-out infinite;
}

.funds-icon-wrapper {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.funds-icon {
	font-size: 24px;
	line-height: 1;
}

.funds-modal-title {
	color: white;
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}

.funds-modal-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.875rem;
	margin-bottom: 0;
}

.funds-close-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 8px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0;
	position: relative;
	z-index: 10;
	cursor: pointer;
}

.funds-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.funds-close-icon {
	color: white;
	font-size: 20px;
	line-height: 1;
}

/* ============================================
   BODY МОДАЛЬНОГО ОКНА FUNDS
   ============================================ */

.funds-modal-body {
	padding: 2rem;
	background-color: var(--phoenix-emphasis-bg);
}

/* ============================================
   ФОРМЫ И ПОЛЯ ВВОДА FUNDS
   ============================================ */

.funds-form-group {
	margin-bottom: 1.25rem;
}

.funds-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--phoenix-gray-700);
	margin-bottom: 0.5rem;
}

[data-bs-theme="dark"] .funds-label {
	color: var(--phoenix-gray-300);
}

.funds-input-wrapper {
	position: relative;
}

.funds-input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	line-height: 1;
	color: var(--phoenix-gray-400);
	pointer-events: none;
}

.funds-input {
	padding-left: 3rem !important;
	padding-right: 1rem !important;
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
	border: 2px solid var(--phoenix-gray-200);
	border-radius: 10px;
	background-color: var(--phoenix-emphasis-bg);
	color: var(--phoenix-gray-800);
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

[data-bs-theme="dark"] .funds-input {
	background-color: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-700);
	color: var(--phoenix-gray-200);
}

.funds-input:focus {
	border-color: #28a745;
	box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
	background-color: var(--phoenix-emphasis-bg);
}

[data-bs-theme="dark"] .funds-input:focus {
	background-color: var(--phoenix-gray-800);
}

.funds-input::placeholder {
	color: var(--phoenix-gray-400);
}

/* Выпадающее меню */
.funds-dropdown-menu {
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid var(--phoenix-gray-200);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	background-color: var(--phoenix-emphasis-bg);
}

[data-bs-theme="dark"] .funds-dropdown-menu {
	border-color: var(--phoenix-gray-700);
	background-color: var(--phoenix-gray-800);
}

/* ============================================
   КНОПКИ ТИПА ОПЕРАЦИИ FUNDS
   ============================================ */

.funds-operation-buttons {
	display: flex;
	gap: 1rem;
}

.funds-operation-btn {
	flex: 1;
	position: relative;
}

.funds-operation-btn .form-check-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.funds-operation-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem;
	background: var(--phoenix-emphasis-bg);
	border: 2px solid var(--phoenix-gray-200);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .funds-operation-label {
	background: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-700);
	color: var(--phoenix-gray-300);
}

.funds-operation-btn:hover .funds-operation-label {
	border-color: rgba(40, 167, 69, 0.5);
	transform: translateY(-2px);
}

.funds-operation-btn.active .funds-operation-label {
	border-color: #28a745;
	background: rgba(40, 167, 69, 0.1);
}

.funds-operation-btn.active[data-operation="factory"] .funds-operation-label {
	color: #28a745;
	border-color: #28a745;
	background: rgba(40, 167, 69, 0.1);
}

.funds-operation-btn.active[data-operation="withdrawal"] .funds-operation-label {
	color: #dc3545;
	border-color: #dc3545;
	background: rgba(220, 53, 69, 0.1);
}

.funds-operation-icon {
	font-size: 18px;
	line-height: 1;
}

.deposit-icon {
	color: #28a745;
}

.withdraw-icon {
	color: #dc3545;
}

/* ============================================
   FOOTER МОДАЛЬНОГО ОКНА FUNDS
   ============================================ */

.funds-modal-footer {
	padding: 1.5rem 2rem;
	background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, rgba(32, 201, 151, 0.03) 100%);
	border-top: 1px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .funds-modal-footer {
	background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
	border-color: var(--phoenix-gray-700);
}

/* ============================================
   КНОПКИ ДЕЙСТВИЙ FUNDS
   ============================================ */

.funds-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
}

.funds-btn-icon {
	font-size: 16px;
	line-height: 1;
}

.funds-btn-secondary {
	background: var(--phoenix-emphasis-bg);
	color: var(--phoenix-gray-700);
	border: 2px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .funds-btn-secondary {
	background: var(--phoenix-gray-800);
	color: var(--phoenix-gray-300);
	border-color: var(--phoenix-gray-700);
}

.funds-btn-secondary:hover {
	background: var(--phoenix-gray-100);
	border-color: var(--phoenix-gray-300);
	transform: translateY(-2px);
}

[data-bs-theme="dark"] .funds-btn-secondary:hover {
	background: var(--phoenix-gray-700);
	border-color: var(--phoenix-gray-600);
}

.funds-btn-primary {
	background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.funds-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.funds-btn-primary:active {
	transform: translateY(0);
}

/* ============================================
   МОДАЛЬНОЕ ОКНО EDIT (Редактирование сделки)
   ============================================ */

/* Основной контейнер модального окна */
.edit-modal {
	background-color: var(--phoenix-emphasis-bg);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--phoenix-gray-200);
	overflow: hidden;
	transition: all 0.3s ease;
}

/* Тёмная тема */
[data-bs-theme="dark"] .edit-modal {
	background-color: var(--phoenix-emphasis-bg);
	border-color: var(--phoenix-gray-700);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   HEADER МОДАЛЬНОГО ОКНА EDIT
   ============================================ */

.edit-modal-header {
	background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
	padding: 1.5rem 2rem;
	border-bottom: none;
	position: relative;
	overflow: hidden;
}

.edit-modal-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	animation: pulse 8s ease-in-out infinite;
}

.edit-icon-wrapper {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.edit-icon {
	font-size: 24px;
	line-height: 1;
}

.edit-modal-title {
	color: white;
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}

.edit-modal-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.875rem;
	margin-bottom: 0;
}

.edit-close-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 8px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0;
	position: relative;
	z-index: 10;
	cursor: pointer;
}

.edit-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.edit-close-icon {
	color: white;
	font-size: 20px;
	line-height: 1;
}

/* ============================================
   BODY МОДАЛЬНОГО ОКНА EDIT
   ============================================ */

.edit-modal-body {
	padding: 2rem;
	background-color: var(--phoenix-emphasis-bg);
}

/* ============================================
   ФОРМЫ И ПОЛЯ ВВОДА EDIT
   ============================================ */

.edit-form-group {
	margin-bottom: 1.25rem;
}

.edit-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--phoenix-gray-700);
	font-size: 0.875rem;
}

[data-bs-theme="dark"] .edit-label {
	color: var(--phoenix-gray-300);
}

.edit-input-wrapper {
	position: relative;
}

.edit-input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	pointer-events: none;
	z-index: 10;
}

.edit-input {
	padding-left: 3rem !important;
	border-radius: 10px;
	border: 2px solid var(--phoenix-gray-200);
	transition: all 0.3s ease;
	font-size: 1rem;
}

[data-bs-theme="dark"] .edit-input {
	background-color: var(--phoenix-gray-800);
	border-color: var(--phoenix-gray-600);
	color: var(--phoenix-gray-100);
}

.edit-input:focus {
	border-color: #fd7e14;
	box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.15);
}

[data-bs-theme="dark"] .edit-input:focus {
	background-color: var(--phoenix-gray-800);
	border-color: #ffc107;
	box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.15);
}

.edit-input::placeholder {
	color: var(--phoenix-gray-400);
}

.edit-input.is-valid {
	border-color: #28a745;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4.4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.edit-input.is-invalid {
	border-color: #dc3545;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* ============================================
   КНОПКИ ТИПА ОПЕРАЦИИ EDIT
   ============================================ */

.edit-operation-buttons {
	display: flex;
	gap: 0.75rem;
}

.edit-operation-btn {
	flex: 1;
	position: relative;
}

.edit-operation-btn input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.edit-operation-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border: 2px solid var(--phoenix-gray-200);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	color: var(--phoenix-gray-600);
	background-color: var(--phoenix-gray-50);
}

[data-bs-theme="dark"] .edit-operation-label {
	border-color: var(--phoenix-gray-600);
	color: var(--phoenix-gray-300);
	background-color: var(--phoenix-gray-700);
}

.edit-operation-btn:hover .edit-operation-label {
	border-color: #fd7e14;
	background-color: rgba(253, 126, 20, 0.05);
}

.edit-operation-btn.active .edit-operation-label {
	border-color: #fd7e14;
	background-color: rgba(253, 126, 20, 0.1);
	color: #fd7e14;
}

[data-bs-theme="dark"] .edit-operation-btn.active .edit-operation-label {
	border-color: #ffc107;
	background-color: rgba(255, 193, 7, 0.15);
	color: #ffc107;
}

.edit-operation-icon {
	font-size: 1.25rem;
}

/* ============================================
   ИНФОРМАЦИОННАЯ СТРОКА EDIT
   ============================================ */

.edit-info-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .edit-info-row {
	border-top-color: var(--phoenix-gray-600);
}

.edit-info-item {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .edit-info-item {
	color: var(--phoenix-gray-400);
}

.edit-info-icon {
	font-size: 0.875rem;
}

.edit-info-label {
	font-weight: 500;
}

.edit-info-value {
	font-weight: 600;
	color: var(--phoenix-primary);
	text-decoration: none;
	transition: all 0.2s ease;
}

.edit-info-value:hover {
	color: var(--phoenix-primary-dark);
	transform: scale(1.05);
}

.edit-info-unit {
	color: var(--phoenix-gray-400);
	font-size: 0.7rem;
}

/* ============================================
   СУММА СДЕЛКИ EDIT
   ============================================ */

.edit-amount-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
	background: linear-gradient(135deg, rgba(253, 126, 20, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
	border-radius: 10px;
	border: 2px solid rgba(253, 126, 20, 0.1);
}

[data-bs-theme="dark"] .edit-amount-wrapper {
	background: linear-gradient(135deg, rgba(253, 126, 20, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
	border-color: rgba(255, 193, 7, 0.2);
}

.edit-amount-label {
	font-weight: 600;
	color: var(--phoenix-gray-600);
	font-size: 0.875rem;
}

[data-bs-theme="dark"] .edit-amount-label {
	color: var(--phoenix-gray-300);
}

.edit-amount-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--phoenix-gray-800);
}

[data-bs-theme="dark"] .edit-amount-value {
	color: var(--phoenix-gray-100);
}

.edit-amount-currency {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .edit-amount-currency {
	color: var(--phoenix-gray-300);
}

/* ============================================
   TOGGLE SWITCH EDIT
   ============================================ */

.edit-toggle-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: var(--phoenix-gray-50);
	border-radius: 10px;
}

[data-bs-theme="dark"] .edit-toggle-wrapper {
	background: var(--phoenix-gray-700);
}

.edit-toggle-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.edit-toggle-icon {
	font-size: 1.25rem;
}

.edit-toggle-label {
	font-weight: 600;
	color: var(--phoenix-gray-700);
	font-size: 0.875rem;
}

[data-bs-theme="dark"] .edit-toggle-label {
	color: var(--phoenix-gray-200);
}

.edit-toggle .form-check-input {
	width: 3em;
	height: 1.5em;
	cursor: pointer;
	background-color: var(--phoenix-gray-300);
	border: none;
}

[data-bs-theme="dark"] .edit-toggle .form-check-input {
	background-color: var(--phoenix-gray-500);
}

.edit-toggle .form-check-input:checked {
	background-color: #fd7e14;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
}

/* ============================================
   FOOTER МОДАЛЬНОГО ОКНА EDIT
   ============================================ */

.edit-modal-footer {
	padding: 1.5rem 2rem;
	background: linear-gradient(135deg, rgba(253, 126, 20, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
	border-top: 1px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .edit-modal-footer {
	background: linear-gradient(135deg, rgba(253, 126, 20, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
	border-top-color: var(--phoenix-gray-600);
}

.edit-balance-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: var(--phoenix-gray-50);
	border-radius: 10px;
	border: 2px solid var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .edit-balance-wrapper {
	background: var(--phoenix-gray-700);
	border-color: var(--phoenix-gray-600);
}

.edit-balance-icon {
	font-size: 1.25rem;
}

.edit-balance-label {
	font-weight: 600;
	color: var(--phoenix-gray-600);
	font-size: 0.875rem;
}

[data-bs-theme="dark"] .edit-balance-label {
	color: var(--phoenix-gray-300);
}

.edit-balance-value {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--phoenix-primary);
	text-decoration: none;
	transition: all 0.2s ease;
}

.edit-balance-value:hover {
	color: var(--phoenix-primary-dark);
	transform: scale(1.05);
}

.edit-balance-currency {
	font-size: 1rem;
	font-weight: 600;
	color: var(--phoenix-gray-600);
}

[data-bs-theme="dark"] .edit-balance-currency {
	color: var(--phoenix-gray-300);
}

/* ============================================
   КНОПКИ EDIT
   ============================================ */

.edit-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.edit-btn-icon {
	font-size: 1rem;
}

.edit-btn-secondary {
	background-color: var(--phoenix-gray-100);
	color: var(--phoenix-gray-700);
	border-color: var(--phoenix-gray-200);
}

[data-bs-theme="dark"] .edit-btn-secondary {
	background-color: var(--phoenix-gray-700);
	color: var(--phoenix-gray-200);
	border-color: var(--phoenix-gray-600);
}

.edit-btn-secondary:hover {
	background-color: var(--phoenix-gray-200);
	border-color: var(--phoenix-gray-300);
	transform: translateY(-2px);
}

[data-bs-theme="dark"] .edit-btn-secondary:hover {
	background-color: var(--phoenix-gray-600);
	border-color: var(--phoenix-gray-500);
}

.edit-btn-primary {
	background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.edit-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(253, 126, 20, 0.4);
}

.edit-btn-primary:active {
	transform: translateY(0);
}

/* ============================================
   DROPDOWN МЕНЮ EDIT
   ============================================ */

.edit-dropdown-menu {
	border-radius: 10px;
	border: 2px solid var(--phoenix-gray-200);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .edit-dropdown-menu {
	border-color: var(--phoenix-gray-600);
	background-color: var(--phoenix-gray-800);
}

/* ============================================
   АНИМАЦИЯ ДЛЯ МОДАЛЬНОГО ОКНА EDIT
   ============================================ */

.edit-modal {
	animation: modalFadeIn 0.3s ease-out;
}

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

/* ============================================
   АДАПТИВНОСТЬ ДЛЯ МОДАЛЬНОГО ОКНА EDIT
   ============================================ */

@media (max-width: 768px) {
	.edit-modal-header {
		padding: 1.25rem 1.5rem;
	}

	.edit-modal-body {
		padding: 1.5rem;
	}

	.edit-modal-footer {
		padding: 1.25rem 1.5rem;
	}

	.edit-modal-footer .row {
		flex-direction: column;
		gap: 1rem;
	}

	.edit-modal-footer .col-12 {
		width: 100%;
		text-align: center;
	}

	.edit-info-row {
		flex-direction: column;
		gap: 0.5rem;
	}
}

/* ============================================
   СОВРЕМЕННЫЙ ПРОГРЕСС-БАР АКТИВОВ
   ============================================ */

/* Обёртка компонента */
.modern-progress-wrapper {
	margin-bottom: 1.5rem;
}

/* Контейнер прогресс-бара */
.modern-progress-bar-container {
	position: relative;
	display: flex;
	width: 100%;
	height: 20px;
	background: var(--phoenix-gray-200);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 
		inset 0 1px 2px rgba(0, 0, 0, 0.08),
		0 1px 2px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
}

.modern-progress-bar-container:hover {
	box-shadow: 
		inset 0 2px 4px rgba(0, 0, 0, 0.08),
		0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Сегмент прогресс-бара */
.modern-progress-segment {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	min-width: 0;
	overflow: hidden;
}

.modern-progress-segment:hover {
	filter: brightness(1.1);
	transform: scaleY(1.05);
}

/* Градиенты для каждого типа актива */
.modern-segment-shares {
	background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%);
	box-shadow: 0 2px 8px rgba(92, 124, 250, 0.2);
}

.modern-segment-bonds {
	background: linear-gradient(135deg, #20c997 0%, #198754 100%);
	box-shadow: 0 2px 8px rgba(32, 201, 151, 0.2);
}

.modern-segment-etf {
	background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.modern-segment-funds {
	background: linear-gradient(135deg, #0dcaf0 0%, #0a58ca 100%);
	box-shadow: 0 2px 8px rgba(13, 202, 240, 0.2);
}

/* Лейбл внутри сегмента */
.modern-segment-label {
	color: white;
	font-weight: 700;
	font-size: 0.75rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	white-space: nowrap;
	opacity: 0.95;
	transition: opacity 0.3s ease;
}

.modern-progress-segment:hover .modern-segment-label {
	opacity: 1;
}

/* Легенда */
.modern-progress-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.75rem;
	padding: 0.75rem 1rem;
	background: var(--phoenix-gray-50);
	border-radius: 12px;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--phoenix-gray-700);
	font-weight: 500;
}

.legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-shares {
	background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%);
}

.legend-bonds {
	background: linear-gradient(135deg, #20c997 0%, #198754 100%);
}

.legend-etf {
	background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.legend-funds {
	background: linear-gradient(135deg, #0dcaf0 0%, #0a58ca 100%);
}

/* Адаптивность */
@media (max-width: 768px) {
	.modern-progress-bar-container {
		height: 18px;
		border-radius: 9px;
	}

	.modern-segment-label {
		font-size: 0.6rem;
	}

	.modern-progress-legend {
		gap: 0.75rem;
		padding: 0.5rem 0.75rem;
	}

	.legend-item {
		font-size: 0.7rem;
	}

	.legend-dot {
		width: 10px;
		height: 10px;
	}
}

@media (max-width: 576px) {
	.modern-progress-bar-container {
		height: 16px;
		border-radius: 8px;
	}

	.modern-segment-label {
		font-size: 0.55rem;
	}

	.modern-progress-legend {
		gap: 0.5rem;
		padding: 0.5rem;
	}

	.legend-item {
		font-size: 0.65rem;
	}
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
	.modern-progress-bar-container {
		background: var(--phoenix-gray-800);
		box-shadow: 
			inset 0 2px 4px rgba(0, 0, 0, 0.3),
			0 1px 3px rgba(0, 0, 0, 0.2);
	}

	.modern-progress-bar-container:hover {
		box-shadow: 
			inset 0 2px 4px rgba(0, 0, 0, 0.4),
			0 4px 12px rgba(0, 0, 0, 0.3);
	}

	.modern-progress-legend {
		background: var(--phoenix-gray-900);
	}

	.legend-item {
		color: var(--phoenix-gray-300);
	}
}

/* ============================================
   ВЫПАДАЮЩИЙ КОМПОНЕНТ АКТИВОВ
   ============================================ */

/* Обёртка компонента */
.assets-dropdown-wrapper {
	margin-bottom: 1.5rem;
}

/* Заголовок секции */
.assets-section-header {
	padding: 0.5rem 0;
}

/* Кнопка-триггер выпадающего меню */
.assets-dropdown-toggle {
	background: linear-gradient(135deg, var(--phoenix-primary-bg-subtle) 0%, var(--phoenix-light-bg-subtle) 100%);
	border: 1px solid var(--phoenix-primary-border-subtle);
	border-radius: var(--phoenix-border-radius-lg);
	color: var(--phoenix-emphasis-color);
	font-family: var(--phoenix-body-font-family);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.5;
	padding: 0.875rem 1rem;
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--phoenix-box-shadow);
}

.assets-dropdown-toggle:hover {
	background: linear-gradient(135deg, var(--phoenix-primary) 0%, var(--phoenix-primary-text-emphasis) 100%);
	color: white;
	border-color: var(--phoenix-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(56, 116, 255, 0.25);
}

.assets-dropdown-toggle:focus {
	background: linear-gradient(135deg, var(--phoenix-primary) 0%, var(--phoenix-primary-text-emphasis) 100%);
	color: white;
	border-color: var(--phoenix-primary);
	box-shadow: 0 0 0 0.25rem var(--phoenix-focus-ring-color);
	outline: none;
}

.assets-dropdown-toggle[aria-expanded="true"] {
	background: linear-gradient(135deg, var(--phoenix-primary) 0%, var(--phoenix-primary-text-emphasis) 100%);
	color: white;
	border-color: var(--phoenix-primary);
}

.assets-dropdown-toggle[aria-expanded="true"] .assets-toggle-arrow i {
	transform: rotate(180deg);
}

/* Иконка в кнопке */
.assets-icon-wrapper {
	width: 2.5rem;
	height: 2.5rem;
	background: linear-gradient(135deg, rgba(56, 116, 255, 0.15) 0%, rgba(56, 116, 255, 0.05) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.assets-dropdown-toggle:hover .assets-icon-wrapper,
.assets-dropdown-toggle[aria-expanded="true"] .assets-icon-wrapper {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}

.assets-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--phoenix-primary);
	transition: color 0.3s ease;
}

.assets-dropdown-toggle:hover .assets-icon,
.assets-dropdown-toggle[aria-expanded="true"] .assets-icon {
	color: white;
}

/* Текст кнопки */
.assets-toggle-title {
	font-weight: 600;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.assets-toggle-subtitle {
	font-size: 0.8rem;
	transition: color 0.3s ease;
}

.assets-dropdown-toggle:hover .assets-toggle-subtitle,
.assets-dropdown-toggle[aria-expanded="true"] .assets-toggle-subtitle {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* Стрелка */
.assets-toggle-arrow {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.assets-toggle-arrow i {
	width: 1.25rem;
	height: 1.25rem;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Выпадающее меню */
.assets-dropdown-menu {
	background: white;
	border-radius: var(--phoenix-border-radius-lg);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
	min-width: 100%;
	overflow: hidden;
	animation: dropdownSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Заголовок выпадающего меню */
.assets-dropdown-header {
	background: linear-gradient(135deg, var(--phoenix-primary-bg-subtle) 0%, var(--phoenix-light-bg-subtle) 100%);
	border-bottom: 1px solid var(--phoenix-border-color);
}

.assets-dropdown-header h6 {
	color: var(--phoenix-emphasis-color);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

/* Тело выпадающего меню */
.assets-dropdown-body {
	max-height: 400px;
	overflow-y: auto;
	background: var(--phoenix-emphasis-bg);
}

/* Стилизация скроллбара */
.assets-dropdown-body::-webkit-scrollbar {
	width: 6px;
}

.assets-dropdown-body::-webkit-scrollbar-track {
	background: var(--phoenix-gray-100);
	border-radius: 3px;
}

.assets-dropdown-body::-webkit-scrollbar-thumb {
	background: var(--phoenix-gray-300);
	border-radius: 3px;
	transition: background 0.3s ease;
}

.assets-dropdown-body::-webkit-scrollbar-thumb:hover {
	background: var(--phoenix-gray-400);
}

/* Элемент актива */
.asset-item {
	background: var(--phoenix-light-bg-subtle);
	border: 1px solid var(--phoenix-border-color);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.asset-item:hover {
	background: var(--phoenix-primary-bg-subtle);
	border-color: var(--phoenix-primary-border-subtle);
	transform: translateX(4px);
	box-shadow: 0 2px 8px rgba(56, 116, 255, 0.15);
}

.asset-item:last-child {
	margin-bottom: 0 !important;
}

/* Иконка актива */
.asset-icon-wrapper {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.asset-icon-primary {
	background: linear-gradient(135deg, rgba(56, 116, 255, 0.15) 0%, rgba(56, 116, 255, 0.05) 100%);
}

.asset-icon-purple {
	background: linear-gradient(135deg, rgba(111, 66, 193, 0.15) 0%, rgba(111, 66, 193, 0.05) 100%);
}

.asset-icon-info {
	background: linear-gradient(135deg, rgba(0, 151, 235, 0.15) 0%, rgba(0, 151, 235, 0.05) 100%);
}

.asset-item:hover .asset-icon-wrapper {
	transform: scale(1.1);
}

.asset-icon {
	width: 1rem;
	height: 1rem;
}

.asset-icon-primary .asset-icon {
	color: var(--phoenix-primary);
}

.asset-icon-purple .asset-icon {
	color: var(--phoenix-purple);
}

.asset-icon-info .asset-icon {
	color: var(--phoenix-info);
}

/* Название актива */
.asset-name {
	color: var(--phoenix-emphasis-color);
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.3s ease;
}

.asset-item:hover .asset-name {
	color: var(--phoenix-primary);
}

/* Процент актива */
.asset-percent {
	font-size: 0.8rem;
	transition: color 0.3s ease;
}

/* Значение актива */
.asset-value {
	color: var(--phoenix-emphasis-color);
	font-size: 1rem;
	font-weight: 700;
	transition: color 0.3s ease;
}

.asset-item:hover .asset-value {
	color: var(--phoenix-primary);
}

/* Динамика актива */
.asset-dynamic {
	font-size: 0.8rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.asset-dynamic.text-success {
	color: var(--phoenix-success) !important;
}

.asset-dynamic.text-danger {
	color: var(--phoenix-danger) !important;
}

.asset-dynamic.text-muted {
	color: var(--phoenix-gray-500) !important;
}

/* Футер выпадающего меню */
.assets-dropdown-footer {
	background: var(--phoenix-light-bg-subtle);
	border-top: 1px solid var(--phoenix-border-color);
}

.assets-dropdown-footer .fw-bold {
	color: var(--phoenix-emphasis-color);
	font-size: 1rem;
}

/* Анимация переходов */
.transition-all {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Адаптивность */
@media (max-width: 768px) {
	.assets-dropdown-toggle {
		padding: 0.75rem 0.875rem;
		font-size: 0.9rem;
	}

	.assets-icon-wrapper {
		width: 2.25rem;
		height: 2.25rem;
	}

	.assets-icon {
		width: 1rem;
		height: 1rem;
	}

	.assets-toggle-title {
		font-size: 0.95rem;
	}

	.assets-toggle-subtitle {
		font-size: 0.75rem;
	}

	.asset-item {
		padding: 0.75rem !important;
	}

	.asset-icon-wrapper {
		width: 2rem;
		height: 2rem;
	}

	.asset-icon {
		width: 0.875rem;
		height: 0.875rem;
	}

	.asset-name {
		font-size: 0.9rem;
	}

	.asset-percent {
		font-size: 0.75rem;
	}

	.asset-value {
		font-size: 0.95rem;
	}

	.asset-dynamic {
		font-size: 0.75rem;
	}
}

@media (max-width: 576px) {
	.assets-dropdown-toggle {
		padding: 0.625rem 0.75rem;
		font-size: 0.85rem;
	}

	.assets-icon-wrapper {
		width: 2rem;
		height: 2rem;
	}

	.assets-toggle-title {
		font-size: 0.9rem;
	}

	.assets-toggle-subtitle {
		font-size: 0.7rem;
	}

	.asset-item {
		padding: 0.625rem !important;
	}

	.asset-icon-wrapper {
		width: 1.75rem;
		height: 1.75rem;
	}

	.asset-name {
		font-size: 0.85rem;
	}

	.asset-percent {
		font-size: 0.7rem;
	}

	.asset-value {
		font-size: 0.9rem;
	}

	.asset-dynamic {
		font-size: 0.7rem;
	}
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
	.assets-dropdown-menu {
		background: var(--phoenix-dark);
	}

	.asset-item {
		background: var(--phoenix-gray-1000);
		border-color: var(--phoenix-gray-700);
	}

	.asset-item:hover {
		background: var(--phoenix-gray-900);
		border-color: var(--phoenix-primary);
	}

	.asset-name {
		color: var(--phoenix-light-text-emphasis);
	}

	.asset-value {
		color: var(--phoenix-light-text-emphasis);
	}

	.assets-dropdown-body {
		background: var(--phoenix-dark);
	}

	.assets-dropdown-footer {
		background: var(--phoenix-gray-1000);
		border-color: var(--phoenix-gray-700);
	}

	.assets-dropdown-header {
		background: var(--phoenix-gray-1000);
		border-color: var(--phoenix-gray-700);
	}

	.assets-dropdown-header h6 {
		color: var(--phoenix-light-text-emphasis);
	}
}

/* Skeleton Loaders for Modal Shares */
.skeleton-loader {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s ease-in-out infinite;
	border-radius: 4px;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.skeleton-text {
	height: 1em;
	margin-bottom: 0.5em;
	width: 100%;
}

.skeleton-text-sm {
	height: 0.8em;
	margin-bottom: 0.5em;
	width: 60%;
}

.skeleton-title {
	height: 1.5em;
	margin-bottom: 0.75em;
	width: 70%;
}

.skeleton-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.skeleton-badge {
	height: 20px;
	width: 80px;
	border-radius: 10px;
	display: inline-block;
}

.skeleton-card {
	height: 150px;
	width: 100%;
	border-radius: 8px;
}

.skeleton-chart {
	height: 300px;
	width: 100%;
	border-radius: 8px;
}

.skeleton-stat-value {
	height: 2em;
	width: 80px;
}

.skeleton-stat-label {
	height: 0.8em;
	width: 100px;
}

.skeleton-table-row {
	height: 40px;
	width: 100%;
	margin-bottom: 8px;
}

/* Modal skeleton states */
.modal-body .skeleton-wrapper {
	display: none;
}

.modal-body.loading .skeleton-wrapper {
	display: block;
}

.modal-body.loading .actual-content {
	display: none;
}

.modal-body:not(.loading) .skeleton-wrapper {
	display: none;
}

.modal-body:not(.loading) .actual-content {
	display: block;
}
