@charset "UTF-8";
/* Fonts */
/* ------------------------------------ */
/* Colors */
/* ------------------------------------ */
/* Breakpoints */
/* ------------------------------------ */
.header {
  background: #2F54DF;
  padding: 8px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 0 0 40px 0;
}
.header .container {
  position: relative;
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.header-wrapper__logo {
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.header-wrapper__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.header-wrapper__toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.header-wrapper__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-wrapper__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.header-wrapper__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header-wrapper__nav {
  flex: 1;
  min-width: 0;
}
.header-wrapper__link {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease, background 0.2s ease;
}
.header-wrapper__link:hover {
  color: #EDEEEF;
}
.header-wrapper__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.header-wrapper__item {
  display: flex;
  align-items: center;
}
.header-wrapper__username {
  color: #EDEEEF;
  margin: 0;
  font-size: 13px;
  font-weight: normal;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding-right: 15px;
}
@media (max-width: 767px) {
  .header {
    margin-bottom: 20px;
    padding: 6px 0;
  }
  .header-wrapper__toggle {
    display: flex;
  }
  .header-wrapper__nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #2F54DF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border-radius: 0 0 12px 12px;
    z-index: 1000;
    padding: 4px 0 8px;
  }
  .header-wrapper__nav.is-open {
    display: block;
  }
  .header-wrapper__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
  }
  .header-wrapper__item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .header-wrapper__item:first-child {
    border-top: none;
  }
  .header-wrapper__link,
  .header-wrapper__username {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .header-wrapper__username {
    border-right: none;
    padding-right: 16px;
  }
}
@media (min-width: 768px) {
  .header-wrapper__nav {
    display: block !important;
  }
}

.sales {
  padding: 40px 0;
}
.sales__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sales__empty {
  text-align: center;
  font-size: 18px;
  color: rgba(106, 110, 128, 0.4);
}
.sales__list {
  list-style: none;
  padding: 0;
}
.sales__item {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #FFFFFF;
}

.form-container {
  display: flex;
  justify-content: center;
}
.form-container .add-form {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-container .add-form h2 {
  font-size: 22px;
  color: #333;
  text-align: center;
  margin: 0;
}
.form-container .add-form input,
.form-container .add-form select,
.form-container .add-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  background: #fafafa;
  transition: all 0.3s ease;
}
.form-container .add-form textarea {
  height: 120px;
  resize: none;
}
.form-container .add-form .form-row {
  display: flex;
  gap: 15px;
}
.form-container .add-form .form-row input {
  flex: 1;
}
.form-container .add-form .image-label {
  font-size: 14px;
  color: #666;
  margin-bottom: -15px;
}
.form-container .add-form .btn-submit {
  background: linear-gradient(90deg, #8a2be2, #4b0082);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}
.form-container .add-form .btn-submit:hover {
  opacity: 0.9;
}

.products {
  padding: 0;
  background-color: #f8f9fa;
}
.products .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.products-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}
@media (min-width: 600px) {
  .products-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .products-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}
.products-wrapper__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.products-wrapper__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.products-wrapper__card-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #eee;
}
.products-wrapper__card-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.products-wrapper__card:hover .products-wrapper__card-image {
  transform: scale(1.1);
}
.products-wrapper__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.products-wrapper__card-badge {
  align-self: flex-start;
  background: rgba(138, 43, 226, 0.1);
  color: #8a2be2;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.products-wrapper__card-title {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 15px 0;
  line-height: 1.4;
  font-weight: 600;
  min-height: 50px;
}
.products-wrapper__card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #f9f9f9;
}
.products-wrapper__card-price {
  font-size: 22px;
  font-weight: 800;
  color: #333;
}
.products-wrapper__card-button {
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.3s, filter 0.3s;
}
.products-wrapper__card-button:hover {
  filter: brightness(1.2);
}

.empty-msg {
  text-align: center;
  font-size: 18px;
  color: #999;
  padding: 50px 0;
}

.product-view {
  padding: 20px 0 100px;
  background: #fff;
}
.product-view__layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 1024px) {
  .product-view__layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .product-view__content {
    flex: 1;
    min-width: 0;
  }
  .product-view__aside {
    flex: 0 0 320px;
    width: 320px;
    position: sticky;
    top: 20px;
  }
}
.product-view__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f4f6f8;
}
.product-view__main-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.product-view__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.purchase-box {
  background: #f4f6f8;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 30px;
}
.purchase-box__label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
}
.purchase-box__input {
  width: 70px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
}
.purchase-box__price-total {
  font-size: 20px;
  font-weight: 800;
  margin-left: 15px;
}
.purchase-box__price-total span {
  color: #2F54DF;
}

