@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap);
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --color-base-white: #fff;
  --color-base-black: #1c1c1c;
  --color-primary-900: #143666;
  --color-primary-800: #1c4b8c;
  --color-primary-700: #b4780a;
  --color-primary-600: #e8a951;
  --color-primary-500: #b4780a;
  --color-primary-400: #FFA000;
  --color-primary-300: #99c4ff;
  --color-primary-200: #bfdaff;
  --color-primary-100: #d9e9ff;
  --color-primary-75: #ebf3ff;
  --color-primary-50: #fbfdff;
  --color-error-900: #661414;
  --color-error-800: #8c1c1c;
  --color-error-700: #b22424;
  --color-error-600: #cc2929;
  --color-error-500: #f33;
  --color-error-400: #ff7373;
  --color-error-300: #f99;
  --color-error-200: #ffbfbf;
  --color-error-100: #ffd9d9;
  --color-error-75: #ffebeb;
  --color-error-50: #fffbfb;
  --color-success-900: #14662c;
  --color-success-800: #1c8c3c;
  --color-success-700: #24b24c;
  --color-success-600: #29cc57;
  --color-success-500: #33ff6c;
  --color-success-400: #73ff9a;
  --color-success-300: #99ffb6;
  --color-success-200: #bfffd1;
  --color-success-100: #d9ffe4;
  --color-success-75: #ebfff0;
  --color-success-50: #fbfffc;
  --color-warning-900: #665414;
  --color-warning-800: #8c741c;
  --color-warning-700: #b29424;
  --color-warning-600: #cca929;
  --color-warning-500: #ffd333;
  --color-warning-400: #ffe073;
  --color-warning-300: #ffe999;
  --color-warning-200: #fff1bf;
  --color-warning-100: #fff7d9;
  --color-warning-75: #fffbeb;
  --color-warning-50: #fffefb;
  --color-grey-900: #1f2f4d;
  --color-grey-800: #2b394d;
  --color-grey-700: #455266;
  --color-grey-600: #616d80;
  --color-grey-500: #808899;
  --color-grey-400: #b4bcc9;
  --color-grey-300: #eaeef5;
  --color-grey-200: #eaecf0;
  --color-grey-100: #f3f4f6;
  --color-grey-50: #f9fafb;
  --ff-primary: Montserrat, sans-serif;
}

html,
body {
  font-family: Montserrat, sans-serif;
  background: var(--color-primary-50);
  color: var(--color-base-black);
  font-size: 16px;
}

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

ol[class],
ul[class] {
  padding: 0;
}

