﻿@charset "UTF-8";
/*
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;

$dark-primary: #150F0B;
$rating-star-color: $primary; // #ffcc00;

// new color scheme
$primary-light: #F8F1DF;

// -- Sidenav Dark
$sidenav-dark-bg: $dark-primary;
$sidenav-dark-color: fade-out($white, 0.5);
$sidenav-dark-heading-color: fade-out($white, 0.75);
$sidenav-dark-link-color: fade-out($white, 0.35);
// #808191;
$sidenav-dark-link-active-color: $white;
$sidenav-dark-icon-color: fade-out($white, 0.75);
$sidenav-dark-footer-bg: $gray-800;

// -- Sidenav Light
$sidenav-light-bg: $gray-100;
$sidenav-light-color: $gray-100;
$sidenav-light-heading-color: $gray-500;
$sidenav-light-link-color: $sidenav-light-color;
$sidenav-light-link-active-color: $primary;
$sidenav-light-icon-color: $gray-500;
$sidenav-light-footer-bg: $gray-200;

// Color variables for the topnav
$topnav-dark-toggler-color: fade-out($white, 0.5);
$topnav-light-toggler-color: $gray-900;

$card-bg: $primary-light;

$topnav-menu-bg: $primary-light;
$topnav-menu-color: $dark-primary;

$badge-bg-blue: #8FA0D8;
$badge-bg-orange: $primary;
*/
/*@import "bootstrap/scss/bootstrap.scss";*/
html,
body {
  /*position: relative;*/
  /*min-height: 100%;*/
  /*height: 100%;*/
  background: #ffffff;
  font-family: "Poppins", "Open Sans";
  font-style: normal;
  font-size: 14px;
}
[dir=rtl] html,
[dir=rtl] body {
  font-family: "Alexandria", sans-serif;
}

input, textarea {
  font-family: "Poppins", "Open Sans";
}
[dir=rtl] input, [dir=rtl] textarea {
  font-family: "Alexandria", sans-serif;
}

#solus-search input {
  font-family: "Poppins", "Open Sans";
}
[dir=rtl] #solus-search input {
  font-family: "Alexandria", sans-serif;
}

/* ===== Firefox (global) ===== */
* {
  scrollbar-width: thin; /* Толщина: thin | auto | none */
  scrollbar-color: #8765d7 #f0eaff; /* Ползунок | Трек */
}

/* ===== Chrome / Edge / Safari (webkit) ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f0eaff; /* Цвет трека */
}

::-webkit-scrollbar-thumb {
  background: #8765d7; /* Цвет ползунка */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6c3fff;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: radial-gradient(circle at top left, rgba(255, 99, 0, 0.5) 0%, rgba(0, 0, 0, 0) 18rem), radial-gradient(circle at top right, rgba(255, 99, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24rem), radial-gradient(circle at 5% 68%, rgba(255, 99, 0, 0.65) 1%, rgba(0, 0, 0, 0) 24rem);
  z-index: 0;
}

.cursor-pointer {
  cursor: pointer;
}

.sc-link {
  color: #222222;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.sc-link:hover {
  color: rgb(110.5, 110.5, 110.5) !important;
}
.sc-link.bold {
  font-weight: 600;
}

