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

:root {
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
}

.btn {
  --bs-btn-padding-x: 0.45rem;
  --bs-btn-padding-y: 0.15rem;
  --bs-btn-padding-y-sm: 0rem;
}

table {
  --bs-table-bg: transparent;

  th,
  td {
    padding: 0.25rem 0.75rem;
  }
}

.table-sm {

  th,
  td {
    padding: 0rem 0.5rem;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
}

@media (min-width: 1800px) {
  .container {
    max-width: 1680px;
  }
}

@media (min-width: 2000px) {
  .container {
    max-width: 1880px;
  }
}

.badge.border-primary {
  border-style: solid;
  border-width: 1px;

  a {
    text-decoration: none;
    font-weight: normal;
  }
}

table hr {
  margin: 0.25rem 0 !important;
}

div.indent {
  display: inline-block;
}

.highlight td {
  background-color: rgba(255, 235, 133, 1);
}

.importance-table .ignored {
  color: #CCC;
}

.scenario-chart {
  width: 100%;
  height: 90vh;
}

.occupation-icon {
  display: inline-flex;
  text-decoration: none;
  gap: 1px;
  border-radius: var(--bs-border-radius-sm);
  overflow: hidden;

  .year {
    width: 0.5em;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.checkbox-wrapper legend {
  display: none;
}

table.table form .select.mb-3 {
  margin-bottom: 0 !important;
}
