/* PublicProc design: base.
   Шар перемальовування застосунку під верстку, для всіх сторінок незалежно від лейаута.
   whiteTheme.css більше не вантажиться, тому основа темна (main.css): усе потрібне з нього перенесено сюди на нові значення.
   Значення токенів дослівно зі styles.css верстки. Номери рядків у коментарях: styles.css верстки. */

/* ==========================================================================
   1. Документ
   ========================================================================== */
html {
  color: var(--pp-text);
  font-family: var(--pp-font);
}

body {
  min-width: 320px;
  font-family: var(--pp-font);
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
  text-rendering: optimizeSpeed;
  color: var(--pp-text);
  background-color: var(--pp-page-bg-color);
  background-image: var(--pp-page-bg);
  background-repeat: no-repeat;
  background-size: cover;
}

input,
button,
textarea,
select,
.tooltip,
.popover {
  font-family: inherit;
}

/* main.css: темна основа таблиць і значків (whiteTheme.css мав те саме) */
table {
  color: var(--pp-text) !important;
}

.fa {
  color: inherit;
}

a[disabled="disabled"] {
  color: var(--pp-gray-800) !important;
}

hr {
  border-top-color: var(--pp-gray-600);
}

code {
  color: var(--pp-pink);
}

.tt-menu {
  background-color: var(--pp-white) !important;
}

.autosuggest-hint {
  color: var(--pp-blue-table);
}

.navbar-toggler-icon .line,
.navbar-toggler-icon .line:hover {
  background-color: var(--pp-text);
  background: var(--pp-text) !important;
}

/* Дерева меню (whiteTheme.css:130-150) */
ul,
#sTree2,
#sTreePlus {
  padding: 0;
  background-color: transparent;
}

#sTree2,
#sTreePlus {
  background-color: var(--pp-gray-200);
}

#sTree2 li,
#sTreePlus li,
ul#s-l-base li {
  border: 1px solid var(--pp-gray-200);
  background-color: var(--pp-white);
}

#sTree2 li div {
  padding: 7px;
  background-color: var(--pp-gray-200);
}

#sTree2 li,
#sTreePlus li {
  color: var(--pp-text) !important;
}

/* ==========================================================================
   2. Старі семантичні класи main.css/whiteTheme.css
   ========================================================================== */
/* .text-white у в'юхах = основний текст: 1211 вжитків, на темних блоках білий повертається нижче */
.text-white {
  color: var(--pp-text) !important;
}

.secondary-bg {
  background-color: var(--pp-white) !important;
}

main.secondary-bg,
div.secondary-bg,
a.secondary-bg,
section.secondary-bg {
  border-radius: var(--pp-r-block);
  box-shadow: var(--pp-sh-card);
}

.gray-bg,
.lightgray-bg {
  background-color: var(--pp-gray-400) !important;
}

.darken-bg,
.black-bg,
.bg-dark {
  background-color: var(--pp-gray-200) !important;
}

.transparent-bg {
  background-color: transparent;
}

.bg-secondary:not(hr) {
  background-color: var(--pp-gray-800) !important;
}

.bg-danger {
  background-color: var(--pp-danger) !important;
}

.border-gray {
  border-color: var(--pp-gray-400) !important;
}

.border-4a {
  border-color: var(--pp-gray-800) !important;
}

hr.bg-secondary {
  height: 1px;
  border: 0;
  background-color: var(--pp-gray-600) !important;
}

.font-grotesque {
  font-family: var(--pp-font);
  font-weight: 500;
}

/* Без `.opacity-7` на підписах полів: у верстці мітка повноколірна (2014) */
label.opacity-7 {
  opacity: 1;
}

/* main-bg: у верстці рожевий градієнт (btn-secondary, 299-323) */
.main-bg {
  background: var(--pp-g-pink);
  border-color: var(--pp-white);
  color: var(--pp-white);
}

.main-bg:hover {
  background: var(--pp-g-pink) !important;
  color: var(--pp-white);
}

.main-bg-dark,
.main-bg-dark--onhover:hover {
  background: var(--pp-g-purple) !important;
  color: var(--pp-white);
}

.main-layer:hover {
  background-image: var(--pp-g-purple);
  opacity: 0.8;
}

.main-bg--onhover:hover {
  background: var(--pp-g-purple);
  color: var(--pp-white);
}

.social-link:hover {
  background: var(--pp-g-purple) !important;
}

.irs-bar {
  background-image: var(--pp-g-purple);
}

/* Білий текст на темних блоках */
.main-bg.text-white,
.main-bg .text-white,
.main-bg-dark.text-white,
.main-bg-dark .text-white,
.main-bg--onhover:hover.text-white,
.main-bg-dark--onhover:hover.text-white,
.bg-purple.text-white,
.bg-purple .text-white,
.bg-primary.text-white,
.bg-primary .text-white,
.bg-success.text-white,
.bg-success .text-white,
.bg-info.text-white,
.bg-info .text-white,
.bg-danger.text-white,
.bg-danger .text-white,
.bg-secondary:not(hr).text-white,
.bg-secondary:not(hr) .text-white,
.btn-primary.text-white,
.btn-primary .text-white,
.btn-secondary:hover.text-white,
.btn-success.text-white,
.btn-success .text-white,
.btn-green.text-white,
.btn-green .text-white,
.btn-danger.text-white,
.btn-danger .text-white,
.btn-info.text-white,
.btn-info .text-white,
.btn-purple.text-white,
.btn-purple .text-white,
.btn-grey.text-white,
.btn-grey .text-white,
.btn-default:hover.text-white,
.btn-default:hover .text-white,
.btn-transparent:hover.text-white,
.btn-transparent:hover .text-white,
.badge-primary.text-white,
.badge-success.text-white,
.badge-danger.text-white,
.badge-info.text-white,
.badge-secondary.text-white,
.dropdown-item:hover.text-white,
.dropdown-item:focus.text-white,
.dropdown-item.active.text-white,
.page-item.active .text-white,
.page-item.active.text-white,
.nav-tabs .nav-link.active.text-white,
.nav-pills .nav-link.active.text-white,
.title-primary .text-white,
.header__wrapper .text-white,
.footer__wrapper .text-white,
.info__wrapper .text-white,
.lot-sidebar .text-white,
.lot-mini-card .text-white,
.your-administrator .text-white,
.tooltip .text-white {
  color: var(--pp-white) !important;
}

/* ==========================================================================
   3. Заголовки секцій (83-155)
   ========================================================================== */
/* Звичайні заголовки в'юх: шкала верстки (26 title-create-procedure, 24 cabinet-create-procedure-title, 21 cabinet-simple-title) */
h1 {
  font-size: 26px;
  line-height: 1.2;
  color: var(--pp-purple);
}

h2 {
  font-size: 24px;
  line-height: 1.2;
  color: var(--pp-purple);
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  color: var(--pp-purple);
}

h4 {
  font-size: 18px;
  line-height: 1.2;
}

h5 {
  font-size: 16px;
  line-height: 1.2;
}

.fs-40 {
  font-size: 26px;
}

/* Заголовок сторінки: <h1 class="font-grotesque fs-40 my-4"> у 864 в'юхах.
   Вигляд кабінетного заголовка верстки (.title-secondary.title-show-procedure + .title-create-procedure) */
h1.font-grotesque,
h2.font-grotesque {
  display: block;
  width: 100%;
  padding-bottom: 5px;
  border-bottom: 5px solid var(--pp-purple);
  font-family: var(--pp-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--pp-purple) !important;
}

h2.font-grotesque {
  font-size: 21px;
  border-bottom-width: 3px;
}

h3.font-grotesque {
  font-size: 21px;
  line-height: 1.2;
  color: var(--pp-purple);
}

h1.font-grotesque .btn,
h2.font-grotesque .btn {
  vertical-align: middle;
}

h1.font-grotesque > a:not(.btn) .fa,
h1.font-grotesque > a.btn:not([class*="btn-"]) .fa,
h1.font-grotesque > a.btn.btn-lg .fa {
  color: var(--pp-purple-th);
  font-size: 20px;
}

h1.font-grotesque > a.btn.btn-lg {
  min-height: 0;
  padding: 0 8px;
}

/* Заголовок у сітці поруч із кнопками: лінія на весь рядок, як .title-secondary + .title-with-buttons */
.row:has(> [class*="col"] > h1.font-grotesque) {
  align-items: flex-end;
  margin: 1.5rem 0;
  border-bottom: 5px solid var(--pp-purple);
}

