.user-ui-body {
  margin: 0;
  background: #0b0e1a;
  color: #e7ebff;
  font-family: Arial, sans-serif;
}

.user-ui-app {
  min-height: 100vh;
  display: flex;
}

.user-ui-sidebar {
  width: 248px;
  background: #0e111d;
  border-right: 1px solid #2a2f48;
}

.user-ui-brand {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #2a2f48;
}

.user-ui-brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.user-ui-nav {
  padding: 10px 8px 16px;
}

.user-ui-nav__group {
  margin-bottom: 10px;
  padding: 10px 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.user-ui-nav__group:last-child {
  margin-bottom: 0;
}

.user-ui-nav__group--home {
  border-left: 3px solid #5eead4;
}

.user-ui-nav__group--tx {
  border-left: 3px solid #60a5fa;
}

.user-ui-nav__group--dev {
  border-left: 3px solid #34d399;
}

.user-ui-nav__group--account {
  border-left: 3px solid #a78bfa;
}

.user-ui-nav__group--reports {
  border-left: 3px solid #fbbf24;
}

.user-ui-nav__group--legal {
  border-left: 3px solid #94a3b8;
}

.user-ui-nav__title {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.user-ui-nav__title-text {
  display: block;
  color: #a8b5d4;
}

.user-ui-nav__group--home .user-ui-nav__title-text {
  color: #7dd3fc;
}

.user-ui-nav__group--tx .user-ui-nav__title-text {
  color: #93c5fd;
}

.user-ui-nav__group--dev .user-ui-nav__title-text {
  color: #6ee7b7;
}

.user-ui-nav__group--account .user-ui-nav__title-text {
  color: #c4b5fd;
}

.user-ui-nav__group--reports .user-ui-nav__title-text {
  color: #fcd34d;
}

.user-ui-nav__group--legal .user-ui-nav__title-text {
  color: #cbd5e1;
}

.user-ui-nav__item {
  display: block;
  padding: 8px 10px;
  margin-bottom: 2px;
  border-radius: 8px;
  color: #d1d9f0;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}

.user-ui-nav__item:last-child {
  margin-bottom: 0;
}

.user-ui-nav__item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.user-ui-nav__item.is-active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.08));
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.user-ui-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.user-ui-header {
  height: 44px;
  border-bottom: 1px solid #2a2f48;
  background: #111427;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 13px;
}

.user-ui-header__right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-ui-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.user-ui-lang__sep {
  color: #5a6288;
  user-select: none;
}

.user-ui-lang__link {
  color: #aeb6da;
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
}

.user-ui-lang__link:hover {
  color: #e7ebff;
  background: #1f2540;
}

.user-ui-lang__link.is-active {
  color: #ffffff;
  font-weight: 600;
}

.user-ui-header__email {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c7cceb;
  font-size: 12px;
}

.user-ui-btn-logout {
  background: #2b3155;
  color: #f3f5ff;
  border: 1px solid #414873;
  border-radius: 4px;
  padding: 5px 9px;
  cursor: pointer;
  font-size: 12px;
}

.user-ui-btn-logout:hover {
  background: #343c66;
}

.user-ui-content {
  padding: 18px;
  flex: 1;
}

.user-ui-footer {
  margin-top: auto;
  padding: 14px 16px 18px;
  border-top: 1px solid #2a2f48;
  background: #0e111d;
  text-align: center;
  font-size: 12px;
  color: #8e95b8;
}

.user-ui-footer__line {
  margin: 0 0 4px;
}

.user-ui-footer__line--muted {
  font-size: 11px;
  color: #6b7194;
}

.user-ui-footer__links {
  margin: 10px 0 0;
}

.user-ui-footer__link {
  color: #aeb6da;
  text-decoration: none;
}

.user-ui-footer__link:hover {
  color: #e7ebff;
  text-decoration: underline;
}

.user-page-card {
  background: #171b31;
  border: 1px solid #2a2f48;
  border-radius: 6px;
  padding: 14px;
}

.user-page-title {
  margin: 0 0 12px;
  font-size: 24px;
}

.user-page-subtitle {
  margin: -6px 0 16px;
  color: #97a0c8;
  font-size: 13px;
}

.user-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.user-toolbar label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #aeb6da;
}

.user-toolbar input,
.user-toolbar select,
.user-toolbar button {
  background: #101428;
  color: #e8edff;
  border: 1px solid #303656;
  border-radius: 4px;
  height: 32px;
  padding: 0 8px;
}

.user-toolbar button {
  cursor: pointer;
}

.user-table-wrap {
  overflow-x: auto;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.user-table th,
.user-table td {
  border: 1px solid #2a2f48;
  padding: 8px;
  vertical-align: top;
}

.user-table th {
  background: #141a32;
  text-align: left;
}

.user-muted {
  color: #aeb6da;
}
