@import "./src/styles/00-tokens.css";
@import "./src/styles/01-base.css";
@import "./src/styles/02-shell-layout.css";
@import "./src/styles/04-pages-home.css";
@import "./src/styles/04-pages-scan.css";
@import "./src/styles/04-pages-inventory.css";
@import "./src/styles/04-pages-shopping.css";
@import "./src/styles/04-pages-secondary.css";
@import "./src/styles/04-pages-profile.css";
@import "./src/styles/03-components.css";
@import "./src/styles/04-pages-profile-account.css";
@import "./src/styles/05-features-ai.css";
@import "./src/styles/05-features-fridge.css";
@import "./src/styles/04-pages-scan-flow.css";
@import "./src/styles/04-pages-shopping-refinements.css";
@import "./src/styles/04-pages-profile-refinements.css";
@import "./src/styles/06-animations.css";
@import "./src/styles/05-features-feedback.css";
@import "./src/styles/03-components-overrides.css";
@import "./src/styles/07-responsive.css";
@import "./src/styles/08-native-webview.css";
@import "./src/styles/07-responsive-post-native.css";

.auth-recovery-line {
  margin: -2px 0 0;
  text-align: center;
}

.auth-recovery-line .text-button {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #7b8778;
  font-size: 11px;
  font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(33, 92, 67, 0.12);
}

.apple-signin-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(15, 20, 18, 0.12);
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.apple-signin-hint {
  margin: -4px 0 0;
  color: #6b7a67;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.rec-explain {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rec-explain.compact {
  gap: 5px;
  margin-top: 6px;
}

.rec-explain .rec-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(83, 151, 105, 0.12);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

.shopping-row .rec-explain .rec-chip,
.countdown-main .rec-explain .rec-chip,
.food-main .rec-explain .rec-chip,
.nutrition-action-card .recommendation-list .rec-explain .rec-chip {
  display: inline-flex;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.rec-explain .rec-score {
  background: rgba(242, 184, 92, 0.18);
  color: #6c4a13;
}

.recipe-card .rec-explain {
  margin-top: 10px;
}

.countdown-main .rec-explain,
.food-main .rec-explain {
  margin-top: 5px;
}

.subscription-refresh-button {
  justify-self: start;
  width: fit-content;
  min-height: 32px;
  margin-top: 2px;
}

.subscription-status-card[data-status="expired"] #subscriptionStatusMeta {
  background: rgba(242, 184, 92, 0.18);
  color: #76541d;
}

.subscription-status-card[data-status="plus"] #subscriptionStatusMeta {
  background: rgba(83, 151, 105, 0.14);
  color: var(--green-dark);
}

.plan-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.plan-button.is-loading {
  border-color: rgba(76, 140, 167, 0.32);
  background: rgba(236, 247, 247, 0.88);
}

.plan-button.is-loading::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(76, 140, 167, 0.22);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: subscription-spin 800ms linear infinite;
}

@keyframes subscription-spin {
  to {
    transform: rotate(360deg);
  }
}

.shopping-row .rec-explain {
  margin-top: 6px;
}

.nutrition-action-card .recommendation-list article .rec-explain {
  grid-column: 2;
}
