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

html, body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
  background: whitesmoke;
  overflow-x: auto;
  color: #111;
}

.session {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: 100%;
  color: #333;
}

.stats-table {
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.stats-table th,
.stats-table td {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  text-align: left;
}

.app {
  background: whitesmoke;
  color: #333;
  padding-bottom: 5rem;
  padding: 0 2rem;
  overflow-x: auto;
  margin: 0 auto;
  margin-top: 1rem;
  width: 100%;
}

.main {
  display: flex;
  justify-content: center;
}

.stats-table {
  margin-top: 3rem;
}

.badge {
  background: ghostwhite;
  padding: 0 1rem;
  border: #333;
  border: 0.125rem;
}

.errors {
  height: 100%
}

a {
  color: oklch(58.8% 0.158 241.966);
  text-decoration: none;
}

a:hover {
  text-decoration: underline dotted;
}

.primary-link {
  font-size: 1.125rem;
  padding: 1rem 0;
}

.nav {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  padding: 1rem;
  justify-content: center;
  background: transparent;
  border-bottom: 1px solid #ccc;
  margin: 0;
}

.nav li a {
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  color: #555;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.nav li a:hover {
  color: #495057;
  background-color: #e9ecef;
}

.nav li a.active {
  color: #495057;
  background-color: #e9ecef;
}

.session input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.4rem;
}

.future-delivery-dates {
  display: flex;
}

.muted {
  color: #888;
}

.product-view {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.input {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
}

input[type='checkbox'] {
  width: 1.4rem;
  height: 1.4rem;
}

.btn {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
}

.select {
  padding: 1rem;
  margin: 1rem 0;
  font-size: 1rem;
}

.field {
  display: flex;
  align-items: center;
}

.search-form {
  input {
    padding: 0.3rem;
  }
  buttom: {
    border-radius: 3px;
  }
}
