/* ============================================================
   disappearing.css — Ekran "Ischezayuschie soobscheniya" (vybor TTL chata).
   Samodostatochnyj polnoekrannyj overlay. Palitra cherez --aya-* s hex-folbekom.
   V duhe contact-data.css / contact-info.css. Temnaya tema — body.dark-theme.
   ============================================================ */

.aya-dis-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--aya-grey-bg, #eef0f2);
  color: var(--text, #1a1d21);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transition: opacity .22s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.aya-dis-overlay.aya-dis-show { opacity: 1; }

body.dark-theme .aya-dis-overlay {
  background: #0d1117;
  color: var(--text, #e6edf3);
}

/* ---------- Shapka (sticky) ---------- */
.aya-dis-header {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px 8px;
  background: var(--panel, #fff);
  border-bottom: 1px solid var(--border, #e6e8eb);
}
body.dark-theme .aya-dis-header {
  background: var(--panel, #1c2128);
  border-bottom-color: var(--border, #30363d);
}
.aya-dis-back {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--text, #1a1d21);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
body.dark-theme .aya-dis-back { color: var(--text, #e6edf3); }
.aya-dis-back:active { background: var(--aya-grey-bg, #eef0f2); }
body.dark-theme .aya-dis-back:active { background: rgba(255, 255, 255, .08); }
.aya-dis-title {
  flex: 1 1 auto;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text, #1a1d21);
}
body.dark-theme .aya-dis-title { color: var(--text, #e6edf3); }
.aya-dis-spacer { flex: 0 0 auto; width: 38px; height: 38px; }

/* ---------- Skroll-kontejner ---------- */
.aya-dis-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 40px) 16px;
}

/* ---------- Poyasnyayuschij tekst ---------- */
.aya-dis-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--aya-grey2, #52606a);
  margin: 4px 2px 18px 2px;
}
body.dark-theme .aya-dis-hint { color: var(--aya-grey, #8a9499); }
.aya-dis-hint-icon {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 1px;
  color: var(--aya-teal, #1a6b82);
}

/* ---------- Spisok opcij ---------- */
.aya-dis-options {
  background: var(--panel, #fff);
  border: 1px solid var(--border, #e6e8eb);
  border-radius: 14px;
  overflow: hidden;
}
body.dark-theme .aya-dis-options {
  background: var(--panel, #1c2128);
  border-color: var(--border, #30363d);
}
.aya-dis-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text, #1a1d21);
  cursor: pointer;
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  border-bottom: 1px solid var(--border, #e6e8eb);
}
.aya-dis-option:last-child { border-bottom: none; }
body.dark-theme .aya-dis-option {
  color: var(--text, #e6edf3);
  border-bottom-color: var(--border, #30363d);
}
.aya-dis-option:active { background: var(--aya-grey-bg, #eef0f2); }
body.dark-theme .aya-dis-option:active { background: rgba(255, 255, 255, .06); }
.aya-dis-option-label { flex: 1 1 auto; }
.aya-dis-active .aya-dis-option-label { font-weight: 600; }
.aya-dis-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aya-teal, #1a6b82);
}
