/* =========================================================
   "Gelince haber ver" — self-contained; every class is notify-*.
   Only reads the site's :root tokens; overrides nothing.
   ========================================================= */

/* same look as the site's .btn */
.notify-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--ember-2), var(--ember));
  color: #140800; font: inherit; font-weight: 600; line-height: 1.55;
  box-shadow: 0 10px 40px -10px rgba(255, 106, 26, .7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .3s;
}
.notify-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(255, 106, 26, .9), inset 0 1px 0 rgba(255,255,255,.4); }
.notify-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.notify-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.notify-btn--hero { margin-left: 12px; }
@media (max-width: 480px) {
  .notify-btn--hero { display: flex; width: fit-content; margin: 12px 0 0; }
}

/* modal: fixed overlay of its own; it never touches html/body */
.notify-modal {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: var(--pad);
  overflow-y: auto; overscroll-behavior: contain;
  background: rgba(7, 7, 10, .62);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  font-family: var(--font); color: var(--text);
  opacity: 0; transition: opacity .4s var(--ease);
}
.notify-modal[hidden] { display: none; }
.notify-modal.notify-is-open { opacity: 1; }
.notify-panel {
  position: relative; width: 100%; max-width: 460px;
  border-radius: 28px; padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 60px -20px rgba(255,106,26,.35);
  transform: translateY(26px); transition: transform .5s var(--ease);
}
.notify-modal.notify-is-open .notify-panel { transform: none; }
.notify-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--muted);
  transition: color .3s, border-color .3s;
}
.notify-close:hover { color: var(--text); border-color: var(--ember); }
.notify-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.notify-title { margin: 0; padding-right: 44px; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.notify-text { margin: 14px 0 0; color: var(--muted); }
.notify-form { display: flex; flex-direction: column; margin: 26px 0 0; }
.notify-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--ember); margin-bottom: 10px; }
.notify-input {
  width: 100%; box-sizing: border-box; font: inherit; color: var(--text);
  padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  transition: border-color .3s, box-shadow .3s;
}
.notify-input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 30px -6px rgba(255,106,26,.6); }
.notify-input.notify-is-invalid { border-color: var(--ember-3); }
.notify-bot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--muted); cursor: pointer; }
.notify-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ember); cursor: pointer; }
.notify-check input:focus-visible, .notify-close:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.notify-link { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.notify-link:hover { color: var(--ember-2); }
.notify-link:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 2px; }
.notify-msg { margin: 14px 0 0; font-size: 14px; color: var(--ember-3); }
.notify-msg:empty { margin: 0; }
.notify-form .notify-btn { margin-top: 18px; }
.notify-done { margin: 26px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,106,26,.45); background: rgba(255,106,26,.06); color: var(--text); }
.notify-done[hidden], .notify-form[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .notify-btn, .notify-modal, .notify-panel { transition: none; }
}