blockquote,
body,
dd,
dl,
figcaption,
figure,
h1,
h2,
h3,
h4,
li,
ol[class],
p,
ul[class] {
  margin: 0;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ol[class],
ul[class] {
  list-style: none;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  display: block;
}

article > * + * {
  margin-top: 1em;
}

button,
input,
select,
textarea {
  font: inherit;
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

body {
  font-display: swap;
  font-size: 16px;
  line-height: 150%;
  color: #232323;
  background-color: #fff;
}
body div#app {
  min-height: 100vh;
}

select, input {
  font-size: 16px;
}

.table .table__head-tr {
  background: #fcfcfd !important;
}

html.dark, body.dark {
  background: var(--color-base-black) !important;
  color: var(--color-base-white) !important;
}

.aside {
  background: var(--color-primary-900);
}

html.dark .aside {
  background: var(--color-base-black) !important;
}

html.dark .aside__logo-text,
html.dark .aside__nav-text, html.dark .table .table__body-td, html.dark .popup .popup__header-title {
  color: var(--color-base-white) !important;
}

html.dark .aside__theme-button {
  background-color: var(--color-grey-900) !important;
}

html.dark .aside__theme-icon {
  filter: none !important;
  stroke: var(--color-base-white) !important;
}

html.dark .aside__accessibility-button {
  background-color: var(--color-grey-900) !important;
}

html.dark .header,
html.dark .main,
html.dark .footer {
  background: var(--color-base-black) !important;
  color: var(--color-base-white) !important;
}

html.dark input,
html.dark textarea {
  background: var(--color-grey-900) !important;
  color: var(--color-base-white) !important;
  border-color: var(--color-grey-700) !important;
}

html.dark .popup {
  background: var(--color-grey-900) !important;
  color: var(--color-base-white) !important;
}

html.dark a {
  color: var(--color-base-white) !important;
}

html.dark .btn-outline-green {
  color: #ffffff !important;
}

html.dark .popup,
html.dark .modal,
html.dark .feedback,
html.dark .aside,
html.dark .header,
html.dark .main,
html.dark .footer,
html.dark .layout {
  background: var(--color-base-black) !important;
  color: var(--color-base-white) !important;
}

html.dark .popup__title,
html.dark .modal__title,
html.dark .feedback__title {
  color: var(--color-base-white) !important;
}

html.dark .popup__close,
html.dark .modal__close, html.dark .table__head-tr label {
  color: var(--color-base-white) !important;
}

html.dark .popup__error,
html.dark .modal__error,
html.dark .feedback__error {
  color: var(--color-error-500) !important;
}

html.dark .popup__success,
html.dark .modal__success,
html.dark .feedback__success {
  color: var(--color-success-500) !important;
}

html.dark .popup__input,
html.dark .modal__input,
html.dark .feedback__input,
html.dark input,
html.dark textarea, html.dark select, html.dark .table .table__head-tr {
  background: var(--color-grey-900) !important;
  color: var(--color-base-white) !important;
  border-color: var(--color-grey-700) !important;
}

html.dark .table {
  border-collapse: separate !important;
  border-spacing: 0 1px !important;
  background: var(--color-grey-700) !important;
}

html.dark .table .table__body-tr {
  background: var(--color-grey-900);
  border: none !important;
}
html.dark .table .table__body-tr:hover {
  background: var(--color-grey-800) !important;
}

html.dark .table .table__body-th {
  border: none !important;
  background: inherit;
}

html.dark .table .table__body-tr .devices-actions-cell,
html.dark .table .table__body-tr .devices-actions,
html.dark .table .table__body-tr .devices-actions button.btn-outline-green {
  background: var(--color-grey-900) !important;
}

html.dark .table .devices-actions button.btn-outline-green:hover {
  background: #FFA000 !important;
  color: white !important;
  border-color: #FFA000 !important;
}

html.dark .popup__button,
html.dark .modal__button,
html.dark .feedback__button {
  background: var(--color-primary-900) !important;
  color: var(--color-base-white) !important;
  border-color: var(--color-primary-700) !important;
}

html.dark .popup__button--secondary,
html.dark .modal__button--secondary {
  background: var(--color-grey-900) !important;
  color: var(--color-base-white) !important;
}

html.dark .popup__border,
html.dark .modal__border {
  border-color: var(--color-grey-700) !important;
}

html.dark .popup__text,
html.dark .modal__text,
html.dark .feedback__text {
  color: var(--color-base-white) !important;
}

html.dark .popup__link,
html.dark .modal__link,
html.dark .feedback__link {
  color: var(--color-primary-300) !important;
}

html.dark svg:not(.custom-select__arrow),
html.dark .icon,
html.dark .aside__icon {
  filter: brightness(0.8) invert(1) !important;
}

html.dark .p-accordion .p-accordion-tab {
  background: var(--color-base-black) !important;
}

html.dark .p-accordion .p-accordion-header .p-accordion-header-link {
  background: var(--color-grey-900) !important;
  color: var(--color-base-white) !important;
  border-color: var(--color-grey-800) !important;
}

html.dark .p-accordion .p-accordion-header:not(.p-disabled).p-highlight .p-accordion-header-link {
  background: var(--color-grey-900) !important;
  color: var(--color-base-white) !important;
  border-color: var(--color-grey-800) !important;
}

html.dark .p-accordion .p-accordion-header:not(.p-disabled).p-highlight:hover .p-accordion-header-link {
  background: var(--color-grey-800) !important;
  color: var(--color-base-white) !important;
  border-color: var(--color-grey-700) !important;
}

html.dark .p-accordion .p-accordion-content {
  background: var(--color-base-black) !important;
  border-color: var(--color-grey-800) !important;
}

html.dark .p-accordion-tab-active {
  background: var(--color-base-black) !important;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.table .table__head {
  background: #fcfcfd;
}
.table .table__head .table__head-tr .table__td {
  padding: 12px 15px;
  font-weight: 600;
  font-size: 14px;
  color: #343a40;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
}
.table .table__body .table__body-tr {
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.table .table__body .table__body-tr:hover {
  background-color: #f8f9fa;
}
.table .table__body .table__body-tr .table__body-th {
  padding: 12px 15px;
  font-weight: 400;
  font-size: 14px;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}
.table .table__body .table__body-tr .table__body-th:nth-child(3) {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table .table__body .table__body-tr:last-child .table__body-th {
  border-bottom: none;
}

@media (max-width: 768px) {
  .page__table-wrapper {
    margin-top: 20px;
  }
  .page__table-wrapper > div {
    height: auto !important;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table thead,
.table tbody {
    display: none;
  }

  .table {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .table tr {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
  }
  .table tr:last-child {
    border-bottom: none;
  }
  .table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .table td span:first-child {
    font-weight: 500;
    color: #455266;
    white-space: nowrap;
    min-width: 110px;
  }
  .table td span.table__td-highlight {
    color: #FFA000;
    font-weight: 400;
    text-align: right;
    word-break: break-word;
    flex: 1;
  }
  .table td.table__td-download {
    justify-content: center !important;
  }
  .table .table__td-bold {
    font-weight: 600 !important;
  }

  .appeal_block {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .appeal-controls {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .appeal-controls .appeal-select,
.appeal-controls .page__button-send {
    width: 100% !important;
  }
}
@media (max-width: 426px) {
  .page__table-wrapper > div {
    max-height: 60vh;
  }

  .table {
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .table tr {
    padding: 10px 12px;
  }
  .table td {
    padding: 6px 0;
    font-size: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .table td span:first-child {
    min-width: auto;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: #6c757d;
  }
  .table td span.table__td-highlight {
    text-align: left;
    font-size: 15px;
    color: #1c1c1c;
  }
  .table td span.table__td-highlight:not(:empty)::before {
    content: "";
    display: block;
    margin-bottom: 2px;
  }
}
.captcha-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}
html.dark .captcha-container {
  background-color: rgba(17, 17, 17, 0.85);
  border-color: var(--color-grey-700);
}
.captcha-container__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.captcha-container__label {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}
html.dark .captcha-container__label {
  color: var(--color-base-white);
}
.captcha-container__refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
}
html.dark .captcha-container__refresh {
  background: var(--color-grey-900);
  border-color: var(--color-grey-700);
}
.captcha-container__refresh:hover:not(:disabled) {
  background: #e5e7eb;
  transform: rotate(90deg);
}
html.dark .captcha-container__refresh:hover:not(:disabled) {
  background: var(--color-grey-800, #374151);
}
.captcha-container__refresh:active:not(:disabled) {
  transform: rotate(180deg);
}
.captcha-container__refresh:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.captcha-container__refresh span {
  display: block;
}
.captcha-container__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.captcha-container__image-container {
  position: relative;
  width: 180px;
  height: 40px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
html.dark .captcha-container__image-container {
  border-color: var(--color-grey-700);
  background: transparent;
}
.captcha-container__image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.captcha-container__image.loading {
  opacity: 0.3;
}
.captcha-container__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #6b7280;
}
html.dark .captcha-container__loader {
  color: var(--color-base-white);
}
.captcha-container__input {
  width: 100%;
  max-width: 300px;
  padding: 10px 14px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  transition: all 0.2s ease;
}
html.dark .captcha-container__input {
  background: var(--color-grey-900);
  border-color: var(--color-grey-700);
  color: var(--color-base-white);
}
.captcha-container__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
html.dark .captcha-container__input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}
.captcha-container__input::-moz-placeholder {
  color: #9ca3af;
}
.captcha-container__input::placeholder {
  color: #9ca3af;
}
html.dark .captcha-container__input::-moz-placeholder {
  color: #6b7280;
}
html.dark .captcha-container__input::placeholder {
  color: #6b7280;
}
.captcha-container__input.error {
  border-color: #ef4444;
}
html.dark .captcha-container__input.error {
  border-color: #f87171;
}
.captcha-container__error {
  font-size: 13px;
  color: #ef4444;
  margin-top: 4px;
}
html.dark .captcha-container__error {
  color: #f87171;
}

.account-captcha {
  margin: 20px 0;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}
html.dark .account-captcha {
  background: rgba(31, 41, 55, 0.3);
  border-color: var(--color-grey-700);
}

@media (max-width: 640px) {
  .captcha-container__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .captcha-container__image-container {
    width: 100%;
    max-width: 100%;
  }
  .captcha-container__input {
    max-width: 100%;
  }
}
:root {
  --app-font-scale: 1;
}

html[data-font-scale=large] {
  --app-font-scale: 1.2;
}

html {
  font-size: clamp(14px, 16px * var(--app-font-scale), 24px);
}

.p-toast .p-toast-message .p-toast-message-content .p-toast-summary {
  font-size: 20px !important;
}

.p-toast .p-toast-message .p-toast-message-content .p-toast-detail {
  font-size: 16px !important;
}