.row:has(> [class*="col"] > h1.font-grotesque) > [class*="col"] {
  padding-left: 0;
}

.row:has(> [class*="col"] > h1.font-grotesque) > [class*="col"]:last-child {
  padding-right: 0;
}

.row:has(> [class*="col"] > h1.font-grotesque) h1.font-grotesque {
  margin: 0 !important;
  border-bottom: 0;
}

.row:has(> [class*="col"] > h1.font-grotesque) .btn {
  margin-bottom: 5px;
}

.title-primary,
.title-secondary {
  font-size: 66px;
  line-height: 1.2;
  padding-bottom: 40px;
  letter-spacing: 5px;
}

.title-primary {
  color: #ffffff;
  border-bottom: 5px solid #fff;
  text-transform: uppercase;
}

.title-secondary {
  text-transform: uppercase;
  color: #82368c;
  border-bottom: 5px solid #82368c;
}

.title-secondary.title-show-procedure {
  padding-bottom: 5px;
}

.title-secondary .title-create-procedure {
  letter-spacing: 0;
  font-size: 26px;
  text-transform: lowercase;
}

.title-secondary .title-create-procedure:first-letter {
  text-transform: uppercase;
}

.lot-title {
  font-size: 25px;
  color: #82368c;
}

.warning-message {
  font-size: 12px;
  color: red;
}

.red-star {
  color: red;
}

@media (max-width: 1200px) {
  .title-primary,
  .title-secondary {
    font-size: 50px;
  }
}

