/* Cashback Pro V36.8.18 — linked contact accessibility and button feedback.
   Keep the existing glass cards, spacing and responsive layout; only improve
   legibility, channel action visibility and tactile feedback. */

#tab-contact-links .profile-contact-heading strong {
  color: var(--text-main, var(--text-color, #edf3ff)) !important;
  font-weight: 760 !important;
  letter-spacing: .005em;
}
#tab-contact-links .profile-contact-state {
  color: var(--text-sub, #b9c7da) !important;
  font-weight: 650 !important;
  opacity: 1 !important;
}
#tab-contact-links .profile-contact-state.is-verified {
  color: #78dfa9 !important;
  font-weight: 750 !important;
}
#tab-contact-links .profile-contact-state.is-pending {
  color: #f5c47f !important;
  font-weight: 700 !important;
}
#tab-contact-links .profile-contact-row .form-control {
  color: var(--text-main, var(--text-color, #edf3ff)) !important;
  font-weight: 550;
}
#tab-contact-links .profile-contact-row .form-control::placeholder {
  color: var(--text-sub, #9eacc1) !important;
  opacity: 1 !important;
}
#tab-contact-links .profile-contact-countdown {
  color: var(--text-sub, #b9c7da) !important;
  font-weight: 600 !important;
}
#tab-contact-links .profile-contact-verify.hidden { display: none !important; }

/* Every interactive control in the linked-contact cards receives the same
   subtle hover/focus/press response without changing its existing action. */
#tab-contact-links .profile-contact-row button {
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, filter .14s ease, color .16s ease,
              background-color .16s ease, border-color .16s ease,
              box-shadow .16s ease !important;
  transform: translateY(0) scale(1);
  transform-origin: center;
}
#tab-contact-links .profile-contact-row button:hover:not(:disabled) {
  filter: brightness(1.045) saturate(1.04);
  transform: translateY(-1px);
}
#tab-contact-links .profile-contact-row button:active:not(:disabled) {
  filter: brightness(.98);
  transform: translateY(1px) scale(.975);
  box-shadow: inset 0 2px 5px rgba(8, 20, 42, .16) !important;
}
#tab-contact-links .profile-contact-row button:focus-visible {
  outline: 2px solid var(--scene-accent, var(--accent, #83baff)) !important;
  outline-offset: 3px !important;
}
#tab-contact-links .profile-contact-row button:disabled {
  cursor: not-allowed !important;
}

/* Default light: clean white-blue glass, dark readable copy and clear status. */
html body.default-light-mode #tab-contact-links .profile-contact-heading strong,
html body.light-mode #tab-contact-links .profile-contact-heading strong {
  color: #263b56 !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-state,
html body.light-mode #tab-contact-links .profile-contact-state,
html body.default-light-mode #tab-contact-links .profile-contact-countdown,
html body.light-mode #tab-contact-links .profile-contact-countdown {
  color: #52677f !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-state.is-verified,
html body.light-mode #tab-contact-links .profile-contact-state.is-verified {
  color: #08764d !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-state.is-pending,
html body.light-mode #tab-contact-links .profile-contact-state.is-pending {
  color: #89520d !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-row .form-control,
html body.light-mode #tab-contact-links .profile-contact-row .form-control {
  color: #293e59 !important;
  border-color: #b9cbe2 !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-row .form-control::placeholder,
html body.light-mode #tab-contact-links .profile-contact-row .form-control::placeholder {
  color: #71839b !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-actions .btn-copy,
