:root {
    --bg-color: #1B1B25;
    --bg-color-light: #262835;
    --text-color: #ffffff;

    --text-primary: #FFFFFF;
    --text-sidebar: #ffffff;
    --bg-block: #262835;
    --bg-item-sidebar: #676C8B;

    --text-grey: #929EAE;
    --text-white: #FFFFFF;

    --table-head: #262835;
    --table-head-text: #929EAE;
    --table-body-text-main: #FFFFFF;
    --table-body-text-second: #929EAE;
    --table-body-stroke: #353546;

    --input-text-color: #ffffff;
    --input-text-color-disabled: #929EAE;
}

[data-theme="dark"] {
    --bg-color: #ffffff;
    --bg-color-light: #FAFAFA;
    --text-color: #1B1B25;

    --text-primary: #1B1B25;
    --text-sidebar: #1B1B25;
    --bg-block: #FAFAFA;
    --bg-item-sidebar: #f2f2f2;

    --text-grey: #676C8B;
    --text-white: #1B1B25;

    --table-head: #FAFAFA;
    --table-head-text: #929EAE;
    --table-body-text-main: #1B1B25;
    --table-body-text-second: #929EAE;
    --table-body-stroke: #E5E5E5;

    --input-text-color: #1B1B25;
    --input-text-color-disabled: #929EAE;

}

/*
* Main
*/
html, body
{
    width: 100%;
    height: 100%;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #171717;

    box-sizing: border-box;
    padding: 0;
    margin: 0;

    background-color: var(--bg-color);
}

html *, body *
{
    transition: all 0.15s ease-out;
}

.body-background
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;

    background: url('../images/background/backround.png') no-repeat center center;
    background-size: cover;
}
*:focus {
    outline: none;
}

/*
* Common
*/
.flex-justify-center
{
    justify-content: center !important;
}
.flex-align-center
{
    align-items: center !important;
}
/*
* Auth
*/
.page-wrapper-auth
{
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.auth-block
{
    width: 100%;
    max-width: 600px;
    height: auto;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    background: #262835;

    border-radius: 30px;

    box-sizing: border-box;
    padding: 48px;
    gap: 24px;
}
@media (min-width: 0px) and (max-width: 600px) {
    .auth-block
    {
        padding: 24px;
        background: none;
    }
}
.auth-block-row
{
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.auth-block-logo
{
    width: 200px;
}
.auth-block-hello
{
    width: 100%;

    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    line-height: 110%;
    margin: 0;
    text-align: center;
}
.auth-block-title
{
    font-size: 24px;
    font-weight: 300;
    color: #ffffff;
    line-height: 110%;
    margin: 0;
}
.auth-form-check-list
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    gap: 8px;
}
.auth-form-check-list-item
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

    gap: 4px;
}
.auth-form-check-list-item-circle
{
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    height: 20px;
    min-height: 20px;
    max-height: 20px;

    border-radius: 20px;

    background: url("../images/icons/neutral.png") no-repeat center center;
}
.auth-form-check-list-item.active .auth-form-check-list-item-circle
{
    background: url("../images/icons/success.png") no-repeat center center;
}
.auth-form-check-list-item-title
{
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    line-height: 110%;
    margin: 0;
}
.form
{
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 24px;
}
.form-inner
{
  box-sizing: border-box;
  padding: 20px;

  border-radius: 24px;

  border: 1px solid var(--table-body-stroke);
}
.form-row
{
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.form-row.form-row-4
{
  grid-template-columns: repeat(4, 1fr);
}
.form-row.form-row-2
{
  grid-template-columns: repeat(2, 1fr);
}
.form-group
{
    position: relative;

    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 8px;
}
.password-show
{
    position: absolute;
    top: 32px;
    right: 24px;

    width: 24px;
    height: 24px;
    background: none;
    border: 0;
}
.password-show .password-show-eye
{
    display: block;
}
.password-show .password-show-eye-close
{
    display: none;
}
.password-show.active .password-show-eye
{
    display: none;
}
.password-show.active .password-show-eye-close
{
    display: block;
}
html[data-theme="dark"] .password-show-eye
{
}

label
{
    font-size: 14px;
    font-weight: 300;
    color: var(--table-body-text-second);
    line-height: 110%;
    margin: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="file"],
input[type="date"],
select
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

    gap: 10px;

    font-size: 16px;
    font-weight: 300;
    color: var(--input-text-color);
    line-height: 110%;
    margin: 0;

    min-height: 40px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 8px 16px;

    border: 1px solid var(--bg-item-sidebar);
    background-color: var(--bg-color-light);

    /*
    -webkit-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.25) inset;
    -moz-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.25) inset;
    box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.25) inset;
    */
}
input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="number"]:disabled,
input[type="file"]:disabled,
input[type="date"]:disabled,
select:disabled
{
  color: var(--input-text-color-disabled);
}
textarea {
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  gap: 10px;

  font-size: 16px;
  font-weight: 300;
  color: var(--input-text-color);
  line-height: 110%;
  margin: 0;

  min-height: 40px;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 8px 16px;

  border: 1px solid var(--bg-item-sidebar);
  background-color: var(--bg-color-light);

  resize: none;
}
.input-email
{
    background: url("../images/icons/mail.png") no-repeat center center;
    background-position: 16px center;
    padding: 8px 16px 8px 56px !important;
}
.input-password
{
    background: url("../images/icons/password.png") no-repeat center center;
    background-position: 16px center;
    padding: 8px 16px 8px 56px !important;
}

