/**
 * task_9_py — Python-разбор задания 9 (Pyodide sandbox)
 */

/* Левая колонка: Python-тренажёр вместо Univer */
.task-9-py-page .task-solve__left .task-view--sandbox {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.task-9-py-page .python-sandbox {
  flex: 1 1 0;
  min-height: 320px;
}

.task-9-py-page .python-sandbox__editor-wrap {
  flex: 1 1 0;
  min-height: 0;
}

.task-9-py-page .python-sandbox__editor-wrap .CodeMirror {
  height: 100% !important;
  flex: 1 1 0;
}

.task-9-py-page .python-sandbox__editor-wrap .CodeMirror-scroll {
  min-height: 0;
}

/* Task statement above sandbox */
.task-9-py-statement {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.task-9-py-statement__toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(5, 184, 125, 0.15);
  border-radius: 8px 8px 0 0;
}

[data-theme="light"] .task-9-py-statement__toggle {
  color: rgba(0, 0, 0, 0.85);
}

.task-9-py-statement__toggle-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-9-mode-toggle--in-statement {
  flex-shrink: 0;
  margin: 0 0.25rem;
}

/* Excel/Python — прижать к правому краю строки */
.task-9-py-statement__toggle .task-9-mode-toggle--in-statement:not(.task-9-mode-toggle--learning-solve) {
  margin-left: auto;
}

.task-9-mode-toggle--in-statement .task-9-mode-toggle__item {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  gap: 0.25rem;
}

.task-9-mode-toggle--in-statement .task-9-mode-toggle__item img {
  width: 14px;
  height: 14px;
}

.task-9-py-statement__collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.task-9-py-statement__collapse-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.task-9-py-statement__collapse-btn[aria-expanded="false"] {
  transform: rotate(-90deg);
}

[data-theme="light"] .task-9-py-statement__collapse-btn {
  border-color: rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .task-9-py-statement__collapse-btn:hover {
  color: rgba(0, 0, 0, 0.75);
  border-color: rgba(0, 0, 0, 0.3);
}

.task-9-py-statement--collapsed .task-9-py-statement__body {
  display: none;
}

.task-9-py-statement--collapsed .task-9-py-statement__toggle {
  border-radius: 8px;
}

.task-9-py-statement__body {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.task-9-py-statement__body .task-9-statement {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

[data-theme="light"] .task-9-py-statement {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

/* Mode toggle: Excel | Python (shared with task_9_ex) */
.task-9-mode-toggle {
  display: inline-flex;
  align-items: stretch;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.task-9-mode-toggle__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.task-9-mode-toggle__item--active {
  background: rgba(5, 184, 125, 0.2);
  color: var(--green, #05b87d);
  cursor: default;
  font-weight: 700;
}

a.task-9-mode-toggle__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

[data-theme="light"] .task-9-mode-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .task-9-mode-toggle__item {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .task-9-mode-toggle__item--active {
  background: rgba(5, 184, 125, 0.15);
  color: var(--green, #05b87d);
  font-weight: 700;
}

[data-theme="light"] a.task-9-mode-toggle__item:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Обучение/Решение — те же классы что Excel/Python; кнопки сбрасываем */
button.task-9-mode-toggle__item {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

button.task-9-mode-toggle__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] button.task-9-mode-toggle__item:hover {
  background: rgba(0, 0, 0, 0.08);
}

button.task-9-mode-toggle__item--active {
  cursor: default;
}

.task-9-mode-toggle__item--zachet {
  color: #e67e22;
}

.task-9-mode-toggle__item--zachet.task-9-mode-toggle__item--active {
  color: #e67e22;
  background: rgba(230, 126, 34, 0.2);
  font-weight: 700;
}

[data-theme="light"] .task-9-mode-toggle__item--zachet {
  color: #c0392b;
}

[data-theme="light"] .task-9-mode-toggle__item--zachet.task-9-mode-toggle__item--active {
  color: #c0392b;
  background: rgba(230, 126, 34, 0.15);
  font-weight: 700;
}

/* В режиме «В зачет» — оранжевый контур Pyodide */
.task-9-py-page.task-9-mode--zachet .python-sandbox {
  border-color: #e67e22;
  box-shadow: 0 0 0 1px #e67e22;
}

[data-theme="light"] .task-9-py-page.task-9-mode--zachet .python-sandbox {
  border-color: #e67e22;
  box-shadow: 0 0 0 1px #e67e22;
}

/* В режиме «В зачет» — оранжевый контур панели Прогресс и Время на №9 */
.task-9-py-page.task-9-mode--zachet .task-9-timer-panel {
  border-color: #e67e22;
  box-shadow: 0 0 0 1px #e67e22;
}

.task-9-py-page.task-9-mode--zachet .task-9-timer-panel--embedded {
  border: 1px solid #e67e22;
  box-shadow: 0 0 0 1px #e67e22;
}

[data-theme="light"] .task-9-py-page.task-9-mode--zachet .task-9-timer-panel {
  border-color: #e67e22;
  box-shadow: 0 0 0 1px #e67e22;
}

[data-theme="light"] .task-9-py-page.task-9-mode--zachet .task-9-timer-panel--embedded {
  border: 1px solid #e67e22;
  box-shadow: 0 0 0 1px #e67e22;
}

/* Toggle: # button for comments on/off */
.task-9-script-toggle {
  display: flex;
  align-items: center;
}

/* В режиме «Решение» кнопку «# комменты» не показываем */
.task-9-py-page.task-9-mode--solve .task-9-script-toggle {
  display: none !important;
}

.task-9-script-toggle__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: monospace;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.task-9-script-toggle__icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.task-9-script-toggle__icon-btn--active {
  background: rgba(5, 184, 125, 0.2);
  border-color: var(--green, #05b87d);
  color: var(--green, #05b87d);
}

[data-theme="light"] .task-9-script-toggle__icon-btn {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .task-9-script-toggle__icon-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .task-9-script-toggle__icon-btn--active {
  background: rgba(5, 184, 125, 0.15);
  border-color: var(--green, #05b87d);
  color: var(--green, #05b87d);
}

.task-9-brief-solution__explain-btn {
  margin-top: 0.75rem;
}

/* Hide the "Объяснить" button in toolbar — not used on task_9_py */
.task-9-py-page .python-sandbox__action--explain {
  display: none;
}

/* Answer form inside python-sandbox toolbar */
.task-answer-form--toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0 auto;
  padding: 0;
}

.task-answer-form--toolbar .task-answer-form__label {
  margin: 0;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.task-answer-form--toolbar .task-answer-form__input {
  min-width: 80px;
  max-width: 120px;
  padding: 0.3rem 0.5rem;
  font-size: 0.8125rem;
}

.task-answer-form--toolbar .task-answer-form__btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.8125rem;
}

/* Переключатель Обучение / Решение */
.task-9-mode-row {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.task-9-mode-row--in-statement {
  margin-bottom: 0;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.task-9-mode-row--in-statement .task-9-mode-row__btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
}

.task-9-mode-row__btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.task-9-mode-row__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.task-9-mode-row__btn--active {
  background: rgba(5, 184, 125, 0.2);
  border-color: rgba(5, 184, 125, 0.45);
  color: rgba(180, 230, 210, 1);
}

[data-theme="light"] .task-9-mode-row__btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .task-9-mode-row__btn:hover {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.18);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .task-9-mode-row__btn--active {
  background: rgba(5, 184, 125, 0.12);
  border-color: rgba(5, 184, 125, 0.35);
  color: #2d6b52;
}

/* Режим «Решение»: скрыть панель объяснения, показать форму ответа */
.task-9-mode--solve .task-9-explain-strip {
  display: none !important;
}

.task-9-mode--solve #task9-py-answer-form {
  display: flex !important;
}

/* Панель объяснения между условием и sandbox */
.task-9-explain-strip {
  flex-shrink: 0;
  margin-bottom: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  box-shadow: inset 3px 0 0 rgba(5, 184, 125, 0.55);
}

[data-theme="light"] .task-9-explain-strip {
  background: #eef1f4;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 3px 0 0 rgba(5, 184, 125, 0.45);
}

.task-9-explain-strip__row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem 0.6rem;
  padding: 0.55rem 0.65rem;
  border-bottom: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.task-9-explain-strip__row--bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.4rem;
}

.task-9-explain-strip__row--bar .task-9-explain-strip__sep--grid {
  display: none;
}

.task-9-explain-strip__group--start {
  grid-column: 1;
  grid-row: 1;
  flex-shrink: 0;
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.task-9-explain-strip__nav-center {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  align-self: center;
}

.task-9-explain-strip__nav-center[hidden] {
  display: none !important;
}

.task-9-explain-strip__group--end {
  grid-column: 5;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  justify-self: end;
}

.task-9-explain-strip__verify-row {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  padding-top: 0.15rem;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.task-9-explain-strip__verify-row[hidden] {
  display: none !important;
}

[data-theme="light"] .task-9-explain-strip__verify-row {
  border-top-color: rgba(0, 0, 0, 0.07);
}

.task-9-explain-strip__group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.task-9-explain-strip__sep {
  width: 1px;
  align-self: stretch;
  min-height: 1.5rem;
  margin: 0.1rem 0;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
}

[data-theme="light"] .task-9-explain-strip__sep {
  background: rgba(0, 0, 0, 0.08);
}

.task-9-explain-strip__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.task-9-explain-strip__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green, #05b87d);
  box-shadow: 0 0 0 2px rgba(5, 184, 125, 0.25);
  flex-shrink: 0;
}

.task-9-explain-strip__configs {
  padding: 0.2rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .task-9-explain-strip__configs {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.06);
}

.task-9-explain-strip__verify-row .task-9-explain-strip__verify {
  display: block;
  width: 100%;
  max-width: none;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .task-9-explain-strip__verify-row .task-9-explain-strip__verify {
  color: rgba(0, 0, 0, 0.5);
}

.task-9-explain-strip__row--bar .task-9-explain-strip__progress,
.task-9-explain-strip__progress-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .task-9-explain-strip__row--bar .task-9-explain-strip__progress,
[data-theme="light"] .task-9-explain-strip__progress-badge {
  color: rgba(0, 0, 0, 0.65);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.06);
}

/* Шаг N / M — акцент, отдельно от кнопок */
.task-9-explain-strip__row--bar #explain-panel-progress {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  border-color: rgba(5, 184, 125, 0.4);
  background: rgba(5, 184, 125, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .task-9-explain-strip__row--bar #explain-panel-progress {
  color: rgba(0, 0, 0, 0.75);
  background: rgba(5, 184, 125, 0.12);
  border-color: rgba(5, 184, 125, 0.35);
}

/* Блок навигации ⏮ ⏸ ⏭ */
.task-9-explain-strip__row--bar .explain-panel__actions-left {
  flex: 0 0 auto;
  padding: 0.2rem 0.45rem;
  gap: 0.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .task-9-explain-strip__row--bar .explain-panel__actions-left {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.explain-panel__actions--strip-tail {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
}

.task-9-explain-strip__close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.task-9-explain-strip__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

[data-theme="light"] .task-9-explain-strip__close {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.55);
}

.task-9-explain-strip__row--bar .task-9-explain-strip__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .task-9-explain-strip__row--bar .task-9-explain-strip__label {
  color: rgba(0, 0, 0, 0.48);
}

.task-9-explain-strip__configs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.task9-py-explain-config {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.task9-py-explain-config:hover {
  border-color: rgba(5, 184, 125, 0.5);
  color: var(--green, #05b87d);
}

.task9-py-explain-config--active {
  background: rgba(5, 184, 125, 0.18);
  border-color: rgba(5, 184, 125, 0.45);
  color: var(--green, #05b87d);
}

[data-theme="light"] .task9-py-explain-config {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.8);
}

.explain-panel--sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.task-9-explain-strip__actions-inline {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.task-9-explain-strip__actions-inline[hidden] {
  display: none !important;
}

.explain-panel__actions--strip {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.task-9-explain-strip__row--bar .explain-panel__actions--strip .explain-panel__btn,
.task-9-explain-strip__row--bar .task-9-explain-strip__nav-center .explain-panel__btn {
  padding: 0.28rem 0.45rem;
  font-size: 0.75rem;
  min-height: 1.85rem;
}

/* Кнопка ОК — как .python-sandbox__run (Запустить) */
button#explain-btn-understood.explain-panel__btn--primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600;
  min-height: unset !important;
  color: var(--bg) !important;
  background: var(--green) !important;
  border: none !important;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button#explain-btn-understood.explain-panel__btn--primary:hover:not(:disabled) {
  opacity: 0.9;
}

button#explain-btn-understood.explain-panel__btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Модальное окно «Остановить выполнение задания на время?» (режим В зачет) */
.zachet-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.zachet-confirm-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zachet-confirm-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1101;
  min-width: 18rem;
  max-width: 22rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg, #252a31);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.2s ease;
}

.zachet-confirm-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.zachet-confirm-modal__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--white, #fff);
}

.zachet-confirm-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.zachet-confirm-modal__btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.zachet-confirm-modal__btn--primary {
  color: var(--bg, #1e2228);
  background: #e67e22;
  border: none;
}

.zachet-confirm-modal__btn--primary:hover {
  opacity: 0.9;
}

.zachet-confirm-modal__btn--secondary {
  color: var(--white, #fff);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.zachet-confirm-modal__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .zachet-confirm-modal {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .zachet-confirm-modal__text {
  color: rgba(0, 0, 0, 0.85);
}

[data-theme="light"] .zachet-confirm-modal__btn--secondary {
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .zachet-confirm-modal__btn--secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

