@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@500;600;700;800&display=swap");

:root {
  --bake-ink: #6b2e12;
  --bake-brown: #ac562a;
  --bake-deep: #8a3f1c;
  --bake-cream: #fff8ef;
  --bake-card: rgba(255, 252, 246, 0.92);
  --bake-line: rgba(172, 86, 42, 0.22);
  --bake-glow: rgba(255, 170, 70, 0.28);
}

html,
body,
button {
  font-family: "Nunito", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

.boycjJ,
.bMNWii,
.cbudmK,
.cdusVa,
.css-6z68fw,
.css-o8yhuq,
.ebgzzQ,
.gGgqCw,
.jUeZBO,
.odGBL,
.zNXkR,
#approve-button,
#back-button {
  font-family: "Baloo 2", "Baloo Da", cursive !important;
}

body {
  color: var(--bake-ink);
  background-color: #fff3e4;
  background-image:
    radial-gradient(ellipse 90% 60% at 12% -10%, rgba(255, 196, 110, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 8%, rgba(255, 140, 70, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(196, 110, 60, 0.12), transparent 55%),
    linear-gradient(180deg, #fff7ec 0%, #ffe8cf 48%, #f7d7b4 100%);
  background-attachment: fixed;
}

#root {
  min-height: 100vh;
}

.ffSLGG {
  background: rgba(255, 251, 245, 0.86) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(172, 86, 42, 0.1);
  box-shadow: 0 8px 28px rgba(114, 47, 13, 0.06) !important;
}

.EzGAL {
  background: rgba(255, 251, 245, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(172, 86, 42, 0.08);
  box-shadow: 4px 0 24px rgba(114, 47, 13, 0.04) !important;
}

.bMheQf,
.iNfHLw,
.jWEXvU,
.bQcqOD {
  border-radius: 14px;
  margin-left: 8px;
  margin-right: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bMheQf:hover,
.iNfHLw:hover,
.jWEXvU:hover,
.bQcqOD:hover {
  transform: translateX(2px);
}

.gGgqCw {
  background: linear-gradient(135deg, #c4642e 0%, #9a3f18 100%) !important;
  border: none !important;
  box-shadow: 0 8px 18px rgba(154, 63, 24, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.gGgqCw:hover,
.gGgqCw:focus {
  background: linear-gradient(135deg, #d06f36 0%, #a8471d 100%) !important;
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(154, 63, 24, 0.34);
}

.gGgqCw:active {
  transform: translateY(0);
}

.cQDweg {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(243, 132, 30, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ihQtnQ {
  background: rgba(255, 240, 224, 0.85) !important;
  border: 1px solid rgba(172, 86, 42, 0.12);
  box-shadow: 0 2px 10px rgba(114, 47, 13, 0.05);
}

.boycjJ.css-xv7cdu {
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.jqQebP {
  transition: color 0.18s ease, opacity 0.18s ease;
}

.jqQebP:hover {
  color: #8a3f1c;
}

.jqQebP.ACTIVENAV::after {
  background: linear-gradient(90deg, #ffb020, #ff7a00);
  height: 3px;
  border-radius: 999px;
}

/* Pool category tabs — read as filters, not random badges */
.pool-tabs {
  gap: 8px;
  width: auto !important;
  max-width: 894px;
  padding: 6px;
  margin-bottom: 28px !important;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(172, 86, 42, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(114, 47, 13, 0.05);
}

.pool-tabs .jqQebP {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 16px;
  border-radius: 12px;
  color: #b9896c;
  font-family: "Baloo 2", "Baloo Da", cursive;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.pool-tabs .jqQebP::after {
  display: none !important;
}

.pool-tabs .jqQebP:hover {
  color: #8a3f1c;
  background: rgba(172, 86, 42, 0.06);
}

.pool-tabs .jqQebP.ACTIVENAV {
  color: #6b2e12 !important;
  background: linear-gradient(135deg, #ffe39a 0%, #ffb45c 100%);
  box-shadow: 0 6px 14px rgba(255, 138, 40, 0.28);
}

.pool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e4574a;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

@media (max-width: 960px) {
  .pool-tabs {
    width: 100% !important;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

.iQiucY,
.eKAcxx {
  background: var(--bake-card) !important;
  border: 1px solid var(--bake-line);
  box-shadow: 0 8px 22px rgba(114, 47, 13, 0.06);
}

.bXRfSE,
.cbykCA {
  background: var(--bake-card) !important;
  border: 1px solid var(--bake-line) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 34px rgba(114, 47, 13, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bXRfSE:hover,
.cbykCA:hover {
  transform: translateY(-4px);
  border-color: rgba(172, 86, 42, 0.38) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(114, 47, 13, 0.14),
    0 0 0 4px var(--bake-glow);
}

.cbudmK,
#approve-button,
#back-button,
.jUeZBO {
  background: linear-gradient(135deg, #c4642e 0%, #9a3f18 100%) !important;
  border: none !important;
  box-shadow: 0 8px 16px rgba(154, 63, 24, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cbudmK:hover,
#approve-button:hover,
#back-button:hover,
.jUeZBO:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(154, 63, 24, 0.28);
}

.cbudmK:disabled,
.select-button[disabled],
#approve-button[disabled] {
  background: #e7d2bc !important;
  color: #9a7a62 !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.gHkqml img,
#select-main-image,
#imt-image,
#select-staked-image {
  filter: drop-shadow(0 8px 14px rgba(114, 47, 13, 0.18));
}

.css-6z68fw {
  color: #d97706;
}

#cards-menu .bKdZQA > .bXRfSE {
  animation: cardIn 0.45s ease both;
}

#cards-menu .bKdZQA > .bXRfSE:nth-child(1) { animation-delay: 0.04s; }
#cards-menu .bKdZQA > .bXRfSE:nth-child(2) { animation-delay: 0.1s; }
#cards-menu .bKdZQA > .bXRfSE:nth-child(3) { animation-delay: 0.16s; }

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #cards-menu .bKdZQA > .bXRfSE,
  .bXRfSE,
  .cbykCA,
  .gGgqCw,
  .cbudmK {
    animation: none !important;
    transition: none !important;
  }
}

.back-to-pools {
  align-self: flex-start;
  margin: 0 0 18px 0;
  margin-left: max(0px, calc(50% - 447px));
  padding: 10px 16px;
  border: 1px solid rgba(172, 86, 42, 0.2);
  border-radius: 12px;
  background: rgba(255, 250, 242, 0.95);
  color: #8a3f1c;
  font-family: "Baloo 2", "Baloo Da", cursive;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(114, 47, 13, 0.06);
  transition: transform 0.15s ease, background 0.15s ease;
}

.back-to-pools:hover {
  background: #fff;
  transform: translateX(-2px);
}

#back-button {
  max-width: none !important;
  margin-right: 12px !important;
  flex: 0 0 auto;
  min-width: 110px;
  background: #fff !important;
  color: #8a3f1c !important;
  border: 1px solid rgba(172, 86, 42, 0.28) !important;
  box-shadow: none !important;
}

#back-button:hover {
  background: #fff6eb !important;
  filter: none !important;
}

@media (max-width: 960px) {
  .back-to-pools {
    margin-left: 5%;
  }
}

/* --- layout cleanup --- */

/* Hide decorative star ribbons — every card had one, so it meant nothing */
.bXRfSE .kzpMcv {
  display: none;
}

/* Tighten card internals: less dead air above Select */
.bXRfSE {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px !important;
}

.bXRfSE .gHkqml {
  margin-top: 4px;
}

.bXRfSE .cdusVa {
  margin-bottom: 14px !important;
}

.bXRfSE .tSsQk {
  margin-bottom: 6px !important;
}

.bXRfSE .tSsQk[style*="margin-top"] {
  margin-top: 16px !important;
}

.bXRfSE .cbudmK,
.bXRfSE .idVSmq {
  margin-top: auto !important;
  padding-top: 4px;
}

.bXRfSE .cbudmK {
  margin-top: 18px !important;
}

/* Unified harvest / filter toolbar */
.pool-toolbar {
  width: min(894px, 100%) !important;
  gap: 16px;
  margin-bottom: 28px !important;
  padding: 10px 12px 10px 14px;
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid rgba(172, 86, 42, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(114, 47, 13, 0.05);
}

.pool-toolbar .iQiucY,
.pool-toolbar .eKAcxx {
  margin: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pool-toolbar .iQiucY {
  flex: 1 1 auto;
  min-width: 0;
}

.pool-tabs {
  width: fit-content !important;
  max-width: min(894px, 100%);
  margin-left: auto;
  margin-right: auto;
}

#bnb-balance {
  display: none;
}

.stake-filter {
  gap: 12px;
  padding: 10px 16px !important;
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.stake-filter img {
  display: none;
}

.stake-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.stake-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #e3cbb8;
  box-shadow: inset 0 1px 3px rgba(114, 47, 13, 0.12);
  transition: background 0.18s ease;
  flex-shrink: 0;
}

.stake-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(114, 47, 13, 0.2);
  transition: transform 0.18s ease;
}

.stake-toggle-input:checked + .stake-toggle {
  background: #ac562a;
}

.stake-toggle-input:checked + .stake-toggle::after {
  transform: translateX(18px);
}

.stake-toggle-input:focus-visible + .stake-toggle {
  outline: 2px solid #f3841e;
  outline-offset: 2px;
}

/* Content column width consistency */
.eScRiI {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 48px;
}

.jhbSWw,
.pool-toolbar,
.bKdZQA {
  width: min(894px, 100%) !important;
}

.pool-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.pool-tabs::-webkit-scrollbar {
  display: none;
}

/* Header: quieter controls */
.ihQtnQ {
  gap: 4px;
  padding-left: 4px;
}

.gGgqCw {
  width: auto !important;
  min-width: 148px;
  white-space: nowrap;
}

.bWPdFn {
  flex-shrink: 0;
}

/* Sidebar icons breathe a bit in collapsed rail */
.cQAcLF.ACTIVENAV .EzGAL {
  width: 60px;
  padding-top: 8px;
}

.cQAcLF.ACTIVENAV .bMheQf,
.cQAcLF.ACTIVENAV .iNfHLw,
.cQAcLF.ACTIVENAV .jWEXvU,
.cQAcLF.ACTIVENAV .bQcqOD {
  margin-left: 6px;
  margin-right: 6px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile header / stack cleanup */
@media (max-width: 960px) {
  .pool-toolbar {
    flex-direction: column;
    align-items: stretch !important;
    width: 100% !important;
  }

  .pool-toolbar .iQiucY,
  .pool-toolbar .eKAcxx,
  .stake-filter {
    width: 100%;
  }

  .bKdZQA {
    gap: 16px;
  }

  .bXRfSE {
    width: min(100%, 420px) !important;
    margin-right: 0 !important;
  }

  .gGgqCw {
    min-width: 0;
    padding: 0.45rem 0.75rem !important;
  }

  .ebgzzQ {
    font-size: 0.9rem !important;
    margin: 0 0.25rem !important;
  }

  .cHIzWA {
    margin-left: 8px !important;
  }

  .bekrDb {
    padding: 0.4rem 0.5rem !important;
  }
}

@media (max-width: 500px) {
  #bnb-balance {
    display: none;
  }

  .eScRiI {
    padding-left: 16px;
    padding-right: 16px;
  }

  .boycjJ.css-xv7cdu {
    font-size: 28px !important;
  }
}