.sc-link-header {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.sc-link-header:hover {
  color: #F8F1DF !important;
}

.copy-message {
  position: absolute;
  top: -20px;
  right: 5px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  display: none;
  width: fit-content;
}

.container-xl.container-1140 {
  max-width: 1140px;
}

.modal-offset-right {
  transform: translateX(112.5px) !important;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 1200px) {
  .gradient-overlay {
    background: radial-gradient(circle at top left, rgba(255, 99, 0, 0.5) 0%, rgba(0, 0, 0, 0) 18rem), radial-gradient(circle at top right, rgba(255, 99, 0, 0.65) 1%, rgba(0, 0, 0, 0) 32rem), radial-gradient(circle at 5% 68%, rgba(255, 99, 0, 0.65) 1%, rgba(0, 0, 0, 0) 40rem);
  }
}
@media (min-width: 992px) {
  body.modal-open #layoutSidenav_content {
    padding-right: 12px !important;
  }
}
@media (max-width: 1199.98px) {
  .modal-offset-right {
    transform: inherit !important;
  }
}
/*/*@include media-breakpoint-down(md) {
    .gradient-overlay {
        background: radial-gradient(circle at top left, rgba(255,99,0,0.5) 0%, rgba(0,0,0,0) 15rem), 
            radial-gradient(circle at top right, rgba(255,99,0,0.5) 0%, rgba(0,0,0,0) 20rem), 
            radial-gradient(circle at bottom center, rgba(255,99,0,0.3) 0%, rgba(0,0,0,0) 35rem);
    }
}

@include media-breakpoint-down(sm) {
    .gradient-overlay {
        background: radial-gradient(circle at top left, rgba(255,99,0,0.5) 0%, rgba(0,0,0,0) 45vw), 
            radial-gradient(circle at top right, rgba(255,99,0,0.5) 0%, rgba(0,0,0,0) 55vw), 
            radial-gradient(circle at bottom center, rgba(255,99,0,0.3) 0%, rgba(0,0,0,0) 75vw);
    }
}*/
@media (max-width: 575.98px) {
  .gradient-overlay {
    background: radial-gradient(circle at top center, rgba(255, 99, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80vw), radial-gradient(circle at bottom center, rgba(255, 99, 0, 0.3) 0%, rgba(0, 0, 0, 0) 80vw);
  }
}
:root {
  --bg-main: #f6f2ff;
  --bg-sidebar: #1b1430;
  --bg-card: #ffffff;
  --bg-card-soft: #ffffff;
  --primary: #7c4dff;
  --primary-soft: #e0d4ff;
  --primary-strong: #5e35b1;
  --text-main: #201b3a;
  --text-muted: #9a94b8;
  --border-soft: #ece7ff;
  --success: #2ecc71;
  --danger: #e74c3c;
}

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

/* ширина полосы */
::-webkit-scrollbar {
  width: 10px;
}

/* фон всей полосы */
/*::-webkit-scrollbar-track {
    background: #f0eaff;
    border-radius: 10px;
}*/
/* ползунок */
/*::-webkit-scrollbar-thumb {
    background: #8b5cff;*/ /* твой фиолетовый */
/*border-radius: 10px;
}*/
/* при наведении */
/*::-webkit-scrollbar-thumb:hover {
    background: #6f3dff;
}*/
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
}

.btn-nofocus:focus {
  box-shadow: none;
}

.nowrap {
  white-space: nowrap;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  80% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}
@keyframes pulse-primary {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 99, 0, 0.8);
  }
  80% {
    box-shadow: 0 0 0 12px rgba(255, 99, 0, 0);
  }
}
.noselect, no-select {
  user-select: none;
}

.check-box {
  -webkit-appearance: none;
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(249, 241, 221, 0.7019607843);
  border-radius: 0.25rem;
  background-color: rgba(255, 255, 255, 0.0431372549);
  cursor: pointer;
  outline: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 0;
}

.check-box:checked {
  background-color: #a855f7;
  border-color: #a855f7;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.app {
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  background: var(--bg-main);
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  overflow: hidden;
  padding: 8px;
}

/* SIDEBAR */
.sidebar {
  background: var(--bg-sidebar);
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-radius: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ff8af2, #7c4dff);
}

.brand-name-main {
  font-weight: 300;
  font-size: 25px;
}

.brand-name-sub {
  font-weight: 600;
  font-size: 25px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a6fa8;
  margin: 12px 0 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #dad4ff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.nav-item button {
  border: 0 !important;
  font-size: 14px;
  color: #dad4ff;
  background-color: transparent;
}

a.nav-item {
  text-decoration: none;
}

a.nav-item:hover {
  text-decoration: none;
  color: #dad4ff;
}

.nav-item:hover {
  background: #2a2144;
  transform: translateY(-1px);
}

.nav-item.active {
  background: #2e2254;
  color: #fff;
}

.nav-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid #4a3b7a;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scrollable {
  overflow: auto;
  scrollbar-width: thin;
}

/* MAIN */
main {
  padding: 0px 24px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: auto;
  scrollbar-width: thin;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-header-left h1 {
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 4px;
}

.main-header-left span {
  font-weight: 400;
  font-size: 18px;
  color: var(--text-muted);
}

.user-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
}

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

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
}

.user-email {
  font-size: 12px;
  color: var(--text-muted);
}

.dashboard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

