.selectImage {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  gap: 10px;
  padding: 50px;
  animation: appearH 500ms ease;
}

.step {
  color: #999;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

.selectImage h1 {
  font-size: 2.2rem;
}

.buttons {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding: 30px;
}

.buttons button {
  all: unset;
  padding: 8px 16px;
  border-radius: 5px;
  background-color: #0064ff;
  cursor: pointer;
  transition: opacity 200ms ease;
  animation: appear 500ms ease;
}

.buttons button:hover {
  opacity: 0.8;
}

.state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px;
  gap: 10px;
  animation: appear 500ms ease;
}

.state span {
  font-size: 4rem;
  color: #1ed760;
}

.state span[data-type='error'] {
  color: #ff0000;
}

.state p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 500px;
}

.picker {
  flex: 1;
  margin-bottom: 47px;
  margin-top: 10px;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 3fr;
  border: 2px solid #222;
  border-radius: 10px;
  padding: 5px;
}

.picker .providers {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.picker .providers .provider {
  all: unset;
  border-radius: 8px;
  transition: background 200ms ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.picker .providers .provider:hover {
  background: #111;
}

.picker .providers .provider[data-active='true'] {
  background: #222;
}

.picker .providers .provider p {
  padding: 10px 15px;
}

.picker .providers .provider button {
  all: unset;
  display: flex;
  background: #0064ff;
  border-radius: 5px;
  padding: 4px;
  margin-right: 10px;
}

.thingify {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.thingify .images {
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: appear 500ms ease;
}

.thingify .images .image {
  all: unset;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 200ms ease;
  cursor: pointer;
}

.thingify .images .image:hover {
  background: #111;
}

.thingify .images .image[data-active='true'] {
  background: #222;
}

.thingify .images .image .name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
}

.thingify .images .image .downloads {
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
}

.thingify .images .image .description {
  font-size: 14px;
  color: #aaa;
}

.thingify .versions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: appear 500ms ease;
}

.thingify .versions .version {
  all: unset;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 200ms ease;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thingify .versions .version:hover {
  background: #111;
}

.thingify .versions .version[data-active='true'] {
  background: #222;
}

.thingify .versions .version h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.thingify .versions .version .tags {
  display: flex;
  gap: 5px;
}

.thingify .versions .version .tag {
  text-transform: uppercase;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 5px;
}

.thingify .versions .version .tag[data-tag='latest'] {
  background: #0064ff;
}

.thingify .versions .version .info {
  display: flex;
  gap: 10px;
}

.thingify .versions .version .info p {
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
}

.thingify .versions .version .info span {
  font-size: 16px;
}

.localImages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: appear 500ms ease;
}

.localImages .image {
  all: unset;
  position: relative;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 200ms ease;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.localImages .image:hover {
  background: #111;
}

.localImages .image[data-active='true'] {
  background: #222;
}

.localImages .image .name {
  font-size: 20px;
}

.localImages .image .info {
  display: flex;
  gap: 10px;
}

.localImages .image .info p {
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
}

.localImages .image .info span {
  font-size: 16px;
}

.localImages .image .actions {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
}

.localImages .image .actions button {
  all: unset;
}

.localImages .image .actions button[data-type='delete'] {
  color: #ff0000;
}

@keyframes appearH {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  animation: appear 500ms ease;
}
