/* Maç / takım bildirim takip kartları */
.follow-notify-card {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgb(255 0 43 / 20%), rgb(38 17 24 / 95%));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.follow-notify-card--team {
  margin-top: 1rem;
}

.follow-notify-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.follow-notify-icon {
  color: #22c55e;
  font-size: 28px;
}

.follow-notify-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
}

.follow-notify-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.45;
}

.follow-notify-login-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.follow-notify-login-hint a {
  color: #22c55e;
  text-decoration: underline;
}

.follow-notify-login-hint-italic {
  font-style: italic;
}

.follow-notify-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.follow-notify-select {
  width: 100%;
  max-width: 280px;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0f1216;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.follow-notify-custom {
  margin-top: 0.75rem;
}

.follow-notify-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(0, 0, 0, 0.2);
}

.follow-notify-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #cbd5e1;
  cursor: pointer;
}

.follow-notify-check input {
  accent-color: #22c55e;
}

.follow-notify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.follow-notify-btn {
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.follow-notify-btn-primary {
  background: #22c55e;
  color: #0b0f12;
}

.follow-notify-btn-primary:hover {
  background: #16a34a;
}

.follow-notify-btn-ghost {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.follow-notify-btn-ghost:hover {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.4);
}

.follow-notify-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.follow-notify-msg {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.follow-notify-msg.is-error {
  color: #f87171;
}

.follow-notify-msg.is-ok {
  color: #4ade80;
}

/* Maç detay — üst şerit, tek satır */
.follow-notify-card--match-detail {
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.follow-notify-inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  row-gap: 0.35rem;
}

.follow-notify-icon--compact {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1;
}

.follow-notify-title--compact {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.follow-notify-live-minute {
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #86efac;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.32);
  flex-shrink: 0;
  line-height: 1.2;
}

.follow-notify-login-hint--inline {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  flex: 1 1 auto;
  min-width: 0;
}

.follow-notify-form--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}

.follow-notify-label--inline {
  display: inline;
  margin: 0;
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
}

.follow-notify-select--compact {
  width: auto;
  min-width: 7.5rem;
  max-width: 11rem;
  padding: 0.28rem 0.45rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.follow-notify-actions--inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0;
}

.follow-notify-btn--compact {
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
  border-radius: 6px;
}

.follow-notify-custom--below {
  margin-top: 0.45rem;
  width: 100%;
}

.follow-notify-custom--below .follow-notify-checkboxes {
  max-height: 160px;
  margin-top: 0.25rem;
  padding: 0.35rem;
}

.follow-notify-msg--compact {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  min-height: 0;
}

.follow-notify-card--finished {
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
}

.follow-notify-finished-note {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  flex: 1 1 auto;
  min-width: 0;
}

.follow-notify-form--match-question {
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.follow-notify-form--match-question .follow-notify-label--question {
  display: block;
  white-space: normal;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #cbd5e1;
  max-width: 100%;
}

.follow-notify-form-first-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  width: 100%;
}

.follow-notify-form--match-question .follow-notify-select--compact {
  max-width: 14rem;
}

.follow-notify-push-warning {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.35);
  width: 100%;
  box-sizing: border-box;
}

.follow-notify-push-warning-icon {
  color: #fbbf24;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.follow-notify-push-warning-text {
  margin: 0;
  flex: 1 1 140px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #fde68a;
  min-width: 0;
}

#follow-match-open-push {
  flex-shrink: 0;
  margin-left: auto;
}

/* Maç bildirim tercihi kaydı — ortada onay, arka plan karartma */
.follow-save-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top));
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.follow-save-confirm-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.follow-save-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.follow-save-confirm-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(92vw, 420px);
  margin: 0 auto;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(34, 197, 94, 0.14), rgba(15, 18, 22, 0.98));
  border: 1px solid rgba(34, 197, 94, 0.45);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: scale(0.96);
  transition: transform 0.28s ease;
}

.follow-save-confirm-overlay--visible .follow-save-confirm-box {
  transform: scale(1);
}

.follow-save-confirm-icon {
  display: block;
  margin: 0 auto 0.65rem;
  font-size: 3rem;
  line-height: 1;
  color: #4ade80;
}

.follow-save-confirm-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #e2e8f0;
  font-weight: 500;
}

@media (max-width: 520px) {
  .follow-notify-title--compact {
    white-space: normal;
  }
  .follow-notify-form--inline:not(.follow-notify-form--match-question) {
    flex-basis: 100%;
  }
  #follow-match-open-push {
    margin-left: 0;
    width: 100%;
  }
}

/* Kayıt onayı — tepki toast ile aynı görünüm */
.reaction-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(15, 18, 22, 0.96);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
  font-size: 0.9rem;
  max-width: min(92vw, 380px);
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.reaction-toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.reaction-toast .reaction-toast-text {
  line-height: 1.35;
}