.buy-btn-green {
  width: 100%;
  background: #00d26a;
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.buy-btn-green:hover {
  background: #00b95d;
}
.buy-btn-green--mobile {
  width: auto;
  padding: 12px 35px;
  font-size: 16px;
}

.mobile-buy-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
@media (min-width: 1024px) {
  .mobile-buy-panel {
    display: none;
  }
}
.mobile-buy-panel__price {
  font-size: 22px;
  font-weight: 800;
}

.side-card {
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 20px;
}
.side-card__price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.payment-modal__window {
  background: #121212;
  width: 440px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  border: 1px solid #222;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.payment-modal__header {
  background: #3b5bdb;
  padding: 30px 20px;
  text-align: center;
  flex-shrink: 0;
}
.payment-modal__header h2 {
  color: #fff;
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}
.payment-modal__close {
  position: absolute;
  top: 12px;
  right: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
  cursor: pointer;
  z-index: 10;
}
.payment-modal__scroll-area {
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
}
.payment-modal__scroll-area::-webkit-scrollbar {
  width: 6px;
}
.payment-modal__scroll-area::-webkit-scrollbar-track {
  background: #121212;
}
.payment-modal__scroll-area::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}
.payment-modal__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding-top: 15px;
  border-top: 1px solid #222;
}
.payment-modal__total-label {
  color: #ccc;
  font-size: 16px;
}
.payment-modal__total-amount {
  color: #2ecc71;
  font-size: 20px;
  font-weight: bold;
}
.payment-modal__submit {
  background: #00e676;
  color: #000;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}
.payment-modal__submit:hover {
  background: #00c853;
  transform: translateY(-2px);
}

.order-card {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  background: #1a1a1a;
  padding: 10px;
  border-radius: 10px;
}
.order-card__img {
  width: 60px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
}
.order-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.order-card__title {
  color: #eee;
  font-size: 14px;
  margin-bottom: 5px;
}
.order-card__price {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

.payment-form__group {
  margin-bottom: 15px;
}
.payment-form__group label {
  display: block;
  color: #888;
  margin-bottom: 8px;
  font-size: 13px;
}
.payment-form__method-label {
  color: #ccc;
  margin-bottom: 10px;
  display: block;
}
.payment-form__input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
.payment-form__input:focus {
  border-color: #3b5bdb;
}
.payment-form__row {
  display: flex;
  gap: 15px;
}
.payment-form__row .payment-form__group {
  flex: 1;
}
.payment-form__qty-label {
  color: #888;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}
.payment-form__card-fields {
  margin-bottom: 15px;
}

.payment-option {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.payment-option:hover {
  border-color: #444;
}
.payment-option--selected {
  border-color: #3b5bdb;
  background: #1e2a4a;
}
.payment-option__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}
.payment-option__label span {
  color: #eee;
  font-size: 14px;
}
.payment-option__radio {
  accent-color: #3b5bdb;
}
.payment-option__balance, .payment-option__hint {
  display: block;
  margin-top: 6px;
  margin-left: 26px;
  font-size: 12px;
  color: #888;
}
.payment-option__balance strong {
  color: #2ecc71;
}

.qty-control {
  display: flex;
  background: #222;
  border-radius: 8px;
  padding: 5px;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 15px;
}
.qty-control__btn {
  background: #333;
  border: none;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}
.qty-control__input {
  background: none;
  border: none;
  color: #fff;
  width: 45px;
  text-align: center;
  outline: none;
}

.product-view__notice--ban {
  background: #e74c3c;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.btn--disabled {
  background: #95a5a6 !important;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  border: none;
  text-align: center;
  font-weight: bold;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: transparent;
}

.modal-window {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  animation: modalAppear 0.3s ease-out;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal-window__header {
  background: #2F54DF;
  color: #fff;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.modal-window__header span {
  font-size: 18px;
  font-weight: 700;
}
.modal-window__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.2s;
}
.modal-window__close:hover {
  opacity: 0.7;
}
.modal-window__form {
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
}
.modal-window__form::-webkit-scrollbar {
  width: 5px;
}
.modal-window__form::-webkit-scrollbar-thumb {
  background: #eee;
  border-radius: 10px;
}
.modal-window__preview {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.modal-window__preview img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
}
.modal-window__preview-info .title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: #1a1a1a;
}
.modal-window__preview-info .tag {
  display: inline-block;
  background: #f0e6ff;
  color: #8a2be2;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.modal-window__field {
  margin-bottom: 18px;
}
.modal-window__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.modal-window__field input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #f9f9f9;
  font-size: 15px;
  transition: border-color 0.2s;
}
.modal-window__field input::-moz-placeholder {
  color: #aaa;
}
.modal-window__field input::placeholder {
  color: #aaa;
}
.modal-window__field input:focus {
  border-color: #2F54DF;
  outline: none;
  background: #fff;
}
.modal-window__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.modal-window__footer {
  padding: 20px 25px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  background: #fff;
}
.modal-window__footer .total-price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.modal-window__footer .total-price span {
  color: #2F54DF;
  font-size: 22px;
  font-weight: 800;
  margin-left: 5px;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.payout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.payout-modal__window {
  background: #121212;
  color: #fff;
  width: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid #2b2b2b;
}
.payout-modal__window--scrollable {
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.payout-modal__header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #3b5bdb, #5c7cfa);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
}
.payout-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  cursor: pointer;
}
.payout-modal__form {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.payout-modal__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #a3a3a3;
}
.payout-modal__field input,
.payout-modal__field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1b1b1b;
  color: #fff !important;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  -webkit-text-fill-color: #fff;
}
.payout-modal__field input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.payout-modal__field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.payout-modal__field input[readonly] {
  background: #252525;
  color: #e0e0e0 !important;
}
.payout-modal__field input:focus,
.payout-modal__field select:focus {
  border-color: #3b5bdb;
}
.payout-modal__select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.payout-modal__hint {
  margin-top: 5px;
  font-size: 12px;
  color: #777;
}
.payout-modal__footer {
  margin-top: 6px;
}
.payout-modal__submit {
  width: 100%;
  background: #00e676;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
}
.payout-modal__submit:hover {
  background: #00c853;
  transform: translateY(-1px);
}

