* {
  outline: none;
  margin: 0;
  padding: 0;
}

html {
  font-family: sans-serif;
  touch-action: manipulation;
  box-sizing: border-box;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

[data-src],
[data-srcset] {
  min-width: 1px;
  min-height: 1px;
  opacity: 0;
  transition: opacity 1s;
}

[data-background-image] {
  opacity: 0;
  transition: opacity 1s;
}

[data-loaded=true] {
  opacity: 1 !important;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: bottom;
  height: auto;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input,
button,
textarea,
select {
  font-family: var(--font-family);
  resize: none;
  font-size: var(--font-size);
  font-weight: 400;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.column {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.columns {
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  display: flex;
  flex-wrap: wrap;
}

.col-1 {
  width: 8.33333333%;
}

.col-2 {
  width: 16.66666666%;
}

.col-3 {
  width: 24.99999999%;
}

.col-4 {
  width: 33.33333332%;
}

.col-5 {
  width: 41.66666665%;
}

.col-6 {
  width: 49.99999998%;
}

.col-7 {
  width: 58.33333331%;
}

.col-8 {
  width: 66.66666664%;
}

.col-9 {
  width: 74.99999997%;
}

.col-10 {
  width: 83.3333333%;
}

.col-11 {
  width: 91.66666663%;
}

.col-12 {
  width: 99.99999996%;
}

.col-2-5 {
  width: 20%;
}

svg:not(:root) {
  overflow: hidden;
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

.tab-pane:not(.active) {
  display: none;
}

.hidden {
  display: none;
}

.underline {
  text-decoration: underline;
}

.modal {
  display: none;
}
.modal.is-open {
  display: block;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 24, 43, 0.6);
  display: flex;
  padding: 20px;
  overflow-y: auto;
  z-index: 1000;
}
.modal-main {
  margin: auto;
  background-color: #EDF0F6;
  padding: 40px 60px 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
  border-radius: 5px;
}
.modal-title {
  font-size: 26px;
  line-height: 30px;
  font-weight: bold;
  letter-spacing: -0.02em;
  margin-bottom: 35px;
}
.modal-title span {
  display: block;
  font-size: 20px;
  color: var(--color-grey);
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  border: none;
  font-size: 20px;
  background: transparent url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L15 15M1.00003 15L8.00003 8L15 1' stroke='%232D2D2D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 50% no-repeat;
}
.modal[aria-hidden=false] .modal-overlay {
  animation: modal-fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal[aria-hidden=false] .modal-main {
  animation: modal-slideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal[aria-hidden=true] .modal-overlay {
  animation: modal-fadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal[aria-hidden=true] .modal-main {
  animation: modal-slideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes modal-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes modal-slideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes modal-slideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
.notify {
  display: none;
  right: 0;
  position: relative;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #ccc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--color-text);
  transition: right 0.3s;
  margin-bottom: 10px;
}
.notify.default {
  background-color: #1FCA23;
}
.notify.error {
  background-color: red;
  color: #fff;
}
.notify.is-show {
  right: 20px;
}
.notify-wrap {
  position: fixed;
  right: 0;
  top: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 40px;
  font-size: 14px;
  padding: 0 15px 2px;
  color: #fff;
  font-weight: 500;
  background-color: #4262FF;
  user-select: none;
  transition: 0.15s;
}
.btn:hover {
  background-color: #3640C6;
}
.btn-success {
  background-color: #4262FF;
}
.btn-success:hover {
  background-color: #3944d7;
}
.btn-danger {
  background-color: var(--color-red);
}
.btn-danger:hover {
  background-color: #D34D6A;
}
.btn-group {
  display: flex;
}
.btn-group .btn {
  margin-right: 10px;
}
.btn--small {
  height: 40px;
  font-size: 14px;
  padding: 0 15px 2px;
}
.btn--full {
  width: 100%;
}

.input-group {
  margin-bottom: 20px;
}

.control-label {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.help-block {
  font-size: 12px;
  margin-top: 5px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group--footer {
  margin-top: 30px;
}

.form-control {
  width: 100%;
  height: 46px;
  display: block;
  padding: 0 15px;
  font-size: 16px;
  color: var(--color-text);
  background-color: #fff;
  border: 2px solid rgba(66, 98, 255, 0.1);
  transition: border-color 0.2s;
}
.form-control:focus {
  border-color: var(--color-link);
}
.form-control--search {
  background-color: #F9FAFD;
  height: 40px;
  font-size: 14px;
}

textarea.form-control {
  height: 120px;
  padding-top: 10px;
}

.has-error .help-block {
  color: var(--color-red);
}
.has-error .form-control {
  border-color: var(--color-red);
}

.has-success .form-control {
  border-color: var(--color-green);
}

.required .control-label::after {
  content: "*";
  color: var(--color-red);
  margin-left: 2px;
}

.summary {
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 10px;
}

.table {
  width: 100%;
}
.table td, .table th {
  padding: 10px 20px 10px 0;
  text-align: left;
  font-size: 14px;
}
.table td:last-child, .table th:last-child {
  padding-right: 0;
}
.table td img,
.table td svg, .table th img,
.table th svg {
  vertical-align: middle;
  pointer-events: none;
}
.table td {
  border-top: 1px solid #EBEBEF;
  vertical-align: top;
}
.table th {
  font-weight: 500;
  white-space: nowrap;
}
.table a[aria-label] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 5px;
  width: 20px;
  height: 20px;
  color: #5b5b5e;
}
.table--edit tbody tr {
  cursor: pointer;
  transition: background-color 0.15s;
}
.table--edit tbody tr:hover {
  background-color: #EEF2F7;
}
.table-edit {
  display: inline-flex;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  stroke: #98A6AD;
  transition: stroke 0.2s;
}
.table-edit:not(:last-child) {
  margin-right: 5px;
}
.table-edit-group {
  display: flex;
  width: fit-content;
  margin-left: auto;
}
.table-edit:hover {
  stroke: var(--color-text);
}
.table-edit--delete {
  stroke: var(--color-red);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") right 0.9rem center no-repeat;
  background-size: 16px 12px;
}
select[multiple] {
  background-image: none;
  padding: 10px;
  height: auto;
}
select[multiple] option {
  padding: 5px;
}

:root {
  --gutter-site: 20px;
  --gutter: 10px;
  --color-text: #000;
  --color-link: #4262FF;
  --color-grey: #808080;
  --color-red: #F85B7D;
  --color-green: #2CB742;
  --color-yellow: #FFB800;
  --color-sidebar-link: #adb5bd;
  --font-size: 16px;
  --line-height: 20px;
  --font-family: Jost, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  height: 100vh;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-family: var(--font-family);
  color: var(--color-text);
  font-weight: normal;
  cursor: default;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.wrapper {
  min-width: 320px;
  min-height: 100vh;
  position: relative;
  padding-top: 55px;
}

.wrap {
  position: relative;
  padding: 30px 0;
}

.layout {
  display: flex;
  gap: 30px;
}
.layout-aside {
  width: 240px;
}
.layout-content {
  width: 100%;
}
.layout-content p {
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  overflow: hidden;
  margin-right: auto;
}
.breadcrumbs li {
  color: #ced4da;
  display: flex;
  font-size: 14px;
  white-space: nowrap;
}
.breadcrumbs li:not(:first-child)::before {
  content: "/";
  margin: 0 10px;
}

.sidebar {
  position: sticky;
  top: 75px;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(3px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 2;
}
.header .menu {
  margin-left: auto;
}
.header-logotype {
  display: flex;
  align-items: center;
  gap: 0 5px;
  width: 195px;
  flex-shrink: 0;
}
.header-container {
  display: flex;
  align-items: center;
  gap: 0 30px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.logotype {
  display: flex;
  color: var(--color-text);
  font-weight: 500;
  font-size: 20px;
}
.logotype-site svg {
  stroke: var(--color-text);
}
.logotype span {
  color: var(--color-link);
}

.menu li.active a {
  color: var(--color-link);
  background-color: rgba(66, 98, 255, 0.1);
}
.menu li.last {
  margin-top: 30px;
}
.menu a {
  display: inline-flex;
  font-weight: 500;
  color: var(--color-text);
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.card-group {
  margin-bottom: 20px;
}
.card-title {
  font-size: 12px;
  opacity: 0.5;
}
.card-footer {
  display: flex;
  justify-content: space-between;
}

.dashboard-wrap {
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(66, 98, 255, 0.1);
  border-radius: 4px;
  padding: 5px;
  gap: 5px;
}
.dashboard-item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 20px;
  background-color: #fff;
  color: var(--color-text);
  border-radius: 4px;
  height: 100px;
  gap: 5px;
  width: calc(33.33% - 4px);
}
.dashboard-item span {
  font-size: 14px;
  background-color: var(--color-link);
  color: #fff;
  font-weight: 500;
  min-width: 24px;
  flex-shrink: 0;
  text-align: center;
  border-radius: 10px;
  padding: 0 5px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}
.gallery-item {
  border: 1px solid #DEE2E6;
  margin: 0 -1px -1px 0;
  height: 100px;
  cursor: pointer;
  display: flex;
  text-align: center;
}
.gallery-item:hover {
  border-color: var(--color-link);
  z-index: 1;
}
.gallery-item img {
  margin: auto;
  max-height: 100%;
}

.modal-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  height: 100vh;
  overflow-y: auto;
  padding: 30px;
  background-color: #fff;
  z-index: 10;
  transform: translateX(100%);
  transition: 0.2s;
}
.modal-sidebar.is-show {
  transform: translateX(0);
  box-shadow: -2px 0 25px rgba(0, 0, 0, 0.1);
}

.auth {
  border: 1px solid #d7d9db;
  background-color: #FCFDFE;
  padding: 25px;
  border-radius: 5px;
  margin: auto;
  max-width: 400px;
}
.auth-container {
  margin: 50px 0;
}
.auth-logo {
  font-weight: 900;
  font-size: 30px;
  line-height: 40px;
  display: block;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 20px;
}
.auth-logo span {
  color: var(--color-link);
}
.auth-title {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
}

.tab-list {
  display: flex;
  margin-bottom: 20px;
  width: fit-content;
  background-color: rgba(66, 98, 255, 0.1);
  padding: 3px;
  border-radius: 5px;
}
.tab-list li {
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #fff;
  white-space: nowrap;
  border-radius: 5px;
}
.tab-list li.active {
  color: #fff;
  background-color: var(--color-link);
}