/* Farm Flow v0.9.4 – Globales Champion-Blau Theme */
:root{
  --ff94-blue-900:#173c58;
  --ff94-blue-800:#244873;
  --ff94-blue-700:#395d93;
  --ff94-blue-100:#eef4fb;
  --ff94-blue-050:#f7fafe;
  --ff94-accent:#ffe17a;
  --ff94-border:#d6e3ef;
  --ff94-text:#163244;
  --ff94-muted:#617b8f;
  --primary:#173c58;
  --primary-dark:#102d43;
  --secondary:#395d93;
  --accent:#ffe17a;
  --bg:#eef4fb;
  --card:#ffffff;
  --border:#d6e3ef;
  --text:#163244;
  --muted:#617b8f;
}
html,body{background:linear-gradient(180deg,#f8fbfe 0%,#eef4fb 100%)!important;color:var(--ff94-text)!important}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at top right,rgba(57,93,147,.08),transparent 28%),radial-gradient(circle at bottom left,rgba(23,60,88,.05),transparent 24%);z-index:-1}
a{color:var(--ff94-blue-800)}
.sidebar,.app-sidebar,aside.sidebar,.main-sidebar,.sidebar-shell,.left-nav{
  background:linear-gradient(180deg,var(--ff94-blue-900) 0%,var(--ff94-blue-800) 58%,var(--ff94-blue-700) 100%)!important;
  color:#fff!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.06),10px 0 28px rgba(23,60,88,.14)!important;
}
.sidebar .brand,.sidebar .logo,.sidebar .user-copy,.sidebar h1,.sidebar h2,
.sidebar a,.sidebar button,.sidebar small,.sidebar span,
.app-sidebar a,.main-sidebar a,.left-nav a{color:#eaf3fb!important}
.sidebar a.active,.sidebar .active>a,.sidebar button.active,
.app-sidebar a.active,.main-sidebar a.active,.left-nav a.active,
.sidebar .menu-item.active,.sidebar .nav-link.active{
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
  border-radius:16px!important;
}
.sidebar .nav-link:hover,.sidebar a:hover,.app-sidebar a:hover,.main-sidebar a:hover{background:rgba(255,255,255,.08)!important;border-radius:16px!important}
.topbar,.app-header,.toolbar,header.site-header,header.app-header,.sticky-toolbar{
  background:rgba(255,255,255,.78)!important;
  backdrop-filter:blur(14px)!important;
  border-bottom:1px solid var(--ff94-border)!important;
}
.btn-primary,.btn.btn-primary,button.primary,.action-primary,.primary-action{
  background:linear-gradient(135deg,var(--ff94-blue-900) 0%,var(--ff94-blue-800) 55%,var(--ff94-blue-700) 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 10px 22px rgba(23,60,88,.18)!important;
}
.btn-primary:hover,.btn.btn-primary:hover,button.primary:hover,.action-primary:hover{filter:brightness(1.04)}
.btn-soft,.btn.btn-soft,.btn-secondary,.btn-outline,.soft-action,.tab-button,.filter-chip,.pill,.chip{
  background:#f6f9fd!important;
  color:var(--ff94-blue-900)!important;
  border:1px solid var(--ff94-border)!important;
  box-shadow:none!important;
}
.btn-soft.active,.btn-secondary.active,.tab-button.active,.filter-chip.active,.pill.active,.chip.active{
  background:linear-gradient(135deg,var(--ff94-blue-900),var(--ff94-blue-800))!important;
  color:#fff!important;
  border-color:transparent!important;
}
input,select,textarea,.input,.select,.textarea,.form-control,.search-input{
  background:#fff!important;
  color:var(--ff94-text)!important;
  border:1px solid var(--ff94-border)!important;
  box-shadow:none!important;
}
input:focus,select:focus,textarea:focus,.form-control:focus,.search-input:focus{
  border-color:#7ea5cd!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(57,93,147,.12)!important;
}
.card,.panel,.widget,.summary-card,.stats-card,.hero,.hero-card,.module-card,.modal-card,.dialog-card,.sheet,.sheet-card,
.v8-section,.v8-progress-panel,.ff90-farm-level,.ff90-mission,.ff91-section,
.order-card,.auction-card,.market-card,.message-card,.profile-card,.calendar-card,.booking-card,.zone-card,.element-card,.task-modal{
  background:#fff!important;
  border:1px solid var(--ff94-border)!important;
  border-radius:24px!important;
  box-shadow:0 14px 34px rgba(20,48,68,.08)!important;
  color:var(--ff94-text)!important;
}
.hero,.hero-card,.banner,.welcome-banner,.callout-card,.highlight-card{
  background:linear-gradient(135deg,var(--ff94-blue-900) 0%,var(--ff94-blue-800) 56%,var(--ff94-blue-700) 100%)!important;
  color:#fff!important;
}
.hero h1,.hero h2,.hero h3,.hero strong,.hero-card h1,.hero-card h2,.hero-card h3,.banner h1,.banner h2,.highlight-card h2,
.v8-progress-panel h2,.v8-progress-panel h3,.ff90-farm-level h3,.ff90-mission h3,.ff91-section h3{color:inherit!important}
.hero p,.hero small,.hero-card p,.hero-card small,.banner p,.banner small,.highlight-card p,.highlight-card small{color:rgba(240,246,252,.92)!important}
.section-head .eyebrow,.eyebrow{color:#5c7b95}
h1,h2,h3,h4,h5,strong,.section-title{color:var(--ff94-blue-900)}
small,.muted,.hint,.subtle,.secondary-text{color:var(--ff94-muted)!important}
.table,.data-table,table{background:#fff}
.table thead th,.data-table thead th,table thead th{background:#f3f7fc!important;color:var(--ff94-blue-900)!important;border-bottom:1px solid var(--ff94-border)!important}
.table td,.table th,.data-table td,.data-table th,table td,table th{border-color:#e1eaf2!important}
.badge,.tag,.status-chip,.status-pill,.mini-badge{border-radius:999px!important}
.progress,.v8-progress,.ff90-progress,.ff91-linear-progress{background:#dde8f3!important}
.progress i,.v8-progress i,.ff90-progress i,.ff91-linear-progress i{background:linear-gradient(90deg,var(--ff94-accent),#fff0bd)!important}
.modal,.modal-window,.modal-content,.dialog,.sheet-modal{backdrop-filter:blur(4px)}
.modal-card,.modal-content,.dialog-card,.sheet,.sheet-card{background:#fff!important;border:1px solid var(--ff94-border)!important}
.empty,.empty-state,.placeholder-card{background:#f8fbfe!important;border:1px dashed #cfddea!important;border-radius:20px!important;color:var(--ff94-muted)!important}
.online-status,.sync-pill,.live-pill{background:linear-gradient(135deg,#1e6d57,#2f8c6f)!important;color:#fff!important}
/* Persönliche farbige Aufgabenkarten bewusst nicht überschreiben */
.task-card[style*="gradient"],.ff-user-colored,.personal-task-color{box-shadow:0 14px 34px rgba(20,48,68,.12)!important}
@media(max-width:900px){
  .sidebar,.app-sidebar,aside.sidebar,.main-sidebar,.sidebar-shell,.left-nav{box-shadow:none!important}
  .card,.panel,.widget,.summary-card,.stats-card,.hero,.module-card,.v8-section,.v8-progress-panel,.ff90-farm-level,.ff90-mission,.ff91-section{border-radius:20px!important}
}