@media (max-width: 992px) {
  .title-primary,
  .title-secondary {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .lot-title {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .title-primary,
  .title-secondary {
    font-size: 32px;
  }
}

@media (max-width: 370px) {
  .title-primary,
  .title-secondary {
    font-size: 30px;
  }
}

/* ==========================================================================
   4. Кнопки (164-400). Семантика рішення архітектора:
      .btn-primary/.main-bg — рожева пігулка, .btn-success — зелена,
      .btn-default/.btn-outline-X/.btn-secondary — прозора з рамкою
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  min-height: 45px;
  padding: 12.5px 20px;
  border: 1px solid transparent;
  border-radius: var(--pp-r-btn);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: break-word;
}

/* Відблиск при ховері (171-263) */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.5em;
  height: 100%;
  background-color: #fff;
  /* У верстці 0.6 постійно: на багаторядковій кнопці скіс заходить у кут білим трикутником, тому видимий лише під час руху */
  opacity: 0;
  transform: translateX(-4em) skewX(-45deg);
  pointer-events: none;
}

.btn:hover::before {
  animation: move-light-mid 0.5s;
}

.btn.no-animation::before {
  animation: none;
}

.btn.animation-small:hover::before {
  animation: move-light-small 0.5s;
}

.btn.animation-semibig:hover::before {
  animation: move-light-semibig 0.5s;
}

.btn.animation-big:hover::before {
  animation: move-light-big 0.5s;
}

.btn.animation-biger:hover::before,
.btn.btn-block:hover::before,
.btn.w-100:hover::before {
  animation: move-light-biger 0.5s;
}

.btn.animation-superbig:hover::before {
  animation: move-light-superbig 0.5s;
}

.btn:disabled::before,
.btn.disabled::before,
.btn[disabled]::before {
  display: none;
}

@keyframes move-light-small {
  from { opacity: 0.6; transform: translateX(-4em) skewX(-45deg); }
  to { opacity: 0.6; transform: translateX(8em) skewX(-45deg); }
}

@keyframes move-light-mid {
  from { opacity: 0.6; transform: translateX(-4em) skewX(-45deg); }
  to { opacity: 0.6; transform: translateX(15em) skewX(-45deg); }
}

@keyframes move-light-semibig {
  from { opacity: 0.6; transform: translateX(-4em) skewX(-45deg); }
  to { opacity: 0.6; transform: translateX(18em) skewX(-45deg); }
}

@keyframes move-light-big {
  from { opacity: 0.6; transform: translateX(-4em) skewX(-45deg); }
  to { opacity: 0.6; transform: translateX(25em) skewX(-45deg); }
}

@keyframes move-light-biger {
  from { opacity: 0.6; transform: translateX(-4em) skewX(-45deg); }
  to { opacity: 0.6; transform: translateX(35em) skewX(-45deg); }
}

@keyframes move-light-superbig {
  from { opacity: 0.6; transform: translateX(-4em) skewX(-45deg); }
  to { opacity: 0.6; transform: translateX(55em) skewX(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn::before {
    display: none;
  }
}

/* На вузькому екрані .text-nowrap обрізав би текст кнопки */
@media (max-width: 576px) {
  .btn.text-nowrap {
    white-space: normal !important;
  }

  /* 16.11: «непропорційно великий шрифт» — заголовок сторінки 26 px на телефоні займав 2–3 рядки */
  h1.font-grotesque {
    font-size: 20px;
  }

  h2.font-grotesque {
    font-size: 18px;
  }
}

.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active:focus {
  box-shadow: none;
}

.btn:focus-visible,
.page-link:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
a.btn-collapse:focus-visible {
  outline: 2px solid var(--pp-purple-border);
  outline-offset: 2px;
}

.btn:disabled,
.btn.disabled,
.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-w {
  width: 100%;
}

.btn > a,
.btn > a:hover {
  color: inherit;
}

/* Розміри. У таблицях main.css ставить min-width:120, він заважає у вузьких колонках */
.btn.btn-sm,
.btn.btn-xs,
.btn-group-sm > .btn {
  min-width: 0;
  min-height: 32px;
  margin-bottom: 3px;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.2;
}

.btn.btn-lg,
.btn-group-lg > .btn {
  min-height: 47px;
  padding: 13px 24px;
  font-size: 16px;
}

/* btn-primary, main-bg = верстка .btn-secondary */
.btn.btn-primary,
.btn.main-bg,
.btn.btn-pink {
  border: 1px solid var(--pp-white);
  background: var(--pp-g-pink);
  color: var(--pp-white);
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn.btn-primary:focus,
.btn.btn-pink:hover,
.btn.btn-pink:focus,
.btn.main-bg:hover,
.btn.main-bg:focus,
.btn.main-bg:not(:disabled):not(.disabled):active {
  border-color: var(--pp-white);
  background: var(--pp-g-pink) !important;
  color: var(--pp-white);
}

/* btn-success = верстка .btn-green (353) */
.btn.btn-success,
.btn.btn-green {
  border: 1px solid var(--pp-white);
  background: var(--pp-green);
  color: var(--pp-white);
  box-shadow: var(--pp-sh-btn);
}

.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success:not(:disabled):not(.disabled):active,
.btn.btn-success:not(:disabled):not(.disabled).active,
.btn.btn-green:hover,
.btn.btn-green:focus,
.btn.btn-green:not(:disabled):not(.disabled):active {
  border-color: var(--pp-white);
  background: var(--pp-green);
  color: var(--pp-white);
}

.btn.btn-green span {
  color: #ffffff;
}

/* btn-default, btn-outline-X, btn-secondary = верстка .btn-transparent (368) */
.btn.btn-default,
.btn.btn-secondary,
.btn.btn-transparent,
.btn[class*="btn-outline-"] {
  border: 1px solid var(--pp-gray-800);
  background: transparent;
  color: var(--pp-text);
  box-shadow: var(--pp-sh-btn);
}

.btn.btn-default:hover,
.btn.btn-default:focus:hover,
.btn.btn-secondary:hover,
.btn.btn-transparent:hover,
.btn[class*="btn-outline-"]:hover,
.btn.btn-default:not(:disabled):not(.disabled):active,
.btn.btn-secondary:not(:disabled):not(.disabled):active,
.btn.btn-transparent:not(:disabled):not(.disabled):active,
.btn[class*="btn-outline-"]:not(:disabled):not(.disabled):active {
  border: 1px solid var(--pp-gray-300);
  background: var(--pp-g-purple) !important;
  color: var(--pp-white) !important;
}

.btn.btn-default:focus,
.btn.btn-secondary:focus,
.btn.btn-transparent:focus,
.btn[class*="btn-outline-"]:focus {
  background: transparent;
  color: var(--pp-text);
  box-shadow: var(--pp-sh-btn);
}

.btn.btn-outline-danger {
  border-color: var(--pp-danger);
  color: var(--pp-danger);
}

/* Головна кнопка лишається рожевою і поверх btn-default */
.btn.btn-default.main-bg,
.btn.btn-default.main-bg:hover,
.btn.btn-default.main-bg:focus,
.btn.btn-default.main-bg:not(:disabled):not(.disabled):active {
  border: 1px solid var(--pp-white);
  background: var(--pp-g-pink) !important;
  color: var(--pp-white) !important;
}

.btn.btn-danger {
  border: 1px solid var(--pp-white);
  background: var(--pp-danger);
  color: var(--pp-white);
  box-shadow: var(--pp-sh-btn);
}

.btn.btn-danger:hover,
.btn.btn-danger:focus,
.btn.btn-danger:not(:disabled):not(.disabled):active {
  border-color: var(--pp-white);
  background: var(--pp-danger);
  color: var(--pp-white);
}

/* main.css робить текст .btn-warning синім */
.btn.btn-warning {
  border: 1px solid var(--pp-white);
  background: var(--pp-warning);
  color: var(--pp-text);
  box-shadow: var(--pp-sh-btn);
}

.btn.btn-warning:hover,
.btn.btn-warning:focus,
.btn.btn-warning:not(:disabled):not(.disabled):active {
  border-color: var(--pp-white);
  background: var(--pp-warning);
  color: var(--pp-text);
}

.btn.btn-info {
  border: 1px solid var(--pp-white);
  background: var(--pp-blue);
  color: var(--pp-white);
  box-shadow: var(--pp-sh-btn);
}

.btn.btn-info:hover,
.btn.btn-info:focus,
.btn.btn-info:not(:disabled):not(.disabled):active {
  border-color: var(--pp-white);
  background: var(--pp-blue);
  color: var(--pp-white);
}

.btn.btn-light {
  border: 1px solid var(--pp-gray-800);
  background: var(--pp-white);
  color: var(--pp-text);
}

.btn.btn-dark {
  border: 1px solid var(--pp-white);
  background: var(--pp-text);
  color: var(--pp-white);
}

.btn.btn-link {
  min-height: 0;
  color: var(--pp-blue-link);
}

/* Кнопки верстки без відповідника в застосунку (326, 342, 379) */
.btn.btn-purple {
  border: 1px solid #ffffff;
  background: var(--pp-g-purple);
  color: #fff;
}

.btn.btn-purple:hover,
.btn.btn-purple:focus {
  color: #fff;
}

.btn.btn-grey {
  border: 1px solid #ffffff;
  background-color: #b2b2b2;
  box-shadow: var(--pp-sh-btn);
  color: #fff;
}

.clean-fields-btn {
  box-shadow: var(--pp-sh-btn);
  min-width: 48px;
}

/* Посилання-кнопки з disabled: сірий текст із main.css нечитабельний на кольоровій пігулці */
a.btn-primary[disabled="disabled"],
a.btn-success[disabled="disabled"],
a.btn-danger[disabled="disabled"],
a.btn-info[disabled="disabled"],
a.btn.main-bg[disabled="disabled"] {
  color: var(--pp-white) !important;
}

.btn-group > .btn {
  flex: 0 1 auto;
}

/* Перемикачі: label.btn у btn-group = типи особи верстки (.organization-data__btn, 2862-2928) */
label.btn {
  color: var(--pp-text);
}

.btn-group-toggle {
  display: flex;
  flex-wrap: nowrap;
  border-radius: var(--pp-r-field);
}

.btn-group > label.btn,
.btn-group > label.btn:not(:first-child),
.btn-group > label.btn:not(:last-child):not(.dropdown-toggle) {
  z-index: 1;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 45px;
  margin: 0;
  padding: 5px 24px;
  border: 1px solid var(--pp-text);
  border-radius: var(--pp-r-field);
  background: var(--pp-white);
  color: var(--pp-text);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--pp-sh-input);
  cursor: pointer;
  overflow: hidden;
}

.btn-group > label.btn + label.btn,
.btn-group > label.btn + label.btn:not(:last-child):not(.dropdown-toggle) {
  margin-left: -18px;
}

.btn-group > label.btn:hover,
.btn-group > label.btn:not(:first-child):hover,
.btn-group > label.btn:not(:last-child):not(.dropdown-toggle):hover,
.btn-group > label.btn:focus-within {
  background: var(--pp-gray-200) !important;
  border-color: var(--pp-text);
  color: var(--pp-text) !important;
}

.btn-group > label.btn.active,
.btn-group > label.btn.active:not(:first-child),
.btn-group > label.btn.active:not(:last-child):not(.dropdown-toggle),
.btn-group > label.btn.active:hover,
.btn-group > label.btn:not(:disabled):not(.disabled).active,
.btn-group > label.btn:has(input:checked),
.btn-group > label.btn:has(input:checked):not(:first-child),
.btn-group > label.btn:has(input:checked):not(:last-child):not(.dropdown-toggle),
.btn-group > label.btn:has(input:checked):hover {
  z-index: 5;
  border: 1px solid var(--pp-white);
  background: var(--pp-g-pink) !important;
  color: var(--pp-white) !important;
}

@media (max-width: 576px) {
  .btn-group-toggle {
    flex-wrap: wrap;
  }

  .btn-group-toggle > label.btn,
  .btn-group-toggle > label.btn:not(:first-child),
  .btn-group-toggle > label.btn:not(:last-child):not(.dropdown-toggle),
  .btn-group-toggle > label.btn + label.btn,
  .btn-group-toggle > label.btn + label.btn:not(:last-child):not(.dropdown-toggle) {
    flex: 0 0 100%;
    margin: 0 0 8px;
  }
}

/* ==========================================================================
   5. Поля (404-472). На сторінці вигляд фільтра .lot-filter input (2021): білий, 45 px, 15 px, більша тінь;
      на білій картці вигляд INPUT PRIMARY .input-primary (404): #e9e9e9, 47 px, 16 px, менша тінь
   ========================================================================== */
.panel,
.modal-content,
.card,
.tab-content,
.content-wrapper,
.registration__form-block,
main.secondary-bg,
div.secondary-bg,
section.secondary-bg,
a.btn-collapse + .collapse,
a.btn-collapse + .collapsing {
  --pp-field-bg: var(--pp-gray-200);
  --pp-field-h: 47px;
  --pp-field-fs: 16px;
  --pp-field-sh: var(--pp-sh-input);
}

label {
  font-size: 14px;
  font-weight: 500;
  color: var(--pp-text);
}

label.fs-13 {
  font-size: 14px;
}

/* Мітки у формах-картках верстки (.registration__form-block label, 2803) */
.panel label:not(.btn),
.tab-content label:not(.btn) {
  font-family: var(--pp-font-light);
  color: var(--pp-text-label);
}

.required > label:not(.btn)::after {
  content: "*";
  color: red;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.global-required-hint {
  color: red;
  font-size: 12px;
}

.form-control {
  height: var(--pp-field-h, 45px);
  padding: 0 18px;
  border: 0;
  border-radius: var(--pp-r-field);
  background-color: var(--pp-field-bg, var(--pp-white)) !important;
  color: var(--pp-text);
  font-family: inherit;
  font-size: var(--pp-field-fs, 15px);
  font-weight: 500;
  box-shadow: var(--pp-field-sh, var(--pp-sh-btn));
}

.form-control:focus {
  border: 0;
  color: var(--pp-text);
  box-shadow: 0 0 0 1px var(--pp-purple-border), var(--pp-field-sh, var(--pp-sh-btn));
}

/* Підказка не має виглядати заповненим полем: світліша й тонким шрифтом, значення лишається темним і жирнішим */
.form-control::placeholder {
  color: var(--pp-text-placeholder);
  font-family: var(--pp-font-light);
  font-weight: 400;
  opacity: 1;
}

.form-control.news-sort {
  color: var(--pp-text);
}

.form-control:disabled,
.form-control[readonly] {
  background-color: var(--pp-gray-100) !important;
  color: var(--pp-text-muted);
  box-shadow: 0 0 0 1px var(--pp-gray-600);
  opacity: 1;
}

.form-control-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

textarea.form-control {
  height: auto;
  min-height: 80px;
  padding: 8px 18px;
}

select.form-control {
  padding-right: 42px;
  background-image: url("/design/images/icon/dropdown-arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 30px 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: var(--pp-font-select);
  font-weight: 600;
}

select.form-control-sm {
  padding-right: 30px;
  background-position: right 4px center;
  background-size: 22px 22px;
}

select.form-control[multiple],
select.form-control[size]:not([size="1"]) {
  height: auto;
  padding: 8px 12px;
  border-radius: var(--pp-r-block);
  background-image: none;
}

input[type="date"] {
  font-family: var(--pp-font-select);
  font-weight: 600;
}

input.form-control[type="file"] {
  height: auto;
  padding: 10px 18px;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 16px;
  border: 1px solid var(--pp-gray-800);
  border-radius: var(--pp-r-btn);
  background: transparent;
  color: var(--pp-text);
  font-family: var(--pp-font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  border-color: var(--pp-gray-300);
  background: var(--pp-g-purple);
  color: var(--pp-white);
}

.form-control.is-invalid,
.was-validated .form-control:invalid,
.has-error .form-control,
.form-control.warning-border,
.input-primary.warning-border {
  padding-right: 18px;
  border: 0;
  background-image: none;
  box-shadow: var(--pp-sh-warning);
}

select.form-control.is-invalid,
.has-error select.form-control {
  padding-right: 42px;
  background-image: url("/design/images/icon/dropdown-arrow-down.svg");
}

.form-control.is-valid,
.was-validated .form-control:valid,
.has-success .form-control {
  padding-right: 18px;
  border: 0;
  background-image: none;
  box-shadow: var(--pp-sh-input);
}

select.form-control.is-valid,
.has-success select.form-control {
  padding-right: 42px;
  background-image: url("/design/images/icon/dropdown-arrow-down.svg");
}

.help-block,
.invalid-feedback {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: red !important;
}

.help-block:empty,
.invalid-feedback:empty {
  margin: 0;
}

.hint-block,
.help-block-hint,
.form-text,
small.form-text {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--pp-text-muted);
}

/* Класи полів верстки для нової розмітки */
.input-primary {
  border-radius: 20px;
  background-color: #e9e9e9;
  box-shadow: var(--pp-sh-input);
  width: 100%;
  height: 47px;
  border: none;
  padding: 0 18px;
}

.input-primary:focus-visible {
  outline: none;
}

.input-secondary {
  border-radius: 20px;
  background-color: transparent;
  height: 47px;
  border: 1px solid #000;
  padding: 0 18px;
  width: 100%;
}

.table-input {
  border-radius: 20px;
  height: 24px;
  padding: 0 8px;
}

.textarea-primary {
  border-radius: 5px;
  background-color: transparent;
  height: 100px;
  border: 1px solid #000;
  padding: 0 8px;
  width: 100%;
  resize: none;
}

.textarea-secondary {
  border: none;
  border-radius: 20px;
  background-color: #e9e9e9;
  box-shadow: var(--pp-sh-input);
  height: 80px;
  padding: 8px 18px;
  width: 100%;
  resize: none;
}

.textarea-secondary.textarea-maxi {
  height: 150px;
}

.textarea-secondary:focus {
  outline: none;
}

/* input-group: main.css робить .input-group-text 1.5rem з відступом зверху */
.input-group > .form-control,
.input-group > .custom-select {
  min-width: 0;
}

.input-group-text {
  margin-top: 0;
  padding: 0 14px;
  border: 0;
  border-radius: var(--pp-r-field);
  background-color: var(--pp-gray-400);
  color: var(--pp-text);
  font-size: 15px;
}

.input-group-append,
.input-group-prepend {
  align-items: stretch;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text {
  border-radius: var(--pp-r-field);
}

.input-group > .input-group-append {
  margin-left: 6px;
}

.input-group > .input-group-prepend {
  margin-right: 6px;
}

.input-group > .form-control:not(:last-child),
.input-group > .form-control:not(:first-child) {
  border-radius: var(--pp-r-field);
}

.input-group.mt-2 > .input-group-append,
.input-group > .form-control.mt-2 + .input-group-append {
  margin-top: 0.5rem;
}

/* Радіо й чекбокси: власного стилю у верстці нема, лише розміри нативного input */
input[type="radio"],
input[type="checkbox"] {
  margin: 0 8px 0 0 !important;
  vertical-align: -2px;
  accent-color: var(--pp-purple-btn-solid);
}

.form-check-input {
  margin: 0.3rem 0 0 -1.25rem !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--pp-purple-btn-solid);
  background-color: var(--pp-purple-btn-solid);
}

/* ==========================================================================
   6. Select2 (krajee-bs3 і krajee-bs4) у вигляді SELECT PRIMARY (538-568)
   ========================================================================== */
.select2-container {
  margin: 0.5rem 0 0;
  max-width: 100%;
}

/* main.css: темний фон на всіх нащадках через !important */
.select2-container--krajee *,
.select2-dropdown * {
  color: var(--pp-text) !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

.select2-container--krajee-bs4 .select2-selection,
.select2-container--krajee-bs3 .select2-selection,
.select2-container--krajee .select2-selection {
  border: 0 !important;
  border-radius: var(--pp-r-field);
  background-color: var(--pp-field-bg, var(--pp-white)) !important;
  background-image: none;
  color: var(--pp-text) !important;
  font-family: var(--pp-font-select);
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--pp-field-sh, var(--pp-sh-btn));
  outline: 0;
}

.select2-container--krajee-bs4 .select2-selection--single,
.select2-container--krajee-bs3 .select2-selection--single,
.select2-container--krajee .select2-selection--single {
  position: relative;
  height: 45px;
  padding: 0;
}

.select2-container--krajee-bs4 .select2-selection--single .select2-selection__rendered,
.select2-container--krajee-bs3 .select2-selection--single .select2-selection__rendered,
.select2-container--krajee .select2-selection--single .select2-selection__rendered {
  display: block;
  padding: 0 64px 0 18px;
  line-height: 45px;
  color: var(--pp-text) !important;
}

.select2-container--krajee-bs4 .select2-selection__placeholder,
.select2-container--krajee-bs3 .select2-selection__placeholder,
/* Шрифт списку не міняється: інший шрифт у рядку зсуває підказку вниз за край поля */
.select2-container--krajee .select2-selection__placeholder {
  color: var(--pp-text-placeholder) !important;
  font-weight: 400;
}

.select2-container--krajee-bs4 .select2-selection--single .select2-selection__arrow,
.select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow,
.select2-container--krajee .select2-selection--single .select2-selection__arrow,
.select2-container--krajee-bs4.select2-container--open .select2-selection--single .select2-selection__arrow,
.select2-container--krajee-bs3.select2-container--open .select2-selection--single .select2-selection__arrow {
  position: absolute;
  top: 0;
  right: 8px;
  width: 30px;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: url("/design/images/icon/dropdown-arrow-down.svg") center / 30px 30px no-repeat;
  box-shadow: none;
}

.select2-selection__arrow b {
  display: none !important;
}

.select2-container--krajee-bs4 .select2-selection__clear,
.select2-container--krajee-bs3 .select2-selection__clear,
.select2-container--krajee .select2-selection__clear {
  position: absolute;
  top: 50%;
  right: 40px !important;
  transform: translateY(-50%);
  float: none;
  margin: 0;
  color: var(--pp-gray-800) !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* Multiple */
.select2-container--krajee-bs4 .select2-selection--multiple,
.select2-container--krajee-bs3 .select2-selection--multiple,
.select2-container--krajee .select2-selection--multiple {
  position: relative;
  min-height: 45px;
  height: auto;
  padding: 7px 34px 3px 12px;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-selection__rendered,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__rendered,
.select2-container--krajee .select2-selection--multiple .select2-selection__rendered {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: normal;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-selection__choice,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice,
.select2-container--krajee .select2-selection--multiple .select2-selection__choice {
  float: left;
  width: auto;
  max-width: 100%;
  margin: 0 4px 4px 0;
  padding: 2px 10px;
  border: 0 !important;
  border-radius: var(--pp-r-field);
  background-color: var(--pp-gray-400) !important;
  color: var(--pp-text) !important;
  font-size: 13px;
  line-height: 20px;
  white-space: normal;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove {
  float: left !important;
  margin-right: 6px;
  color: var(--pp-purple-th) !important;
  font-weight: 700;
  cursor: pointer;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-search--inline,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-search--inline,
.select2-container--krajee .select2-selection--multiple .select2-search--inline {
  float: left;
  margin: 0;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-search--inline .select2-search__field,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-search--inline .select2-search__field,
.select2-container--krajee .select2-selection--multiple .select2-search--inline .select2-search__field {
  height: 24px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  background: transparent !important;
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
  color: var(--pp-text-placeholder);
  font-weight: 400;
}

.select2-container--krajee-bs4 .select2-selection--multiple .select2-selection__clear,
.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__clear,
.select2-container--krajee .select2-selection--multiple .select2-selection__clear {
  right: 12px !important;
}

/* Disabled */
.select2-container--krajee-bs4.select2-container--disabled .select2-selection,
.select2-container--krajee-bs3.select2-container--disabled .select2-selection,
.select2-container--krajee.select2-container--disabled .select2-selection {
  background-color: var(--pp-gray-100) !important;
  color: var(--pp-text-muted) !important;
  box-shadow: 0 0 0 1px var(--pp-gray-600);
  cursor: not-allowed;
}

/* Помилка */
.has-error .select2-container .select2-selection,
select.is-invalid + .select2-container .select2-selection,
.is-invalid + .select2-container .select2-selection {
  box-shadow: var(--pp-sh-warning);
}

/* Відкритий: без прямих нижніх кутів krajee */
.select2-container--open .select2-selection,
.select2-container--open.select2-container--below .select2-selection,
.select2-container--open.select2-container--above .select2-selection,
.select2-container--krajee-bs4.select2-container--open.select2-container--below .select2-selection,
.select2-container--krajee-bs4.select2-container--open.select2-container--above .select2-selection,
.select2-container--krajee-bs3.select2-container--open.select2-container--below .select2-selection,
.select2-container--krajee-bs3.select2-container--open.select2-container--above .select2-selection {
  border-radius: var(--pp-r-field) !important;
}

/* Фокус */
.select2-container--focus .select2-selection,
.select2-container--open .select2-selection {
  box-shadow: 0 0 0 1px var(--pp-purple-border), var(--pp-field-sh, var(--pp-sh-btn)) !important;
}

/* Випадайка (.select__body 481, .select-primary .select__item 556) */
.select2-dropdown,
.select2-container--krajee-bs4 .select2-dropdown,
.select2-container--krajee-bs3 .select2-dropdown {
  margin-top: 2px;
  padding: 10px 0;
  border: 0 !important;
  border-radius: var(--pp-r-block) !important;
  background-color: var(--pp-white) !important;
  color: var(--pp-text) !important;
  box-shadow: var(--pp-sh-input);
  overflow: hidden;
  z-index: 1050;
}

.select2-dropdown--above {
  margin-top: -2px;
}

.select2-dropdown .select2-search--dropdown {
  padding: 0 10px 8px;
}

.select2-dropdown .select2-search--dropdown .select2-search__field,
.select2-container--krajee-bs4 .select2-search--dropdown .select2-search__field,
.select2-container--krajee-bs3 .select2-search--dropdown .select2-search__field {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--pp-gray-600) !important;
  border-radius: var(--pp-r-field);
  background: var(--pp-white) !important;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
  outline: 0;
}

.select2-dropdown .select2-results > .select2-results__options {
  max-height: 190px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar {
  width: 8px;
}

.select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-track {
  background: transparent;
}

.select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
  background-image: var(--pp-g-purple);
  border-radius: 20px;
}

/* Пункти списку світлим шрифтом, як .dropdown-item (зауваження замовника 09.11.2026: «прибрати жирний» у списках) */
.select2-dropdown .select2-results__option {
  min-height: 34px;
  padding: 5px 18px;
  font-family: var(--pp-font-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.select2-dropdown .select2-results__option[aria-selected="true"],
.select2-dropdown .select2-results__option--selected {
  background-color: var(--pp-gray-200) !important;
}

.select2-dropdown .select2-results__option--highlighted[aria-selected],
.select2-dropdown .select2-results__option--highlighted[aria-selected] *,
.select2-dropdown .select2-results__option.select2-results__option--highlighted {
  background-color: var(--pp-purple) !important;
  color: var(--pp-white) !important;
}

.select2-dropdown .select2-results__option[aria-disabled="true"] {
  color: var(--pp-gray-800) !important;
}

.select2-dropdown .select2-results__group {
  padding: 5px 18px;
  color: var(--pp-purple-th) !important;
  font-weight: 700;
}

.s2-togall-button,
.s2-togall-button * {
  color: var(--pp-purple-th) !important;
}

/* ==========================================================================
   7. Календар, FileInput, динамічні блоки форм
   ========================================================================== */
/* Власний CSS віджета темний: #292929 через !important */
.bootstrap-datetimepicker-widget,
.bootstrap-datetimepicker-widget.dropdown-menu {
  background-color: var(--pp-white) !important;
  color: var(--pp-text);
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border: 0;
  border-radius: var(--pp-r-block);
  box-shadow: var(--pp-sh-btn);
  font-size: 14px;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
  border: 0;
  border-radius: var(--pp-r-card);
  color: var(--pp-text);
}

.bootstrap-datetimepicker-widget table th.picker-switch,
.bootstrap-datetimepicker-widget table th.dow {
  color: var(--pp-purple-th);
}

.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover,
.bootstrap-datetimepicker-widget table td span:hover,
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  background: var(--pp-gray-400);
  color: var(--pp-text);
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover,
.bootstrap-datetimepicker-widget table td span.active {
  background: var(--pp-purple-btn-solid);
  color: var(--pp-white);
  text-shadow: none;
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--pp-pink);
}

.bootstrap-datetimepicker-widget table td.old,
.bootstrap-datetimepicker-widget table td.new,
.bootstrap-datetimepicker-widget table td span.old {
  color: var(--pp-gray-800);
}

.bootstrap-datetimepicker-widget table td span {
  color: var(--pp-text);
}

.bootstrap-datetimepicker-widget table td span.active {
  color: var(--pp-white);
}

.bootstrap-datetimepicker-widget table td.disabled,
.bootstrap-datetimepicker-widget table td.disabled:hover {
  color: var(--pp-gray-600);
  background: none;
}

.bootstrap-datetimepicker-widget .btn {
  min-height: 0;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--pp-purple-th);
  box-shadow: none;
}

.bootstrap-datetimepicker-widget .btn::before {
  display: none;
}

.bootstrap-datetimepicker-widget a[data-action] {
  color: var(--pp-purple-th);
}

.datepicker.dropdown-menu {
  padding: 10px;
  color: var(--pp-text);
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td span.active,
.datepicker table tr td.today {
  background: var(--pp-purple-btn-solid) !important;
  color: var(--pp-white) !important;
  text-shadow: none;
}

/* kartik FileInput */
.file-input .input-group {
  align-items: stretch;
  flex-wrap: nowrap;
}

.file-input .file-caption.form-control,
.file-input .file-caption-main .form-control {
  display: flex;
  align-items: center;
  height: 45px;
  overflow: hidden;
  margin-top: 0;
}

.file-input .file-caption-name,
.file-input .file-caption-name:focus {
  height: auto;
  border: 0;
  background: transparent;
  color: var(--pp-text);
  font-size: 15px;
  outline: 0;
  box-shadow: none;
}

.file-input .input-group-btn,
.file-input .input-group-append,
.file-input .file-caption-main .input-group-btn {
  display: flex;
  gap: 6px;
  margin-left: 6px;
  white-space: nowrap;
}

.file-input .input-group-btn > .btn,
.file-input .input-group-append > .btn,
.file-input .btn-file {
  flex: 0 0 auto;
  margin: 0;
  border-radius: var(--pp-r-btn);
}

.file-input .btn-file input[type="file"] {
  margin: 0;
}

.file-preview {
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--pp-gray-400);
  border-radius: var(--pp-r-block);
}

.file-preview .close,
.file-preview .fileinput-remove {
  color: var(--pp-text);
}

.krajee-default.file-preview-frame {
  border: 1px solid var(--pp-gray-400);
  border-radius: var(--pp-r-card);
  box-shadow: var(--pp-sh-input);
}

.krajee-default .file-footer-caption,
.krajee-default .file-caption-info,
.krajee-default .file-size-info {
  color: var(--pp-text);
}

.file-drop-zone {
  border: 1px dashed var(--pp-gray-800);
  border-radius: var(--pp-r-card);
}

.file-drop-zone-title {
  color: var(--pp-gray-900);
}

.kv-upload-progress .progress {
  height: 16px;
}

/* Блоки форм і картки (.content-wrapper 2965, .registration__form-block) */
.panel {
  margin-bottom: 16px;
  border-radius: var(--pp-r-block);
  background-color: var(--pp-white);
  color: var(--pp-text);
  box-shadow: var(--pp-sh-card);
}

.panel-body {
  padding: 16px 20px;
}

/* У формах <div class="panel-heading"> незакритий і містить .panel-body: смуга лише для справжнього заголовка */
.panel-heading:not(:has(.panel-body)) {
  position: relative;
  min-height: 38px;
  padding: 5px 16px;
  border: 1px solid var(--pp-white);
  border-radius: 20px 20px 0 0;
  background-color: var(--pp-gray-400);
  color: var(--pp-purple-th);
  font-size: 18px;
  box-shadow: var(--pp-sh-input);
}

.panel-heading .panel-title,
.panel-title {
  margin: 0;
  color: var(--pp-purple-th);
  font-size: 18px;
  line-height: 1.5;
}

/* yii\bootstrap\Collapse: заголовок панелі = колапс-блок верстки */
.panel-heading .collapse-toggle {
  display: block;
  margin: -5px -16px;
  padding: 5px 60px 5px 16px;
  color: var(--pp-purple-th);
  text-decoration: none;
}

.panel-heading .collapse-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 49px;
  border-top-right-radius: 19px;
  background-color: var(--pp-purple-btn-solid);
}

.panel-heading .collapse-toggle::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 49px;
  background: url("/design/images/icon/collapse-arrow.png") center no-repeat;
  transition: transform 0.15s;
}

.panel-heading .collapse-toggle.collapsed::after {
  transform: rotate(180deg);
}

.panel-group > .panel {
  margin-bottom: 12px;
}

.panel-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--pp-gray-400);
}

.panel .panel {
  box-shadow: none;
  border: 1px solid var(--pp-gray-400);
}

.documents-container > .document,
.accounts-container > .account,
.items-container > .item,
.periods-container > .period,
.decisions-container > .decision {
  margin-bottom: 16px;
}

/* ==========================================================================
   8. Таблиці кабінету (.cabinet-table-primary, 3820-3886), GridView, DetailView
   ========================================================================== */
.table {
  color: var(--pp-text);
  font-size: 14px;
}

.table th,
.table td {
  padding: 12px;
  border-color: var(--pp-table-border);
  vertical-align: top;
  line-height: 1.222;
  overflow-wrap: break-word;
}

.table a:not(.btn):not(.page-link) {
  color: var(--pp-blue-table);
}

.table a:not(.btn):not(.page-link):hover {
  color: var(--pp-purple);
}

/* Шапка: <tr class="table-active"> у верстці дає на білому #dadada */
.table thead th {
  padding: 30px 10px 10px;
  border-color: var(--pp-table-border);
  background-color: var(--pp-gray-400);
  color: var(--pp-purple-th);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  vertical-align: bottom;
}

.table thead th a:not(.btn):not(.page-link),
.table thead th a:not(.btn):not(.page-link):hover,
.table thead th a:not(.btn):not(.page-link):focus {
  color: var(--pp-purple-th);
  text-decoration: none;
}

/* Стрілка сортування (заголовки таблиць, кнопки сортування каталогу). Символи ↑/↓ у Montserrat
   нема, браузер брав їх із запасного шрифту: стрілка коротша за літери, сидить нижче, а ↑ і ↓
   через наконечник здаються то вище, то нижче. Тепер це одна SVG-стрілка заввишки з велику
   літеру (від базової лінії до верху великих літер), зворотний напрямок — та сама стрілка,
   повернута на 180°, тож обидві займають ту саму смугу, що й текст. Напрямки як і були:
   у таблицях asc ↓, desc ↑ (main.css), у кнопках каталогу — навпаки (catalog.css) */
a.asc::after,
a.desc::after {
  content: "";
  position: static;
  display: inline-block;
  width: 0.5em;
  height: 0.7em;
  margin-left: 0.35em;
  padding: 0;
  vertical-align: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 1v12M1 9l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 1v12M1 9l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

a.desc::after {
  transform: rotate(180deg);
}

.table tbody th {
  background-color: var(--pp-gray-400);
  color: var(--pp-purple-th);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
}

/* Рядки ключ/значення app\widgets\DetailView («форми у вигляді таблиці»: заявка, запитання, профіль в адмінці): значення світлим, ключ лишається, як шапка (зауваження замовника 11.11.2026) */
p.row.my-3 > span:last-child:not(:first-child),
p.row.my-3 > a:last-child:not(:first-child) {
  font-family: var(--pp-font-light);
}

/* Дані таблиць світлим шрифтом, як підписи полів форм; жирний лишається в шапці й на кнопках (зауваження замовника 09.11.2026) */
.table tbody td {
  font-family: var(--pp-font-light);
}

.table tbody td .btn,
.table tbody td .badge {
  font-family: var(--pp-font);
}

/* Випадайка в рядку даних («Джерело» в користувачах) — шрифт і розмір, як у решти стовпців, без жирного;
   ширина за найдовшим пунктом, щоб значення не обрізалось (зауваження замовника 16.11.2026) */
.table tbody td select.form-control {
  font-family: var(--pp-font-light);
  font-size: 14px;
  font-weight: 400;
}

.table tbody td select.comment-source-select {
  width: auto;
  min-width: 100%;
}

/* Друга стрічка: фільтри (.table-input, TABLE SELECT 614-654) */
.table thead tr.filters td,
.table thead tr.filters th {
  padding: 12px;
  background-color: var(--pp-white);
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd),
.table-hover tbody tr:hover {
  background-color: transparent;
  color: inherit;
}

.table-hover tbody tr:hover {
  background-color: var(--pp-gray-100);
}

tr.grey {
  background-color: var(--pp-gray-400) !important;
}

.table td .form-control,
.table th .form-control {
  height: 24px;
  margin-top: 0;
  padding: 0 8px;
  border: 1px solid var(--pp-black);
  background-color: var(--pp-white) !important;
  font-size: 16px;
  box-shadow: none;
}

.table td textarea.form-control {
  height: auto;
  min-height: 60px;
  padding: 4px 8px;
  border-radius: var(--pp-r-textarea);
}

.table td select.form-control,
.table th select.form-control {
  padding: 0 30px 0 8px;
  border-color: var(--pp-gray-600);
  background-image: url("/design/images/icon/select-arrow.png"), linear-gradient(var(--pp-purple-th), var(--pp-purple-th));
  background-repeat: no-repeat, no-repeat;
  background-position: right 7px center, right center;
  background-size: 12px 7px, 26px 100%;
  font-weight: 600;
}

.table td .select2-container,
.table th .select2-container {
  margin: 0;
}

.table .select2-container .select2-selection--single {
  height: 24px;
  border: 1px solid var(--pp-gray-600) !important;
  background-color: var(--pp-white) !important;
  overflow: hidden;
  box-shadow: none !important;
}

.table .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 44px 0 8px;
  font-size: 16px;
  line-height: 22px;
}

.table .select2-container .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 0;
  width: 26px;
  border-radius: 0;
  background: var(--pp-purple-th) url("/design/images/icon/select-arrow.png") center / 12px 7px no-repeat !important;
}

.table .select2-container .select2-selection--single .select2-selection__clear {
  right: 30px !important;
  font-size: 14px;
}

.table .select2-container .select2-selection--multiple {
  min-height: 24px;
  padding: 1px 8px 0;
  border: 1px solid var(--pp-gray-600) !important;
  background-color: var(--pp-white) !important;
  box-shadow: none !important;
}

.table .select2-container .select2-selection--multiple .select2-selection__choice {
  margin: 1px 3px 1px 0;
  padding: 0 8px;
  font-size: 12px;
  line-height: 18px;
}

.table .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  height: 20px;
  font-size: 13px;
}

/* Іконки дій (ActionColumn): у верстці фіолетові .table-mini-btn 30×30 (4400-4446) */
.table td > a:not(.btn) > .fa:only-child,
.table td > a:not(.btn) > i.fa,
.table td > a:not(.btn) > span.fa {
  color: var(--pp-purple-th);
  font-size: 18px;
}

.table td > a:not(.btn):hover > .fa {
  color: var(--pp-pink);
}

/* Кнопки-пігулки в клітинках: розмір верстки (висота 45, 15 px), без min-width:270 із 3831.
   У першій колонці стосом на всю ширину, як «Деталі / Копія / Додати документ» */
.table td .btn,
.table td .btn.btn-sm,
.table td .btn.btn-xs {
  min-height: 45px;
  margin-bottom: 8px;
  padding: 12.5px 16px;
  font-size: 15px;
}

.table td .btn:last-child,
.table td .btn.btn-sm:last-child,
.table td .btn.btn-xs:last-child {
  margin-bottom: 0;
}

.table tbody td:first-child .btn {
  display: block;
  width: 100%;
  min-width: 180px;
}

.table thead .btn,
.table thead .btn.btn-sm,
.table thead .btn.btn-xs {
  min-height: 24px;
  margin: 0;
  padding: 2px 12px;
  font-size: 13px;
}

.table td .btn.btn-default,
.table td .btn.btn-transparent,
.table td .btn.btn-secondary,
.table td .btn[class*="btn-outline-"] {
  box-shadow: none;
}

.table td input[type="checkbox"],
.table th input[type="checkbox"] {
  margin: 0 !important;
}

/* GridView: біла картка з прокруткою (.table-wrapper + .cabinet-big-table).
   Без overflow-y:hidden: випадайка інакше обрізається */
.grid-view {
  clear: both;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--pp-r-block);
  background-color: var(--pp-white);
  box-shadow: var(--pp-sh-card);
  overflow-x: auto;
  scrollbar-color: var(--pp-purple-border) var(--pp-gray-400);
}

.grid-view::-webkit-scrollbar {
  height: 8px;
}

.grid-view::-webkit-scrollbar-track {
  background: var(--pp-gray-400);
}

.grid-view::-webkit-scrollbar-thumb {
  background-image: var(--pp-g-purple);
  border-radius: 20px;
  cursor: pointer;
}

/* «Бігунок» таблиці внизу вікна, поки її власна смуга за краєм екрана (design.js, зауваження замовника 16.11.2026) */
.pp-sticky-scroll {
  position: fixed;
  bottom: 0;
  z-index: 90;
  display: none;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--pp-gray-400);
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.12);
  scrollbar-color: var(--pp-purple-border) var(--pp-gray-400);
}

.pp-sticky-scroll > div {
  height: 1px;
}

.pp-sticky-scroll::-webkit-scrollbar {
  height: 8px;
}

.pp-sticky-scroll::-webkit-scrollbar-track {
  background: var(--pp-gray-400);
}

.pp-sticky-scroll::-webkit-scrollbar-thumb {
  background-image: var(--pp-g-purple);
  border-radius: 20px;
  cursor: pointer;
}

.tab-content .grid-view,
.panel .grid-view,
.modal .grid-view,
.card .grid-view {
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

.grid-view > .table {
  margin: 0 0 16px;
}

.grid-view > .summary {
  position: sticky;
  left: 0;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--pp-text);
}

.grid-view > .empty {
  padding: 12px;
}

.grid-view > .pagination,
.grid-view > nav,
.grid-view > ul.pagination {
  position: sticky;
  left: 0;
}

/* Звичайна таблиця (без GridView) */
.table-responsive {
  scrollbar-color: var(--pp-purple-border) var(--pp-gray-400);
}

table.detail-view th {
  width: 35%;
}

/* DetailView: <p class="row my-3"><span class="col-12 col-sm-4 opacity-7"> */
p.row.my-3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 10px 0;
  border-bottom: 1px solid var(--pp-table-border);
  font-size: 14px;
  line-height: 1.222;
}

