/* Goal push alerts */

.gg-goal-alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.35rem 0.55rem 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08);
  color: #d9fff6;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.gg-goal-alert-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.gg-goal-alert-label {
  white-space: nowrap;
}

.gg-goal-alert-switch {
  position: relative;
  width: 2.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gg-goal-alert-switch-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #cbd5e1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gg-goal-alert-btn.is-active .gg-goal-alert-switch {
  background: rgba(53, 224, 194, 0.35);
  border-color: rgba(53, 224, 194, 0.55);
}

.gg-goal-alert-btn.is-active .gg-goal-alert-switch-thumb {
  transform: translateX(1rem);
  background: #35e0c2;
}

.gg-goal-alert-btn.is-busy {
  opacity: 0.72;
  cursor: wait;
}

.gg-goal-alert-btn:hover {
  border-color: rgba(53, 224, 194, 0.5);
  background: rgba(53, 224, 194, 0.14);
}

.gg-goal-alert-btn.is-active {
  border-color: rgba(53, 224, 194, 0.65);
  background: rgba(53, 224, 194, 0.2);
  color: #35e0c2;
}

.gg-goal-alert-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.match-hero-actions .gg-goal-alert-btn,
.mygg-row-actions .gg-goal-alert-btn {
  min-height: 36px;
  font-size: 0.72rem;
}

.mygg-goal-alerts-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(53, 224, 194, 0.22);
  background: rgba(53, 224, 194, 0.06);
}

.mygg-goal-alerts-banner strong {
  display: block;
  font-size: 0.9rem;
  color: #f8fafc;
}

.mygg-goal-alerts-banner p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.95);
}

.mygg-list-row.has-goal-alert .mygg-row-icon {
  color: #35e0c2;
}

.match-mobile-goal-alert {
  width: auto;
  display: inline-flex;
  justify-content: center;
  margin: 0;
}

.gg-goal-alert-btn--icon {
  min-height: 34px;
  min-width: 34px;
  padding: 0.35rem;
  justify-content: center;
  gap: 0;
}

.gg-goal-alert-btn--icon .gg-goal-alert-icon {
  font-size: 1rem;
}

.gg-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;
}

/* Favorite push notifications panel (Settings) */

/* Match list alert bell */
.gg-mat-row-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
}

.gg-mat-row-shell .gg-mat-row {
  min-width: 0;
}

.gg-mat-row-alert-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem 0 0;
  z-index: 2;
}

.gg-mat-row-alert-btn {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .gg-mat-row-alert-slot {
    padding-right: 0.15rem;
  }
}

.mygg-notifications-panel {
  margin: 0 0 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(53, 224, 194, 0.24);
  background: linear-gradient(145deg, rgba(53, 224, 194, 0.08), rgba(15, 23, 42, 0.55));
}

.mygg-notifications-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.mygg-notifications-head strong {
  display: block;
  font-size: 1rem;
  color: #f8fafc;
}

.mygg-notifications-head p {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.96);
  max-width: 42rem;
}

.mygg-notifications-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mygg-notifications-toggles {
  display: grid;
  gap: 0.45rem;
}

.mygg-notifications-toggles.is-disabled {
  opacity: 0.55;
}

.gg-notif-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
  cursor: pointer;
}

.gg-notif-toggle-row span:first-child {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.gg-notif-toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gg-notif-toggle-switch {
  position: relative;
  width: 2.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gg-notif-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #cbd5e1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gg-notif-toggle-row input:checked + .gg-notif-toggle-switch {
  background: rgba(53, 224, 194, 0.35);
  border-color: rgba(53, 224, 194, 0.55);
}

.gg-notif-toggle-row input:checked + .gg-notif-toggle-switch .gg-notif-toggle-thumb {
  transform: translateX(1rem);
  background: #35e0c2;
}

.mygg-notifications-footnote {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.85);
}