html[data-theme="dark"] .input-email
{
  background: url("../images/icons/mail_dark.png") no-repeat center center;
}
html[data-theme="dark"] .input-password
{
  background: url("../images/icons/password_dark.png") no-repeat center center;
}

.btn-primary
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    gap: 10px;

    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 110%;
    margin: 0;

    min-height: 40px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 8px 16px;

    border: 0;

    background: #C594FD;
    background: linear-gradient(0deg, #C594FD, #9231FF);

    text-decoration: none;
}


.btn-secondary
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    gap: 10px;

    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 110%;
    margin: 0;

    min-height: 40px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 8px 16px;

    border: 0;

    background: var(--bg-block);

    text-decoration: none;
}

.btn-error
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    gap: 10px;

    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 110%;
    margin: 0;

    min-height: 40px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 8px 16px;

    border: 0;

    background: #f2454e;

    text-decoration: none;
}

.page-wrapper-inner
{
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
header
{
    width: 100%;
    max-width: 1360px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;

    box-sizing: border-box;
    padding: 8px 0;

    margin: 0 0 24px 0;
}
.wrapper
{
    width: 100%;
    max-width: 1360px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 20px;
}
.header-logo-wrapper
{
    width: 153px;

    box-sizing: border-box;
    padding: 8px;

    border-radius: 16px;

    background: var(--bg-block);

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.header-logo
{
    width: 116px;
    height: 48px;

    background: url("../images/logo.svg") no-repeat center center;
    background-size: cover;
}
html[data-theme="dark"] .header-logo
{
    width: 116px;
    height: 48px;
    background: url("../images/logo_light.svg") no-repeat center center;
    background-size: cover;
}

.header-data
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;
}
.header-data-wallet
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  gap: 10px;
}
.header-data-wallet-available
{
  position: relative;
  background-color: var(--bg-color);
  border: 0;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.header-data-wallet-available.active
{
  background-color: var(--bg-block);
}
.header-profile-body-wallet
{
  top: 34px !important;
}
.header-data-wallet-available.active .header-profile-body-wallet
{
  display: flex;
  opacity: 1;
  max-height: 200px;
}

.header-data-wallet-item
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  gap: 10px;

  box-sizing: border-box;
  padding: 8px 16px;
  border-radius: 16px;


  background-color: var(--bg-color);
}
.header-data-wallet-frozen
{
  background-color: var(--bg-block);
}
.header-data-wallet-frozen path
{
  fill: var(--text-white);
}