p.row.my-3 > .opacity-7 {
  opacity: 1;
  color: var(--pp-purple-th);
  font-size: 15px;
  line-height: 1.1;
}

/* ==========================================================================
   9. Пагінація (app\widgets\LinkPager і стандартний yii\widgets\LinkPager)
   ========================================================================== */
.pagination {
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0 16px;
  background: transparent;
}

.pagination .page-link,
.pagination > li > a,
.pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--pp-gray-800) !important;
  border-radius: 50% !important;
  background: var(--pp-white);
  color: var(--pp-text) !important;
  font-size: 15px;
  box-shadow: var(--pp-sh-input);
}

.pagination > li {
  margin: 0 4px;
}

.pagination .page-item.mx-2 {
  margin-left: 4px !important;
  margin-right: 4px !important;
}

.pagination .page-link:hover,
.pagination > li > a:hover {
  border-color: var(--pp-gray-300) !important;
  background: var(--pp-g-purple);
  color: var(--pp-white) !important;
  text-decoration: none;
}

.pagination .page-item.active .page-link,
.pagination > li.active > a,
.pagination > li.active > span {
  border-color: var(--pp-white) !important;
  background: var(--pp-g-pink);
  color: var(--pp-white) !important;
}

.pagination > li.disabled > a,
.pagination > li.disabled > span {
  color: var(--pp-gray-800) !important;
  box-shadow: none;
}

