/* MY PLANES, and the adopt form on a plane's LIFE STORY page. */
.aircraft-adopt-form,
.adopted-rename,
.adopted-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.aircraft-adopt-form .records-input {
  flex: 1 1 12rem;
  max-width: 20rem;
}

.aircraft-adopted {
  margin: 6px 0 0;
  color: var(--c-pink);
}

.aircraft-adopt-box {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--c-pink);
  border-radius: 6px;
  /* Clear of the sticky page header when the map popup's ADOPT link scrolls here. */
  scroll-margin-top: 60px;
}

.aircraft-adopt-title {
  color: var(--c-pink);
  font-size: 0.8rem;
  font-weight: bold;
}

.aircraft-adopt-note {
  margin: 6px 0 0;
  color: var(--c-grey-aaa);
  font-size: 0.72rem;
}

.adopted-query {
  flex: 1 1 14rem;
}

.adopted-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.adopted-title {
  margin: 4px 0;
  font-size: 1.2rem;
}

.adopted-type {
  margin-left: 6px;
  color: var(--c-grey-aaa);
  font-size: 0.8rem;
}

.adopted-live {
  border-color: var(--c-green);
  color: var(--c-green);
}

.adopted-diary-title {
  margin-top: 12px;
}

.adopted-let-go {
  border-color: var(--c-red);
  color: var(--c-red);
}

/* board.css styles every table as the fixed-width BOARD; this one sizes to its content. */
#adopted-v .adopted-diary {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 0.8rem;
}

#adopted-v .adopted-diary th,
#adopted-v .adopted-diary td {
  width: auto !important;
  padding: 6px 8px;
  border-bottom: 1px solid var(--c-grey-222);
  text-align: left;
  white-space: nowrap;
  overflow: visible;
}

#adopted-v .adopted-diary th {
  color: var(--c-grey-aaa);
  font-size: 0.65rem;
}
