/* =========================================
   ZEXARA TASKS GOLD POLISH V2
   Scoped to real Magnet tasks component
   Colors and contrast only
   ========================================= */

/* CHECK-IN AND ACTION BUTTONS */
html body:not(.admin-route) #root
.magnet4 .magnet4-card button {
  background:#292F38 !important;
  background-image:none !important;
  color:#E5C76E !important;
  -webkit-text-fill-color:#E5C76E !important;
  border:1px solid rgba(212,175,55,.27) !important;
  box-shadow:none !important;
}

html body:not(.admin-route) #root
.magnet4 .magnet4-card button:disabled {
  background:#252A32 !important;
  background-image:none !important;
  color:#9FA6B1 !important;
  -webkit-text-fill-color:#9FA6B1 !important;
  border-color:rgba(212,175,55,.13) !important;
  opacity:1 !important;
  cursor:not-allowed !important;
}

/* INVITE BUTTONS */
html body:not(.admin-route) #root
.magnet4 button:not(:disabled):not(.active) {
  border-color:rgba(212,175,55,.28) !important;
}

/* BADGES / PILLS INSIDE THE TWO CARDS */
html body:not(.admin-route) #root
.magnet4 :is(.magnet4-card,.magnet4-history)
:is(
  [class*="badge"],
  [class*="pill"],
  [class*="chip"]
) {
  background:#292F38 !important;
  background-image:none !important;
  color:#E5C76E !important;
  -webkit-text-fill-color:#E5C76E !important;
  border-color:rgba(212,175,55,.28) !important;
}

/* SMALL HEADINGS */
html body:not(.admin-route) #root
.magnet4 :is(
  .magnet4-kicker,
  .magnet4-kicker-desc
) {
  color:#D4AF37 !important;
  -webkit-text-fill-color:#D4AF37 !important;
  opacity:1 !important;
}

html body:not(.admin-route) #root
.magnet4 .magnet4-history-head :is(
  small,span
) {
  color:#C0C6D0 !important;
  -webkit-text-fill-color:#C0C6D0 !important;
  opacity:1 !important;
}

/* PENDING POT TEXT */
html body:not(.admin-route) #root
.magnet4 .magnet4-pot :is(
  small,span,p
) {
  color:#BCC4CF !important;
  -webkit-text-fill-color:#BCC4CF !important;
  opacity:1 !important;
}

html body:not(.admin-route) #root
.magnet4 .magnet4-pot :is(
  strong,b
) {
  color:#F8F6F0 !important;
  -webkit-text-fill-color:#F8F6F0 !important;
}

/* CHALLENGE DESCRIPTION */
html body:not(.admin-route) #root
.magnet4 .magnet4-card .magnet4-desc {
  color:#C1C8D2 !important;
  -webkit-text-fill-color:#C1C8D2 !important;
}

/* RECENT ACTIVITY EMPTY STATE */
html body:not(.admin-route) #root
.magnet4 .magnet4-history-empty {
  background:#222831 !important;
  background-image:none !important;
  border-color:rgba(212,175,55,.21) !important;
}

html body:not(.admin-route) #root
.magnet4 .magnet4-history-empty :is(
  strong,b
) {
  color:#EAE6DC !important;
  -webkit-text-fill-color:#EAE6DC !important;
  opacity:1 !important;
}

html body:not(.admin-route) #root
.magnet4 .magnet4-history-empty :is(
  small,span,p
) {
  color:#BFC6D0 !important;
  -webkit-text-fill-color:#BFC6D0 !important;
  opacity:1 !important;
}

/* Gold contrast for visible icons */
html body:not(.admin-route) #root
.magnet4 .magnet4-history-icon svg {
  color:#D4AF37 !important;
  stroke:#D4AF37 !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion:reduce) {
  html body:not(.admin-route) #root
  .magnet4 button {
    transition:none !important;
  }
}

/* END ZEXARA TASKS GOLD POLISH V2 */