.payout-btn {
  background: #3b5bdb;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(59, 91, 219, 0.45);
  transition: 0.25s ease;
}
.payout-btn:hover {
  background: #3246c5;
  transform: translateY(-1px);
}

.balance {
  margin: 0 0 20px 0;
}
.balance-header {
  display: flex;
  margin: 0 0 20px 0;
  justify-content: space-between;
  align-items: center;
}
.balance-header__title {
  margin: 0;
  font-size: 30px;
  text-align: center;
}
.balance-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
.balance-content__card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 5px solid transparent;
}
.balance-content__card--main {
  border-left-color: #4a90e2;
}
.balance-content__card--plus {
  border-left-color: #2ecc71;
}
.balance-content__card--minus {
  border-left-color: #ff4d4d;
}
.balance-content__value {
  font-size: 22px;
  font-weight: 800;
  color: #333;
}
.balance-content__card--plus .balance-content__value {
  color: #2ecc71;
}
.balance-content__card--minus .balance-content__value {
  color: #ff4d4d;
}

.finances-wrapper {
  background: transparent;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}
.finances-wrapper__list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 10px 20px;
  margin: 0;
}
.finances-wrapper__item {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.finances-wrapper__item-date, .finances-wrapper__item-status {
  display: none;
}
.finances-transaction {
  background: #ffffff;
}
.finances-transaction__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.finances-transaction__item {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 15px 20px;
  border-bottom: 1px solid #f5f5f5;
  align-items: start;
  gap: 2px;
}
.finances-transaction__item-date {
  grid-column: 1;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 2px;
}
.finances-transaction__item-descr {
  grid-column: 1;
  font-weight: 600;
  font-size: 15px;
  color: #333;
}
.finances-transaction__item-status {
  grid-column: 1/3;
  font-size: 13px;
  font-weight: 700;
  color: #2ecc71;
  margin-top: 5px;
  display: flex;
  align-items: center;
}
.finances-transaction__item-status .status-dot {
  margin-right: 5px;
  font-size: 10px;
}
.finances-transaction__item-amount {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  text-align: right;
  font-weight: 700;
  font-size: 16px;
  color: #ff4d4d;
}
.finances-transaction__item-amount.plus {
  color: #2ecc71;
}
.finances-transaction__item-amount--payout {
  color: #1a1a1a;
  font-weight: 700;
}

.btn-payout {
  color: #ffffff;
  background-color: #2F54DF;
  padding: 10px;
  border-color: transparent;
  border-radius: 8px;
  cursor: pointer;
  margin: 0;
  font-size: 14px;
}

.purchases {
  padding: 40px 0;
}
.purchases-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #1a1a1a;
}
.purchases-header {
  display: none;
}
@media (min-width: 992px) {
  .purchases-header {
    display: block;
    background: #fafafa;
    border-bottom: 2px solid #f0f0f0;
    padding: 15px 25px;
    border-radius: 12px 12px 0 0;
  }
  .purchases-header__list {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1.2fr 1fr 3fr 1fr 1fr 1fr 40px;
    font-size: 14px;
    font-weight: 700;
    color: #888;
  }
}