html body.light-mode #tab-contact-links .profile-contact-actions .btn-copy,
html body.default-light-mode #tab-contact-links .profile-contact-otp button,
html body.light-mode #tab-contact-links .profile-contact-otp button {
  color: #263d5a !important;
  background: linear-gradient(145deg, #ffffff, #edf3fb) !important;
  border: 1px solid #c4d3e6 !important;
  box-shadow: 0 2px 7px rgba(44, 69, 107, .08), inset 0 1px #fff !important;
  font-weight: 700 !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-actions .btn-copy:hover:not(:disabled),
html body.light-mode #tab-contact-links .profile-contact-actions .btn-copy:hover:not(:disabled),
html body.default-light-mode #tab-contact-links .profile-contact-otp button:hover:not(:disabled),
html body.light-mode #tab-contact-links .profile-contact-otp button:hover:not(:disabled) {
  color: #174b83 !important;
  background: linear-gradient(145deg, #fff, #e4efff) !important;
  border-color: #8eafd8 !important;
  box-shadow: 0 5px 12px rgba(57, 105, 166, .14) !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-actions .profile-contact-delete,
html body.light-mode #tab-contact-links .profile-contact-actions .profile-contact-delete {
  color: #a8323c !important;
  background: linear-gradient(145deg, #fff, #fff0f0) !important;
  border-color: #e7b9bd !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-verify,
html body.light-mode #tab-contact-links .profile-contact-verify {
  color: #75480d !important;
  background: linear-gradient(145deg, #fff9ed, #ffedcf) !important;
  border: 1px solid #e5bd7f !important;
  box-shadow: 0 2px 8px rgba(136, 91, 30, .10) !important;
  font-weight: 750 !important;
}
html body.default-light-mode #tab-contact-links .profile-contact-verify:disabled.is-unavailable,
html body.light-mode #tab-contact-links .profile-contact-verify:disabled.is-unavailable {
  color: #596a7e !important;
  background: #e8edf4 !important;
  border-color: #c7d1df !important;
  opacity: 1 !important;
}

/* Halloween: plum glass with pumpkin-orange accents. */
body.theme-halloween #tab-contact-links .profile-contact-heading strong { color: #fff0d8 !important; }
body.theme-halloween #tab-contact-links .profile-contact-state { color: #d8c4e8 !important; }
body.theme-halloween #tab-contact-links .profile-contact-state.is-verified { color: #8ee0ae !important; }
body.theme-halloween #tab-contact-links .profile-contact-state.is-pending { color: #ffc06e !important; }
body.theme-halloween #tab-contact-links .profile-contact-actions .btn-copy,
body.theme-halloween #tab-contact-links .profile-contact-otp button {
  color: #f8edff !important; background: linear-gradient(145deg, rgba(65,43,83,.96), rgba(43,31,64,.96)) !important;
  border: 1px solid rgba(215,181,247,.42) !important; box-shadow: 0 3px 10px rgba(0,0,0,.20), inset 0 1px rgba(255,255,255,.08) !important;
}
body.theme-halloween #tab-contact-links .profile-contact-verify { color:#ffe0ad!important; background:rgba(190,101,35,.22)!important; border:1px solid rgba(255,174,85,.52)!important; }
body.theme-halloween #tab-contact-links .profile-contact-actions .profile-contact-delete { color:#ffb6b6!important; border-color:rgba(255,125,125,.48)!important; }

/* Winter: deep icy blue surfaces with crisp frost-blue focus. */
body.theme-winter #tab-contact-links .profile-contact-heading strong { color:#e9f5ff!important; }
body.theme-winter #tab-contact-links .profile-contact-state { color:#b9d3eb!important; }
body.theme-winter #tab-contact-links .profile-contact-state.is-verified { color:#8ce2bd!important; }
body.theme-winter #tab-contact-links .profile-contact-state.is-pending { color:#f4d28b!important; }
body.theme-winter #tab-contact-links .profile-contact-actions .btn-copy,
body.theme-winter #tab-contact-links .profile-contact-otp button { color:#e8f5ff!important; background:linear-gradient(145deg,rgba(32,71,111,.96),rgba(21,50,84,.96))!important; border:1px solid rgba(144,199,244,.44)!important; box-shadow:0 3px 10px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08)!important; }
body.theme-winter #tab-contact-links .profile-contact-verify { color:#dff3ff!important; background:rgba(67,139,194,.24)!important; border:1px solid rgba(139,204,249,.52)!important; }
body.theme-winter #tab-contact-links .profile-contact-actions .profile-contact-delete { color:#ffc1c4!important; border-color:rgba(255,145,155,.45)!important; }

/* Ocean: teal glass with bright aqua action and focus states. */
body.theme-ocean #tab-contact-links .profile-contact-heading strong { color:#e4fbff!important; }
body.theme-ocean #tab-contact-links .profile-contact-state { color:#b7d9df!important; }
body.theme-ocean #tab-contact-links .profile-contact-state.is-verified { color:#83e4c1!important; }
body.theme-ocean #tab-contact-links .profile-contact-state.is-pending { color:#f5d18a!important; }
body.theme-ocean #tab-contact-links .profile-contact-actions .btn-copy,
body.theme-ocean #tab-contact-links .profile-contact-otp button { color:#e6fcff!important; background:linear-gradient(145deg,rgba(13,79,91,.96),rgba(7,56,69,.96))!important; border:1px solid rgba(105,215,220,.42)!important; box-shadow:0 3px 10px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08)!important; }
body.theme-ocean #tab-contact-links .profile-contact-verify { color:#cffff8!important; background:rgba(21,147,138,.22)!important; border:1px solid rgba(104,226,208,.48)!important; }
body.theme-ocean #tab-contact-links .profile-contact-actions .profile-contact-delete { color:#ffc2c7!important; border-color:rgba(255,145,155,.44)!important; }

@media (hover: none) {
  #tab-contact-links .profile-contact-row button:hover:not(:disabled) { transform:none; filter:none; }
}
@media (prefers-reduced-motion: reduce) {
  #tab-contact-links .profile-contact-row button { transition:none !important; }
}

/* V36.10.9: saved contact details are non-interactive until Edit is pressed. */
#tab-contact-links .profile-contact-row .form-control.profile-contact-saved:disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: .72 !important;
    background: color-mix(in srgb, var(--bg-surface-2, #738098) 72%, #777 28%) !important;
    color: var(--text-main, #dbe2ed) !important;
    border-color: var(--border-color, #7e8ba4) !important;
    box-shadow: none !important;
}
#tab-contact-links .profile-contact-row .profile-contact-verify.is-unavailable:disabled {
    cursor: not-allowed !important;
    opacity: .72 !important;
    color: var(--text-muted, #7b8796) !important;
    background: color-mix(in srgb, var(--bg-surface-2, #abb1bf) 85%, #888 15%) !important;
    border-color: var(--border-color, #aab0bf) !important;
    box-shadow: none !important;
}