/* ==========================================================================
   10. Алерти, значки, картки, підказки, модалки, меню, прогрес
   ========================================================================== */
.alert {
  border: 0;
  border-radius: var(--pp-r-block);
  font-size: 15px;
  box-shadow: var(--pp-sh-input);
}

.alert .close {
  opacity: 0.5;
}

.badge {
  padding: 4px 10px;
  border-radius: var(--pp-r-field);
  font-size: 12px;
  font-weight: 500;
}

.badge-primary {
  background-color: var(--pp-purple-th);
  color: var(--pp-white);
}

.badge-success {
  background-color: var(--pp-green);
  color: var(--pp-white);
}

.badge-danger {
  background-color: var(--pp-danger);
  color: var(--pp-white);
}

.badge-warning {
  background-color: var(--pp-warning);
  color: var(--pp-text);
}

.badge-info {
  background-color: var(--pp-blue);
  color: var(--pp-white);
}

.badge-secondary {
  background-color: var(--pp-gray-800);
  color: var(--pp-white);
}

.card {
  border: 0;
  border-radius: var(--pp-r-block);
  background-color: var(--pp-white);
  color: var(--pp-text);
  box-shadow: var(--pp-sh-card);
}

.card-header {
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background-color: var(--pp-gray-400);
  color: var(--pp-purple-th);
}