.purchase-item {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  transition: 0.3s;
}
.purchase-item__summary {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px;
  cursor: pointer;
  gap: 10px;
}
@media (min-width: 992px) {
  .purchase-item__summary {
    grid-template-columns: 1.2fr 1fr 3fr 1fr 1fr 1fr 40px;
    align-items: center;
    padding: 18px 25px;
    gap: 0;
  }
}
.purchase-item__summary .mobile-label {
  font-weight: 700;
  color: #aaa;
  margin-right: 5px;
}
@media (min-width: 992px) {
  .purchase-item__summary .mobile-label {
    display: none;
  }
}
.purchase-item__summary .mini-preview {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-left: 10px;
  vertical-align: middle;
  -o-object-fit: cover;
     object-fit: cover;
}
.purchase-item__summary .status-tag {
  font-weight: 700;
}
.purchase-item__summary .status-tag.status-paid {
  color: #2ecc71;
}
.purchase-item__summary .status-tag.status-closed {
  color: #95a5a6;
}
.purchase-item__summary .col-amount {
  font-weight: 800;
  font-size: 16px;
}
.purchase-item__summary .col-arrow {
  text-align: right;
}
.purchase-item__summary .col-arrow .arrow-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #4a90e2;
  border-bottom: 2px solid #4a90e2;
  transform: rotate(45deg);
  transition: 0.3s;
}
.purchase-item__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fcfcfc;
}
.purchase-item__details .details-inner {
  overflow: hidden;
  padding: 0 25px;
}
.purchase-item.active {
  background: #f9f9ff;
}
.purchase-item.active .purchase-item__details {
  grid-template-rows: 1fr;
  padding-bottom: 30px;
}
.purchase-item.active .arrow-icon {
  transform: rotate(-135deg) !important;
  margin-top: 5px;
}

.keys-block {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
}
.keys-block .keys-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}
.keys-block .key-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px dashed #ccc;
}
.keys-block .key-field code {
  font-family: "Courier New", monospace;
  font-size: 17px;
  font-weight: 700;
  color: #444;
}
.keys-block .key-field .btn-copy {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
}
.keys-block .key-field .btn-copy:hover {
  color: #8e44ad;
}

.purchase-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 20px;
}
@media (min-width: 576px) {
  .purchase-actions {
    grid-template-columns: 1fr 1fr;
  }
}
.purchase-actions .btn-action {
  padding: 15px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s;
}
.purchase-actions .btn-action:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.purchase-actions .btn-action.btn-confirm {
  background: #00c853;
  color: #fff;
}
.purchase-actions .btn-action.btn-review {
  background: #6200ea;
  color: #fff;
}

