/* Theme-aware flash messages, inputs, and form controls */

.flash{padding:12px 16px;border-radius:8px;margin-bottom:16px}
.flash-info{background:var(--accent);color:#fff}
.flash-success{background:var(--primary);color:#fff}
.flash-danger{background:var(--danger);color:#fff}
.flash-warning{background:#f59e0b;color:#fff}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select{
  background:var(--card-bg);
  color:var(--text);
  border:1px solid rgba(0,0,0,0.06);
  padding:8px 12px;
  border-radius:6px;
  font-family:inherit;
  font-size:14px;
  transition:background .3s,border .3s
}
.theme-dark input[type="text"],
.theme-dark input[type="email"],
.theme-dark input[type="password"],
.theme-dark input[type="search"],
.theme-dark textarea,
.theme-dark select{
  border:1px solid rgba(255,255,255,0.05)
}

input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 2px rgba(11,110,58,0.2)
}
.theme-dark input:focus,
.theme-dark textarea:focus,
.theme-dark select:focus{
  box-shadow:0 0 0 2px rgba(34,211,238,0.2)
}

/* Status badges/pills */
.status-pill{display:inline-block;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:600}
.status-active{background:var(--primary);color:#fff}
.status-closed{background:var(--danger);color:#fff}
.status-draft{background:var(--muted);color:var(--text)}

/* Audience badge */
.audience-badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:600;background:var(--surface);color:var(--muted)}
.audience-badge.is-admin{background:var(--primary);color:#fff}
