/* FILE: assets/css/farmerp.css (copied from public/assets/css/farmerp.css) */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:wght@500;600;700&display=swap');

:root {
  --fp-bg: #edf4ef;
  --fp-bg-2: #f8fbf8;
  --fp-surface: rgba(255, 255, 255, 0.93);
  --fp-surface-strong: #ffffff;
  --fp-surface-dark: #0b1320;
  --fp-ink: #102030;
  --fp-muted: #566476;
  --fp-border: rgba(16, 32, 48, 0.09);
  --fp-shadow: 0 18px 44px rgba(10, 18, 28, 0.08);
  --fp-shadow-soft: 0 12px 26px rgba(10, 18, 28, 0.05);
  --fp-primary: #145c44;
  --fp-primary-2: #0f8a7a;
  --fp-accent: #1467a8;
  --fp-warm: #b67a08;
  --fp-danger: #b84545;
  --fp-radius-lg: 24px;
  --fp-radius-md: 18px;
  --fp-radius-sm: 14px;
  --fp-sidebar-width: 300px;
  /* Sidebar palette (modern, muted dark + accent) */
  --fp-sidebar-bg: #062b27;
  --fp-sidebar-gradient-start: #0b3b33;
  --fp-sidebar-gradient-end: #072b25;
  --fp-sidebar-text: #5f8f80; /* darker mint for menu text (no white) */
  --fp-sidebar-text-active: #86c8b6; /* active/hover accent (still not white) */
  --fp-sidebar-muted: #4f7a6f; /* muted darker mint for regular items */
  --fp-sidebar-accent: #14b8a6;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--fp-ink);
  background:
    radial-gradient(circle at top left, rgba(20, 92, 68, 0.1), transparent 34%),
    radial-gradient(circle at top right, rgba(20, 103, 168, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfdfb, #edf4ef);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 88%);
  opacity: 0.26;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
  font-family: 'IBM Plex Serif', 'IBM Plex Sans', serif;
  letter-spacing: -0.02em;
}

.text-muted,
.text-secondary,
.form-text,
.text-muted-small {
  color: var(--fp-muted) !important;
}

.bi,
[class^='bi-'],
[class*=' bi-'] {
  display: inline-block;
  line-height: 1;
  color: currentColor;
  opacity: 1;
}

.btn .bi,
.nav-link .bi,
.dropdown-item .bi,
.fp-shell-tag .bi,
.sidebar-link .bi,
.fp-chip .bi,
.fp-badge .bi {
  flex: 0 0 auto;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.app-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-logo-sm {
  width: 36px;
  height: 36px;
}

/* Fallback small-image styling when original src fails */
.img-fallback {
  display: inline-block;
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
}

/* Login-specific larger logo inside left panel */
.login-brand-pill .app-logo {
  width: 48px !important;
  height: 48px !important;
}

a {
  text-decoration-skip-ink: auto;
}

.transition-all {
  transition: all 180ms ease;
}

.fp-app {
  position: relative;
}

.fp-app-shell,
.app-shell {
  display: grid;
  grid-template-columns: var(--fp-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.fp-page,
.app-content {
  min-width: 0;
  position: relative;
}

.fp-page-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fp-page-backdrop::before,
.fp-page-backdrop::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.5;
}

.fp-page-backdrop::before {
  width: 24rem;
  height: 24rem;
  top: -7rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(31, 127, 176, 0.12), transparent 70%);
}

.fp-page-backdrop::after {
  width: 18rem;
  height: 18rem;
  bottom: 5rem;
  left: -6rem;
  background: radial-gradient(circle, rgba(31, 122, 67, 0.1), transparent 68%);
}

.fp-page-inner {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.fp-shell-frame {
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--fp-shadow);
  backdrop-filter: blur(18px);
}

.content-card,
.card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  box-shadow: var(--fp-shadow-soft);
}

.content-card {
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), transparent 35%);
}

.dashboard-hero,
.dashboard-panel,
.dashboard-metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 249, 0.98));
  border: 1px solid rgba(20, 32, 51, 0.05);
  border-radius: var(--fp-radius-lg);
  box-shadow: var(--fp-shadow-soft);
  padding: 1.4rem 1.5rem;
}

.dashboard-hero {
  background:
    radial-gradient(circle at top right, rgba(31, 127, 176, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(31, 122, 67, 0.09), rgba(31, 127, 176, 0.06));
}

.dashboard-hero h2,
.dashboard-metric .display-6,
.dashboard-panel h2 {
  line-height: 1.12;
}

.dashboard-hero .text-muted-small,
.dashboard-hero .fp-badge,
.dashboard-metric .fp-badge {
  line-height: 1.35;
}

.dashboard-metric .display-6 {
  margin-bottom: 0.35rem;
}

.dashboard-panel .vstack > * + * {
  margin-top: 0.75rem !important;
}

.dashboard-hero-filter {
  width: 100%;
  max-width: 100%;
}

.dashboard-hero-field {
  flex: 1 1 0;
  min-width: 0;
}

.dashboard-hero-select,
.dashboard-hero-input {
  width: 100%;
  min-width: 0;
}

/* Accessibility: visible focus for keyboard users */
input:focus, select:focus, textarea:focus, button:focus, a:focus {
  outline: 3px solid rgba(20,92,68,0.18);
  outline-offset: 2px;
}

/* Ensure sufficient contrast for primary buttons */
.btn-primary {
  background-color: var(--fp-primary);
  border-color: var(--fp-primary);
  color: #fff;
}

.dashboard-hero-button {
  flex: 0 0 auto;
  min-width: 112px;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .dashboard-hero-filter {
    max-width: 420px;
  }
}

@media (max-width: 575.98px) {
  .dashboard-hero-filter,
  .dashboard-hero-field,
  .dashboard-hero-select,
  .dashboard-hero-input,
  .dashboard-hero-button {
    width: 100%;
  }
}

/* ...rest of farmerp.css omitted for brevity in this patch; full file copied in workspace... */
