/* =========================================================
   RECIPANION — PERSONAL RECIPE VISIBILITY V1
   ========================================================= */

.recipe-card-shell {
  position: relative;
}

.recipe-hide-button-v1 {
  appearance: none;
  border: 1px solid rgba(41, 49, 41, .14);
  background: rgba(255, 253, 249, .94);
  color: #596159;
  cursor: pointer;
}

.recipe-hide-button-v1 svg,
.recipe-hide-detail-v1 svg,
.account-tab-button
  [data-hide-icon-v1],
.account-tab-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recipe-hide-card-v1 {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;

  width: 38px;
  height: 38px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  box-shadow:
    0 3px 12px
    rgba(41, 49, 41, .09);
}

.recipe-hide-card-v1:hover {
  background: #fff;
  color: #293129;
}

.recipe-hide-card-v1:disabled {
  opacity: .45;
  cursor: wait;
}

.recipe-hide-removing-v1 {
  opacity: 0;
  transform: scale(.97);
  transition:
    opacity .18s ease,
    transform .18s ease;
}


/* Detail */

.recipe-hide-detail-v1 {
  margin-top: 18px;

  border: 1px solid #d9ded5;
  border-radius: 999px;

  background: #fffdf9;
  color: #4c554c;

  padding: 10px 15px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  font: inherit;
  font-weight: 700;

  cursor: pointer;
}

.recipe-hide-detail-v1:hover {
  background: #f5f2eb;
}

.recipe-hide-detail-v1:disabled {
  opacity: .5;
  cursor: wait;
}


/* Account */

.account-tab-button svg {
  flex: 0 0 auto;
}

.hidden-recipes-head-v1 {
  margin-bottom: 22px;
}

.hidden-recipes-head-v1 h3 {
  margin:
    0
    0
    7px;
}

.hidden-recipes-head-v1 p {
  margin: 0;

  max-width: 620px;

  color: #70776e;
  line-height: 1.5;
}

.hidden-recipes-list-v1 {
  display: grid;
  gap: 12px;
}

.hidden-recipe-row-v1 {
  display: grid;

  grid-template-columns:
    64px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 14px;

  padding: 12px;

  border:
    1px solid
    #dde3d8;

  border-radius: 18px;

  background: #fffdf9;
}

.hidden-recipe-image-v1 {
  width: 64px;
  height: 64px;

  overflow: hidden;

  border-radius: 13px;

  background: #f0eee7;
}

.hidden-recipe-image-v1 img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.hidden-recipe-main-v1 {
  min-width: 0;

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

.hidden-recipe-main-v1 strong {
  color: #293129;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hidden-recipe-main-v1 span {
  color: #70776e;
  font-size: 13px;
}

.hidden-recipe-restore-v1 {
  border: 1px solid #4f7c58;
  border-radius: 999px;

  padding: 9px 13px;

  background: #fff;
  color: #31543a;

  font: inherit;
  font-size: 14px;
  font-weight: 750;

  cursor: pointer;
}

.hidden-recipe-restore-v1:hover {
  background: #eef4eb;
}

.hidden-recipe-restore-v1:disabled {
  opacity: .55;
  cursor: wait;
}

.hidden-recipes-empty-v1 {
  padding: 28px 18px;

  text-align: center;

  border:
    1px dashed
    #d5dbd1;

  border-radius: 18px;

  color: #70776e;

  background: rgba(
    255,
    253,
    249,
    .6
  );
}


@media (max-width: 600px) {

  .hidden-recipe-row-v1 {
    grid-template-columns:
      54px
      minmax(0, 1fr);
  }

  .hidden-recipe-image-v1 {
    width: 54px;
    height: 54px;
  }

  .hidden-recipe-restore-v1 {
    grid-column: 1 / -1;
    width: 100%;
  }

}