/* TOP STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  background: var(--bg-card-soft);
  border-radius: 12px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.04);
  border: 1px solid #efe8ff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  margin-top: 4px;
}

.stat-change {
  font-size: 12px;
}

.stat-change.positive {
  color: var(--success);
}

.stat-change.negative {
  color: var(--danger);
}

.stat-badge {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #efe8ff;
}

/* CONTENT GRID */
.content-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr;
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-soft);
}
.card h2 {
  font-weight: 400;
  font-size: 18px;
  color: rgb(30, 30, 30);
}
.card h3 {
  font-weight: 400;
  font-size: 14px;
  color: rgb(109, 107, 107);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background-color: #ffffff;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mock line chart */
.chart {
  margin-top: 16px;
  height: 180px;
  position: relative;
}

.chart-line {
  position: absolute;
  inset: 0 12px 24px 0;
  background: linear-gradient(135deg, transparent 0 48%, rgba(124, 77, 255, 0.16) 48% 100%);
  border-radius: 12px;
}

.chart-axis {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* Donut chart mock */
.donut-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
}

.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #f6f2ff 60%, transparent 61%), conic-gradient(#7c4dff 0 120deg, #c597ff 120deg 210deg, #a46dff 210deg 300deg, #e2d7ff 300deg 360deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.donut-color {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--primary);
}

/* BOTTOM GRID */
.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12px;
}

thead tr {
  color: var(--text-muted);
}

th, td {
  text-align: left;
  padding: 8px 0;
}

tbody tr + tr {
  border-top: 1px solid #f1edf8;
}

.amount {
  text-align: right;
}

/* FOOTER */
.footer {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

/* Simple responsiveness */
@media (max-width: 1100px) {
  .app {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .brand-name-main,
  .brand-name-sub,
  .nav-item span,
  .nav-group-title {
    display: none;
  }
  .brand img.logo {
    max-width: 45px;
  }
  .sidebar {
    padding: 24px 8px;
  }
}
@media (max-width: 920px) {
  .sidebar {
    padding: 24px 8px;
  }
}
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }
}
.alert.alert-hide {
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.modal-content {
  background-color: transparent;
  border: none;
  border-radius: 12px;
  outline: 0;
}

.modal-body {
  padding: 48px;
  border-radius: 12px;
  background: linear-gradient(114.65deg, #8765D7 1.46%, #999BFF 47.41%, #DA9EF0 100%);
}
.modal-body .brand {
  display: block;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 24px;
}

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

body.auth-body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-wrapper {
  width: 100%;
  padding: 10px;
  min-width: 100vw;
  min-height: 100vh;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  /* Left side – form */
  /* Right side – gradient info */
}
.auth-wrapper .auth-left {
  flex: 1 1 50%;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.auth-wrapper .auth-left-form {
  width: 100%;
  max-width: 400px;
}
.auth-wrapper .auth-right {
  flex: 1 1 50%;
  background: linear-gradient(152.31deg, #8765D7 10.93%, #999BFF 48.08%, #DA9EF0 100%);
  border-radius: 16px;
  color: #ffffff;
  padding: 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-wrapper .auth-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}
.auth-wrapper .auth-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 28px;
}
.auth-wrapper .social-row {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.auth-wrapper .social-btn {
  padding: 2px 15px 2px 10px;
  height: 40px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  text-wrap: nowrap;
}
.auth-wrapper .social-btn:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.auth-wrapper .social-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.auth-wrapper .social-icon.google {
  background: #0000ff;
}
.auth-wrapper .social-icon.apple {
  background: #ffffff;
}
.auth-wrapper .divider-row {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.auth-wrapper .divider-row span.line {
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}
.auth-wrapper .form-group {
  margin-bottom: 18px;
}
.auth-wrapper .form-label {
  display: block;
  font-size: 12px;
  color: #757575;
  margin-bottom: 6px;
}
.auth-wrapper .form-control {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-wrapper .form-control:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
.auth-wrapper .password-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-wrapper .auth-link, .auth-wrapper .forgot-link {
  font-size: 11px;
  color: #a855f7;
  text-decoration: none;
}
.auth-wrapper .auth-link:hover, .auth-wrapper .forgot-link:hover {
  text-decoration: underline;
}
.auth-wrapper .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 20px;
  font-size: 11px;
  color: #6b7280;
}
.auth-wrapper .checkbox-row input[type=checkbox] {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
}
.auth-wrapper .checkbox-row a {
  color: #a855f7;
  text-decoration: none;
}
.auth-wrapper .checkbox-row a:hover {
  text-decoration: underline;
}
.auth-wrapper .primary-btn {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: #a855f7;
  color: #ffffff;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.auth-wrapper .primary-btn:hover {
  background: #9333ea;
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.45);
  transform: translateY(-1px);
}
.auth-wrapper .brand-name {
  font-size: 40px;
  line-height: 1.1;
}
.auth-wrapper .hero-title {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 500;
}
.auth-wrapper .hero-title span {
  font-weight: 700;
}
.auth-wrapper .hero-text {
  font-size: 16px;
  line-height: 1.7;
  max-width: 300px;
  opacity: 0.92;
  margin-bottom: 28px;
}
.auth-wrapper .hero-secondary {
  font-size: 16px;
  line-height: 1.6;
  max-width: 330px;
  opacity: 0.92;
  margin-bottom: 40px;
}
.auth-wrapper .hero-tagline {
  font-weight: 400;
  font-style: Italic;
  font-size: 30px;
}

/* Responsive */
@media (max-width: 880px) {
  .auth-wrapper {
    flex-direction: column;
    max-width: 480px;
  }
  .auth-wrapper .auth-left {
    padding: 32px 24px 40px;
  }
  .auth-wrapper .auth-right {
    display: none;
    padding: 32px 24px 40px;
  }
}
@media (max-width: 480px) {
  .social-row {
    flex-direction: column;
  }
}
.fixed-top, .sc-nav-fixed #layoutSidenav #layoutSidenav_nav, .sc-nav-fixed .sc-topnav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.sc-nav-fixed .sc-topnav {
  z-index: 1100;
}
.sc-nav-fixed #layoutSidenav #layoutSidenav_nav {
  width: 225px;
  height: 100vh;
  z-index: 1038;
}
.sc-nav-fixed #layoutSidenav #layoutSidenav_nav .sc-sidenav {
  padding-top: 56px;
}
.sc-nav-fixed #layoutSidenav #layoutSidenav_nav .sc-sidenav .sc-sidenav-menu {
  overflow-y: auto;
}
.sc-nav-fixed #layoutSidenav #layoutSidenav_content {
  padding-left: 225px;
  top: 56px;
}

