/* Map preview inside the photo details card, plus the local-only Apple Maps token form. */

/* Bleeds to the card's edges: the negative margins and radius match the 16px padding
   and 20px radius of .photo-details in photo-interactions.css. */
.photo-map {
  position: relative;
  height: 210px;
  margin: -16px -16px 15px;
  overflow: hidden;
  background: #293941;
  border-radius: 19px 19px 0 0;
  color: #f4f2e7;
}
.photo-map .map-status {
  padding: 28px;
  line-height: 1.5;
  font-size: 13px;
}
.photo-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #eee;
}

/* Map setup */

.map-setup {
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid #dcd3c8;
  border-radius: 10px;
  font-size: 13px;
}
.map-setup[hidden] {
  display: none;
}
.map-setup summary {
  cursor: pointer;
}
.map-setup form {
  margin-top: 14px;
}
.map-setup input {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  font: inherit;
  border: 1px solid #b7a9a4;
  border-radius: 6px;
}
.map-setup button {
  padding: 9px 14px;
  background: #d2042d;
  color: white;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.map-setup a {
  color: #a50324;
}
.map-setup #clear-map-token {
  background: transparent;
  color: #a50324;
}
.map-setup p {
  margin: 8px 0;
}