.header-data-wallet-bell
{
  background-color: var(--bg-block);
  text-decoration: none;
}
.header-data-wallet-bell path
{
  stroke: var(--text-white);
}


.header-data-wallet-item span
{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
}

.header-data-course
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

    gap: 10px;
}

.header-profile
{
    position: relative;

    width: 215px;

    display: flex;

    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.header-profile-top
{
    position: relative;
    width: 100%;
    height: 48px;

    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

    /*background: url("../images/icons/arrow.svg") no-repeat 180px center, var(--bg-block);*/
    background: var(--bg-block);

    box-sizing: border-box;
    padding: 8px;

    border-radius: 30px;

    cursor: pointer;

    gap: 12px;
}
.header-profile-top:before
{
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 16px;
  right: 16px;
  z-index: 1;

  background: url("../images/icons/arrow.svg") no-repeat 0 0;

  transition: all 0.15s ease-out;
}

html[data-theme="dark"] .header-profile-top:before
{
  background: url("../images/icons/arrow_dark.svg") no-repeat 0 0;
}

.avatar
{
    width: 33px;
    height: 36px;
}
.avatar-admin
{
    background: url("../images/users/avatar_admin.svg") no-repeat center center;
    background-size: cover;
}
.user-nuckname
{
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 110%;
    margin: 0;
}

.hd-currencies
{
    font-size: 14px;
    font-weight: 500;
    color: #C594FD;
    line-height: 110%;
    margin: 0;
}
.hd-course
{
    font-size: 16px;
    font-weight: 500;
    color: #929EAE;
    line-height: 110%;
    margin: 0;
}
.hd-change
{
    font-size: 14px;
    font-weight: 500;
    color: #69B57B;
    line-height: 110%;
    margin: 0;
}

.toggle-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 48px;
    margin: 0 10px;
}


.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/icons/toggle_bg_dark.svg") no-repeat center center, #FAFAFA;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 40px;
    width: 40px;
    left: 4px;
    bottom: 4px;
    background-color: #676C8B50;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: url("../images/icons/toggle_bg_white.svg") no-repeat center center, #262835;
}

input:checked + .slider:before {
    transform: translateX(48px);
}

.toggle-container-mobile input:checked + .slider:before {
    transform: translateX(32px);
}


.toggle-container-mobile .toggle-switch
{
  width: 64px;
  height: 32px;
}
.toggle-container-mobile .slider:before
{
  height: 24px;
  width: 24px;
}
.toggle-container-mobile .slider {
  background: url("../images/icons/toggle_bg_dark_mobile.svg") no-repeat center center, #FAFAFA;
}
.toggle-container-mobile input:checked + .slider {
    background: url("../images/icons/toggle_bg_white_mobile.svg") no-repeat center center, #262835;
}