@media (max-width: 991.98px) {
  .sc-topnav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
  }
  #layoutSidenav #layoutSidenav_nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 225px;
    height: 100vh;
    z-index: 1038;
  }
  #layoutSidenav #layoutSidenav_nav .sc-sidenav {
    padding-top: 56px;
  }
  #layoutSidenav #layoutSidenav_nav .sc-sidenav .sc-sidenav-menu {
    overflow-y: auto;
  }
  #layoutSidenav #layoutSidenav_content {
    padding-left: 225px;
    padding-top: 56px;
  }
  /*#layoutSidenav_footer {
      margin-top: $topnav-base-height !important;
  }*/
}
#layoutError {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#layoutError #layoutError_content {
  min-width: 0;
  flex-grow: 1;
}
#layoutError #layoutError_footer {
  min-width: 0;
}

.img-error {
  max-width: 20rem;
}

.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: left;
  gap: 4px;
  transition: 0.25s ease;
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus, .pill-btn:focus {
  border-color: #8b5cff !important;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 255, 0.25) !important;
  outline: none;
  color: inherit;
  background-color: inherit;
}

.btn-sm {
  padding: 6px 15px;
}

/* -------------------------------- */
/* Secondary (white button)         */
/* -------------------------------- */
.btn-secondary {
  background: #ffffff;
  color: #201b3a;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05), 0 0 0 1px #ece8ff inset;
}

.btn-secondary:hover {
  background: #f7f4ff;
  color: #8765d7;
}

/* ------------------------------------- */
/* Empty (bordered empty button)         */
/* ------------------------------------- */
.btn-empty {
  background: transparent;
  border: 1.5px solid rgba(159, 159, 159, 0.6980392157);
  color: #9F9F9F;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05), 0 0 0 1px #ece8ff inset;
}

.btn-empty:hover {
  background: transparent;
  color: #8765d7;
}

