/* Aprijuice Recipe Guide — extends Optimal Spawn Calculator look */

.aj-page .aj-controls-body {
  padding: 1rem 1.15rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.aj-page .aj-controls-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.aj-page .aj-controls-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--osc-ink, #1c1914);
  line-height: 1.25;
}

.aj-page .aj-poke-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}

.aj-page .aj-poke-row .osc-poke-preview {
  flex: 0 0 48px;
  margin-bottom: 0.15rem;
}

.aj-page .aj-poke-field {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 20rem;
  margin-top: 0;
}

.aj-page .aj-poke-field .osc-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b635a;
  margin-bottom: 0.3rem;
  display: block;
}

.aj-page .aj-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.aj-page .aj-filter-chips {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.aj-page .aj-juices-inline {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #5a534a;
  text-align: left;
}

.aj-page .aj-juices-inline strong {
  color: var(--osc-ink, #1c1914);
}

.aj-page .aj-juices-spacer {
  flex: 1 1 auto;
  min-width: 0;
}

.aj-page .aj-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.aj-stats-panel .aj-quality {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.aj-subhead {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b635a;
  margin: 1rem 0 0.45rem;
}

.aj-stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aj-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.45);
}

.aj-stat-row.is-target {
  background: rgba(74, 163, 223, 0.16);
  outline: 1px solid rgba(74, 163, 223, 0.35);
}

.aj-stat-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.aj-stat-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.95rem;
}

.aj-stat-value.is-pos {
  color: #1f7a45;
}

.aj-stat-value.is-neg {
  color: #b42318;
}

.aj-seo {
  margin: 2.25rem auto 1rem;
  max-width: 52rem;
  color: #3f3a34;
  text-align: left;
}

.aj-seo h2 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--osc-ink, #1c1914);
}

.aj-seo h3 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.35rem 0 0.45rem;
  color: var(--osc-ink, #1c1914);
}

.aj-seo p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.aj-seo-list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  list-style-position: outside;
  line-height: 1.55;
  font-size: 0.92rem;
  text-align: left;
  display: block;
  max-width: 100%;
}

.aj-seo-list li {
  margin-bottom: 0.28rem;
}

.aj-faq {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.5rem 0 1rem;
  text-align: left;
}

.aj-faq details {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 25, 20, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.aj-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--osc-ink, #1c1914);
}

.aj-faq details p {
  margin: 0.55rem 0 0.15rem;
  color: #5a534a;
  text-align: left;
}

.aj-seo-links {
  font-size: 0.9rem;
  color: #5a534a;
}

.aj-seo-links a {
  color: var(--osc-blue, #4aa3df);
  text-decoration: none;
  font-weight: 600;
}

.aj-seo-links a:hover {
  text-decoration: underline;
}

.aj-page .tutorial-affiliate-banner {
  margin: 1.5rem 0 1.75rem;
  text-align: center;
}

.aj-page .tutorial-affiliate-banner a {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.aj-page .tutorial-affiliate-banner a:hover {
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(74, 163, 223, 0.25);
  transform: translateY(-1px);
}

.aj-page .tutorial-affiliate-banner img {
  width: 100%;
  max-width: 594px;
  height: auto;
  margin: 0 auto;
  display: block;
  border: 0;
}

.aj-farm-add-btn {
  margin-top: 0.35rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(74, 163, 223, 0.18);
  color: #e8f4fc;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.aj-farm-add-btn:hover:not(:disabled),
.aj-farm-add-btn:focus-visible {
  background: rgba(74, 163, 223, 0.32);
  border-color: rgba(74, 163, 223, 0.7);
  color: #fff;
  outline: none;
}

.aj-farm-add-btn:disabled {
  opacity: 0.75;
  cursor: default;
}

.aj-farm-add-btn.is-added {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(74, 222, 128, 0.55);
  color: #dcfce7;
}

.aj-farm-login-modal .modal-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #111827;
}

.aj-farm-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 1080;
  max-width: min(92vw, 420px);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #111827;
  color: #f9fafb;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.aj-farm-toast.is-error {
  background: #991b1b;
}

.aj-farm-toast a {
  color: #93c5fd;
}
