@charset "utf-8";
/* CSS Document */

/* Color Tint & Shade Generator */
.tint-shade-tool {
  margin: 30px 0 22px;
}

.tint-shade-input {
  margin-bottom: 22px;
}

.tint-shade-help {
  margin: 0 0 10px;
  color: #777;
  font-size: 14px;
}

.color-input-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 300px);
  gap: 10px;
  align-items: center;
}

#colorPicker {
  width: 70px;
  height: 44px;
  padding: 3px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  cursor: pointer;
}

#hexInput {
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  font-family: Consolas, monospace;
  font-size: 16px;
}

#hexInput:hover {
  border-color: #bbb;
}

#hexInput:focus {
  border-color: #0088cc;
}

.color-error {
  min-height: 20px;
  margin: 5px 0 0;
  color: #dc3545;
  font-size: 14px;
}

.color-results {
  width: 100%;
}

.shade-heading {
  margin-top: 25px;
}

.color-swatch-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.color-swatch {
  min-width: 0;
  background: #fff;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.color-swatch-preview {
  width: 100%;
  height: 75px;
}

.color-swatch-value {
  padding: 8px 4px;
  color: #333;
  background: #fff;
  font-family: Consolas, monospace;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}

.color-swatch-value:hover {
  color: #0088cc;
}

.color-swatch-percent {
  display: block;
  margin-top: 2px;
  color: #777;
  font-family: Poppins, sans-serif;
  font-size: 11px;
}

@media screen and (max-width: 991px) {
  .color-swatch-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media screen and (max-width: 575px) {
  .color-input-row {
    grid-template-columns: 60px 1fr;
  }

  #colorPicker {
    width: 60px;
  }

  .color-swatch-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .color-swatch-preview {
    height: 65px;
  }
}