/* --------------------------------------------- */
/* Danger (bordered danger empty button)         */
/* --------------------------------------------- */
.btn-danger {
  background: transparent;
  border: 1.5px solid rgba(255, 27, 27, 0.3803921569);
  color: rgba(255, 27, 27, 0.3803921569);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05), 0 0 0 1px #ece8ff inset;
}

.btn-danger:hover {
  background: transparent;
  border-color: rgba(255, 27, 27, 0.3803921569);
  color: rgba(255, 27, 27, 0.3803921569);
}

/* -------------------------------- */
/* Primary (фиолетовый градиент)    */
/* -------------------------------- */
.btn-primary {
  color: #ffffff;
  background-color: #8765d7;
}

.btn-primary.active {
  background-color: #8765d7;
}

.btn-primary:hover {
  opacity: 0.8;
  background-color: #8765d7;
}

/* Иконка справа */
.btn-icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

/* Контейнер */
.button-group {
  display: inline-flex;
  background: #ffffff;
  border: 2px solid #e2dff5;
  border-radius: 18px;
  padding: 4px;
  gap: 4px;
}

/* Кнопка */
.btn-toggle {
  padding: 10px 22px;
  border-radius: 14px;
  border: none;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #a5a2b3;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-toggle:hover {
  background: rgba(160, 140, 255, 0.07);
}

.btn-toggle.active {
  background: #8a63e5;
  color: #ffffff;
  background-color: rgb(135, 101, 215) !important;
  box-shadow: 0 8px 18px rgba(138, 105, 255, 0.25);
}

.btn-settings {
  width: 125px;
  justify-content: center;
  color: #000000;
  background-color: #ffffff;
  box-shadow: 4px 4px 4px 0px rgb(240, 232, 252);
  transition: 0.25s ease;
}

.btn-settings.active {
  background-color: rgb(135, 101, 215) !important;
  color: #ffffff;
}

.pill-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-btn {
  border-radius: 9px;
  border: 1px solid #e1dbff;
  background: #fff;
  padding: 5px 15px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.25s ease;
  transform: translateY(0);
}

.pill-btn.img-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 94px;
}

.pill-btn.active {
  color: #ffffff;
  background: #8765d7;
}

.active img.btn-img-inversible {
  filter: brightness(0) invert(1);
}

.pill-btn:hover {
  transform: translateY(-2px);
}

.table-container {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  overflow: auto;
  scrollbar-width: thin;
}

.page-table thead {
  text-transform: uppercase;
  font-size: 11px;
  color: #9a94b8;
}

.page-table th,
.page-table td {
  padding: 10px 4px;
}

.page-table td a {
  color: #8765d7;
  text-decoration: none;
}

.page-table tbody tr + tr {
  border-top: 1px solid #f1edf8;
}

.page-table .right {
  text-align: right;
}

.pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.pager-btn {
  border-radius: 999px;
  border: 1px solid #e1dbff;
  background: #f6f2ff;
  width: 26px;
  height: 26px;
  font-size: 14px;
  cursor: pointer;
}

.pager-btn[disabled] {
  opacity: 0.4;
  cursor: default;
}

.pager-info {
  font-size: 12px;
  color: #9a94b8;
}

/* INVOICE ITEM TABLE */
.invoice-items-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.04);
  font-size: 13px;
}

