/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Lab-style dotted grid background */
.lab-grid {
  background-color: #1c1917;
  background-image: radial-gradient(circle, #44403c 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Clean sans-serif with slightly tighter tracking */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.01em;
}

/* Primary buttons - pill shaped, muted terracotta */
.btn-primary {
  background-color: #b45a3c;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: #9a4d33;
}

/* Secondary buttons - subtle outline style */
.btn-secondary {
  background-color: rgba(68, 64, 60, 0.3);
  color: #a8a29e;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid rgba(68, 64, 60, 0.5);
  transition: all 0.15s ease;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: rgba(68, 64, 60, 0.5);
  color: #d6d3d1;
}

/* Danger button */
.btn-danger {
  background-color: rgba(127, 29, 29, 0.3);
  color: #fca5a5;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid rgba(127, 29, 29, 0.5);
  transition: all 0.15s ease;
  display: inline-block;
  text-align: center;
}

.btn-danger:hover {
  background-color: rgba(127, 29, 29, 0.5);
}

/* Cards with rounder corners */
.lab-card {
  background-color: rgba(41, 37, 36, 0.6);
  border: 1px solid rgba(68, 64, 60, 0.4);
  border-radius: 1rem;
}

/* Input fields - rounded, subtle */
.lab-input {
  background-color: rgba(41, 37, 36, 0.6);
  border: 1px solid rgba(68, 64, 60, 0.4);
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  color: #d6d3d1;
  font-size: 0.875rem;
  transition: border-color 0.15s ease;
}

.lab-input:focus {
  outline: none;
  border-color: #b45a3c;
}

.lab-input::placeholder {
  color: #78716c;
}

/* Select inputs */
.lab-select {
  background-color: rgba(41, 37, 36, 0.6);
  border: 1px solid rgba(68, 64, 60, 0.4);
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  color: #d6d3d1;
  font-size: 0.875rem;
}

/* Status badges - pill shaped */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-success {
  background-color: rgba(22, 101, 52, 0.3);
  color: #86efac;
}

.badge-warning {
  background-color: rgba(133, 77, 14, 0.3);
  color: #fcd34d;
}

.badge-danger {
  background-color: rgba(127, 29, 29, 0.3);
  color: #fca5a5;
}

.badge-neutral {
  background-color: rgba(68, 64, 60, 0.3);
  color: #a8a29e;
}

/* Tooltip */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #1c1917;
  border: 1px solid rgba(68, 64, 60, 0.8);
  border-radius: 0.5rem;
  color: #d6d3d1;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  width: 220px;
  white-space: normal;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Sparklines */
.sparkline {
  display: inline-block;
  width: 50px;
  height: 20px;
  vertical-align: middle;
}

.sparkline-line {
  fill: none;
  stroke: #f97316;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