.admin-nav {
  background: #1a1a1a;
  border-bottom: 2px solid #333;
  padding: 0 20px;
}
.admin-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 70px;
  align-items: center;
}
.admin-nav__item a {
  color: #fff;
  text-decoration: none;
  padding: 0 20px;
  font-weight: 500;
  transition: 0.3s;
  display: block;
  line-height: 70px;
}
.admin-nav__item a:hover {
  background: #333;
  color: #2ecc71;
}
.admin-nav__item--active a {
  border-bottom: 3px solid #2ecc71;
  color: #2ecc71;
}
.admin-nav__badge {
  margin-left: auto;
  background: #e74c3c;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.orders-table thead {
  background: #f8f9fa;
  font-weight: 600;
}
.orders-table th,
.orders-table td {
  padding: 12px 15px;
  border: 1px solid #eee;
  text-align: left;
}
.orders-table tbody tr:hover {
  background: #fafafa;
}
.orders-table__cell--id {
  width: 80px;
}
.orders-table__cell--date {
  width: 140px;
}
.orders-table__cell--qty {
  width: 70px;
  text-align: center;
}
.orders-table__cell--sum {
  width: 100px;
  text-align: right;
  font-weight: 600;
}
.orders-table__cell--status {
  width: 160px;
}
.orders-table__preview {
  width: 40px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 8px;
}
.orders-table__select {
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid;
  min-width: 110px;
}
.orders-table__select--Оплачено {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #2ecc71;
}
.orders-table__select--Ожидает {
  background: #fff3e0;
  color: #e65100;
  border-color: #f39c12;
}
.orders-table__select--Закрыт {
  background: #f5f5f5;
  color: #616161;
  border-color: #95a5a6;
}

.orders-empty {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #666;
}

.orders-section__intro {
  color: #666;
  margin-bottom: 20px;
}

.moderation-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.moderation-table thead {
  background: #f8f9fa;
}
.moderation-table th,
.moderation-table td {
  padding: 15px;
  border: 1px solid #ddd;
}
.moderation-table tbody tr {
  border-bottom: 1px solid #eee;
}
.moderation-table__preview {
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}
.moderation-table__desc {
  font-size: 12px;
  color: #666;
}
.moderation-table__btn {
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  width: 100px;
  font-size: 14px;
}
.moderation-table__btn--approve {
  background: #2ecc71;
  color: #fff;
  display: inline-block;
  margin-bottom: 5px;
  text-decoration: none;
  text-align: center;
}
.moderation-table__btn--reject {
  background: #e74c3c;
  color: #fff;
}
.moderation-table__form {
  display: inline-block;
  margin-bottom: 5px;
}
.moderation-table__form:last-of-type {
  margin-bottom: 0;
}

.moderation-empty {
  background: #e8f5e9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.moderation-section__title {
  margin-bottom: 10px;
}

.moderation-section__intro {
  color: #666;
  margin-bottom: 20px;
}

.payout-requests-empty {
  background: #e3f2fd;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.admin-section__divider {
  margin: 40px 0 30px;
  border: none;
  border-top: 2px solid #eee;
}

.admin-section__meta {
  color: #666;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
  ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
  ========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
  margin: 0;
}

/**
* Render the `main` element consistently in IE.
*/
main {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
  margin: 0.67em 0;
  font-size: 2em;
}

/* Grouping content
  ========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
  font-size: 1em; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/* Text-level semantics
  ========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
  background-color: transparent;
}

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
  border-bottom: none; /* 1 */
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
  font-size: 1em; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/**
* Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
  ========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
  border-style: none;
}

/* Forms
  ========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  margin: 0; /* 2 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  font-family: inherit; /* 1 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
  /* 1 */
  text-transform: none;
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/
legend {
  display: table; /* 1 */
  box-sizing: border-box; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  color: inherit; /* 2 */
  white-space: normal; /* 1 */
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
  vertical-align: baseline;
}

/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type=search] {
  outline-offset: -2px; /* 2 */
  -webkit-appearance: textfield; /* 1 */
}

/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  font: inherit; /* 2 */
  -webkit-appearance: button; /* 1 */
}

/* Interactive
  ========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
  display: block;
}

/*
* Add the correct display in all browsers.
*/
summary {
  display: list-item;
}

/* Misc
  ========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
  display: none;
}

/**
* Add the correct display in IE 10.
*/
[hidden] {
  display: none;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Noto Sans", "Arial", sans-serif;
  font-weight: 400;
  line-height: 24px;
  color: #1E222E;
  background-color: #ffffff;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 100%;
}

a {
  text-decoration: none;
}

textarea {
  resize: none;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-regular.woff2") format("woff2"), url("../fonts/noto-sans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-medium.woff2") format("woff2"), url("../fonts/noto-sans-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-semibold.woff2") format("woff2"), url("../fonts/noto-sans-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-bold.woff2") format("woff2"), url("../fonts/noto-sans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.container {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}
@media (min-width: 1304px) {
  .container {
    padding: 0 156px;
  }
}/*# sourceMappingURL=style.css.map */