.invoice-items-table thead tr {
  background: linear-gradient(90deg, #f3e7ff, #f9f4ff);
  color: #7b7394;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.invoice-items-table th,
.invoice-items-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f2edf8;
}

.invoice-items-table th:first-child,
.invoice-items-table td:first-child {
  border-left: 1px solid #f2edf8;
}

.invoice-items-table th:last-child,
.invoice-items-table td:last-child {
  border-right: 1px solid #f2edf8;
}

.invoice-item-row:last-child td {
  border-bottom: 1px solid #f2edf8;
}

.item-col-index {
  width: 80px;
}

.item-col-qty,
.item-col-uom {
  width: 80px;
}

.item-col-price,
.item-col-vat,
.item-col-amount {
  width: 110px;
}

.item-col-delete {
  width: 30px;
}
.item-col-delete img {
  cursor: pointer;
}

.invoice-items-table input.form-control-sm {
  padding: 4px 6px;
  height: 28px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #e6e1f5;
  background: #fbf9ff;
}

/*.invoice-items-table label.form-control-sm {
    padding: 8px 6px;
    height: 28px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #e6e1f5;
    background: #fbf9ff;
}*/
.invoice-items-table input.form-control-sm:focus {
  border-color: #8b5cff;
  box-shadow: 0 0 0 1px rgba(139, 92, 255, 0.2);
}

.invoice-items-table .readonly {
  background: #EEEEEE !important;
  background-color: #EEEEEE !important;
}

.invoice-items-total label {
  min-width: 120px;
}
.invoice-items-total .control-label {
  font-weight: 500;
  font-size: 16px;
}

.page {
  padding-top: 24px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.page-title {
  font-weight: 500;
  font-size: 18px;
  color: #333333;
}

.page-subtitle {
  font-size: 13px;
  color: #9a94b8;
}

.page-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.segmented {
  display: inline-flex;
  background: transparent;
  border-radius: 18px;
  border: 1px solid #e1dbff;
  padding: 3px;
  gap: 8px;
}

.segmented-btn {
  border: none;
  background: transparent;
  padding: 6px 18px;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  color: #9F9F9F;
}

.segmented-btn.active {
  background-color: #8765d7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.search-input {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #e1dbff;
  background: #f9f6ff;
  font-size: 13px;
}

.card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.04);
  border: 1px solid #efe8ff;
  padding: 16px 20px;
}

/* select2 */
/*.select2-results__option--highlighted {
    background-color: red !important;
}
*/
.select2-container--default .select2-selection--single {
  border: 1px solid rgb(206, 212, 218) !important;
  _border-radius: 0 !important;
}

.select2-search__field:focus-visible, .select2-selection__rendered:focus-visible, .select2-selection:focus-visible, .select2-selection--single:focus-visible {
  outline: -webkit-focus-ring-color auto 0px !important;
}

.select2-selection__arrow {
  margin-top: 2px;
}

.select2-selection__clear {
  margin-top: 1px;
}

.select2-container .select2-selection--single {
  height: 32px !important;
  border-radius: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-top: 4px;
  padding-bottom: 4px;
  _color: #444;
  line-height: 24px !important;
  font-size: 1rem !important;
}

/* /select2 */
.required::after {
  content: "*";
  font-weight: bold;
  color: #8765d7;
}

.form-control:focus {
  border-color: #8b5cff !important;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 255, 0.25) !important;
  outline: none;
}

.form-control {
  border-radius: 10px;
  line-height: 1.1;
}
.form-control.readonly {
  background-color: #EEEEEE;
}

.form-control::placeholder {
  font-size: 12px;
}

.form-label, .control-label {
  font-weight: 400;
  font-size: 14px;
  color: #271F36 !important;
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control-fixed {
  width: 150px;
}

.form-section {
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.form-group-button {
  display: flex;
  gap: 16px;
  justify-content: end;
}
.form-group-button button, .form-group-button input, .form-group-button a {
  padding-left: 40px;
  padding-right: 40px;
}
.form-group-button .btn-primary, .form-group-button .btn-primary:focus {
  font-weight: 400;
  color: #FFFFFF;
  background-color: #271F36;
}
.form-group-button .btn-secondary {
  font-weight: 400;
}

.input-currency {
  text-align: right;
}

.notify-bell-point {
  width: 8px;
  height: 8px;
  background: #8765D7;
  border: 3px solid #F8F4FF;
  border-radius: 50%;
  position: absolute;
  padding: 5px;
  top: -6px;
  right: 0;
}

.notify-card {
  min-width: 250px;
  border-radius: 14px;
  margin-top: 20px !important;
  padding: 15px 7px;
  border: 1.5px solid rgba(149, 124, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  background: rgba(240, 232, 252, 0.5);
  justify-content: space-between;
  border-radius: 14px;
}

.notify-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}

.notify-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 10px;
  padding: 8px 4px 0 4px;
  cursor: pointer;
}

.notify-icon {
  padding: 15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
}

.notify-icon.blue {
  background: #7c9eff;
}

.notify-icon.green {
  background: rgb(221, 255, 227);
}

.notify-icon.orange {
  background: #ffb45c;
}

.notify-text {
  font-size: 14px;
  color: #6D6B6B;
  line-height: 1.2;
}

.notify-time {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: right;
}

.notify-action {
  font-size: 12px;
  color: #1b1430;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}

.notify-action:hover {
  color: #634fb1;
}

/*@import "plugins/simple-datatables.scss";*/
