/*
 * 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.
 */

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background: #f7f7f9;
  color: #1f2933;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

.page-header {
  background: #0f172a;
  color: #f8fafc;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.nav a {
  margin-left: 1rem;
  color: #e2e8f0;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary {
  background: #475569;
}

.btn.danger {
  background: #dc2626;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.flash.notice {
  background: #ecfeff;
  color: #0f172a;
}

.flash.alert {
  background: #fef2f2;
  color: #7f1d1d;
}

:root {
  --cl-ink: #2f2d3a; /* dark pastel charcoal to replace pure black */
}

.bg-cl-ink {
  background: var(--cl-ink);
}

.hover\:bg-cl-ink:hover {
  background: var(--cl-ink);
}

.btn-compact {
  padding: 0.75rem 1.2rem;
  font-size: 14px;
  line-height: 1.3;
}

.btn-product {
  padding: 1.8rem 2.4rem;
  font-size: 17px;
  line-height: 1.38;
}

.btn-surface {
  background: #ffffff;
  border: 1px solid var(--cl-border, #e5e5e5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.charm-upload--mono {
  filter: grayscale(1) contrast(1.1);
}
