/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.app-nav {
  background: color-mix(in srgb, var(--pico-background-color) 60%, black);
  border-bottom: 1px solid var(--pico-muted-border-color);
  --pico-primary: var(--pico-color);
  --pico-primary-hover: var(--pico-color);
  --pico-primary-underline: transparent;
  --pico-primary-hover-underline: transparent;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.flash-notice {
  background: #14532d;
  border-left: 4px solid #16a34a;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.flash-alert {
  background: #7f1d1d;
  border-left: 4px solid #dc2626;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

button[onclick*="BeginCreation"],
button[onclick*="handleBeginCreation"] {
  background: var(--pico-primary);
  border-color: var(--pico-primary);
}

button[onclick*="BeginUpdate"] {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

button[onclick*="BeginDelete"] {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
}