.card-footer {
  border-top: 1px solid var(--pp-gray-400);
  background-color: transparent;
}

.card.card-body.styled-card {
  border-radius: 0 0 8px 8px;
  box-shadow: var(--pp-sh-card);
}

.list-group-item {
  border-color: var(--pp-gray-400);
  background-color: var(--pp-white);
  color: var(--pp-text);
}

.tooltip-inner {
  border-radius: var(--pp-r-card);
  background-color: var(--pp-purple-deep);
  color: var(--pp-white);
  font-size: 13px;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: var(--pp-purple-deep);
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: var(--pp-purple-deep);
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: var(--pp-purple-deep);
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: var(--pp-purple-deep);
}

/* Модалка (основа Bootstrap, вхід верстки: 500 px, заголовок по центру) */
.modal-content {
  border: 0;
  color: var(--pp-text);
  box-shadow: var(--pp-sh-btn);
}

.modal-header {
  align-items: center;
  border-bottom: 0;
}

.modal-title {
  color: var(--pp-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.modal-title h2,
.modal-title .btn {
  margin-bottom: 0;
}

.modal-footer {
  border-top: 0;
}

.close {
  color: var(--pp-black);
  font-size: 24px;
  font-weight: 700;
  text-shadow: none;
}

#ajax-modal-content h3 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  font-family: var(--pp-font);
  font-size: 26px;
  color: var(--pp-purple);
}

h5#lead-modal-label {
  font-size: 20px;
}

