.overlay.error-overlay {
  background-color: $tone-7-color;
  font-size: 0em;
}

.custom-error-slate .overlay.error-overlay .overlay-contents {
  padding: 0;
}

.error-overlay {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  .copy-url-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }

  .headline {
    color: $tone-1-color;
    margin-bottom: 16px;

    .error-title {
      font-weight: 700;
      font-size: 20px;
      font-style: normal;
      line-height: 22px;
      margin: 0 0 4px 0;
      text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .error-message {
      font-weight: 400;
      font-size: 16px;
      font-style: normal;
      line-height: 22px;
    }
  }

  .error-session {
    font-size: $subheadline-font-size;
    color: $tone-1-color;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    max-width: 310px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }

  .retry-btn {
    height: 32px;
    width: auto;
    min-width: 120px;
    padding: 0 8px;
    border-radius: 4px;
    color: $tone-1-color;
    border: none;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    cursor: pointer;
  }

  .error-text {
    height: 0px;
    visibility: hidden;
  }
}

.link-options-container {
  width: auto;

  .copy-url-row {
    .input-copy-url {
      margin: 0;
    }
    .btn-copy-url {
      margin-left: 8px;
      height: 32px;
      width: 32px;

      .icon {
        height: 24px;
        width: 24px;
        margin-top: -3px;
      }
    }
  }
}
