* {
  box-sizing: border-box;
  justify-content: safe center;
}

html,
body {
  height: 100%;
}

body {
  --color-bg: #f7f1f0;
  --color-primary: #007eff;
  --color-danger: red;
  --color-light: #c3a6a0;
  --color-black: #262220;
  --color-white: white;
  --color-gray: #f4f5f5;
  --color-gray-chrome: #f2f2f2;
  --color-gray-border: #dddddd;
  --color-blue: #b2cefe;
  --color-disabled: #ebebe4;

  --default-m: 1rem;
  --default-radius: 0.7rem;

  margin: 0;
  padding: 0;
  overflow: auto;

  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  // font-size: 20px;
  color: var(--color-black);
  background: var(--color-white);
}

a {
  color: var(--color-primary);
}


.d-row {
  display: flex;
  flex-direction: row;
}

.d-inline-row {
  display: inline-flex;
  flex-direction: row;
}

.d-col {
  display: flex;
  flex-direction: column;
}

.center-v.d-row, .center-v.d-inline-row {
  align-items: center;
}

.d-inline {
  display: inline;
}

.stroke-primary {
  stroke: var(--color-primary);
}

.justify-space-evenly {
  justify-content: space-evenly;
}

.justify-start {
  justify-content: flex-start;}

.justify-end {
  justify-content: flex-end;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: start;
}

.flex-1 {
  flex: 1;
}

.padding-1 {
  padding: 0.5rem 1rem;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-bold {
  font-weight: bold;
}

.text-gray {
  color: rgb(160, 160, 130);
}

.text-80 {
  font-size: 80%;
}

.height-100 {
  height: 100%;
}

.height-auto {
  height: auto;
}

.width-auto {
  width: auto;
}

.width-100 {
  width: 100%;
}

.overflow-y-auto {
  overflow-y: auto;
}

form label {
  font-weight: bold;
}

.table-form th {
 font-weight: normal;
 text-align: left;
 vertical-align: top;
}

.table-form input[type="text"] {
 width: 100%;
}

.table-form textarea {
 width: 100%;
}

button[type="submit"], a.button {
  background: var(--color-primary);
  border: none;
  color: var(--color-white);
  padding: 0.3rem 0.8rem;
  border-radius: 0.3rem;
  cursor: pointer;
  display: inline-block;

  text-decoration: none;
}