/* Випадаюче меню (.select__body) */
.dropdown-menu {
  padding: 10px 0;
  border: 0;
  border-radius: var(--pp-r-block);
  background-color: var(--pp-white);
  color: var(--pp-text);
  font-size: 15px;
  box-shadow: var(--pp-sh-input);
}

/* Пункти списків світлим шрифтом, як підписи полів форм (зауваження замовника 09.11.2026: «прибрати жирний») */
.dropdown-item {
  padding: 5px 18px;
  color: var(--pp-text);
  font-family: var(--pp-font-light);
  font-weight: 500;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--pp-purple);
  color: var(--pp-white);
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--pp-purple-th);
  color: var(--pp-white);
}

.dropdown-divider {
  border-top-color: var(--pp-gray-400);
}

/* Вкладки: «РАХУНКИ | ШАБЛОНИ РАХУНКІВ» (2930-2963), nav-link-left/right */
.nav-item .nav-link {
  color: var(--pp-text);
  opacity: 1;
}

.nav-item .nav-link.active::before {
  content: none;
}

.nav-tabs {
  flex-wrap: wrap;
  align-items: flex-end;
  border-bottom: 0;
}

.nav-tabs .nav-item {
  flex: 1 1 0;
  min-width: min-content;
  margin-bottom: 0;
}