.sidebar
{
    width: 325px;
    height: auto;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 12px;

    box-sizing: border-box;
    padding: 24px;

    border-radius: 30px;

    background-color: var(--bg-block);
}
.content
{
    width: 1015px;
    height: auto;

    box-sizing: border-box;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.sidebar-item
{
    width: 100%;
    height: 56px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

    gap: 16px;

    box-sizing: border-box;
    padding: 16px 24px;

    border-radius: 20px;

    text-decoration: none;


}
.sidebar-item-icon,
.sidebar-item-icon-stroke
{
    width: 24px;
    height: 24px;
}
.sidebar-item-icon path
{
    fill: var(--text-sidebar);
}
.sidebar-item-icon-stroke path,
.sidebar-item-icon-stroke rect,
.sidebar-item-icon-stroke polyline,
.sidebar-item-icon-stroke circle,
.sidebar-item-icon-stroke line,
.sidebar-item-icon-stroke polygon
{
    stroke: var(--text-sidebar);
}

.sidebar-item-title
{
    font-size: 16px;
    font-weight: 400;
    color: var(--text-sidebar);
    line-height: 110%;
    margin: 0;
}
.sidebar-item.active
{
    background: #C594FD;
    background: linear-gradient(0deg, #C594FD, #9231FF);
}
.sidebar-item:hover
{
    background-color: var(--bg-item-sidebar);
}

.content-head
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.content-title
{
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 110%;
    margin: 0;
}

.btn-action-icon
{
    width: auto;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    gap: 10px;

    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 110%;
    margin: 0;

    min-height: 40px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 8px 16px;

    border: 0;

    background: #C594FD;
    background: linear-gradient(0deg, #C594FD, #9231FF);

    text-decoration: none;
}
.btn-action-icon path
{
    fill: var(--text-primary);
}

.content-body
{
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 20px;

    box-sizing: border-box;
    padding: 32px 0;
}
.content-body-row
{
    width: 100%;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.content-body-row.row-4
{
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.content-body-row.row-3
{
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.content-body-row.row-2
{
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.content-block
{
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    box-sizing: border-box;
    padding: 24px;

    background-color: var(--bg-block);

    border-radius: 20px;

    gap: 20px;
}
.content-block.content-block-column
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
.content-block-icon
{
    width: 42px;
    height: 42px;
}
.content-block-data
{
    width: 100%;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 10px;
}
.content-text-medium-grey
{
    font-size: 14px;
    font-weight: 400;
    color: var(--text-grey);
    line-height: 110%;
    margin: 0;
}
.content-text-medium-white
{
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 110%;
    margin: 0;
}

.tabs
{
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.tabs-item
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    background-color: var(--bg-block);
    border-radius: 0px;

    box-sizing: border-box;
    padding: 12px 24px;

    font-size: 14px;
    font-weight: 300;
    color: var(--text-white);
    line-height: 110%;
    margin: 0;

    text-decoration: none;

    border: 0;

    gap: 12px;
}
.tabs-item svg
{
    width: 15px;
    height: 15px;
}
.tabs-item path
{
    fill: var(--text-white);
}
.tabs-item:first-child
{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.tabs-item:last-child
{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.tabs-item:hover,
.tabs-item.active
{
    background-color: var(--bg-item-sidebar);
}
.table-wrapper
{
  width: 100%;
}
/*
.table-wrapper
{
    width: 100%;
    overflow-x:auto;
}

table
{
  border: 0;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}
table thead tr
{
    background-color: var(--table-head);
}
table tbody tr
{
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--table-body-stroke);
}

table th
{
    padding: 16px 16px;
    text-align: left;
}
table td
{
    padding: 16px 16px;
    text-align: left;
    white-space: wrap;
}
.table-cell-small
{
    width: 30px;
    min-width: 30px;
    max-width: 30px;
}

.table-cell-medium
{
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.table-cell-memi
{
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}

table th
{
  font-size: 12px;
  color: var(--table-head-text);
  text-transform: uppercase;
}
table th:first-child
{
    border-top-left-radius: 16px;
}
table th:last-child
{
    border-top-right-radius: 16px;
}
table td
{
  font-size: 14px;
  color: var(--table-body-text-main);
}
*/
.user-email
{
  color: var(--table-body-text-second);
}
.filter-block
{
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 20px;

    box-sizing: border-box;
    padding: 24px;

    border-radius: 20px;
    border: 1px solid var(--table-body-stroke);

}
.filter-block.active
{
    display: flex;
}

.alert
{
  width: 100%;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  gap: 10px;

  box-sizing: border-box;
  padding: 16px;

  border-radius: 8px;

  background: #212529;

  font-size: 14px;
  font-weight: 300;
  color: #fafafa;
  line-height: 110%;
  margin: 0;

}
.alert-success
{
  background: #90a955;
}
.alert-error
{
  background: #e76f51;
}
.alert-warning
{
  background: #f4a261;
}
.alert-info
{
  background: #0077b6;
}


.backlink
{
  width: 35px;
  height: 35px;

  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  background: var(--bg-block);
  box-sizing: border-box;
  padding: 5px;
  border-radius: 18px;
  margin: 0 20px 0 0;
}
.backlink path
{
  fill: var(--text-white);
}

.block-hide
{
  width: 100%;
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}
.block-hide.active
{
  display: flex;
}

.table-link
{
  display: block;
  color: var(--table-body-text-main);
}
.content-block-link
{
  color: var(--table-body-text-main);
}


.text-success
{
  color: #90a955;
}
.text-error
{
  color: #e76f51;
}

.circle-image
{
  width: 32px;
  height: 32px;

  border-radius: 16px;
}


.header-profile-body
{
  position: absolute;
  top: 48px;
  left: 0;

  width: 100%;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  box-sizing: border-box;
  padding: 24px;

  background: var(--bg-block);

  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;

  z-index: 40;
}
.header-profile.active .header-profile-top
{
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;

  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.header-profile.active .header-profile-top:before
{
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.header-profile.active .header-profile-body
{
  display: flex;
  opacity: 1;
  max-height: 200px;
}
.header-profile-nav
{
  width: 100%;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  gap: 12px;
}
.header-profile-nav-item
{
  font-size: 14px;
  font-weight: 400;
  line-height: 110%;
  margin: 0;

  color: var(--table-body-text-main);
}
.header-profile-nav-item:hover
{
  text-decoration: none;
}
.header-profile-nav-item.header-profile-nav-item-logout
{
  color: #e76f51;
}


/*
*
*
*
*
*/

.table-container
{
  width: 100%;
  max-width: 1200px;
}


/* Стили для таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    min-width: 600px;
    overflow: hidden;
}

table thead tr {
    background-color: var(--table-head);
}

table th
{
  font-size: 12px;
  color: var(--table-head-text);
  text-transform: uppercase;
}
table th:first-child
{
    border-top-left-radius: 16px;
}
table th:last-child
{
    border-top-right-radius: 16px;
}

table th,
table td {
    padding: 16px 16px;
    text-align: left;
    vertical-align: middle;
}

table td
{
  font-size: 14px;
  color: var(--table-body-text-main);
}

table tbody tr {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--table-body-stroke);
}


/* Адаптивные стили для мобильных устройств */
@media (min-width: 0px) and (max-width: 600px) {
    .table-wrapper{
        overflow-y: scroll;
    }
}

.secondary-text
{
  color: var(--table-body-text-second);
}

.mr-8
{
  margin-right: 8px;
}
.mb-8
{
  margin-bottom: 8px;
}
.mt-8
{
  margin-top: 8px;
}
.ml-8
{
  margin-left: 8px;
}
.mt-24
{
  margin-top: 24px !important;
}

.badge-success
{
  text-transform: uppercase;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  background: #90a955;
  box-sizing: border-box;
  padding: 2px 4px;
  border-radius: 2px;
}
.badge-error
{
  text-transform: uppercase;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  background: #e76f51;
  box-sizing: border-box;
  padding: 2px 4px;
  border-radius: 2px;
}
.badge-warning
{
  text-transform: uppercase;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  background: #f4a261;
  box-sizing: border-box;
  padding: 2px 4px;
  border-radius: 2px;
}
.badge-info
{
  text-transform: uppercase;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  background: #0077b6;
  box-sizing: border-box;
  padding: 2px 4px;
  border-radius: 2px;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

table td p
{
  margin: 4px 0;
}

.pagination
{
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 0;
  margin: 0;

  gap: 8px;
}
.pagination-page-item
{
  width: 30px;
  height: 30px;

  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  border-radius: 100%;

  background-color: var(--bg-block);


  box-sizing: border-box;

  font-size: 14px;
  font-weight: 300;
  color: var(--text-white);
  line-height: 110%;
  margin: 0;

  text-decoration: none;

  border: 0;
}
.pagination-page-item.pagination-page-item-big
{
  width: 80px;
  border-radius: 8px;
}
.pagination-page-item a
{
  font-size: 14px;
  font-weight: 300;
  color: var(--text-white);
  line-height: 110%;
  margin: 0;

  text-decoration: none;
}
.pagination-page-item.active a
{
  font-weight: 700;
  color: var(--table-body-text-second);
}

.payment-status-block
{
  position: relative;

  border: 0;
  background: none;

  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  gap: 6px;
}
.payment-status-block-list
{
  position: absolute;
  top: -37px;
  right: -125px;

  background: var(--bg-block);
  border-radius: 8px;

  box-sizing: border-box;
  padding: 16px;

  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  gap: 8px;

  z-index: 50;
}
.payment-status-block-btn.active .payment-status-block-list
{
  display: flex;
}

.text-status-new
{
  color: #519CFF;
  text-decoration: none;
}
.text-status-complete
{
  color: #69B57B;
  text-decoration: none;
}
.text-status-cancel
{
  color: #F2454E;
  text-decoration: none;
}
.text-status-appeal
{
  color: #FB8500;
  text-decoration: none;
}
.text-status-recalc
{
  color: #8338ec;
  text-decoration: none;
}

.content-block-title
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
  line-height: 110%;
  margin: 0;
}
.content-block-data-rows
{
  width: 100%;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  gap: 16px;
}
.content-block-data-row
{
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}
.content-block-data-row-muted
{
  width: 40%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;

  font-size: 14px;
  font-weight: 400;
  color: var(--table-body-text-second);
  line-height: 110%;
  margin: 0;
}
.content-block-data-row-white
{
  width: 60%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-start;

  font-size: 14px;
  font-weight: 400;
  color: var(--text-white);
  line-height: 110%;
  margin: 0;

  text-align: right;
}
.content-text
{
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  font-size: 14px;
  font-weight: 400;
  color: var(--text-white);
  line-height: 125%;
  margin: 0;

  text-align: left;
}
.d-flex-gap
{
  align-items: center;
  gap: 4px;
}


.content-block-deal-status
{
  gap: 20px;
}
.deal-button-status-title
{
  width: 100%;

  font-size: 14px;
  font-weight: 400;
  color: var(--text-white);
  line-height: 110%;
  margin: 0;

  text-align: left;
}
.deal-button-status-subtitle
{
  width: 100%;

  font-size: 14px;
  font-weight: 400;
  color: var(--table-body-text-second);
  line-height: 125%;
  margin: 0;

  text-align: left;
}
.deal-button-status
{
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  gap: 10px;

  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 110%;
  margin: 0;

  min-height: 40px;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 8px 16px;

  border: 0;

  background: var(--bg-color);

  text-decoration: none;

  transition: transform 0.3s ease;
}
.deal-button-status:hover
{
  transform: translateY(-5px);
}
.deal-button-status.deal-button-status-new
{
  color: #ffffff;
  background: #519CFF;
}
.deal-button-status.deal-button-status-complete
{
  color: #ffffff;
  background: #69B57B;
}
.deal-button-status.deal-button-status-cancel
{
  color: #ffffff;
  background: #F2454E;
}
.deal-button-status.deal-button-status-appeal
{
  color: #ffffff;
  background: #FB8500;
}
.deal-button-status.deal-button-status-recalc
{
  color: #ffffff;
  background: #8338ec;
}

.content-block-chart
{
  width: 100%;
}

.menu-burger
{
  display: none;

  width: 36px;
  height: 36px;
  border: 0;
  background: none;

  margin: 0 0 0 8px;
}
.menu-burger svg
{
  stroke: var(--text-white);
}

/* Оверлей для затемнения фона */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


.header-mobile-top
{
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  box-sizing: border-box;
  padding: 8px 24px;
}
.header-data-mobile
{

}
.header-mobile-top .header-data
{
  width: 100%;
  max-width: 1360px;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.header-mobile-top
{
  display: none;
}

.content-doc
{}
.content-doc h1
{
  font-size: 24px;
  font-weight: 500;
  line-height: 135%;
  margin: 0;
  color: var(--text-white);
}
.content-doc h2
{
  font-size: 20px;
  font-weight: 500;
  line-height: 135%;
  margin: 0;
  color: var(--text-white);
}
.content-doc h3
{
  font-size: 18px;
  font-weight: 500;
  line-height: 135%;
  margin: 0;
  color: var(--text-white);
}
.content-doc h4
{
  font-size: 16px;
  font-weight: 500;
  line-height: 135%;
  margin: 0;
  color: var(--text-white);
}
.content-doc h5
{
  font-size: 14px;
  font-weight: 500;
  line-height: 135%;
  margin: 0;
  color: var(--text-white);
}

.content-doc p
{
  font-size: 14px;
  font-weight: 400;
  line-height: 135%;
  margin: 0;
  color: var(--text-white);
}
.content-doc pre
{
  width: 100%;
}

.frod-data
{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  gap: 6px;

  color: var(--text-white);
  text-decoration: none;
}
.frod-data svg
{
  width: 14px;
  height: 14px;
}

.copy-btn
{
  display: block;
  background: none;
  border: 0;
  color: var(--table-body-text-main);
}
.table-icon
{
  width: 16px;
  height: 16px;
}

.apk_icon
{
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  border-radius: 21px;
  background-color: #90be6d;
}
.apk_icon svg
{
  stroke: white;
}
.apk_button
{
  width: auto;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  background: none;
  border: none;

  gap: 6px;

  color: var(--text-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 135%;
  margin: 0;
}
.apk_button svg
{
  stroke: var(--text-white);
  width: 14px;
  height: 14px;
}

.hd-currencies-rapira
{

}
.hd-currencies-rapira svg
{
  max-width: 80px;
  height: auto;
}
.hd-currencies-bybit
{

}
.hd-currencies-bybit svg
{
  max-height: 20px;
}

.small-text
{
  font-size: 12px;
}


.npulse-toggle {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 40px;
  cursor: pointer;
}

.npulse-toggle-sm {
  width: 80px;
  height: 30px;
}

.npulse-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.npulse-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: .3s;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.npulse-toggle-sm .npulse-toggle-slider {
  border-radius: 15px;
}

.npulse-toggle-slider:before {
  content: "";
  position: absolute;
  height: 32px;
  width: 32px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.npulse-toggle-sm .npulse-toggle-slider:before {
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
}

.npulse-toggle input:checked + .npulse-toggle-slider {
  background-color: #4CAF50;
}

.npulse-toggle input:checked + .npulse-toggle-slider:before {
  transform: translateX(80px);
}

.npulse-toggle-sm input:checked + .npulse-toggle-slider:before {
  transform: translateX(50px);
}

.npulse-toggle-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  color: white;
  transition: .3s;
  pointer-events: none;
}

.npulse-toggle-sm .npulse-toggle-text {
  font-size: 10px;
}

.npulse-toggle-text-on {
  left: 12px;
  opacity: 0;
}

.npulse-toggle-text-off {
  right: 12px;
  opacity: 1;
}

.npulse-toggle input:checked ~ .npulse-toggle-text-on {
  opacity: 1;
}

.npulse-toggle input:checked ~ .npulse-toggle-text-off {
  opacity: 0;
}

/* Альтернативный стиль для оператора */
.npulse-operator-status .npulse-toggle {
  width: 140px;
  height: 32px;
}

.npulse-operator-status .npulse-toggle-slider {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.npulse-operator-status .npulse-toggle input:checked + .npulse-toggle-slider {
  background: linear-gradient(135deg, #8ac926 0%, #a7c957 100%);

}

.npulse-operator-status .npulse-toggle-slider:before {
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
}

.npulse-operator-status .npulse-toggle input:checked + .npulse-toggle-slider:before {
  transform: translateX(108px);
}

.npulse-operator-status .npulse-toggle-text {
  font-size: 14px;
  font-weight: 600;
}
