/* SpiralOrbit Meals: green look for the stock Mealie UI + no upstream project links.
   Injected by Caddy. Primary/accent colors come from Mealie's THEME_* settings. */

:root {
  --so-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Upstream Sponsor / GitHub / Docs links (login page, sidebar, about). */
a[href*="github.com/sponsors"],
a[href*="github.com/mealie-recipes"],
a[href*="docs.mealie.io"] { display: none !important; }

/* Hide the page while sign-out is being sent to the sign-in page. */
html.so-redirecting body { visibility: hidden; }

/* One font everywhere (same stack as the SpiralOrbit sign-in page and Meals Plus). */
html, body, .v-application, .v-application *:not(.mdi):not(.v-icon) { font-family: var(--so-font) !important; }
.v-application .text-h1, .v-application .text-h2, .v-application .text-h3,
.v-application .text-h4, .v-application .text-h5, .v-application .text-h6,
.v-application .v-card-title, .v-application .v-toolbar-title { font-weight: 700 !important; letter-spacing: -.01em !important; }

/* Vuetify 3 theme surfaces + text (RGB triplets). */
.v-theme--dark {
  --v-theme-background: 4, 20, 12;
  --v-theme-on-background: 230, 255, 240;
  --v-theme-surface: 8, 32, 20;
  --v-theme-on-surface: 230, 255, 240;
  --v-theme-surface-bright: 14, 48, 30;
  --v-theme-surface-light: 18, 56, 36;
  --v-theme-surface-variant: 30, 70, 48;
  --v-theme-on-surface-variant: 214, 255, 230;
  --v-border-color: 125, 255, 181;
  --v-theme-on-primary: 2, 21, 11;
}
.v-theme--light {
  --v-theme-background: 238, 247, 241;
  --v-theme-on-background: 10, 40, 24;
  --v-theme-surface: 255, 255, 255;
  --v-theme-on-surface: 10, 40, 24;
  --v-theme-surface-variant: 214, 236, 222;
  --v-theme-on-surface-variant: 12, 50, 30;
  --v-border-color: 30, 125, 79;
}
.v-theme--dark.v-application {
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(47, 191, 113, .14), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(47, 191, 113, .10), transparent 60%),
    rgb(4, 20, 12) !important;
}
.v-theme--dark .v-navigation-drawer { background: rgb(6, 26, 16) !important; }
.v-theme--dark .v-app-bar.v-toolbar { background: rgb(9, 38, 23) !important; }
.v-theme--dark .v-card { border: 1px solid rgba(125, 255, 181, .10); }
.v-application .v-btn { letter-spacing: .01em; text-transform: none; font-weight: 600; }
.v-application ::selection { background: rgba(61, 220, 132, .35); }