.nav-tabs .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  height: 100%;
  padding: 8px 16px;
  border: 0;
  border-radius: 20px 20px 0 0;
  background-color: var(--pp-gray-tab);
  color: var(--pp-text);
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.nav-tabs .nav-item + .nav-item .nav-link {
  margin-left: -20px;
  width: calc(100% + 20px);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border: 0;
  color: var(--pp-purple-btn-solid);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus {
  z-index: 1;
  min-height: 48px;
  background-color: var(--pp-purple-btn-solid);
  color: var(--pp-white);
  font-weight: 500;
}

.nav-tabs + .tab-content {
  padding: 20px;
  border-radius: 0 0 10px 10px;
  background-color: var(--pp-white);
  box-shadow: var(--pp-sh-card);
}

@media (max-width: 576px) {
  .nav-tabs .nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .nav-tabs + .tab-content {
    padding: 12px;
  }
}

/* Пігулки (.cabinet-vsi-aucciony-tab-*, 4529-4593, без абсолютного розміщення) */
.nav-pills .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 8px 20px;
  border: 1px solid var(--pp-black);
  border-radius: var(--pp-r-field);
  background: var(--pp-white);
  color: var(--pp-text);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  border-color: var(--pp-white);
  background: var(--pp-g-pink);
  color: var(--pp-white);
}

/* Таби лота на каруселі: старий синій градієнт main.css і неактивні 50% Bootstrap */
.carousel-indicators li {
  opacity: 1;
}

.carousel-indicators .active button {
  border-color: var(--pp-white) !important;
  background: var(--pp-g-pink);
  color: var(--pp-white);
}

/* Прогрес */
.progress {
  border-radius: var(--pp-r-field);
  background-color: var(--pp-gray-400);
}

.progress-bar {
  background-image: var(--pp-g-purple);
}

/* ==========================================================================
   11. Collapse: .btn-collapse/.additional-filters = колапс-блоки верстки (2651, 2668, 2841)
   ========================================================================== */
a.btn-collapse,
a.btn-collapse:hover,
a.btn-collapse:visited,
a.btn-collapse:active,
a.btn-collapse.additional-filters {
  position: relative;
  display: block;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 4px 60px 4px 16px;
  border: 1px solid var(--pp-white);
  border-radius: 20px 20px 0 0;
  background-color: var(--pp-gray-400);
  color: var(--pp-purple-th) !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left !important;
  text-decoration: none;
  box-shadow: var(--pp-sh-input);
  cursor: pointer;
}

/* Квадрат із кнопкою: main.css і сам віджет пишуть :before через !important */
a.btn-collapse.btn-collapse::before,
a.btn-collapse.btn-collapse.collapsed::before {
  content: "" !important;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 49px !important;
  height: auto !important;
  margin: 0;
  border: 0 !important;
  border-top-right-radius: 19px;
  background-color: var(--pp-purple-btn-solid);
}

a.btn-collapse::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 49px;
  background: url("/design/images/icon/collapse-arrow.png") center no-repeat;
  transition: transform 0.15s;
}

a.btn-collapse.collapsed::after {
  transform: rotate(180deg);
}

a.btn-collapse:not(.collapsed) {
  margin-bottom: 0;
}

/* Вміст під смугою (.card.card-body.styled-card 3076) */
a.btn-collapse + .collapse,
a.btn-collapse + .collapsing {
  --pp-field-bg: var(--pp-gray-200);
  padding: 16px;
  border-radius: 0 0 8px 8px;
  background-color: var(--pp-white);
  box-shadow: var(--pp-sh-card);
}

a.btn-collapse + .collapse.show {
  margin-bottom: 16px;
}

@media (max-width: 576px) {
  a.btn-collapse,
  a.btn-collapse:hover,
  a.btn-collapse:visited,
  a.btn-collapse:active,
  a.btn-collapse.additional-filters {
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.5;
  }
}

/* ==========================================================================
   12. Сповіщення, тости, кнопка вгору, сторонні вікна, новини
   ========================================================================== */
/* app\widgets\notification: дзвоник віджета fixed і z-index 9999, він наїжджав на вміст і модалки.
   Тут на верху сторінки, прокручується разом із нею, нижче пікерів і модалок */
.notify-btn {
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 1029;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pp-white);
  box-shadow: var(--pp-sh-btn);
}

.notify-btn svg {
  width: 22px;
  height: 24px;
}

.show-notifications .notifications-count {
  top: -4px;
  right: -8px;
  width: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: var(--pp-g-pink);
  color: var(--pp-white);
  font: 500 12px/22px var(--pp-font);
}

/* Смуга під дзвоник у кабінеті, щоб він не накривав вкладки й заголовок (лише коли є сповіщення) */
body:has(> .notify-btn) .cabinet__wrapper {
  padding-top: 56px !important;
}

.show-notifications.active ~ .notifications {
  top: 60px;
  z-index: 1029;
}

.notifications {
  border: 0;
  border-radius: var(--pp-r-block);
  background: var(--pp-white);
  box-shadow: var(--pp-sh-btn);
}

.notifications::after {
  border-bottom-color: var(--pp-purple-btn-solid);
}

.notifications h3,
.notifications h3.btn,
.notifications .show-all {
  width: 350px;
  max-width: 90vw;
  min-height: 0;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: var(--pp-purple-btn-solid);
  color: var(--pp-white);
  font-size: 15px;
}

.notifications .notifications-list {
  max-width: 90vw;
}

.notifications .notifications-list .item {
  background: var(--pp-white);
  border-bottom-color: var(--pp-gray-400);
}

.notifications .notifications-list .item:before {
  background: var(--pp-purple-th);
}

.notifications .notifications-list .item .title,
.notifications .notifications-list .item .details .date,
.notifications .notifications-list .item .button-dismiss {
  color: var(--pp-text);
}

.notifications .notifications-list .item .details .date {
  color: var(--pp-text-muted);
}

/* Текст сповіщень (від адміністратора, системи й інших користувачів) без жирного (зауваження замовника 16.11.2026) */
.notifications .notifications-list .item .title {
  font-family: var(--pp-font-light);
  font-weight: 400;
}

.noty_bar {
  border-radius: var(--pp-r-block) !important;
  font-family: var(--pp-font);
  font-size: 14px;
  box-shadow: var(--pp-sh-btn);
}

.noty_body a {
  color: inherit;
  text-decoration: underline;
}

#toTop {
  border: 1px solid var(--pp-white);
  border-radius: 50%;
  background: var(--pp-g-pink);
  box-shadow: var(--pp-sh-btn);
}

#toTop:hover,
#toTop:active {
  background: var(--pp-g-purple);
}

#toTop i {
  padding: 8px 0 0;
  font-size: 1.5rem;
}

.swal2-popup {
  border-radius: var(--pp-r-block) !important;
  font-family: var(--pp-font);
}

.swal2-styled.swal2-confirm {
  border-radius: var(--pp-r-btn) !important;
  background: var(--pp-g-pink) !important;
  box-shadow: none !important;
}

.swal2-styled.swal2-cancel {
  border-radius: var(--pp-r-btn) !important;
  background: var(--pp-gray-600) !important;
  box-shadow: none !important;
}

.fa.fa-cog:hover::after {
  font-family: var(--pp-font);
}

/* Новини: на старій основі темні картки */
.card.news-card {
  background-color: var(--pp-white);
  color: var(--pp-text);
  border-radius: var(--pp-r-block);
}

.news-banner-info {
  background: linear-gradient(0deg, var(--pp-purple-deep) 0%, rgba(105, 40, 125, 0) 100%);
  color: var(--pp-white);
}

.news-banner-tag,
.news-banner-link {
  background-color: var(--pp-white);
  color: var(--pp-purple);
  font-family: var(--pp-font);
}

.news-card:hover .news-title,
.other-news-item:hover .news-title,
.other-news-link {
  color: var(--pp-purple);
}

.news-share-link {
  background: var(--pp-g-pink);
}

.note-editor {
  background: var(--pp-white);
}
